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."
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
10 questions
emtech
Quiz
•
12th Grade
10 questions
Visual Basic 2010
Quiz
•
8th Grade - University
9 questions
IT related jobs
Quiz
•
9th Grade
12 questions
1.2.4. Types of Programming Language
Quiz
•
12th Grade
11 questions
Types of Mass Media
Quiz
•
10th Grade - Professi...
10 questions
Contact Center Sevices
Quiz
•
7th - 10th Grade
8 questions
Basic computer
Quiz
•
9th - 12th Grade
10 questions
ICT as Platform for Change
Quiz
•
11th - 12th 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
