Unit 5 Flashcard AP CSP

Flashcard
•
Computers
•
9th - 12th Grade
•
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
Create a free account and access millions of resources
Similar Resources on Wayground
9 questions
عناوين العمليات بلغة جافا

Flashcard
•
10th Grade - University
12 questions
Culinary Measuring and Math

Flashcard
•
9th - 12th Grade
12 questions
ACT Elementary Algebra Review

Flashcard
•
9th - 12th Grade
12 questions
[4] APCSP Prep - Pseudocode Practice(edward_mosley_52506)

Flashcard
•
10th Grade
15 questions
Fin Mgmt M4

Flashcard
•
9th - 12th Grade
15 questions
NUMBERS FOR PRESCHOOL

Flashcard
•
KG
15 questions
Counting

Flashcard
•
KG
15 questions
Addition for preschool

Flashcard
•
KG
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade