Python Module-I Quiz

Python Module-I Quiz

University

10 Qs

quiz-placeholder

Similar activities

Увлекательный мир Python

Увлекательный мир Python

6th Grade - University

9 Qs

Exploring Software Development and UX

Exploring Software Development and UX

University

15 Qs

Fundamentals of Python Programming

Fundamentals of Python Programming

University

10 Qs

Club Coding Quiz - BCA

Club Coding Quiz - BCA

University

10 Qs

Understanding Python Basics

Understanding Python Basics

University

12 Qs

Quiz 3

Quiz 3

University

12 Qs

Coding With Python- Introductory Quiz

Coding With Python- Introductory Quiz

University

13 Qs

Mobile Programming - POCC

Mobile Programming - POCC

University

15 Qs

Python Module-I Quiz

Python Module-I Quiz

Assessment

Quiz

Information Technology (IT)

University

Medium

Created by

Sandip Sadhukhan

Used 2+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the correct way to declare a variable in Python?

int a = 10

declare a = 10

a = 10

var a = 10

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is a valid Python variable name?

1name

user-name

user_name

user name

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which data type is immutable in Python?

list

tuple

dict

set

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the output of the expression: -16 // 3 in Python?

-5

-6

5

6

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which data type in Python represents unordered collection of unique elements?

list

tuple

dict

set

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which operator is used to check if a value is present in a sequence?

is

in

==

and

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following operators is used for exponentiation in Python?

^

**

^^

exp()

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?