Data Analysis using Python

Data Analysis using Python

University

20 Qs

quiz-placeholder

Similar activities

PYTHON CONTEST

PYTHON CONTEST

University

25 Qs

Linked list 1

Linked list 1

University

20 Qs

Lists in Python 2

Lists in Python 2

10th Grade - University

20 Qs

COMP177 Mod 8 - Lists & Dictionaries

COMP177 Mod 8 - Lists & Dictionaries

University

16 Qs

Python Lists

Python Lists

University

20 Qs

Computational Thinking in Python[Quiz 3]

Computational Thinking in Python[Quiz 3]

University

15 Qs

Linked List

Linked List

KG - University

18 Qs

Sense_The_Bug

Sense_The_Bug

University

15 Qs

Data Analysis using Python

Data Analysis using Python

Assessment

Quiz

Computers

University

Hard

Created by

Kannan Muthusamy

Used 5+ 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

Media Image

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?