Python Module-I Quiz

Python Module-I Quiz

University

10 Qs

quiz-placeholder

Similar activities

hashmap

hashmap

University

14 Qs

G9-Introduction to Python Selection

G9-Introduction to Python Selection

9th Grade - University

6 Qs

Python Quiz 4

Python Quiz 4

University

5 Qs

Quiz de Lógica em Python

Quiz de Lógica em Python

6th Grade - University

8 Qs

Network Security Quiz 3CS2 01

Network Security Quiz 3CS2 01

University

15 Qs

Python Challenge

Python Challenge

University

15 Qs

Quizz Python Intro

Quizz Python Intro

University

10 Qs

Abstracciones procedimentales

Abstracciones procedimentales

University

10 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?