Computer Science Refreshment

Quiz
•
Computers
•
12th Grade
•
Easy
Evan Jackson
Used 2+ times
FREE Resource
19 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
Which Python code segment will display “Hello, world!” on the screen?
display Hello, world!
print("Hello, world!")
print "Hello, world!"
"Hello, world!"
2.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
What does the following Python code display?
print("Hello")
print("World")
Hello
World
HelloWorld
Hello World
Hello
World
3.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
What type is the following variable?
x = "Hi there"
float
integer
boolean
string
4.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
What does the following Python program print?
x = "I am"
y = 6
z = "feet tall"
print(x)
print(y)
print(z)
I am 6 feet tall
I am6feet tall
I am
6
feet tall
x
y
z
5.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
What is the type of the variable x in the following Python program?
x = input("Enter something: ")
string
integer
float
the type cannot be determined
6.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
Suppose you run the following Python program:
x = input("Enter some text: ")
print(x)
While the program is running, after the prompt has been printed, the user types the following and presses Enter:
Delaware ratified the U.S. Constitution in 1787.
What does the program print?
Delaware ratified the U.S. Constitution in
Delaware
Delaware ratified the U.S. Constitution in 1787.
(The program does not print anything)
7.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
What does the following Python program print?
x = 9 + 6 / 3 * 2 - 1
print(x)
9
12
15
21
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Grade 12-Python selection&iteration

Quiz
•
11th - 12th Grade
16 questions
Python programming

Quiz
•
6th - 12th Grade
19 questions
Programming Techniques Survey

Quiz
•
8th - 12th Grade
20 questions
Python variables, expressions, and data types

Quiz
•
9th - 12th Grade
20 questions
quiz dasar python

Quiz
•
1st Grade - University
16 questions
Python Basics

Quiz
•
KG - University
20 questions
Python Recap

Quiz
•
7th Grade - University
22 questions
CodeHS AP CSP Unit 3 Review

Quiz
•
11th - 12th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
62 questions
Spanish Speaking Countries, Capitals, and Locations

Quiz
•
9th - 12th Grade
20 questions
First Day of School

Quiz
•
6th - 12th Grade
6 questions
Maier - AMDM - Unit 1 - Quiz 1 - Estimation

Quiz
•
12th Grade
21 questions
Arithmetic Sequences

Quiz
•
9th - 12th Grade
21 questions
9th Grade English Diagnostic Quiz

Quiz
•
9th - 12th Grade
7 questions
Characteristics of Life

Interactive video
•
11th Grade - University