InfyTQ Introduction To Programming Quiz- 2

Question 1

Time: 00:00:00
The application that is used to convert a Java program into bytecode is known as:

JVM

JVM

JDK

JDK

Interpreter

Interpreter

  1. Compiler

  1. Compiler

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

Question 2

Time: 00:00:00
The names that are used for classes, variables and methods are called?

Variables

Variables

Keywords

Keywords

Identifiers

Identifiers

Modifiers

Modifiers

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

Question 3

Time: 00:00:00
Java Programming language was designed by ________.

Netscape

Netscape

Sun Microsystems

Sun Microsystems

Microsoft

Microsoft

None of these

None of these

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

Question 4

Time: 00:00:00
Java is considered to be a _______ language.

low-level

low-level

high-level

high-level

middle-level

middle-level

None of these

None of these

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

Question 5

Time: 00:00:00
A compiled java file has an extension of:

.java 

.java 

.txt

.txt

.class

.class

.js

.js

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

Question 6

Time: 00:00:00
.js

Converts source code into bytecode

Converts source code into bytecode

Converts bytecode into machine specific code

Converts bytecode into machine specific code

Read the bytecode instructions and execute them one line at a time.

Read the bytecode instructions and execute them one line at a time.

None of these.

None of these.

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

Question 7

Time: 00:00:00
JIT stands for:

Java Interpreter Terminal

Java Interpreter Terminal

Just In Time Compiler

Just In Time Compiler

Java Inheritance Technology

Java Inheritance Technology

None of these

None of these

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

Question 8

Time: 00:00:00
Java Allows the user to write programs containing pointers.

True

True

False

False

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

Question 9

Time: 00:00:00
The correct signature for the java main() method is:

public final void main (string [] args)

public final void main (string [] args)

public static void main (String [] args)

public static void main (String [] args)

private static void main (String [] args)

private static void main (String [] args)

public static void main (char [] args)

public static void main (char [] args)

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

Question 10

Time: 00:00:00
Multi-line comments in java are written using:

# Comment #

# Comment #

<-- Comment -->

<-- Comment -->

/* Comment */

/* Comment */

// Comment //

// Comment //

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

["0","40","60","80","100"]
["Need more practice!","Keep trying!","Not bad!","Good work!","Perfect!"]

Personalized Analytics only Availble for Logged in users

Analytics below shows your performance in various Mocks on PrepInsta

Your average Analytics for this Quiz

Rank

-

Percentile

0%

Completed

0/0

Accuracy

0%

Comments