NetBeans MCQs

NetBeans MCQs

These NetBeans multiple-choice questions and their answers will help you strengthen your grip on the subject of NetBeans. You can prepare for an upcoming exam or job interview with these 30 NetBeans MCQs.
So scroll down and start answering.

1: Which of the following tools in NetBeans 6.5 provides the ability to detect memory leaks and optimize the speed of the application?

A.   NetBeans Debugger

B.   NetBeans Profiler

C.   NetBeans refactoring support

D.   NetBeans version control support

2: Which of the following code completion properties are supported in the NetBeans IDE Editor?

A.   Auto Popup Documentation Window

B.   Macros

C.   Auto Popup Completion Window

D.   Code Templates

3: Using the NetBeans IDEs Search History window, you can search a file or folders history for versions based on several criteria. What are the different criteria to search a files history for versions?

A.   Message

B.   From

C.   Username

D.   All of the above 

4: Which of the following NetBeans APIs allow/s you to install different debugger implementations to one IDE?

A.   Debugger Core API

B.   Debugger Core – UI

C.   Both a and b. 

5: Which of the following statements correctly describes the NetBeans platform?

A.   It provides a Rich Client Platform (RCP).

B.   It allows you to develop plug-ins for RCP module projects.

C.   It provides an object-relational mapping library for the Java language.

D.   It provides a platform for developing applications for the network 

6: Which of the following debugger plug-ins can you install for the Debugger Core API?

A.   CPP debugger plug-in to NetBeans + Java debugger

B.   JSP debugger plug-in to NetBeans + Java debugger

C.   DBX debugger plug-in to NetBeans + Java debugger

D.   All of the above

7: NetBeans IDEs Subversion client lets the user compare files with the Repository sources to make sure that no other changes have occurred in some locations. Which of the following conditions show/s that there is a conflict with the Repository sources?

A.   When the last checkout does not match with the Repository HEAD

B.   The changes that you applied to your local working copy coincide with the areas in the Repository HEAD

C.   Both a and b 

8: Which of the following version control tools are available in NetBeans IDE 6.5?

A.   Subversion

B.   Code Co-op

C.   Mercurial

D.   CVS

E.   Vesta 

9: Which of the following improved functions are provided by the Debugger of NetBeans IDE 6.5?

A.   It provides the facility of Deadlock Detection.

B.   It provides object-relational library for applications.

C.   It helps in solving memory or performance-related issues.

D.   All of the above 

10: Which of the following will be the File Status indicated by the IDEs Subversion client for the marked class in the image?

A.   That the file has been locally added

B.   That the file has been locally modified

C.   That the file contains conflicts between your local working copy and the Repository's version

D.   That the file is ignored by Subversion and will not be included in versioning commands 

11: Which of the following tasks can be performed by using the Settings tab of the Plugins Manager?

A.   You can deactivate an update center by deselecting the Active checkbox.

B.   You can check for updates every day or every startup.

C.   You can edit and remove an update by clicking on the edit and remove buttons.

D.   You can create third party Plugins by clicking on the create plugin button 

12: Which of the following Editors are provided by NetBeans 6.5 IDE for Web Development?

A.   Visual Web Editor

B.   Visual Page Flow Editor

C.   Visual File Editor

D.   Visual CSS Editor 

13: The NetBeans IDE helps you generate JSF CRUD interfaces. What does CRUD stand for?

A.   Create, retain, update, develop

B.   Compile, resume, update, debug

C.   Create, retrieve, update, delete

D.   None of the above 

14: Which of the following is a new feature introduced in NetBeans 6.5 which was not available in earlier versions?

A.   Support for hibernate

B.   Eclipse project import

C.   NetBeans Editor

D.   JSF CRUD Generator

E.   Compile/Deploy on save 

15: Which of the following are the common tasks that can be performed by the Filesystems API?

A.   Backup and recovery of files

B.   Listening on file events

C.   MIME type resolution

D.   Finding folders and files 

16: In NetBeans IDE Editor, which of the following methods allows you to rename the private members like fields, variables etc. used in the application?

A.   The editor's Search and Replace action

B.   Rename refactoring from the menu

C.   Instant Rename shortcut

D.   The editor's Find and Rename action 

17: Which of the following features of NetBeans IDE 6.5 allows you to generate Ajax-enabled applications?

A.   Profiler

B.   Hibernate

C.   JSF CRUD generator

D.   Editor

18: Which of the following dynamic languages are supported by NetBeans IDE 6.5?

A.   Clipper

B.   Ruby

C.   Groovy

D.   Curl

E.   JavaScript 

