Java basics quiz 1

Java basics quiz 1

10th Grade - University

12 Qs

quiz-placeholder

Similar activities

Js the first

Js the first

12th Grade

10 Qs

CodeHS Python

CodeHS Python

7th - 12th Grade

10 Qs

Python programming

Python programming

6th - 12th Grade

16 Qs

Basic Java

Basic Java

University

15 Qs

Python Quiz for 10s

Python Quiz for 10s

10th Grade

10 Qs

C++ 1st ONLINE QUIZ

C++ 1st ONLINE QUIZ

University

13 Qs

X Comp Quiz

X Comp Quiz

10th Grade

17 Qs

Julia

Julia

University

10 Qs

Java basics quiz 1

Java basics quiz 1

Assessment

Quiz

Computers

10th Grade - University

Medium

Used 11+ times

FREE Resource

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Is java case sensitive?

yes

no

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

what is the main method?

a method that prints to user details to screen

the most important method

entry point of a program with instructions for the program to carry out

the method that is listed first in a class

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

which of the following is the correct way to write a main method

main(){}

public void main(args[]){}

public void main(String[] args){}

public static void main(String[] args){}

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

correct template for creating a class

public class <className>{}

public <className>{}

public class{}

5.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

which of the following are data types(you can select more than 1 answer)

Boolean

Integer

Numbers

String

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

which is the correct way to print "hello world" to the screen..

print("hello world");

System.print("hello world");

System.out.print(hello world);

System.out.print("hello world");

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

what does boolean return

yes/no

true/false

1/0

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?