Unit 2 Quiz review

Unit 2 Quiz review

12th Grade

23 Qs

quiz-placeholder

Similar activities

Code.org: AP CSA U3, Lessons 1-6 Review

Code.org: AP CSA U3, Lessons 1-6 Review

11th - 12th Grade

20 Qs

C# 101 Assessment

C# 101 Assessment

9th - 12th Grade

20 Qs

คำสั่งพื้นฐานในภาษา Python (เก็บคะแนนครั้งที่ 2)

คำสั่งพื้นฐานในภาษา Python (เก็บคะแนนครั้งที่ 2)

12th Grade

20 Qs

AP CSA Unit 2.6-2.9

AP CSA Unit 2.6-2.9

10th - 12th Grade

22 Qs

Chapter 2 Review

Chapter 2 Review

10th - 12th Grade

25 Qs

C# start

C# start

11th - 12th Grade

22 Qs

SAINS KOMPUTER TINGKATAN 4 - 1.6 STRUKTUR DATA DAN MODULAR

SAINS KOMPUTER TINGKATAN 4 - 1.6 STRUKTUR DATA DAN MODULAR

7th - 12th Grade

25 Qs

Practice Intro to Java Quiz Unit 1

Practice Intro to Java Quiz Unit 1

10th - 12th Grade

25 Qs

Unit 2 Quiz review

Unit 2 Quiz review

Assessment

Quiz

Computers

12th Grade

Hard

Created by

Nicholas Savold

Used 4+ times

FREE Resource

23 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the name of the method to print out text in Java?

System.out.println()

System.out.printline()

System.output()

System.out.PRINTLN()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following lines? int x = 24; System.out.println("The total is + x + x);

The total is 24

The total is 2424

The total is 48

The total is x + x

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a primitive type?

int

double

String

boolean

char

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the value of x after this code? int x = 5; x = 10; x = 4;

5

10

4

true

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the proper syntax to initialize a double called temperature to have the value 70.4?

int temperature = 70.4;

double temperature = 70.4;

temperature = 70.4;

float temperature = 70.4;

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of this expression? Assume all numbers are int. 5 + 2/3 + 1

5

6

6.67

0

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which expression returns the 1's place of an integer x?

x % 10

x/10

x % 100

x + 1

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?