Python quiz

Python quiz

University

15 Qs

quiz-placeholder

Similar activities

eXtensible Markup Language

eXtensible Markup Language

12th Grade - University

12 Qs

Coding and AI Knowledge Check

Coding and AI Knowledge Check

10th Grade - University

10 Qs

Java Quiz 1 in tamil theme

Java Quiz 1 in tamil theme

University

10 Qs

Cuestionario sobre Linux y Comandos

Cuestionario sobre Linux y Comandos

University

10 Qs

Kuis Uji Pemahaman Python Variabel, Sintaks Dasar, Type Data

Kuis Uji Pemahaman Python Variabel, Sintaks Dasar, Type Data

11th Grade - University

16 Qs

CodeQuest TechTopia 2025-26

CodeQuest TechTopia 2025-26

University

11 Qs

Quiz Meet 3 Mini SC Programing

Quiz Meet 3 Mini SC Programing

University

10 Qs

Conceptos básicos del diseño algorítmico

Conceptos básicos del diseño algorítmico

University

14 Qs

Python quiz

Python quiz

Assessment

Quiz

Information Technology (IT)

University

Hard

Created by

SHREYA AGARWAL Chandra

Used 2+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the expression: 2 + 3 * 4 ** 2 - 1?

20
15
10

49

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the expression (a + b) * c, what happens first?

The addition (a + b) happens first.
The expression is evaluated from right to left.
The multiplication (c) happens first.
The addition and multiplication happen simultaneously.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of 15 // 4?

5
2
4
3

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator has higher precedence?

+

//

* *

*

5.

FILL IN THE BLANK QUESTION

1 min • 1 pt

In Python, a library such as pandas is commonly used to handle __________ .

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a decision structure, the code inside an if block will only execute if the condition is __________.

true
undefined
false
null

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid way to declare a variable in Python?

var x = 10

let x = 10

x := 10

x = 10

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?