PP FINAL V2

PP FINAL V2

University

25 Qs

quiz-placeholder

Similar activities

UE 2.2 - Cycles de la vie et grandes fonctions  - Diagnostic

UE 2.2 - Cycles de la vie et grandes fonctions - Diagnostic

University

21 Qs

Municipal Solid Waste Management

Municipal Solid Waste Management

University

21 Qs

Interpreting A Paycheck

Interpreting A Paycheck

3rd Grade - Professional Development

22 Qs

Surah Kahf Online Course_Quiz 2

Surah Kahf Online Course_Quiz 2

KG - Professional Development

21 Qs

Overview -

Overview -

University

21 Qs

Grocery Ads

Grocery Ads

3rd Grade - Professional Development

22 Qs

Repairing Walls, Paint, and Wallpaper

Repairing Walls, Paint, and Wallpaper

3rd Grade - Professional Development

22 Qs

PRAXIS Teaching Reading: Elementary 5205

PRAXIS Teaching Reading: Elementary 5205

University - Professional Development

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