TEST-1-PREP

TEST-1-PREP

University

15 Qs

quiz-placeholder

Similar activities

JDBC

JDBC

University

20 Qs

COSC_1436_ MOD-01 & MOD-02 Quiz

COSC_1436_ MOD-01 & MOD-02 Quiz

University

16 Qs

JavaScript Basics

JavaScript Basics

12th Grade - University

15 Qs

Java Basics 1

Java Basics 1

University

10 Qs

CMP128 Java Ch. 01 Intro PC & Java

CMP128 Java Ch. 01 Intro PC & Java

University

10 Qs

Java Quiz#0(Fundamentals)

Java Quiz#0(Fundamentals)

University

10 Qs

Mobile application test no 1

Mobile application test no 1

University

16 Qs

ADVANCE JAVA

ADVANCE JAVA

University

20 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?