
Conditional Test
Quiz
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Medium
Donna Panter
Used 57+ times
FREE Resource
Enhance your content in a minute
17 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If (fish = "bass" OR length > 7) {
Catch <-- "Keep"; }
Else {
Catch <-- "Release"; }
In which situations will Catch be "Keep"?
When fish is "catfish" and length is 7.1
When fish is "catfish" and length is 6.9
When fish is "catfish" and length is 7
When fish is "catfish" and length is 4.0
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the expected values of exercise if the given values of miles is 3 and 7?
if ( miles > 3 ) {
exercise <-- "fun" }
else {
exercise <-- "endurance" }
"fun"
"fun"
"fun"
"endurance"
"endurance"
"fun"
"fun"
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the value of mile when x is 4 and y is 8?
7
3
10
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The if statements are missing logical operators. Which operator should be used to make the below table true?
Clicks Color
1-5 Red
6-10 Yellow
11-15 Orange
==
<=
>
<
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A flow chart to show when Melissa can go to the movies. She must implement it in code using the variables time and action. Which code segment is correct?
If (time > 5)
action <-- true
else
action <-- false
If (time < 6)
action <-- true
else
action <-- false
If (time > 6)
action <-- false
else
action <-- true
If (time > 6)
action <--true
else
action <-- false
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the following pseudo code output?
Hello
Goodbye
Hello
Goodbye
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output
A
A
B
B
A
B
C
C
Create a free account and access millions of resources
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
12 questions
ASAS SAINS KOMPUTER : TINGKATAN 3
Quiz
•
4th Grade - University
15 questions
Начала программирования на языке Паскаль
Quiz
•
8th - 11th Grade
19 questions
Python Year 9 Quiz
Quiz
•
8th - 10th Grade
20 questions
Online Platform Block Q
Quiz
•
11th - 12th Grade
15 questions
Chapter 3: Storage devices and media (Part 2):
Quiz
•
10th - 11th Grade
20 questions
City & Guilds Award in Business Processes
Quiz
•
12th Grade
13 questions
Nhập môn HTML
Quiz
•
6th - 9th Grade
21 questions
CPA MS-Office Hotkeys Quiz
Quiz
•
8th Grade - Professio...
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
Discover more resources for Computers
15 questions
Internet Vocabulary Notebook Check #2 - CTEA(2024)
Quiz
•
12th Grade
11 questions
Internet Terms Vocabulary- Notebook Check #1- CTEA
Quiz
•
12th Grade
39 questions
UNIT 7 and UNIT 8 — Multiple Choice Question Bank (Extracted)
Quiz
•
9th Grade
50 questions
Money Matters Fall 2025 Final Exam — Worksheet Questions
Quiz
•
12th Grade
47 questions
CSF Final Exam Practice
Quiz
•
9th - 12th Grade
