Mod 2 quiz 1

Quiz
•
Computers
•
9th - 12th Grade
•
Hard
Scott Freeman
Used 1+ times
FREE Resource
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
String
2.0
Integer
"1.5"
Float
528
Boolean
False
6.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What is the base 10 value when the binary is 1011
7.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What is the expected value of the following code?
print((2**4), (2*4), (2*4))
8.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What is the expected value of the following code?
print((-2/4), (2/4), (2//4),(-2//4))
9.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What is the expected value of the following code?
print((2%-4), (2%4), (2**3**2))
Similar Resources on Wayground
12 questions
9.1.6 - Starter Quiz

Quiz
•
8th - 9th Grade
10 questions
Python Math

Quiz
•
1st - 12th Grade
10 questions
MOAC Excel 2016 Lesson 03

Quiz
•
8th - 12th Grade
10 questions
9-сынып. Python массив.

Quiz
•
1st - 9th Grade
10 questions
KD-1 Dasar pemrograman python

Quiz
•
10th Grade
10 questions
Python Basics

Quiz
•
12th Grade - University
13 questions
Program Development - Python: Errors

Quiz
•
8th - 10th Grade
6 questions
Python 2.1 quiz

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
Discover more resources for Computers
50 questions
Trivia 7/25

Quiz
•
12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
6 questions
RL.10.1 Cite Evidence

Quiz
•
10th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
14 questions
Algebra 1 SOL Review #1

Quiz
•
9th Grade