TEST-1-PREP

TEST-1-PREP

University

15 Qs

quiz-placeholder

Similar activities

Basic Java Quiz

Basic Java Quiz

University

15 Qs

Brewing JavaFX Quiz

Brewing JavaFX Quiz

University

15 Qs

UTS Teori PJR 2024

UTS Teori PJR 2024

University

20 Qs

Pertemuan 2

Pertemuan 2

University

10 Qs

Getting Started with Java Quiz

Getting Started with Java Quiz

10th Grade - Professional Development

10 Qs

Basic Java

Basic Java

University

15 Qs

HTML and CSS Review

HTML and CSS Review

3rd Grade - Professional Development

17 Qs

Topic 1-1: Introduction to Computer & Programming Language

Topic 1-1: Introduction to Computer & Programming Language

University

10 Qs

TEST-1-PREP

TEST-1-PREP

Assessment

Quiz

Computers

University

Medium

Created by

Ed Torres

Used 3+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What type of error is "divide by zero"?
Runtime
Syntax
Logic
Memory
Grammar

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is true about the main() method?
It is the last method to execute.
It is the first method to execute.
It is required in all Java classes.
It accepts no parameters.
It requires an object to execute.

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which command is the Java compiler?
java
compile
cc
cjava
javac

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

You forgot to terminate a statement with a semicolon. What type of error is this?
runtime
logic
syntax
no error
abnormal end

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is NOT a keyword?
class
print
static
float
public

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does JVM stand for?
Java Virtual Mode
Just Venmo Me
Java Very Mad
Java Virtual Machine
Jets Victory Mode

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which one is a valid comment?
/ this is a comment
/ this is a comment /
/*** this is a comment */
/* this is a comment /
*/ this is a comment /*

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?