SCJD 6 Free Mock Exam

Question 1 of 7 [Documentation]
Read the scenario given below.
Select the Java Doc comments.  
Question 2 of 7 [GUI Design and Coding]
Read the scenario given below.
Select the Java Swing components for MVC architecture
<------View------> <------Controller------> <------Model------>
Question 3 of 7 [GUI Design and Coding]
Read the scenario given below.
You want to show the components involved in customer package. Your colleague has listed down the following classes from customer package.
Class Name
Usage
Description
CustomerScreen Java Panel, used to display the customer list Displays customer list in the form of tables
CustomerHandler Acts as controller Used for accessing customer business logic
CustomerDAO Data Access Object Used for decoupling the account data access logic from controller

Complete the customer component diagram based on the above information.
 
View
   
 
   
   
-------------------->
 
Controller
   
 
   
   
-------------------->
 
Model
   
 
   
   
   
Question 4 of 7 [Networking Design and Coding]
Read the scenario given below.
Scenario : AeromZ is the leading book shop located in Tokyo and it has business relationships with Koozsoft Publications for the past 11 years. AeromZ wants to develop a client-server application with flat file data integration to maintain book store. Koozsoft Software Architect Scott Winter recommends Java SE for developing this book management application. How would you communicate to server by Swing clients?
Question 5 of 7 [Networking Design and Coding]
Read the scenario given below.
Select the Java SE protocol suitable for reducing the network traffic for accessing server database components and coordinate operations between multiple clients?  
 
Swing Client
 
_______
 
 
_______
Server
 
       
   
   
                 
                 
Question 6 of 7 [Database Design and Coding]
Read the scenario given below.
Scenario : You are working on a Java code to lock an object to perform some tasks. One of your friend recommends you to use synchornized block to achieve this. Your application architect asks you to use synchronized method.  
Which one of the option you will follow? -
Question 7 of 7 [Database Design and Coding]
Read the scenario given below.
Match the following.  
Java Swing Client >>
 
  Data stored in text files
  Data stored in serialized java objects on system drive