PYTHON BASICS

PYTHON BASICS

Professional Development

15 Qs

quiz-placeholder

Similar activities

#Sg_Spaic Last season Quiz (ML and Python)

#Sg_Spaic Last season Quiz (ML and Python)

KG - Professional Development

10 Qs

Prueba python vacacional

Prueba python vacacional

Professional Development

15 Qs

Python End of Module Touchpoint

Python End of Module Touchpoint

Professional Development

20 Qs

Season 4 #Spaic Python Weekly Quiz

Season 4 #Spaic Python Weekly Quiz

KG - Professional Development

20 Qs

TEST PAPER-TUPLE

TEST PAPER-TUPLE

Professional Development

10 Qs

Season 6 #Spaic ML 1 Weekly Quiz

Season 6 #Spaic ML 1 Weekly Quiz

KG - Professional Development

20 Qs

Python Loop Statements

Python Loop Statements

Professional Development

10 Qs

Week 1 quiz

Week 1 quiz

Professional Development

18 Qs

PYTHON BASICS

PYTHON BASICS

Assessment

Quiz

Other

Professional Development

Medium

Created by

Kuruganti aswini

Used 1+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

1. Who developed Python Programming Language?

a) Wick van Rossum

b) Rasmus Lerdorf

c) Guido van Rossum

d) Niene Stom

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Is Python case sensitive when dealing with identifiers?

no

yes

machine independent

None

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

a) .python

b) .pl

c) .py

d) .p

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the value of the following Python expression?

print(4 + 3 % 5)

a) 7

b) 2

c) 4

d) 1

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following Python function?

print(len(["hello",2, 4, 6]))

Error

6

4

3

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

for i in [1, 2, 3, 4][::-1]:

print(i, end=' ')

4 3 2 1

error

1 2 3 4

None

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To add a new element to a list we use which Python command?

a) list1.addEnd(5)

b) list1.addLast(5)

c) list1.append(5)

d) list1.add(5)

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?