What is the result of 32 >> 2 ?
Data Analysis using Python

Quiz
•
Computers
•
University
•
Hard
Kannan Muthusamy
Used 6+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
32
8
16
None
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What's wrong with the following program?
Second print should not be indented
First print should be indented
if age > 18 is invalid
age = 24 is invalid
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the value of X after solving the expression:
X = 10 / 2 * ( 3 >> 1 ) - 45 % 5 ?
5
10
5.0
7.5
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the throughput of the following line of code:
int ( '10.5' )
10
10.5
ValueError
10.0
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the following program:
>>> list = [ 1, 2, 'Benjamin', 'studious' ]
>>> 'Benjamin is ' + list.pop( )
Benjamin is studious
Benjamin is
Benjamin is 1 2 Benjamin
Error
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Consider a dictionary named food. What food.items( ) return ?
View object containing items
Object containing items
A dictionary
None
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Spot the error in the following line:
dict = { 1: 'students', '2': 'faculties' }
Key 1 should be quoted with single quotes
Key 2 should not be quoted with single quotes
Values should not be quoted with single quotes
No Error
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
JDVP Activity

Quiz
•
12th Grade - University
20 questions
Python Quiz - BPLCK105B

Quiz
•
University
20 questions
Python

Quiz
•
University
15 questions
ANALYSIS OF ALGORITHMS

Quiz
•
University
20 questions
VLAN

Quiz
•
University
20 questions
UNIT 1 PYTHON

Quiz
•
University
15 questions
Quiz 2

Quiz
•
University
15 questions
BASIC C PROGRAMMING QUIZ

Quiz
•
University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade