Python Programming Quiz 1

Python Programming Quiz 1

Professional Development

30 Qs

quiz-placeholder

Similar activities

HyQuizz - Mùa 3 - Day 4

HyQuizz - Mùa 3 - Day 4

Professional Development

30 Qs

SMR 1

SMR 1

Professional Development

31 Qs

Mada - PM Quizz 3 Agile

Mada - PM Quizz 3 Agile

Professional Development

30 Qs

AWS Services and Commands Quiz

AWS Services and Commands Quiz

Professional Development

33 Qs

cryptography

cryptography

Professional Development

25 Qs

Computer Science Quiz

Computer Science Quiz

Professional Development

35 Qs

EDIT

EDIT

Professional Development

30 Qs

CSS - Exam

CSS - Exam

Professional Development

33 Qs

Python Programming Quiz 1

Python Programming Quiz 1

Assessment

Quiz

Information Technology (IT)

Professional Development

Hard

Created by

Mr.K.V.K.Sasi Kanth AP@CSE

Used 1+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of print(10 // 3)?

3.33

3

4

Error

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid Python function definition?

def func:

def func()

function func()

func def()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does type([]) return?

list

[]

type

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used for exponentiation in Python?

^

**

exp()

^^

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of bool([])?

True

False

None

Error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does 'hello'.capitalize() return?

'Hello'

'hello'

'HELLO'

'Hello '

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method checks if a string ends with a specific substring?

ends()

finish()

endswith()

close()

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?