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
What is the result of 32 >> 2 ?
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 Wayground
15 questions
CSE 102 Exam 2 Practice

Quiz
•
University
17 questions
Web Design- HTML Review

Quiz
•
KG - University
20 questions
Java - Revisão I

Quiz
•
University
20 questions
JDVP Activity

Quiz
•
12th Grade - University
16 questions
COMP177 Mod 8 - Lists & Dictionaries

Quiz
•
University
20 questions
Python Lists

Quiz
•
University
18 questions
Linked List

Quiz
•
KG - University
15 questions
ARRAYLIST - JAVA

Quiz
•
University
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