Computational Thinking in Python[Quiz 3]

Computational Thinking in Python[Quiz 3]

University

15 Qs

quiz-placeholder

Similar activities

Introduction to Mobile Commerce

Introduction to Mobile Commerce

University

10 Qs

After Effect Intoduction

After Effect Intoduction

10th Grade - University

15 Qs

Memory-Mobo-Hard/Software

Memory-Mobo-Hard/Software

University

18 Qs

Linux: Users and Groups

Linux: Users and Groups

9th Grade - University

14 Qs

VR and AR in multimedia applications

VR and AR in multimedia applications

University

10 Qs

PDSB 210622

PDSB 210622

University - Professional Development

10 Qs

Adobe Photoshop

Adobe Photoshop

University

10 Qs

HEAP TREE

HEAP TREE

University

11 Qs

Computational Thinking in Python[Quiz 3]

Computational Thinking in Python[Quiz 3]

Assessment

Quiz

Computers

University

Medium

Created by

Karunya Hacks

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

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

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

l1 = [4,6,8,1]

l1.append(5)

print(l1)

4,5,6,8,1

1,5,6,8,4

4,6,8,1,5

4,8,1,6,5

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the symbol of floor division in Python

**

/

\

//

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the output

x = 4

y = 6

print(x == y)

True

Error

False

Invalid statement

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Correct syntax for while loop is

while(x>1)

#statements

While(x>1)

#statements

while x>1:

#statements

while x>1

#statements

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which function do we use to add an element at a particular element in the list

insert()

append()

add_list()

list_append

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which statement brings the control out of the loop

pass

break

catch

try

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the output of the following code

a = 4

b = 3

pro = a**b

print(pro)

12

64

32

128

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?