Unit-1 Python Programming

Unit-1 Python Programming

University

30 Qs

quiz-placeholder

Similar activities

Types of Programming Languages - Quiz2

Types of Programming Languages - Quiz2

University

25 Qs

AITECH_1

AITECH_1

University

25 Qs

ข้อสอบปลายภาค วิชาการเขียนโปรแกรม

ข้อสอบปลายภาค วิชาการเขียนโปรแกรม

University

30 Qs

python basic

python basic

University

27 Qs

CodeHS Basic Data Structures in Python

CodeHS Basic Data Structures in Python

University - Professional Development

26 Qs

Latihan Lab 1 - Pemrograman Python

Latihan Lab 1 - Pemrograman Python

University

30 Qs

AWS_WEEK_3_QUIZ_ON_12-Aug_2025

AWS_WEEK_3_QUIZ_ON_12-Aug_2025

University

26 Qs

lvl. 1 Chapter 2 Relational Model (QB)

lvl. 1 Chapter 2 Relational Model (QB)

University

30 Qs

Unit-1 Python Programming

Unit-1 Python Programming

Assessment

Quiz

Computers

University

Hard

Created by

THANGA R

Used 2+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

int x = 10

x := 10

x = 10

declare x = 10

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid data type in Python?

integer

float

string

All of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of print(type(10))?

int

type int

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 does the % operator do in Python?

Exponentiation

Division

Modulus

Floor division

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a logical operator in Python?

and

or

not

All of the above

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of 10 // 3?

3.33

3

4

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?