Python Quiz

Python Quiz

University

10 Qs

quiz-placeholder

Similar activities

Java Control Flow statements

Java Control Flow statements

University

10 Qs

Encoders

Encoders

University

7 Qs

DB2 and AS400 Basic Concepts

DB2 and AS400 Basic Concepts

University - Professional Development

10 Qs

IEEE Coding Competition

IEEE Coding Competition

University

13 Qs

Queues

Queues

11th Grade - Professional Development

15 Qs

Java Static

Java Static

University

10 Qs

Q12 - Sys Fund

Q12 - Sys Fund

University

10 Qs

Python For

Python For

University

10 Qs

Python Quiz

Python Quiz

Assessment

Quiz

Computers, Instructional Technology

University

Hard

Created by

03 Bhargav

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What does ~~~~~~10 evaluates to?

+10

6

-10

4

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

_______ is simplest but incomplete version of function

Stub

Function

Lambda

The function made using Top-Down Approach

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the Output?

{0: 1, 7:0, 1:1, 8:0}

{1:1, 7:2, 0:1,8:1}

{0:0, 7:0, 1:1, 8:1}

Key Error

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the output?

Dictionary comprehension doesn't exist

{0:0, 1:1, 2:4, 3:9, 4:16, 5:25, 6:36}

{0:0, 1:1, 4:4, 9:9, 16:16, 25:25}

{0:0, 1:1, 2:4, 3:9, 4:16, 5:25}

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the output?

print( 'bcd'.partition('bcd') )

('bcd')

('')

('bcd', ' ', ' ' )

(' ', 'bcd', ' ')

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What Is The Output?

49

2

51

No Output

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What Is The Output?

4

Error

1

2

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?