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
6 questions
Unit 3.8 Market Structure
Flashcard
•
11th Grade
12 questions
DNA Replication and Protein Synthesis
Flashcard
•
9th - 12th Grade
10 questions
Marketing Mix - Place and Distribution
Flashcard
•
10th Grade - University
10 questions
Strategies to Avoid Communication Breakdown
Flashcard
•
11th - 12th Grade
10 questions
Present Simple
Flashcard
•
7th - 12th Grade
15 questions
Practice 3 FFA Basics
Flashcard
•
9th - 12th Grade
14 questions
History of Periodic Table of Elements
Flashcard
•
8th - 11th Grade
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade