PP_Week3_Batch1

PP_Week3_Batch1

Professional Development

8 Qs

quiz-placeholder

Similar activities

Scratch

Scratch

KG - Professional Development

10 Qs

RE-ECHO ON TECHNOLOGY LITERACY AND SKILLS

RE-ECHO ON TECHNOLOGY LITERACY AND SKILLS

Professional Development

10 Qs

ETEC 411 Computer Hardware & Software Quiz

ETEC 411 Computer Hardware & Software Quiz

9th Grade - Professional Development

11 Qs

What is ML

What is ML

Professional Development

13 Qs

LCD vs LED vs OLED

LCD vs LED vs OLED

KG - Professional Development

10 Qs

XPS 13 9300 Training Study

XPS 13 9300 Training Study

Professional Development

10 Qs

USE OF ICT IN THE LEARNING PROCESS

USE OF ICT IN THE LEARNING PROCESS

Professional Development

10 Qs

Mobile Technology

Mobile Technology

Professional Development

10 Qs

PP_Week3_Batch1

PP_Week3_Batch1

Assessment

Quiz

Computers

Professional Development

Practice Problem

Hard

Created by

Narasimha Reddy Soora

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Every function should have return statement at the end

The name of the functions defined by the user should follow some guidelines

The body of the function is indented and is enclosed by the brackets

None of the above

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

int

print statement

Empty String

None

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

functionName.doc()

docstring(functionName)

functionName.__doc__

functioName.__doc__()

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

def add(a, b):

c = a + b

return c

def add(a, b):

c = a + b

return 'c'

def add(a,b)

return a+b

All the given options

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Analyze the given code snippet to find it's output.

16 4

16 16

16 SyntaxError

16 NameError

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

  • Which of the following is the correct way to write a lambda function?

fun=lambda x: x if x>=0 else -x fun(-4)

fun=lambda x: if x>=0:x else: -x fun(-4)

fun=lambda: x if x>=0 else -x fun(-4)

None of the options

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Find the output of the following code?

5

-5

'5'

NameError

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?