Search Header Logo

JP S1

Authored by Jerry Mahana

Computers

9th - 12th Grade

Used 72+ times

JP S1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

19 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Where does an object of a class get stored?

Stack area

Method area

In the file

In the database

Heap area

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statements is NOT true of the Java programming language?

All source code is written in plain text files with the extension .java.

Java source code files are compiled into .class files by the javac command.

The javac command can be used to run a Java application.

A .class file contains platform independent bytecode.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statements is NOT TRUE about the JVM?

The JVM is a virtual Machine that acts as an intermediary layer between the Java Application and the Native Operating System.

The JVM reads byte code from the class file, and generates machine code.

The JVM does not understand the Java language specification.

The JVM reads Java source code, and then translates it into byte code.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

One of the primary goals of the Java platform is to provide an interpreted, just-in-time run time environment.

True

False

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Given the java snippet below:


Which of the following statements is TRUE?

Compile error, as the variable x is not initialized.

Variable x resides in the stack area, and variable y resides in the heap of the JVM.

Variable x resides in the heap area, and variable y resides in the stack of the JVM

Variable x stays in the heap area, and variable y resides in the method area of the JVM.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Java allows the same Java program to be executed on multiple operating systems.

True

False

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statements describe Java technology?

It is a programming language.

It is a development environment.

It is a deployment environment.

All of these

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?