0

java Online Quiz - 10

Description: java Online Quiz - 10
Number of Questions: 18
Created by:
Tags: java
Attempted 0/18 Correct 0 Score 0
  1. Entity bean data survives crashes.

  2. An entity bean represents non-persistent data.

  3. It creates its own JAR file during deployment.

  4. You get authentication code without having to write any.


Correct Option: A
  1. When you want to be certain your application data persists between program invocations, even in the event of a crash.

  2. If you need to initiate a database transaction.

  3. To process transient data that can be re-created in the event of a crash.

  4. To keep people who do not know how to program from accidentally changing important logic code


Correct Option: C
  1. To make the user interface more interesting.

  2. To simplify application deployment.

  3. To prevent malicious programs from gaining access to sensitive information on your database server.

  4. To make the application much easier to update, maintain, and manage.


Correct Option: D
  1. XML imposes important limitations on the receiving program or tool.

  2. The receiving program or tool can use the XML tagging information to determine how to best handle the incoming data.

  3. XML tags offer an extra level of security

  4. XML tags specify to the receiving program or tool exactly how to format and display the data.


Correct Option: B
  1. The thin client.

  2. Deployment descriptors.

  3. The JAR file.

  4. The bean's container


Correct Option: D

What is bean-managed persistence?

  1. When you implement entity or session bean methods to use SQL commands you provide.

  2. When the bean's container handles data storage and retrieval.

  3. When the J2EE server is never shut down

  4. When changes to database data are lost during a crash.


Correct Option: A
  1. By thin clients.

  2. By calls to the database.

  3. By the J2EE server.

  4. By the bean's container.


Correct Option: C
  1. First tier.

  2. Second tier.

  3. Third tier.

  4. Fourth tier


Correct Option: A
  1. It's always going to be less expensive and more secure than local computing.

  2. You can access your data from any computer in the world as long as you have an Internet connection.

  3. Only a few small companies are investing in the technology, making it a risky venture.

  4. none of these


Correct Option: B
  1. A standard cloud service offered via the Internet

  2. A cloud architecture maintained within an enterprise data center.

  3. A cloud service inaccessible to anyone but the cultural elite

  4. none of these


Correct Option: B

What is the output of the program?

  1. 13

  2. 15

  3. 0

  4. Compiler error


Correct Option: D
  1. internet explorer

  2. Netscape Navigator

  3. Hotjava

  4. Opera


Correct Option: D

what is the output of the following program

  1. 0

  2. -1

  3. -2

  4. compiler error


Correct Option: C
  1. signed number

  2. unsigned number

  3. signed right shift

  4. unsigned left shift


Correct Option: B
  1. logical NOT

  2. logical OR

  3. logical AND

  4. logical XOR


Correct Option: A

­­_______ is the ability to do multiple tasks at the same time

  1. multithreading

  2. multitasking

  3. multiprograming

  4. multiprocessing


Correct Option: A

_________ defines how the component will be arranged in the container

  1. layout manager

  2. outline manager

  3. component design

  4. component manager


Correct Option: A
- Hide questions