MCQs > IT & Programming > Eclipse MCQs > Basic Eclipse MCQs

Basic Eclipse MCQ

1. How do you connect to and debug a remote Java application/server?

Answer

Correct Answer: Create and run a configuration under Run > Debug Configurations > Remote Java Application.

Note: This Question is unanswered, help us to find answer for this one

2. What is required to create a Git commit?

Answer

Correct Answer: All of these answers

Note: This Question is unanswered, help us to find answer for this one

3. How can you view all the commits for a single file?

Answer

Correct Answer: Right-click the file in the Package Explorer and select Team > Show in History.

Note: This Question is unanswered, help us to find answer for this one

4. What is the benefit of using perspectives?

Answer

Correct Answer: To easily switch between different layouts of views in the Workbenchfor specific tasks

Note: This Question is unanswered, help us to find answer for this one

5. What happens when you double-click a Revision Time in the History view?

Answer

Correct Answer: The select file is opened in the Editor in its state at the time of the revision.

Note: This Question is unanswered, help us to find answer for this one

6. Which is not a valid way to create a test class?

Answer

Correct Answer: None of these answers

Note: This Question is unanswered, help us to find answer for this one

7. How can you set files to save automatically when launching an application?

Answer

Correct Answer: Click Window (Eclipse) -> Preferences -> Run/Debug -> Launching, and then select Save required dirty editors before launching.

Note: This Question is unanswered, help us to find answer for this one

8. When switching workspaces, what is preserved?

Answer

Correct Answer: All preferences

Note: This Question is unanswered, help us to find answer for this one

9. What does the Problems view show?

Answer

Correct Answer: All of the answers

Note: This Question is unanswered, help us to find answer for this one

10. What is not a method stub that Eclipse will create for you in the New JUnit Test Case window?

Answer

Correct Answer: SetUpClass()

Note: This Question is unanswered, help us to find answer for this one

11. What can you not do in the Variables view?

Answer

Correct Answer: Edit the value of a variable while the debugger is running your app

Note: This Question is unanswered, help us to find answer for this one

12. What is included in your wqorkspace folder?

Answer

Correct Answer: A hidden .metadata folder and projects created in the workspace

Note: This Question is unanswered, help us to find answer for this one

13. What view, within the Team component, displays the commits related to a particular project or file?

Answer

Correct Answer: History

Note: This Question is unanswered, help us to find answer for this one

14. How can you configure Eclipse to open a webpage in a browser outside of Eclipse using the Windows (Eclipse) -> Preferences -> General -> Web Browser dialog page?

Answer

Correct Answer: Select Use external web browser, click the New or Search button, add your browser, and then select it in the External web browsers menu.

Note: This Question is unanswered, help us to find answer for this one

15. Which is not a way to check the value of a variable while debugging?

Answer

Correct Answer: Watch the variable in the Expressions view.

Note: This Question is unanswered, help us to find answer for this one

16. When selecting the Synchronise Workspace option for a project, what perspective is opened?

Answer

Correct Answer: Team Synchronising

Note: This Question is unanswered, help us to find answer for this one

17. Your code is highlighted in red when running code coverage. Why is this?

Answer

Correct Answer: No code calls the method.

Note: This Question is unanswered, help us to find answer for this one

18. What can you not do in the Expressions view?

Answer

Correct Answer: Track the value of a variable throughout the lifetime of the app.

Note: This Question is unanswered, help us to find answer for this one

19. In this image, what does the circled icon in the Problems view do?

Answer

Correct Answer: It opens the Filter menu so you can customise what problems are displayed.

Note: This Question is unanswered, help us to find answer for this one

20. In the JUnit view, what is the value in the parentheses after a previously run unit test?

Answer

Correct Answer: The time it took the test to run

Note: This Question is unanswered, help us to find answer for this one

21. Why might you use the Open Type button?

Answer

Correct Answer: To search the workbench for a class to open in an editor

Note: This Question is unanswered, help us to find answer for this one

22. How can you create a new Git branch in Eclipse?

Answer

Correct Answer: All of these answers

Note: This Question is unanswered, help us to find answer for this one

23. When inserting a snippet containing variables into a source file, how are values for the variable defined?

Answer

Correct Answer: They are automatically highlighted in code.

Note: This Question is unanswered, help us to find answer for this one

24. In this image, what does the circled button do?

Answer

Correct Answer: It allows changes from one version of a file to be applied to another version of the file.

Note: This Question is unanswered, help us to find answer for this one

25. Which is a valid way to create a code snippet?

Answer

Correct Answer: Right-click the selected code and select Add to Snippets

Note: This Question is unanswered, help us to find answer for this one

26. What is not a key part of Eclipse projects and technologies?

Answer

Correct Answer: Java Development Toold (JDT)

Note: This Question is unanswered, help us to find answer for this one

27. What happens when you execute the Run -> Skip all Breakpoints command?

Answer

Correct Answer: All breakpoints will not be fired when debugging and will not cause application execution to suspend

Note: This Question is unanswered, help us to find answer for this one

28. How can you minimise all views except for the currently selected view in the Eclipse interface?

Answer

Correct Answer: All of these answers

Note: This Question is unanswered, help us to find answer for this one