Java Programming

Java Programming

Assessment

Quiz

9th - 12th Grade

Medium

Created by

Rachel McCoy

Used 65+ times

FREE Resource

Student preview

quiz-placeholder

30 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

In this class, what is Java?

A cup of coffee

A programming language

An island

A video game console

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these commands is the correct way of printing in Java?

System.Out.println

System.out.Printlln

System.out.println

system.out.println

3.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which of these commands have errors? Select multiple

System.out.print("Hello World")

System.out.println(Hello World);

System.out.Print("Hello World);

System.out.println("Hello World");

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the followings is Java code that starts from the main() method as a mandatory part of every program

public void static main(String args [])

public void main static (args[] String)

public static void main (String args[])

public static void main [String [] Args]

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

It is an optional statement used to describe what a program or a line of program is doing.

tag

command

code

comment

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

True or False : Java is case sensitive, which means identifier Hello and hello would have different meanings in Java

True

False

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A Java statement is one or more lines of code terminated by a semicolon. True or False?

False

True

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?