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
8 questions
ESS Vocabulary Week 2
Flashcard
•
9th - 12th Grade
11 questions
Mostly Irrelevant Presidential Trivia
Flashcard
•
9th - 12th Grade
9 questions
Advantages of Cloud Storage
Flashcard
•
9th - 10th Grade
13 questions
Wives of Prophet Muhammad Flashcard
Flashcard
•
10th Grade - University
15 questions
Eduqas AoS4 Pop Music Revision Summary
Flashcard
•
9th Grade - University
15 questions
Past Simple VS Prsent Perfect
Flashcard
•
KG - University
6 questions
PROBABILITY DISTRIBUTION
Flashcard
•
11th Grade
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