Ex5: Java

Ex5: Java

University

10 Qs

quiz-placeholder

Similar activities

JAVA Quiz on 18-08-2021 (3rd hr)

JAVA Quiz on 18-08-2021 (3rd hr)

University

5 Qs

Ch 1 Intro to WordPress

Ch 1 Intro to WordPress

8th Grade - University

13 Qs

Launchpad programming - day 3 morning (JS)

Launchpad programming - day 3 morning (JS)

University

10 Qs

OOPJ #1

OOPJ #1

University

10 Qs

Computer Languages

Computer Languages

KG - University

10 Qs

HTML, JAVASCRIPT,XML

HTML, JAVASCRIPT,XML

University

12 Qs

CS 315 EXAM 1

CS 315 EXAM 1

University

10 Qs

eclipse

eclipse

University

10 Qs

Ex5: Java

Ex5: Java

Assessment

Quiz

Computers

University

Hard

Created by

Khairul Imtiyaz

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is required for this page to operate properly?

A browser with Cookies enabled

A browser with AdBlock enabled

A browser with Flash enabled

A browser with JavaScript enabled

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which version of the Java SE Development Kit is required to write your first program?

JDK 8

JDK 7

JDK 10

JDK 9

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of a source file in Java programming?

To execute commands in the terminal

To store data in memory

To display output on the screen

To contain code that can be understood by programmers

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the Java programming language compiler (javac) do?

Translates machine code into source code

Translates bytecodes into source code

Translates source code into bytecodes

Translates source code into machine code

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to compile a Java source file?

java

run

compile

javac

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the bytecode file generated by the Java compiler?

To display error messages

To translate into machine code

To store the source code

To execute the program

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command is used to run a Java program?

execute

java

start

run

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?