PP_Week4_Batch1

PP_Week4_Batch1

Professional Development

10 Qs

quiz-placeholder

Similar activities

แบบทดสอบเตรียมความพร้อมก่อนอบรม

แบบทดสอบเตรียมความพร้อมก่อนอบรม

Professional Development

10 Qs

python quiz

python quiz

6th Grade - Professional Development

10 Qs

Python Quiz

Python Quiz

Professional Development

10 Qs

COMPETIÇÃO DE DIGITAÇÃO

COMPETIÇÃO DE DIGITAÇÃO

Professional Development

15 Qs

Maintain Windows

Maintain Windows

Professional Development

10 Qs

Python - Numpy Quiz 3

Python - Numpy Quiz 3

University - Professional Development

5 Qs

Django

Django

Professional Development

8 Qs

Tethys App Migration

Tethys App Migration

Professional Development

6 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?