19: Which of the following conventions is used By NetBeans IDE Editor to show the deprecated methods or classes?

A.   Strike-through text

B.   Italic text

C.   Yellow colored text

D.   None of the above

20: Which of the following modules allows you to build and maintain a list of tokens over a textual input?

A.   Lexer Module

B.   Editor Module

C.   Module System API

D.   Ant integration Module

21: What is the function of the "Compile on Save" feature in NetBeans 6.5?

A.   It provides the ability to run/debug/test the application immediately.

B.   It automatically deploys the application when a change is made.

C.   It modifies a method body while running the debugger and the changes are reloaded and saved in the running application.

D.   It provides the ability to detect memory leaks and optimize the speed of the application. 

22: Which of the following features is not supported by NetBeans 6.5 IDE?

A.   Swing GUI Builder

B.   Java ME DataBinding

C.   JSON support

D.   None of the above

23: While using NetBeans Actions APIs, the CallableSystemAction uses its getActionMapKey() method to get a key which is then searched in the ActionMap obtained from the actions context. Which of the following is not included under the list of special keys?

A.   cloneWindow

B.   DefaultEditorKit

C.   delete

D.   jumpNext

E.   update 

24: Which of the following correctly describes the use of the Error Stripe in NetBeans IDE Editor?

A.   It shows the position of the templates in the code.

B.   It shows the position of the current line in the code.

C.   It shows the position of exceptions in the code.

D.   It shows the position where version controlled lines have changed. 

25: Which of the following features are supported by the Netbeans IDE Editor?

A.   Smart code completion

B.   Monitoring Threads Status

C.   Refactoring

D.   Heap Walker

E.   File History 

26: Which of the following files are included in the Commit dialog lists, when you are about to commit these files to the SVN Repository?

A.   All files that have been deleted locally

B.   All new files that do not yet exist in the repository

C.   All files that you have renamed

D.   All of the above 

27: Suppose you want to retrieve the list of all the registered JDBC drivers. Which of the following classes will you use while using the DatabaseExplorer API?

A.   JDBCDriverManager.getDrivers()

B.   JDBCDriver.getDriver()

C.   Both a and b 

28: The IDE enables you to deactivate the installed Plugins that you do not need. Which of the following is/are true when you deactivate the installed Plugins?

A.   They are not deleted from your installation directory, but are simply ignored by the IDE.

B.   They are deleted from your installation directory.

C.   The Plugins are ignored but can still be edited using the Plugins Manager.

D.   Restarting of NetBeans IDE is required after deactivating Plugins 

29: Which of the following APIs will you use if you want to show the structure or outline of your document in a dedicated window, providing the end user fast navigation and control over the document?

A.   Settings API

B.   Nodes API

C.   Navigator API

D.   Window System API

30: Which of the following authentication protocols are supported by NetBeans IDE 6.5 for the CVS version control system?

A.   ext

B.   Svn

C.   local

D.   pserver

E.   https 

31: Which of the following project-level commands are not available in the Favorites Window in NetBeans 6.5 IDE?

A.   Run

B.   Open in system

C.   Rename

D.   Properties 

32: In Which of the following ways can you add import statements for one or more classes in NetBeans IDE Editor?

A.   Use of live templates

B.   Use of the import class dialog

C.   Use of the smart fix import

D.   Use of error hints

33: Which of the following functions is performed by the NetBeans Task List?

A.   It lists all commented lines with "TODO" or "FIXME".

B.   It provides a list of database tables.

C.   It lists all the errors present within the application.

D.   None of the above

34: Which of the following windows in NetBeans 6.5 IDE allows you to access a file present on the network or computer without creating a project for the file?

A.   Projects Window

B.   Files Window

C.   Favorites Window

D.   Properties Window 

35: Which of the following access permissions must you have for the IDE installation directory if you want to install a plug-in globally?

A.   Workspace Admin

B.   Write

C.   List Admin

D.   None of the above 

36: What does the red cross icon shown in the image indicate when you are activating and deactivating a Plugin in the NetBeans IDE?

A.   The IDE needs to be restarted to fully deactivate the Plugin.

B.   The Plugin is installed but deactivated.

C.   The Plugin is installed and activated

D.   The IDE crashes because of an error which occurs while activating and deactivating Plugins. 

37: Which of the following services are provided to the NetBeans IDE by the AutoUpdate Services?

A.   It allows you to download and install available updates of installed modules.

B.   It allows you to search and install new features from subscribed update centers.

C.   It allows you to browse and switch on/off the modules in the IDE.

D.   It helps you in compiling and debugging existing projects.Â