What is print in python?
A function
A class
A variable
An integer
Which is the correct hello world program?
Print("hello world")
print ("hello world")
print(hello world)
print("hello world")
What is the name of the Integrated Development environment for Python?
IDE
IDLE
Command
Program
There are two ways to write Python programs in IDLE.
True
False
When you open Python using IDLE it defaults to interactive mode.
In order to run a program written in script mode in IDLE you must save the program first.
What type of term is input in Python?
A string
What is casting?
Assigning a value to a variable
Setting input to a variable
Setting a data type
Changing the case of the text
Which of the below programs will run correctly?
age=input(22)
age=input("what is your age)
age=int(input("what is your age")
age=int(input("what is your age?"))
What symbol do we use to identify comments in our code?
&
@
#
%
What data type is float?
Decimal
Integer
String
Operator
What is an integer?
A number which includes decimals
A text string
A mathematical function
A whole number
What symbol do we use to assign values to a variable?
==
=
Which type of IDLE mode lets the program run as you create it?
Script mode
Interactive mode
Functions within Python must not start with a capital letter.