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

Quiz
•
Computers
•
University
•
Hard
Kannan Muthusamy
Used 5+ 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
Basics of programming - Quiz - 01

Quiz
•
University - Professi...
15 questions
XML BASICS QUIZ

Quiz
•
University
20 questions
Python

Quiz
•
University
20 questions
Generics

Quiz
•
University
25 questions
PYTHON CONTEST

Quiz
•
University
20 questions
JDVP Activity

Quiz
•
12th Grade - University
20 questions
9.4.25 Mentoring quiz

Quiz
•
University
20 questions
CSS Quiz

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade