Search Header Logo

PP_Lab_ESE_Batch22_Quiz_2024_25

Authored by Narasimha Reddy Soora

Computers

University

Used 6+ times

PP_Lab_ESE_Batch22_Quiz_2024_25
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output of the given block of code

Error(not readable)

Error(not writable)

It will read all the data of the file.

None

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Analyze the given python code to find the output.

1, 2

1 2

1

2

1; 2

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Analyze the given code block to identify the line numbers executed in the class due to the execution of the line number 16.

Block of code from line number 2 to 4

Block of code from line number 10 to 11

Block of code from line number 6 to 8

Line 16 gives error

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

10

20

Error

None

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What will be the output of the following Python code?

280

150

210

180

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

x is a list defined as shown in the figure. What is the expression involving x that accesses the value 30?


x[2]["bar"]["z"]

x[2]["bar"]

x["bar"]["z"]

x[2]["bar"]["z"][3]

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

['a', 'ab', 'abb', 'ab']

['ab', 'ab', 'ab']

['a', 'b', 'a', 'b', 'b', 'a', 'b']

['ab', 'abb', 'ab']

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?