Java Flashcard 1

Java Flashcard 1

Assessment

Flashcard

Computers

6th - 8th Grade

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

9 questions

Show all answers

1.

FLASHCARD QUESTION

Front

Is java case sensitive?

Back

yes

2.

FLASHCARD QUESTION

Front

what is the main method?

Back

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

3.

FLASHCARD QUESTION

Front

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){}

Back

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

4.

FLASHCARD QUESTION

Front

which is the correct way to print "hello world" to the screen.. Options: print("hello world");, System.print("hello world");, System.out.print(hello world);, System.out.print("hello world");

Back

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

5.

FLASHCARD QUESTION

Front

what does boolean return

Back

true/false

6.

FLASHCARD QUESTION

Front

which of the following syntax is used for single line comments

Back

//this is a comment

7.

FLASHCARD QUESTION

Front

which is used for a multi-line comment? Options: ***this is a multiline comment***, //this is a multiline comment, /*this is a multiline comment*/, >>this is a multiline comment

Back

/*this is a multiline comment*/

8.

FLASHCARD QUESTION

Front

what is 10%2

Back

0

9.

FLASHCARD QUESTION

Front

what is $20\%7$

Back

6