
Ch. 10 Exam Review

Quiz
•
Information Technology (IT)
•
8th Grade
•
Easy
Ashley Brown
Used 20+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A collection of useful functions is commonly called a _______________.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Where can programmers find Python API documentation?
Only in printed books you must purchase
Freely available at Python's website
Only in secured online locations needing a paid subscription to access
You must look at the internal Python source code to figure out how things work
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Using built-in Python modules forces a programmer to re-create functions to handle common tasks.
True
False
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statements will let you use the random library functions in your code?
import random
use random
random.randrange()
rand
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following best describes the output from the following function call?
rand = random.randrange(10,15)
A random integer in the range 10 up to (and including) 15
A random floating point value from 10.0 up through and including 15.0
A random integer from 10 up to (but not including) 15
A random integer from 0 up to (but not including) 5
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What can you confidently say about the following code?
random.seed(1)
print(random.randrange(0,10))
The first random number produced will always be 1
It will produce a random integer from 0 up through (but not including) 10
It will produce a random integer from 0 up through (and including) 10
It will print exactly the same value each time the code is run
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Given a list named "mystery", which of the following expressions will return a random element in that list?
mystery.choice()
mystery.random()
random(mystery)
random.choice(mystery)
Create a free account and access millions of resources
Similar Resources on Wayground
16 questions
HTML Level 1

Quiz
•
8th Grade - University
17 questions
Kira-JH U1/L1

Quiz
•
6th - 8th Grade
20 questions
Math G7 Chapter 3 Mastering Significant Figures and Estimation

Quiz
•
7th Grade - University
15 questions
AI Workshop Quiz

Quiz
•
8th Grade
24 questions
Python Syntax and Logic Quiz

Quiz
•
8th Grade
20 questions
Educational Video Creation Quiz

Quiz
•
8th Grade
25 questions
Exploring Career Paths in CTE

Quiz
•
8th Grade
20 questions
8th Grade Business Basics Assessment

Quiz
•
8th 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 Information Technology (IT)
10 questions
Lab Safety Procedures and Guidelines

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

Interactive video
•
6th - 10th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade
20 questions
Figurative Language Review

Quiz
•
8th Grade
10 questions
Understanding the Scientific Method

Interactive video
•
5th - 8th Grade
20 questions
Scientific method and variables

Quiz
•
8th Grade
20 questions
Physical and Chemical Changes

Quiz
•
8th Grade