What is the process of writing instructions for a computer?
Programming
The datatypes that store whole numbers.
Integer(int)
What arithmetic operation does the + symbol represent?
Addition
Which function identifies a variable's data type?
type()
What is the output?
num1 = 2
num2 = 4
print(10 + 5)
15
What is a collection of instructions called?
Program
The datatypes that store decimal numbers.
float
What arithmetic operation does the * symbol represent?
Multiplication
What is the output?
print("Hello")
Hello
What is the output?
num1 = 10
num2 = 4
print(num1 - num2)
6
Who writes computer programs?
Programmer
The datatypes that enclose text, character or numbers inside quotation marks.
String (str)
What arithmetic operator is represented by the % symbol?
Modulo
What is the output?
name = "Ana"
print(f"Hi {name}")
Hi Ana
What is the output?
print(7 * 8)
56
What gives instructions to a computer?
Programming Language
Is a built-in function used to display output to the screen (console).
prinT()
What arithmetic operator in Python is represented by the ** symbol?
Exponentiation (or Exponent / Power)
What is the output?
name = "Lloyd"
print(type(name))
str(String)
What is the output?
print(20 // 6)
3
What comes after Algorithm?
Code
Is a built-in function used to take input from the user via the keyboard.
input()
It divides two numbers and rounds the result down to the nearest whole integer (towards negative infinity), dropping any decimal remainder.
Floor Division
What is the output? name = "Ana" print(f"Hello, {Naame}")
NameError
What is the output?
print(3**2)
9