
DHS AP CSP Midterm Review
Quiz
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Medium
Christopher Jones
Used 20+ times
FREE Resource
Enhance your content in a minute
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'.
Create a free account and access millions of resources
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
101 questions
Ôn tập TH11 CĐ4 Giới thiệu các hệ CSDL
Quiz
•
11th Grade - University
100 questions
SOAL UTS INFORMATIKA KELAS X ALL JURUSAN SMK BINA KARYA PACITAN
Quiz
•
10th Grade
104 questions
Proses Produksi Desain (SKALISKA)
Quiz
•
11th Grade
100 questions
SOAL 1501 - 1600 IFRC 2024
Quiz
•
12th Grade
100 questions
A Level Computer Science - Paper 1 (All Key Terms)
Quiz
•
12th Grade
95 questions
Bài Quiz không có tiêu đề
Quiz
•
11th Grade
102 questions
A+Core 1 (101-200)#2
Quiz
•
10th Grade - University
100 questions
SQL: Using Single-Row Functions
Quiz
•
8th Grade - Professio...
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
