Sequences

Sequences

Professional Development

10 Qs

quiz-placeholder

Similar activities

Office

Office

Professional Development

10 Qs

Excel-8vos

Excel-8vos

Professional Development

10 Qs

Computer Hardware and Software Quiz

Computer Hardware and Software Quiz

Professional Development

10 Qs

Python Test 1

Python Test 1

Professional Development

10 Qs

Gen. Assembly Recap Day 1

Gen. Assembly Recap Day 1

Professional Development

15 Qs

JDBC_Objective_Exam_2

JDBC_Objective_Exam_2

Professional Development

15 Qs

computers

computers

KG - Professional Development

15 Qs

PYTHON VOCABULARY

PYTHON VOCABULARY

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

Create a free account and access millions of resources

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?