PP FINAL V2

PP FINAL V2

University

25 Qs

quiz-placeholder

Similar activities

Morfologi Bahasa Indonesia

Morfologi Bahasa Indonesia

University

25 Qs

Food allergies

Food allergies

3rd Grade - Professional Development

26 Qs

Self-Advocacy Skills Quiz

Self-Advocacy Skills Quiz

9th Grade - University

24 Qs

Integrity Club Quiz

Integrity Club Quiz

6th Grade - University

25 Qs

Dangers of Debt

Dangers of Debt

3rd Grade - Professional Development

21 Qs

Medical Math

Medical Math

9th Grade - Professional Development

21 Qs

CALD Game

CALD Game

University

21 Qs

Map Reading

Map Reading

3rd Grade - Professional Development

25 Qs

PP FINAL V2

PP FINAL V2

Assessment

Passage

Special Education

University

Practice Problem

Easy

Created by

Динара Альменбетова

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...

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What arithmetic operators cannot be used with strings ?

A)*

B)+

C)-

D)All of the mentioned

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following Python code snippet ?

d = {"john":40, "peter":45}

"john" in d

a) True

b) False

c) None

d) Error

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following Python code ?

import random

random.choice([10.4, 56.99, 76])

a) Error

b) Either 10.4, 56.99 or 76

c) Any number other than 10.4, 56.99 and 76

d) 56.99 only

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the function re.search do?

a) matches a pattern at the start of the string

b) matches a pattern at any position in the string

c) such a function does not exist

d) none of the mentioned

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following Python code snippet ?

d = {"john":40, "peter":45}

print(list(d.keys()))

a) ["john", "peter"]

b) ["john": 40, "peter": 45]

c) {"john", "peter"}

d) ("john": 40, "peter": 45)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the ‘return’ keyword do in a function ?

a) Terminates the function

b) Returns a value from the function

c) Skips the function

d) Declares a variable

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following code snippet ?

def multiply(a, b=2):

return a * b

result = multiply(5)

print(result)

a) 5

b) 10

c) 2

d) 7

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?