
Unit 5 Flashcard AP CSP
Flashcard
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

13 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Correctly write the call to this function.
Back
showName()
2.
FLASHCARD QUESTION
Front
There are 55 students in a room. Write a line of code that will determine how many groups of students there will be if there is 4 in each group?
Back
numGroups = 55//4
3.
FLASHCARD QUESTION
Front
Which line of code correctly asks the user for a number of apples that will be multiplied by the price to find the total cost? Options: numApples = int(print("How many apples? ")) , numApples = (input("How many apples?" )) , numApples = int(input("How many apples?" )) , numApples = input(int("How many apples?" ))
Back
numApples = int(input("How many apples?" ))
4.
FLASHCARD QUESTION
Front
What is the process of converting one datatype to another called?
Back
Type Casting.
5.
FLASHCARD QUESTION
Front
What would the program display if you ran this code and entered 2 and then 3 when prompted?
Back
The total is 23.
6.
FLASHCARD QUESTION
Front
What would be the answer here?
x = "hello"
print(len(x))
Back
5
7.
FLASHCARD QUESTION
Front
What is the syntax error in this code?
Back
The code is not indented correctly
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
10 questions
Mandarin Fruits
Flashcard
•
KG
7 questions
International Yoga Day Quiz
Flashcard
•
KG - University
8 questions
Tablet Parts
Flashcard
•
KG
15 questions
paměť + pozornost
Flashcard
•
9th - 12th Grade
10 questions
Present Simple - Negative
Flashcard
•
10th Grade
9 questions
Classical and Medieval Art
Flashcard
•
KG
10 questions
Key Principles of Risk Management
Flashcard
•
KG - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade