Sequences

Sequences

Professional Development

10 Qs

quiz-placeholder

Similar activities

List

List

Professional Development

10 Qs

Microsoft Access

Microsoft Access

10th Grade - Professional Development

10 Qs

Topic Quiz-1 : Python Basics

Topic Quiz-1 : Python Basics

Professional Development

10 Qs

TREINAMENTO - POWER BI - AULA 1

TREINAMENTO - POWER BI - AULA 1

Professional Development

10 Qs

Sains Komputer Tingkatan 4 - 3.1.1 Mengkaji keperluan intera

Sains Komputer Tingkatan 4 - 3.1.1 Mengkaji keperluan intera

1st Grade - Professional Development

10 Qs

Power Apps Introduction

Power Apps Introduction

Professional Development

10 Qs

minecraft  : )

minecraft : )

1st Grade - Professional Development

13 Qs

DL Refresher

DL Refresher

KG - Professional Development

10 Qs

Sequences

Sequences

Assessment

Quiz

Computers

Professional Development

Hard

Created by

LE202 VISHNUVARDHAN

Used 45+ 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

10 sec • 1 pt

What will be the output of the following Python statement?

>>>"a"+"bc"

a

bc

bca

abc

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What will be the output of the following Python code?

>>> str1 = 'hello'

>>> str2 = ','

>>> str3 = 'world'

>>> str1[-1:]

olleh

hello

h

o

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Suppose listExample is [‘h’,’e’,’l’,’l’,’o’], what is len(listExample)?

5

4

None

Error

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What will be the output of the following Python code?

>>>names = ['Amir', 'Bear', 'Charlton', 'Daman'] >>>print(names[-1][-1])

A

Daman

Error

n

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

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


print([i.lower() for i in "HELLO"])

[‘h’, ‘e’, ‘l’, ‘l’, ‘o’]

‘hello’

[‘hello’]

hello

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

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

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

>>> "john" in d

True

False

None

Error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

>>> d1 = {"john":40, "peter":45}

>>> d2 = {"john":466, "peter":45}

>>> d1 > d2

True

False

Error

None

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?