Unit 5 Flashcard AP CSP

Flashcard
•
Computers
•
9th - 12th Grade
•
Hard
Quizizz 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
13 questions
Functions and Parameters

Flashcard
•
9th - 12th Grade
9 questions
عناوين العمليات بلغة جافا

Flashcard
•
10th Grade - University
8 questions
2D array flashcard

Flashcard
•
9th - 12th Grade
10 questions
CODEHS Looping Unit 5 Review

Flashcard
•
9th - 12th Grade
11 questions
Java Boolean Statements

Flashcard
•
11th Grade
15 questions
AP CSP Unit 7: Parameters, Returns, and Libraries

Flashcard
•
9th - 12th Grade
10 questions
Arrays

Flashcard
•
10th - 12th Grade
10 questions
❄⛄AP CSA - Unit 6 Review

Flashcard
•
9th - 12th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
Discover more resources for Computers
50 questions
Trivia 7/25

Quiz
•
12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
6 questions
RL.10.1 Cite Evidence

Quiz
•
10th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
14 questions
Algebra 1 SOL Review #1

Quiz
•
9th Grade