
pseudocode
Quiz
•
Information Technology (IT)
•
9th Grade
•
Practice Problem
•
Medium
Thomas Bui
Used 4+ times
FREE Resource
Enhance your content in a minute
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Assume all variables have been declared in all questions.
What will the following pseudocode output if the inputs x and y are 3 and 9 respectively?
INPUT x
INPUT y
OUTPUT Y MOD X
0
1
3
9
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following pseudocode output?
OUTPUT 9 DIV 4 + 4
5
6
1
8
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following pseudocode output if the input radius is 5.0?
INPUT radius
OUTPUT 2.0 * radius * 3.14
0.314
6.28
31.4
314
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following pseudocode output?
x <- 8
y <- 2
OUTPUT y ^ x
64
128
256
512
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following pseudocode output?
x <- 3
y <- 4
z <- 5
OUTPUT x + y * z
12
259
23
60
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the bug in the following pseudocode?
CONSTANT HEIGHT <- 100
HEIGHT <- 10
OUTPUT HEIGHT MOD 25
MOD cannot be used with a constant
A constant cannot be assigned to a different value
Trick question - there are no bugs
MOD is not a valid operator
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following pseudocode output?
x <- 25
OUTPUT x
x <- 26
x <- 27
OUTPUT x
26
27
25
25
25
26
25
27
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
11 questions
GSC 4.1 Review
Quiz
•
9th - 12th Grade
10 questions
Avaliação 9º anos
Quiz
•
9th Grade
10 questions
แบบทดสอบซัพพลายเชนเบื้องต้น
Quiz
•
6th Grade - University
12 questions
Review loops
Quiz
•
8th Grade - University
10 questions
perangkat keras
Quiz
•
7th Grade - University
11 questions
Cyber Security Quiz
Quiz
•
9th Grade
11 questions
html basics
Quiz
•
8th Grade - University
10 questions
ICT 9 Q1 M4 Computer Networks
Quiz
•
9th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
Discover more resources for Information Technology (IT)
20 questions
El Verbo IR Practice
Quiz
•
9th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
15 questions
Making Inferences
Quiz
•
7th - 12th Grade
15 questions
Main Idea and Supporting Details.
Quiz
•
4th - 11th Grade
18 questions
SAT Prep: Ratios, Proportions, & Percents
Quiz
•
9th - 10th Grade
12 questions
Exponential Growth and Decay
Quiz
•
9th Grade
12 questions
Add and Subtract Polynomials
Quiz
•
9th - 12th Grade
