Search Header Logo

Programming 2 quiz 1

Authored by Lynn Hadley

Computers

10th - 12th Grade

Used 17+ times

Programming 2 quiz 1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a Java keyword?

class
object
variable
method

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What enables you to view the output of a Java program?

javab
javac
javadoc
Java

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which type of data type can be used for an identifier?

letters
numbers
special characters
all of these

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are placeholders in Java?

identifiers
data types
variables
keywords

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does int data type represent?

integer
char
string
double

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You can create an object for which of the following?

class
interface
variable
method

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does /*.....*/ represent?

single line comment
multiple line comment

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?