Understanding Code

Quiz
•
Computers
•
11th Grade
•
Medium
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
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
What is the value of the following code executed?
0
2
1
4
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
Pemrograman Berorientasi Objek Sumatif 2

Quiz
•
11th Grade
25 questions
Algorithms - python (GCSE)

Quiz
•
10th - 12th Grade
25 questions
TesteTP_UFCD0784_06mar25

Quiz
•
11th Grade
30 questions
Python программалоо тили

Quiz
•
7th - 11th Grade
30 questions
BCHS Y9 Python Topic 6 Quiz

Quiz
•
9th - 12th Grade
30 questions
AP CS A Unit 3 2020-2021

Quiz
•
9th - 12th Grade
29 questions
TIN HỌC KTRA 15P

Quiz
•
10th Grade - University
30 questions
C quiz by Rachai

Quiz
•
5th Grade - University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade