What is the difference between a float and an integer.
A float can have a decimal point, an integer cannot.
What does % mean in python?
Modulus or finding the remainder
Where is the position for the circle placed in the output world?
The center of the circle
What is the function turn_right()?
What song and artist sings this?
"I'm working late, cause I'm a singer."
Espresso- Sabrina Carpenter
Will the code below print show your result on the same line or separate lines.
print("I am")
print("5 feet")
print("tall")
Separate lines
What does ** mean in python?
Exponetiation
What are the coordinates for the top left corner of the output world?
a. (0,0)
b. (0, get_height)
c. (get_width, get_height)
d. (get_width, get_height)
a. (0,0)
What does the <-- arrow mean in the AP exam
assigning a variable
What movie of a famous musical is Ariana Grande starring in coming out this November?
Wicked
If we have the variable
Num_of_apples= 30
and we print
print("The number of apples is: " + (Num_of_apples))
We get an error
What are we missing in our code?
What is the difference between // and / in python division.
// - there is no decimal value even if the number has one
/- the result will show a number with a decimal position
What value goes in the Circle() function.
Radius
What is the difference between a for loop and a while loop?
A for loop is used a specific number of times. A while loop is used until the condition is no longer true.
What is Netflix's most streamed show ever?
Squid Game
a= 1
b= 2
a= b
print(str(a))
What will print out in a?
2
What is
x= 18 % 4
print(x ** 3)
8
How do you find the center of the output world?
get_height()/2
On the AP exam DISPLAY is to display a result. If we displayed
DISPLAY ("I am")
DISPLAY ("Ms. Hyatali")
What would the result of the code be?
What boy band was Niall Horan formerly a member of?
One Direction
How do we get an integer input?
int(input("number"))
What would the result of (9 * 2)/6-2 in python
What does import do ?
Gives you access to different modules in python.
If Karel was facing east at avenue 1 street 1 where would he be at the end of this code.
move()
move()
turn_around()
move()
turn_right()
avenue 2 street 1 facing north.
Who did Forbes name the youngest self made billionaire in 2019?
Kylie Jenner