JP S1

JP S1

9th - 12th Grade

19 Qs

quiz-placeholder

Similar activities

CSA Lessons 1-10

CSA Lessons 1-10

10th - 12th Grade

21 Qs

COMP 210 - Help for MDTM 2

COMP 210 - Help for MDTM 2

12th Grade

20 Qs

Java Execution Quiz

Java Execution Quiz

12th Grade

15 Qs

Computer 10 | Introduction to Java

Computer 10 | Introduction to Java

9th - 12th Grade

20 Qs

computer language

computer language

5th - 10th Grade

15 Qs

AP CSA Midterm Concept Review 1

AP CSA Midterm Concept Review 1

12th Grade

20 Qs

T4.3.5 Computational Thinking

T4.3.5 Computational Thinking

12th Grade

22 Qs

QUIZ DASAR DASAR PEMROGRAMAN JAVA

QUIZ DASAR DASAR PEMROGRAMAN JAVA

11th Grade - University

20 Qs

JP S1

JP S1

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Jerry Mahana

Used 72+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?