Search Header Logo

PP_Lab_ESE_Batch2_Quiz_2023_24

Authored by Narasimha Reddy Soora

Computers

University

Used 1+ times

PP_Lab_ESE_Batch2_Quiz_2023_24
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

45 sec • 1 pt

Media Image

Analyze the given code to find output

True

False

0

1

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Analyze the given code to find output

<class 'str'>

<class 'int'>

<class 'long'>

None of the given options

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Develop equivalent logic for the output given in the figure.

Media Image
Media Image
Media Image
Media Image

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Analyze the given recursive function 'func' to determine it's functionality from the given options. (Assume L is non-empty list)

It returns the total number of odd elements in the list L

It returns the total number of even elements in the list L

It returns the sum of the even elements in the list L

It returns the sum of the odd elements in the list L

5.

MULTIPLE SELECT QUESTION

1 min • 1 pt

I have a string str1 = "KITS Warangal". Which of the following options will result into "lgaa" from the string str1.

org[-1:-9:-2]

org[6::2][::-1]

org[6::3][::-1]

None of the options

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Analyze the given code snippet to find it's output

It raises error as dictionary does not allow duplicate key values

{1:2, 2:3, 3:4}

{1:2, 2:3, 3:5}

None of the above options

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Analyze the given code from the image to find it's output


[100 -150 25]

[-100 150 -25]

[100 25]

[-100 -25]

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?