Python Coding Contest

Python Coding Contest

University

20 Qs

quiz-placeholder

Similar activities

Measure of Central Tendency and Dispersion

Measure of Central Tendency and Dispersion

University

16 Qs

Business English Units 1-2 Vocabulary

Business English Units 1-2 Vocabulary

11th Grade - Professional Development

20 Qs

Primera Guerra Mundial - WWI

Primera Guerra Mundial - WWI

7th Grade - Professional Development

19 Qs

Post-orientation quiz, Academics

Post-orientation quiz, Academics

University

20 Qs

GTB225 Study design

GTB225 Study design

University

18 Qs

Reinforced Concrete: Beam Design (Eurocode 2)

Reinforced Concrete: Beam Design (Eurocode 2)

University

18 Qs

Post-test Materi 1,2,3,4,5 Hari Sabtu 23 September 2023

Post-test Materi 1,2,3,4,5 Hari Sabtu 23 September 2023

University

16 Qs

Theories of Learning - FT

Theories of Learning - FT

University

17 Qs

Python Coding Contest

Python Coding Contest

Assessment

Quiz

Education

University

Practice Problem

Hard

Created by

Narayanan G

Used 18+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Who developed Python Programming Language?

Elon Musk
Mark Zuckerberg
Bill Gates
Guido van Rossum

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What will be the output of the following Python function?

len(["hello",2, 4, 6])

5
3

Error

4

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What will be the output of the following Python code snippet if x=1?

x<<2

2
4
6
8

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What will be the output of the following Python statement?

>>>"a"+"bc"

bc

abc

a

bca

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which one of the following is not a keyword in Python language?

pass

eval

assert

nonlocal

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What will be the output of the following Python code?

class tester:

def init(self, id):

self.id = str(id)

id="224"

>>>temp = tester(12)

>>>print(temp.id)

224

12

None

tester

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What will be the output of the following Python program?

z=set('abc')

z.add('san')

z.update(set(['p', 'q']))

z

{‘a’, ‘c’, ‘c’, ‘p’, ‘q’, ‘s’, ‘a’, ‘n’}

{‘abc’, ‘p’, ‘q’, ‘san’}

{‘a’, ‘b’, ‘c’, ‘p’, ‘q’, ‘san’}

{‘a’, ‘b’, ‘c’, [‘p’, ‘q’], ‘san}

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?