Python-Quiz1

Python-Quiz1

University

12 Qs

quiz-placeholder

Similar activities

Python Programming Competition

Python Programming Competition

University

12 Qs

Python for loop/lists

Python for loop/lists

9th Grade - University

15 Qs

Selection Programming_If condition

Selection Programming_If condition

8th Grade - University

15 Qs

Quiz Informatika Genap KLs 7

Quiz Informatika Genap KLs 7

7th Grade - University

15 Qs

Quiz Pemrograman Python

Quiz Pemrograman Python

10th Grade - University

15 Qs

Refresh Python

Refresh Python

University

10 Qs

Python Programming Quiz

Python Programming Quiz

University

13 Qs

PYTHON APTITUDE

PYTHON APTITUDE

University

12 Qs

Python-Quiz1

Python-Quiz1

Assessment

Quiz

Information Technology (IT)

University

Hard

Created by

Janany Malli

Used 37+ times

FREE Resource

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

For the list [10,12,14,20,22,24,30,32,34] which of the following will give this output [10,20,30]

list[1:9:3]

list[0:9:2]

list[::3]

list[1::2]

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following cannot be a variable?

_init

in

ot

on

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

What is the output of the following code?

abcd

a b c d

a,b,c,d

Type Error

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which is not a Python datastructure?

list

set

tuple

recursion

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

List is immutable

True

False

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the length of the string 'Hi\nHello'

7

8

9

10

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

sum(3,4,5,6) returns 18

True

False

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?