Understanding Code

Understanding Code

11th Grade

30 Qs

quiz-placeholder

Similar activities

Java Basics Recap

Java Basics Recap

9th Grade - University

25 Qs

AP CS A CH 1 Review

AP CS A CH 1 Review

10th - 12th Grade

27 Qs

Practice for 3rd AP Java quiz

Practice for 3rd AP Java quiz

9th - 12th Grade

25 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

Y9 Python Baseline

Y9 Python Baseline

9th - 11th Grade

25 Qs

Data Types and Operators

Data Types and Operators

9th - 12th Grade

26 Qs

Python Basics Quiz 12 by RK

Python Basics Quiz 12 by RK

11th Grade

25 Qs

Unit 2 Review

Unit 2 Review

9th - 12th Grade

25 Qs

Understanding Code

Understanding Code

Assessment

Quiz

Computers

11th Grade

Medium

Created by

Francesca [Student]

Used 4+ times

FREE Resource

30 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What is the output of the following statement?

System.out.print(13 % 5);

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Media Image

For each error, write the corrected line.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The character \n is not allowed in literal strings.

True

False

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statements prints a backslash?


System.out.print(\);

System.out.print("\\");

System.out.print(\\);

System.out.print(\bs);

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

An empty string is represented either as "" or as a null reference.

True

False

6.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What is the output of the following statement?

System.out.print(5 / 10);

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the value of the following code executed?

0

2

1

4

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?