PSPP-Unit 1-Quiz

PSPP-Unit 1-Quiz

University

10 Qs

quiz-placeholder

Similar activities

Python

Python

University

13 Qs

PP_Week7_Batch1

PP_Week7_Batch1

University

10 Qs

HCI 574  Quizz

HCI 574 Quizz

University

8 Qs

Python Programming - Introduction

Python Programming - Introduction

University

15 Qs

Python

Python

University

9 Qs

Python

Python

University

15 Qs

Chapter 1 Python

Chapter 1 Python

8th Grade - University

12 Qs

Advance Python

Advance Python

KG - Professional Development

10 Qs

PSPP-Unit 1-Quiz

PSPP-Unit 1-Quiz

Assessment

Quiz

Computers

University

Hard

Created by

kavitha S

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The list1 is [2445,133,12454,123], what is max(list1)?


2445

133

12454

123

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following creates a tuple ?

tuple1=("a","b")

tuple1[2]=("a","b")

tuple1=(5)*2

(a) and (c)

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What will be the output of below Python code?

tupl=()

tupl1=tupl*2

print(len(tupl1))

0

1

2

Error

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What will be the output of the following code snippet?

a = [1,2,3,4,5]

print(a[3:0:-1])


Syntax error

[4, 3, 2]

[4, 3]

[4, 3, 2, 1]

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Who developed Python Programming Language?

Wick van Rossum

Rasmus Lerdorf

Guido van Rossum

Niene Stom

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct extension of the Python file?

.python

.pl

.py

.p

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Is Python code compiled or interpreted?

Python code is both compiled and interpreted

Python code is neither compiled nor interpreted

Python code is only compiled

Python code is only interpreted

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?