PA_Datatypes_Indentations2

PA_Datatypes_Indentations2

Professional Development

15 Qs

quiz-placeholder

Similar activities

HSE Quiz - 2

HSE Quiz - 2

Professional Development

10 Qs

WPS Interpretation 2025

WPS Interpretation 2025

Professional Development

20 Qs

Tools and Equipment

Tools and Equipment

Professional Development

18 Qs

Pelatihan PBB P2 berbasis Data Spasial

Pelatihan PBB P2 berbasis Data Spasial

Professional Development

20 Qs

Quiz JPM Industry

Quiz JPM Industry

Professional Development

20 Qs

RME Review - Soft Starter

RME Review - Soft Starter

Professional Development

20 Qs

Mastering Python Concepts

Mastering Python Concepts

Professional Development

16 Qs

TIMING TEST

TIMING TEST

Professional Development

10 Qs

PA_Datatypes_Indentations2

PA_Datatypes_Indentations2

Assessment

Quiz

Engineering

Professional Development

Practice Problem

Medium

Created by

TJL_ Sarwani

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the order of precedence for the following operators in Python, from highest to lowest?

**, /, %, +

**, +, /, %

+, %, /, **

/, %, +,**

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following Python expression :

print(10 - 4 * 2 + 3)

11

5

15

9

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following operators in Python has right-to-left associativity?

+

-

**

/

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the following Python expression? 

print(2 ** 3 **2)

64

512

12

36

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following Python expression? 

print(15 // 4 % 2)

0

1

3

2

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a core data type in Python? 

List


Dictionary


Class

Tuple

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the default return value of a Python function that does not explicitly return any value?




a) 0

b) None

c) False

d) Empty string

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?