Lab 9 Quiz

Quiz
•
Computers
•
9th - 12th Grade
•
Hard
Pauline White
Used 2+ times
FREE Resource
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
9 questions
Mod 2 quiz 1

Quiz
•
9th - 12th Grade
10 questions
TEST - Trace table exercise 1

Quiz
•
11th Grade
12 questions
PowerPoint Quiz

Quiz
•
7th Grade - University
10 questions
quizz Awal Pembelajaran

Quiz
•
10th Grade
10 questions
ICT Java programming workshop

Quiz
•
9th Grade
10 questions
mail merge

Quiz
•
10th Grade
11 questions
Python Boolean

Quiz
•
11th - 12th Grade
8 questions
Python Basics Review Quiz 5.1.5 - 5.1.11 CodeHS

Quiz
•
9th - 12th Grade
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
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade