PYTHON

PYTHON

University

15 Qs

quiz-placeholder

Similar activities

python_basics

python_basics

University

10 Qs

Python-Basic

Python-Basic

3rd Grade - University

15 Qs

Python_2R

Python_2R

KG - Professional Development

20 Qs

Python-Lists_Dictionaries

Python-Lists_Dictionaries

University

20 Qs

Python Collection Data Type

Python Collection Data Type

University

20 Qs

Python Quiz - BPLCK105B

Python Quiz - BPLCK105B

University

20 Qs

CSC305: TOPIC 7

CSC305: TOPIC 7

University

15 Qs

Season 4 #Spaic Python Weekly Quiz

Season 4 #Spaic Python Weekly Quiz

KG - Professional Development

20 Qs

PYTHON

PYTHON

Assessment

Quiz

Computers

University

Hard

Created by

Pushpa RN

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one of these is floor division?

\

\

\\

//

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you insert COMMENTS in Python code?

//

#

  • *

/*

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used for function in Python language?

Function

def


Define

Fun

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following Python code?

i = 1

while True:

if i%3 == 0:

break

print(i)   i + = 1

1 2 3

error

1 2

none of the mentioned

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a core data type in Python programming?

Tuples

Lists

Class

Dictionary

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)

4 3 2 1

error

1 2 3 4

none of the mentioned

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following Python statement?

  1. >>>"a"+"bc"

bc

abc

a

bca

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?