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
Float
False
String
"1.5"
Integer
2.0
Boolean
528
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
10 questions
1.2 Basic String Manipulation

Quiz
•
9th Grade
10 questions
Python - kl. 8

Quiz
•
7th - 12th Grade
10 questions
Bài 32 - Ôn tập lập trình Python

Quiz
•
10th Grade
12 questions
Compound Operators in Java

Quiz
•
9th - 12th Grade
13 questions
Python Fundamentals and Programming

Quiz
•
11th - 12th Grade
13 questions
Python Iteration

Quiz
•
10th Grade
14 questions
For Loops (Java)

Quiz
•
9th - 12th Grade
12 questions
Python Programming - Iteration

Quiz
•
9th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade