Python Week 1 Quiz

When was python created?
1946
1985
1991
2009
Which is NOT a type in python?
String
Number
Integer
Boolean
Which is these is a Float?
1
"1.5"
1.5
How can you show the type of a value?
Type(1)
Typeof(1)
Type 1
Typeof 1
Which is NOT a valid variable name?
Num1
1num
Num_
What is the result of this expression?
"a" * 3
Error
"a*3"
"a3"
"aaa"
What is the result of this expression?
"a" + 3
Error
"a+3"
"a3"
"aaaa"
Which function do we use to get input from the user? (ask them to type something in)
Print()
Input()
GetInput()
Prompt()
What type will the variable something have?
something = input("Type something in:")
String
Integer
Float
Boolean
How can we change the String "5" to be the Integer 5?
Int("5")
Integer("5")
Int "5"
Integer "5"
{"name":"Python Week 1 Quiz", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"When was python created?, Which is NOT a type in python?, Which is these is a Float?","img":"https://www.quiz-maker.com/3012/images/ogquiz.png"}
Powered by: Quiz Maker