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
30 questions
Python L1 Programming Challenge

Quiz
•
1st - 12th Grade
25 questions
Java Review

Quiz
•
9th Grade - University
25 questions
SAINS KOMPUTER TINGKATAN 4 - 1.6 STRUKTUR DATA DAN MODULAR

Quiz
•
7th - 12th Grade
25 questions
Chapter 2 Review

Quiz
•
10th - 12th Grade
26 questions
Новогодняя по Pythony

Quiz
•
9th - 12th Grade
27 questions
Python 2d topic (типы данных, ввод, вывод)

Quiz
•
6th - 12th Grade
25 questions
Quiz INFORMATIKA

Quiz
•
11th Grade
25 questions
1st Period Feb 22, 2024 - Virtual AP CompSci AP

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade