
0100100101-2

Quiz
•
Computers
•
Professional Development
•
Hard
Michi koh
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
45 sec • 2 pts
How many stars are printed?
for(int i=3;i<7;i++){
System.out.print("*");
}
2.
FILL IN THE BLANK QUESTION
45 sec • 2 pts
How many stars are printed?
3.
FILL IN THE BLANK QUESTION
45 sec • 2 pts
Consider the following code segment:
What is printed as a result of executing the code segment?
4.
FILL IN THE BLANK QUESTION
45 sec • 2 pts
What does the following program segment output?
5.
FILL IN THE BLANK QUESTION
45 sec • 2 pts
If m = 9, then after n = m++, the value of n is ____________.
6.
FILL IN THE BLANK QUESTION
45 sec • 2 pts
If g = 5, then after h = ++g, the value of h is ____________.
7.
MULTIPLE CHOICE QUESTION
45 sec • 2 pts
What are the values of var1 and var2 when the code finishes executing?
var1 = 1, var2 = 1
var1 = 3, var2 = -1
var1 = 2 , var2 = 0
var1 = 0, var2 = 2
The loop will cause a run-time error for division by zero
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Programming Fundamentals

Quiz
•
Professional Development
15 questions
Python Quiz

Quiz
•
Professional Development
14 questions
FCPC - COMPORG - MidSW1

Quiz
•
Professional Development
13 questions
DECI - Week 10 - round

Quiz
•
Professional Development
12 questions
DECI - Week 6 - round

Quiz
•
Professional Development
8 questions
AP Comp Sci - Unit 2 Review (2.1 - 2.7)

Quiz
•
12th Grade - Professi...
12 questions
JDK,JRE,JIT & JVM MCQs

Quiz
•
Professional Development
10 questions
Python Session 5

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
SR&R 2025-2026 Practice Quiz

Quiz
•
6th - 8th Grade
30 questions
Review of Grade Level Rules WJH

Quiz
•
6th - 8th Grade
6 questions
PRIDE in the Hallways and Bathrooms

Lesson
•
12th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
3rd Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
15 questions
Subtracting Integers

Quiz
•
7th Grade
Discover more resources for Computers
11 questions
All about me

Quiz
•
Professional Development
10 questions
How to Email your Teacher

Quiz
•
Professional Development
5 questions
Setting goals for the year

Quiz
•
Professional Development
14 questions
2019 Logos

Quiz
•
Professional Development
6 questions
GUM Chart Scavenger Hunt

Quiz
•
Professional Development
10 questions
How to Email your Teacher

Quiz
•
Professional Development
20 questions
Employability Skills

Quiz
•
Professional Development