Task 05

Task 05

University

10 Qs

quiz-placeholder

Similar activities

Python Final Quiz

Python Final Quiz

University

10 Qs

PYTHON QUIZ3

PYTHON QUIZ3

University - Professional Development

10 Qs

Functions and Modules

Functions and Modules

University

10 Qs

PythonTest

PythonTest

6th Grade - Professional Development

11 Qs

Mastering Python Lists

Mastering Python Lists

10th Grade - University

10 Qs

PY LEVEL 2 QUIZ 2

PY LEVEL 2 QUIZ 2

8th Grade - University

15 Qs

Python Quiz-9

Python Quiz-9

University

10 Qs

Task 05

Task 05

Assessment

Quiz

Computers

University

Hard

Created by

LEIF VILLANUEVA

FREE Resource

AI

Enhance your content

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

myList = [1, 'hello', 23.43]

type(myList[1])

What is the correct output?

<class 'str'>

<class 'int'>

string

integer

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following gives the output as 9

5+2**2

11+1*3/4

18-3**2

Both a and c

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

4+45/5%2

6

0.9

6.0

3.6

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

13+5 == 6+2

True

15

False

16

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following gives the output as [2,3,2,3,4,5] If list1=[2,3] and list2=[4,5]

list1 + list2 *2

(list1*2) + list2

list2 + list1 * 2

Both b and c

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What is the output of the following code?

list1=[1,’a’,5.4]

list1.extend([-3,0.8])

list1

[1, 'a', 5.4, [-3, 0.8]]

[1, 'a', 5.4, -3, 0.8)

[[1, 'a', 5.4],[ -3, 0.8]]

None of the above

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following operators have the same precedence?

-x and ~x

& and |

+ and *

== and >>

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?