AP CSP Unit 4 Review

AP CSP Unit 4 Review

Assessment

Flashcard

Computers

9th - 12th Grade

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

42 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What is the language you are learning in this class?

Back

Python 3

2.

FLASHCARD QUESTION

Front

In regards to best practice, which is the correct naming convention for variables in Python? Options: new_user25, NewUser25, 25_new_user, 25NewUser, NEWUSER25

Back

new_user25

3.

FLASHCARD QUESTION

Front

What datatype will the answer be if the user enters 15 and 30?

Back

Float

4.

FLASHCARD QUESTION

Front

Joining string elements together to make a longer string element is called what?

Back

Concatenation

5.

FLASHCARD QUESTION

Front

print("12"*3)
What would this print?

Back

121212

6.

FLASHCARD QUESTION

Front

In regards to best practice, which is the correct naming convention for constants in Python? Options: firstName, First_Name, FIRST_NAME, firstname

Back

FIRST_NAME

7.

FLASHCARD QUESTION

Front

What will the output be from the following code?
print("Hello" + str(2) + "world!")

Back

Hello2world!

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?