
Mod 2 quiz 1
Authored by Scott Freeman
Computers
9th - 12th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following program?
print ("My\nname\nis\nBond. ", end= "")
print ("James Bond")
My
name
is
Bond. James Bond
My
name
is
Bond.
James Bond
My
name
is
Bond.
James
Bond
error
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following program?
print (sep="&", "fish", "chips")
fish & chips
& fish chips
fish chips &
error
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following codes will cause an error
print('Greg\'s book.')
print("'Greg's book.'")
print('"Greg\'s book."')
print("Greg\'s book.")
print ('"Greg's book.''')
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of literals are the followings examples
"Hello" and "007"
Integer
String
Float
Boolean
5.
MATCH QUESTION
1 min • 1 pt
Match the following literals
Integer
528
Float
False
String
"1.5"
Boolean
2.0
6.
FILL IN THE BLANKS QUESTION
1 min • 1 pt
What is the base 10 value when the binary is 1011
(a)
7.
FILL IN THE BLANKS QUESTION
1 min • 1 pt
What is the expected value of the following code?
print((2**4), (2*4), (2*4))
(a)
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?