Python Programming - Test 1

Python Programming - Test 1

University - Professional Development

20 Qs

quiz-placeholder

Similar activities

Python Quiz - BPLCK105B

Python Quiz - BPLCK105B

University

20 Qs

String & Struct Exercise

String & Struct Exercise

University

17 Qs

Grade 8 End of Unit Revision

Grade 8 End of Unit Revision

8th Grade - University

15 Qs

Python 1

Python 1

University

20 Qs

Basic of Programming - Quiz 02

Basic of Programming - Quiz 02

University - Professional Development

15 Qs

UNIT 1 PYTHON

UNIT 1 PYTHON

University

20 Qs

Quiz1_7C

Quiz1_7C

3rd Grade - University

15 Qs

Python - String and Lists

Python - String and Lists

Professional Development

20 Qs

Python Programming - Test 1

Python Programming - Test 1

Assessment

Quiz

Computers

University - Professional Development

Medium

Created by

Prashant Dhope

Used 52+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Which of the following character is used to give comments in Python?

//

#

!

/

2.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What will be the output?

name = 'Python'

print (type(name))

char

'Python'

str

Error

3.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What will be the output?

str1 = "SGBIT"

print (str1 [2])

S

G

B

I

4.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What will be the output?

d = 10 < 11

print (d)

10

11

True

False

5.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Identify the arithmetic operator which is used to calculate exponential.

*

%

!

**

6.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

List is declared using _______.

{ }

[ ]

( )

< >

7.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What will be the output?

print (13/6)?

2

2.1666

2.5

Error

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?