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
Quiz INFORMATIKA

Quiz
•
11th Grade
35 questions
python

Quiz
•
11th Grade - University
31 questions
Python Course Selection

Quiz
•
7th - 11th Grade
30 questions
Assessment Term 2.2 - Y9 U4 Python Search algorithms

Quiz
•
7th - 12th Grade
25 questions
Java Review

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

Quiz
•
9th - 12th Grade
25 questions
Level 3 - Python Quiz 1

Quiz
•
9th - 12th Grade
25 questions
python 3-5 unit 10gr

Quiz
•
10th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade