Section 4 Quiz
(Answer all questions in this section)
1. Which of the following is an attribute of a three tier architecture application? Mark for Review
(1) Points
an application of that has a client and server only
a complex application that includes a client, a server and database (*)
an application of that runs on a single computer
None of the above
Incorrect. Refer to Section4 Lesson 1.
2. Java Web Start is used to deploy java applications.
True or false? Mark for Review
(1) Points
True (*)
False
Incorrect. Refer to Section 4 Lesson 1.
3. The method for connecting a Java application to a database is by using: Mark for Review
(1) Points
jar files
JNLP
JDBC (*)
Java Web Start
None of the above
Incorrect. Refer to Section 4 Lesson 1.
4. Which of the following is not a reason to use a Java package? Mark for Review
(1) Points
It is a way to organize files when a project consists of multiple modules.
It is a way to help resolve naming conflicts when different packages have classes with the same names.
It is a way to protect data from being used by the non-authorized classes.
It is a way to allow programmers to receive packets of information from databases. (*)
None of the above
Incorrect. Refer to Section4 Lesson 1.
5. To deploy java applications you may use Java Web Start.
True or false? Mark for Review
(1) Points
True (*)
False
Correct
6. How would you make an instance of Car in a class that didn't import the vehicle package below?
Mark for Review
(1) Points
Car c = new Car();
vehicle.Car c=new Car();
vehicle.Car c=new vehicle.Car(); (*)
vehicle.Car c=new vehicle();
None of the above
Correct
7. How would you make an instance of Car in a class that did import the vehicle package below?
Mark for Review
(1) Points
Car c = new Car(); (*)
vehicle.Car c=new Car();
vehicle.Car c=new vehicle.Car();
vehicle.Car c=new vehicle();
None of the above
Incorrect. Refer to Section 4 Lesson 1.
8. Which of the following is an attribute of a two tier architecture application? Mark for Review
(1) Points
An application of that has a client and server only. (*)
A complex application that includes a client, a server and database.
An application of that runs on a single computer.
None of the above.
Incorrect. Refer to Section 4 Lesson 1.
9. Which of the following are files that must be uploaded to a web server to deploy a java application/applet? Mark for Review
(1) Points
(Choose all correct answers)
jar files (*)
JNLP files (*)
html files (*)
.java files
None of the above
Incorrect. Refer to Section 4 Lesson 1.
10. If a class is in a package, the system's CLASSPATH must be altered to access the class.
True or false? Mark for Review
(1) Points
True
False (*)
Correct
11. An example of two tier architecture would be a client application working with a server application.
True or false? Mark for Review
(1) Points
True (*)
False
Incorrect. Refer to Section4 Lesson 1.
12. The method for connecting a java application to a database is JNLP.
True or false? Mark for Review
(1) Points
True
False (*)
Correct
13. If a programmer uses the line import com.test.*, there is no need to import com.test.code.*
True or false? Mark for Review
(1) Points
True
False (*)
Incorrect. Refer to Section4 Lesson 1.
14. Which of the following files are not required to be uploaded to a web server to deploy a java application/applet? Mark for Review
(1) Points
jar files
JNLP files
html files
.java files (*)
None of the above
Incorrect. Refer to Section4 Lesson 1.
15. What option do you choose from the File menu in Eclipse to start the process of creating a runnable JAR file? Mark for Review
(1) Points
Import
Export (*)
Switch Workspace
Properties
Incorrect. Refer to Section 4 Lesson 1.
1. Java Web Start is used to deploy java applications.
True or false? Mark for Review
(1) Points
True (*)
False
Incorrect. Refer to Section 4 Lesson 1.
2. If a programmer uses the line import com.test.*, there is no need to import com.test.code.*
True or false? Mark for Review
(1) Points
True
False (*)
Correct
3. A jar file is built on the ZIP file format and is used to deploy java applets.
True or false? Mark for Review
(1) Points
True (*)
False
Correct
4. To deploy java applications you may use Java Web Start.
True or false? Mark for Review
(1) Points
True (*)
False
Incorrect. Refer to Section4 Lesson 1.
5. An example of two tier architecture would be a client application working with a server application.
True or false? Mark for Review
(1) Points
True (*)
False
Incorrect. Refer to Section4 Lesson 1.
6. Which of the following is not a reason to use a Java package? Mark for Review
(1) Points
It is a way to organize files when a project consists of multiple modules.
It is a way to help resolve naming conflicts when different packages have classes with the same names.
It is a way to protect data from being used by the non-authorized classes.
It is a way to allow programmers to receive packets of information from databases. (*)
None of the above
Correct
7. What option do you choose from the File menu in Eclipse to start the process of creating a runnable JAR file? Mark for Review
(1) Points
Properties
Import
Switch Workspace
Export (*)
Incorrect. Refer to Section 4 Lesson 1.
8. How would you make an instance of Car in a class that did import the vehicle package below?
Mark for Review
(1) Points
Car c = new Car(); (*)
vehicle.Car c=new Car();
vehicle.Car c=new vehicle.Car();
vehicle.Car c=new vehicle();
None of the above
Incorrect. Refer to Section 4 Lesson 1.
9. Which of the following is an attribute of a three tier architecture application? Mark for Review
(1) Points
an application of that has a client and server only
a complex application that includes a client, a server and database (*)
an application of that runs on a single computer
None of the above
Correct
10. The method for connecting a java application to a database is JNLP.
True or false? Mark for Review
(1) Points
True
False (*)
Incorrect. Refer to Section4 Lesson 1.
11. Which of the following are files that must be uploaded to a web server to deploy a java application/applet? Mark for Review
(1) Points
(Choose all correct answers)
jar files (*)
JNLP files (*)
html files (*)
.java files
None of the above
Incorrect. Refer to Section 4 Lesson 1.
12. How would you make an instance of Car in a class that didn't import the vehicle package below?
Mark for Review
(1) Points
Car c = new Car();
vehicle.Car c=new Car();
vehicle.Car c=new vehicle.Car(); (*)
vehicle.Car c=new vehicle();
None of the above
Incorrect. Refer to Section4 Lesson 1.
13. If a class is in a package, the system's CLASSPATH must be altered to access the class.
True or false? Mark for Review
(1) Points
True
False (*)
Correct
14. Which of the following is an attribute of a two tier architecture application? Mark for Review
(1) Points
An application of that has a client and server only. (*)
A complex application that includes a client, a server and database.
An application of that runs on a single computer.
None of the above.
Incorrect. Refer to Section 4 Lesson 1.
15. The method for connecting a Java application to a database is by using: Mark for Review
(1) Points
jar files
JNLP
JDBC (*)
Java Web Start
None of the above
Correct
1. A jar file is built on the ZIP file format and is used to deploy java applets.
True or false? Mark for Review
(1) Points
True (*)
False
Incorrect. Refer to Section4 Lesson 1.
2. An example of two tier architecture would be a client application working with a server application.
True or false? Mark for Review
(1) Points
True (*)
False
Incorrect. Refer to Section4 Lesson 1.
3. Which of the following is an attribute of a two tier architecture application? Mark for Review
(1) Points
An application of that has a client and server only. (*)
A complex application that includes a client, a server and database.
An application of that runs on a single computer.
None of the above.
Correct
4. Which of the following are files that must be uploaded to a web server to deploy a java application/applet? Mark for Review
(1) Points
(Choose all correct answers)
jar files (*)
JNLP files (*)
html files (*)
.java files
None of the above
Incorrect. Refer to Section 4 Lesson 1.
5. How would you make an instance of Car in a class that didn't import the vehicle package below?
Mark for Review
(1) Points
Car c = new Car();
vehicle.Car c=new Car();
vehicle.Car c=new vehicle.Car(); (*)
vehicle.Car c=new vehicle();
None of the above
Correct
6. Which of the following is an attribute of a three tier architecture application? Mark for Review
(1) Points
an application of that has a client and server only
a complex application that includes a client, a server and database (*)
an application of that runs on a single computer
None of the above
Incorrect. Refer to Section4 Lesson 1.
7. The method for connecting a Java application to a database is by using: Mark for Review
(1) Points
jar files
JNLP
JDBC (*)
Java Web Start
None of the above
Correct
8. If a class is in a package, the system's CLASSPATH must be altered to access the class.
True or false? Mark for Review
(1) Points
True
False (*)
Correct
9. Which of the following files are not required to be uploaded to a web server to deploy a java application/applet? Mark for Review
(1) Points
jar files
JNLP files
html files
.java files (*)
None of the above
Correct
10. If a programmer uses the line import com.test.*, there is no need to import com.test.code.*
True or false? Mark for Review
(1) Points
True
False (*)
Correct
11. What option do you choose from the File menu in Eclipse to start the process of creating a runnable JAR file? Mark for Review
(1) Points
Switch Workspace
Import
Properties
Export (*)
Incorrect. Refer to Section 4 Lesson 1.
12. Java Web Start is used to deploy java applications.
True or false? Mark for Review
(1) Points
True (*)
False
Correct
13. Which of the following is not a reason to use a Java package? Mark for Review
(1) Points
It is a way to organize files when a project consists of multiple modules.
It is a way to help resolve naming conflicts when different packages have classes with the same names.
It is a way to protect data from being used by the non-authorized classes.
It is a way to allow programmers to receive packets of information from databases. (*)
None of the above
Incorrect. Refer to Section4 Lesson 1.
14. To deploy java applications you may use Java Web Start.
True or false? Mark for Review
(1) Points
True (*)
False
Correct
15. How would you make an instance of Car in a class that did import the vehicle package below?
Mark for Review
(1) Points
Car c = new Car(); (*)
vehicle.Car c=new Car();
vehicle.Car c=new vehicle.Car();
vehicle.Car c=new vehicle();
None of the above
Incorrect. Refer to Section 4 Lesson 1.
0 komentar:
Posting Komentar