QUIZZ

QUIZZ

Professional Development

10 Qs

quiz-placeholder

Similar activities

Znaki patrolowe

Znaki patrolowe

1st Grade - Professional Development

13 Qs

FR - EPS (2022 - 23)

FR - EPS (2022 - 23)

Professional Development

12 Qs

Chapters 10-14

Chapters 10-14

Professional Development

15 Qs

WB_Tally Quiz 3

WB_Tally Quiz 3

Professional Development

15 Qs

Invigilator Training 2024

Invigilator Training 2024

Professional Development

10 Qs

VENDOR DAY 2022

VENDOR DAY 2022

Professional Development

15 Qs

Email etiquette

Email etiquette

Professional Development

14 Qs

LU-2-Channels for the Bank

LU-2-Channels for the Bank

University - Professional Development

15 Qs

QUIZZ

QUIZZ

Assessment

Quiz

Other

Professional Development

Practice Problem

Easy

Created by

Vijayadheeswar Reddy

Used 6+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

str1 = "my isname isisis jameis isis bond"

  sub = "is"

print(str1.count(sub, 4))

4

5

6

7

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

str1 = 'Welcome'   

print (str1[:6] + ' PYnative')

Welcome PYnative

WelcomPYnative

Welcom PYnative

WelcomePYnative

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

strOne = str("pynative")

strTwo = "pynative"

print(strOne == strTwo) 

print(strOne is strTwo)

False False

True True

True False

False True

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

def fun1(name, age=20):
    print(name, age)
fun1('Emma', 25)

Emma 25

Emma 25

Error

None of these

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

def outer_fun(a, b):
    def inner_fun(c, d):
        return c + d
    return inner_fun(a, b)
    return a

result = outer_fun(5, 10)
print(result)

5

15

(15,5)

Error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

def display_person(*args):
    for i in args:
        print(i)

display_person(name="Emma", age="25")

Typeerror

Emma 25

Name Error               

None

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

def fun1(num):
    return num + 25

fun1(5)
print(num)

25

5

Nameerror

None of these

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?