CS Python Fundamentals Unit 4 Review

Quiz
•
Computers
•
9th - 12th Grade
•
Hard
Scott Chamberlain
Used 7+ times
FREE Resource
14 questions
Show all answers
1.
DRAG AND DROP QUESTION
2 mins • 3 pts
Which values - in order - will be printed by this code?
(a) (b) (c)
2.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Which loop will print the numbers 2, 5, 8, ..., 23?
3.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Ask the user to input a number less than 10. Print all the numbers from 1 to that number. Which loop correctly does this?
4.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Write a program to ask the user for a number between 1 and 5, then ask for that many of their favorite movies, counting down to their #1 favorite.
A sample output is as follows:
Enter a number between 1 and 5: 3
What is your #3 favorite movie? Saving Private Ryan
What is your #2 favorite movie? Raiders of the Lost Ark
What is your #1 favorite movie? The Empire Strikes Back
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What will the following code print?
The numbers 0 through 5
The numbers 1 through 6
The numbers 2 through 6
The numbers 2 through 7
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the bug in this code?
There is no bug
The loop will never run
print (x) causes an error because x is an integer
The loop will never stop
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which statement is true concerning a loop control variable?
must be declared as a boolean value
must decrease in value inside the loop
must be a certain value to stop the loop
must receive its value from user input
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Python - Loops, Patterns & List manipulations

Quiz
•
11th Grade
18 questions
Python basics

Quiz
•
7th - 10th Grade
10 questions
Quiz 16 - Arrays and Loops

Quiz
•
11th Grade
15 questions
CP M4 Repetition & Loops

Quiz
•
9th - 12th Grade
16 questions
Loops Exam

Quiz
•
11th Grade
17 questions
GCSE Computer Science - Python Programming Concepts

Quiz
•
9th - 11th Grade
14 questions
9.1.5 - Starter Quiz

Quiz
•
7th - 11th Grade
18 questions
AQA GCSE Computer Science - 3.1.4 Sorting Algorithms

Quiz
•
8th - 10th 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