Search Header Logo

XML and Java Programming Quiz

Authored by oke ok

Computers

University

Used 1+ times

XML and Java Programming Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

18 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

XML validation can be performed by using - choose the wrong option:

Internal DTD

External DTD

XSL file

XSD file

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statements is correct for Java multi-threading programming:

A thread is in "runnable thread" state, if and only if, the programmer calls the start() method from an object which is instance from a class that is derived from the Thread class

For a thread to be in "runnable thread" state, it is sufficient to create an object from a class that is derived from the Thread class

For a thread to be in "runnable thread" state, it is sufficient to create an object from a class that is implementing the Runnable interface

A thread is in "runnable thread" state, if and only if, the programmer calls the run() method from an object which is instance from a class that is derived from the Thread class

A thread is in "runnable thread" state, if and only if, the programmer calls the stop() method from an object which is instance from a class that is derived from the Thread class

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Please indicate which statement is correct:

In the serialization process for an object is saved: the non-static field values, the value 0 or null for the static fields, field values which are not transient, the prototype and the body of the methods

In the serialization process for an object is saved: the static field values, the field values which are not transient and the prototype of the methods

In the serialization process for an object is saved: the static field values, the value 0 or null for the static fields, the field values which are transient, and the body and the prototype of the methods

In the serialization process for an object is saved: the non-static field values, the value 0 or null for the static fields, the field values which are not transient and the prototype of the methods

In the serialization process for an object is saved: the non-static field values, the field values which are not transient and the body of the methods

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the true statement for Java RMI 1.1 in terms of the logical flow actions' order:

Sequence: 1. bind, 2. lookup, 3. call, 4. return

Sequence: 1. call, 2. lookup, 3. bind, 4. return

Sequence: 1. lookup, 2. call, 3. bind, 4. return

Sequence: 1. lookup, 2. bind, 3. call, 4. return

Sequence: 1. call, 2. return, 3. bind, 4. lookup

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

SNMP traffic analysis - select correct OID value:

1.3.6.1.2.1.1.3.5

1.3.6.1.2.1.1.3.5.0

1.2.1.1.3.5

1.3.6.1.2.1.1.3

None

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

After the run phase which statement is true:

Display all the fields of the class

Display static and nonstatic only public methods' prototypes

Display static and nonstatic only private methods' prototypes

Display all the static and nonstatic methods' prototypes

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one is not a valid XML processing option:

SAX

DOM

XSLT

HTML

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?