Understanding Code

Understanding Code

11th Grade

30 Qs

quiz-placeholder

Similar activities

Unit 3 Review AP CSP with Python

Unit 3 Review AP CSP with Python

9th - 12th Grade

29 Qs

Python Тотальный тест

Python Тотальный тест

KG - 12th Grade

30 Qs

Comprog - (Review) - October 24, 2022

Comprog - (Review) - October 24, 2022

11th Grade

25 Qs

Python Y10

Python Y10

4th - 12th Grade

29 Qs

SAD 1 Test 4

SAD 1 Test 4

9th - 12th Grade

26 Qs

Computer Pretest1(Python Grade7_t1)

Computer Pretest1(Python Grade7_t1)

3rd Grade - University

30 Qs

Project STEM AP CS A Unit 1

Project STEM AP CS A Unit 1

9th - 12th Grade

34 Qs

Python quiz

Python quiz

2nd Grade - University

29 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?