Python-Quiz1

Python-Quiz1

University

12 Qs

quiz-placeholder

Similar activities

COC (Code Of Challange)

COC (Code Of Challange)

11th Grade - University

15 Qs

Week3 上周知识点回顾

Week3 上周知识点回顾

University

10 Qs

แข่งขันcodingม.ต้น

แข่งขันcodingม.ต้น

12th Grade - University

15 Qs

Join by Madi

Join by Madi

University

15 Qs

Fundamentos de Programación en Python

Fundamentos de Programación en Python

6th Grade - University

10 Qs

PYTHON APTITUDE

PYTHON APTITUDE

University

12 Qs

Python Programming Competition

Python Programming Competition

University

12 Qs

G12- Python Strings Quiz

G12- Python Strings Quiz

12th Grade - University

9 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?