PP FINAL V2

PP FINAL V2

University

25 Qs

quiz-placeholder

Similar activities

friday the 13th the game

friday the 13th the game

2nd Grade - University

23 Qs

AVENGERS ENDGAME - Super Fan Quiz

AVENGERS ENDGAME - Super Fan Quiz

KG - Professional Development

25 Qs

ASL alphabet

ASL alphabet

1st Grade - University

26 Qs

Pengelolaan bisnis retail

Pengelolaan bisnis retail

University

21 Qs

Assembling a Wardrobe

Assembling a Wardrobe

7th Grade - University

22 Qs

Child & Adolescent Development

Child & Adolescent Development

University

25 Qs

Asesmen Kompetensi Minimum (AKM)

Asesmen Kompetensi Minimum (AKM)

10th Grade - Professional Development

25 Qs

clash royale

clash royale

KG - Professional Development

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