
DHS AP CSP Midterm Review
Authored by Christopher Jones
Computers
9th - 12th Grade
Used 20+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
100 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function reads a line of user input as a string in Python?
Answer explanation
`input()` returns a string from standard input.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does `print('A', 'B')` output by default?
Answer explanation
Multiple arguments to print are space-separated.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is a syntax error in Python?
Answer explanation
An `if` requires a colon and an indented block.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does `type(3.0)` return?
Answer explanation
3.0 is a float.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is a valid Python comment?
Answer explanation
Python uses `#` for single-line comments.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which statement is true about indentation in Python?
Answer explanation
Indentation defines block structure in Python.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens with `print('5' + '6')`?
Answer explanation
String concatenation yields '56'.
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
100 questions
Ulangkaji SK 2018
Quiz
•
10th - 12th Grade
100 questions
ASK t1 bab 1 dan 3
Quiz
•
1st - 12th Grade
102 questions
Year 9 Computing - Summer Examination 2019
Quiz
•
9th Grade
100 questions
SOAL 1201 - 1300 IFRC 2024
Quiz
•
12th Grade
100 questions
CSP - UT State Skills Test Review
Quiz
•
9th Grade
100 questions
SOAL 601 - 700 IFRC 2024
Quiz
•
12th Grade
98 questions
OCR GCSE Computer Science Revision Paper 1- Saim C :D
Quiz
•
8th - 12th Grade
100 questions
SCRATCH 3.0 Semester Exam 2 Review
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
Discover more resources for Computers
10 questions
Navigating Digital Citizenship and Online Safety
Interactive video
•
6th - 10th Grade
20 questions
Computer / Internet Companies
Quiz
•
9th Grade
10 questions
Exploring the Basics of Google Sheets
Interactive video
•
9th Grade
10 questions
Exponent Rules
Quiz
•
9th - 12th Grade
20 questions
JavaScript - Karel
Quiz
•
9th - 10th Grade