CP Module 2 Quiz Review

Quiz
•
Other
•
10th - 12th Grade
•
Easy
Marcia Bernas
Used 24+ times
FREE Resource
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To create a random number between –10 and 10 you would use:
print (random.random(-10))
print (random.randint(-10, 10))
print (random.randint( 10) -10)
print (random.random() -20)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To turn user input into an integer, you need the ______________ function.
float
int
str
val
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which variable name is the best to hold the area of a rectangle?
AREA
a
1A
area
4.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Consider the following code:
c = 500
c = c + 1
c = c + 1
c = c + 1
print (c)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is output?
print (16 % 8)
0
1
2
3
4
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a Python function?
int
str
input
dec
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which line of code is necessary for random numbers to work in Python?
import random
import integer
x = randomint
x = int(input ("Enter a number"))
Create a free account and access millions of resources
Similar Resources on Wayground
14 questions
The experimental method

Quiz
•
10th Grade
20 questions
Powerpoint Basics Quiz #1

Quiz
•
6th - 12th Grade
16 questions
Print Media

Quiz
•
7th - 11th Grade
13 questions
Intro Variables

Quiz
•
12th Grade
13 questions
Fingerprints

Quiz
•
12th Grade
18 questions
Photoshop

Quiz
•
7th - 12th Grade
21 questions
Chapter 2 - Biological Approach

Quiz
•
12th Grade
15 questions
Types of Quantitative Research

Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Other
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade
10 questions
Impact of 9/11 and the War on Terror

Interactive video
•
10th - 12th Grade
21 questions
Lab Safety

Quiz
•
10th Grade
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
6 questions
Biography

Quiz
•
4th - 12th Grade