Techno India University Python Quiz Contest

Techno India University Python Quiz Contest

University

10 Qs

quiz-placeholder

Similar activities

Mengenal Jendela dan Ikon Microsoft Excel

Mengenal Jendela dan Ikon Microsoft Excel

7th Grade - University

15 Qs

Ke-Al Azhar 8 an

Ke-Al Azhar 8 an

7th Grade - University

10 Qs

Chapter 2: Input Device

Chapter 2: Input Device

12th Grade - University

12 Qs

Basic Computer

Basic Computer

8th Grade - University

10 Qs

เทคโนโลยีสารสนเทศและระบบคอมพิวเตอร์

เทคโนโลยีสารสนเทศและระบบคอมพิวเตอร์

University

15 Qs

QUIZ 1: REVIEW ON C

QUIZ 1: REVIEW ON C

University

15 Qs

FSA,DFA dan NFA

FSA,DFA dan NFA

University

15 Qs

Techno India University Python Quiz Contest

Techno India University Python Quiz Contest

Assessment

Quiz

Computers

University

Hard

Created by

Rahul Mahato

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

30 sec • 2 pts

If a=(1,2,3,4), a[1:-1] is _________

Error, tuple slicing doesn’t exist

[2,3]

(2,3,4)

(2,3)

2.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

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

a={1:"A",2:"B",3:"C"}

for i,j in a.items():

print(i,j,end=" ")

1 2 3

1:”A” 2:”B” 3:”C”

A B C

1 A 2 B 3 C

3.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What will be the output of the following Python expression?

print(4.00/(2.0+2.0))

Error

1.00

1.0

1

4.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What is the output when the following code is executed?

"Welcome to Python".split()

('Welcome', 'to', 'Python')

{'Welcome', 'to', 'Python'}

['Welcome' 'to', 'Python']

'Welcome', 'to', 'Python'

5.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

Media Image

1

3

5

6

6.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What is the output of the following piece of code?

a=list((45,)*4)

print((45)*4)

print(a)

180

[(45),(45),(45),(45)]

(45,45,45,45)[45,45,45,45]

180

[45,45,45,45]

Syntax error

7.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

How are keyword arguments specified in the function heading?

one star followed by a valid identifier

two stars followed by a valid identifier

one underscore followed by a valid identifier

two underscores followed by a valid identifier

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?