Lab 9 Quiz
Quiz
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Hard
Pauline White
Used 2+ times
FREE Resource
Enhance your content in a minute
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is printed when this code segment is executed?
5
3
1
531
5
3
51
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is x considered to be after this line of code executes?
An integer
A String
There is not enough information to answer this question.
It depends what the user typed.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following lists all of the possible values that could be printed?
7,8,9,10
8,9,10
8,9,10,11
7,8,9,10,11
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In this code segment, what is the loop variable?
count
x
count and x are both loop variables.
There is no loop variable.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Suppose the user enters 3, 8, 6, 7 in order. What would be the output of this code segment?
Correct in 1 tries!
Correct in 2 tries!
Correct in 3 tries!
Correct in 4 tries!
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens if the user types 7 on the first prompt?
The program prints, "Correct in 1 try!"
The program prints, "Correct in 2 tries!"
The program will print "Try again" continuously.
The program will have a runtime error.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will happen if the user types 6 at the first prompt?
The program will print "Try again" until the user types 7 and then print "Correct in x tries!" where x is the number of inputs the user made.
The program will print "Try again" and then print "Correct in 1 try!"
The program will print "Try again" and then print "Correct in 2 tries!"
The program will continuously print "Try again."
Similar Resources on Wayground
11 questions
BTEC DIT C3 B1 - Threats to Data
Quiz
•
11th Grade
10 questions
ICT Java programming workshop
Quiz
•
9th Grade
10 questions
Паскаль. Основные команды
Quiz
•
8th - 11th Grade
10 questions
ICT as Social Change
Quiz
•
12th Grade
10 questions
สอบย่อย ครั้งที่ 1 (BC.2/2)
Quiz
•
11th Grade
10 questions
=NOW()
Quiz
•
11th Grade
10 questions
HTML & Google Site Seatwork
Quiz
•
12th Grade
12 questions
ICT Computer Basics pt1
Quiz
•
10th - 12th Grade
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
