Java Quiz 1

Java Quiz 1

University

40 Qs

quiz-placeholder

Similar activities

ข้อสอบปลายภาควิชาพื้นฐานธุรกิจดิจิทัล 1/2564

ข้อสอบปลายภาควิชาพื้นฐานธุรกิจดิจิทัล 1/2564

University

40 Qs

CSCI0823 UnitTest_Finals

CSCI0823 UnitTest_Finals

University

35 Qs

I/O devices

I/O devices

University

44 Qs

Ôn Tập Chuong III - Tin 11

Ôn Tập Chuong III - Tin 11

6th Grade - University

40 Qs

Topic 1 Introduction to Computer System

Topic 1 Introduction to Computer System

University

40 Qs

Computer Fundamentals

Computer Fundamentals

University

38 Qs

IP MIDTERM

IP MIDTERM

University

45 Qs

Introduction to Multimedia

Introduction to Multimedia

University

45 Qs

Java Quiz 1

Java Quiz 1

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Smriti Sehgal

Used 8+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

The command javac is used to

Execute a Java program

Compile a Java program

Debug a Java program

Interpret a Java program

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

……………. are not machine instructions and therefore, Java interpreter generates machine code that can be directly executed by the machine that is running the Java program.

Compiled instruction

Compiled code

Byte code

Java mid code

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is not the Java primitive type

Byte

Float

Character

Long double

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is true about Java.

Java does not support overloading.

Java has replaced the destructor function of C++

There are no header files in Java.

All of the above

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

All Java classes are derived from

java.lang.Class

java.util.Name

java.lang.Object

java.awt.Window

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What would happen if “String[]args” is not included as an argument in the main method?

No error

Compilation error

The program won’t run

Program exit

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

The compiled Java program can run on any ………………… platform having Java Virtual Machine (JVM) installed on it.

Program

Hardware

Java

Non java

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?

Discover more resources for Computers