Search Header Logo

PSPP-Unit 1-Quiz

Authored by kavitha S

Computers

University

PSPP-Unit 1-Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

Access all questions and much more by creating a free account

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

Already have an account?