PP_Week4_Batch1

PP_Week4_Batch1

Professional Development

10 Qs

quiz-placeholder

Similar activities

Python

Python

KG - Professional Development

13 Qs

Talkshow AI - FPTPoly - KM - XLDL

Talkshow AI - FPTPoly - KM - XLDL

Professional Development

10 Qs

Administration Windows 6 - PowerShell

Administration Windows 6 - PowerShell

Professional Development

8 Qs

Webinar 9

Webinar 9

Professional Development

11 Qs

FinTech 12-1 NLP

FinTech 12-1 NLP

Professional Development

10 Qs

Maintain Files and Folders

Maintain Files and Folders

Professional Development

10 Qs

IT ENGLISH: Research Project Topics - Python Programming Languag

IT ENGLISH: Research Project Topics - Python Programming Languag

Professional Development

10 Qs

Python_R

Python_R

2nd Grade - Professional Development

8 Qs

PP_Week4_Batch1

PP_Week4_Batch1

Assessment

Quiz

Computers

Professional Development

Hard

Created by

Narasimha Reddy Soora

Used 2+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Analyze the given code block to find it's output

Emma 20

Emma, 20

Emma, 25

Emma 25

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Analyze the code block to find it's output

15

Error

5 + 10

(5, 10)

3.

MULTIPLE SELECT QUESTION

1 min • 1 pt

Media Image

Given the following function fun1() you are expected to select all correct function calls

  1. fun1("CSM", age=19)

fun1(age=19, name="CSM")

  • fun1(name="CSM", 23)

  • fun1(age =23, "CSM")

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Analyze the given python code block to find output of the display_person() function call

  • TypeError

  • Emma
    25

  • name
    age

None of the options given

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Analyze the given python code block to find it's output. (Hint: Two return statements in function definition)

  • 5

15

  • (5, 10)

  • Syntax Error

6.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Media Image

Analyze the given code to find it's output.

7.

MULTIPLE SELECT QUESTION

1 min • 1 pt

Suppose a function f1() is defined in a module called M1.py. Which of the following code snippets correctly show how to import and use the f1() function? Select all that apply.

from M1 import f1

print(f1())

from M1 import f1

print(M1.f1())

import f1 from M1

print(f1())

import M1

print(M1.f1())

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?