Search Header Logo

5.11-5.16

Authored by Đỗ (TDS-THT)

others

9th Grade

6 Questions

Used 1+ times

5.11-5.16
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the data type of print(type(0xFF)

number

hexint

hex

int

float

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Please select the correct expression to reassign a global variable “x” to 20 inside a function fun1()

global x =20

global var x

x =20

global.x = 20

. global x

x=20

None of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the following variable assignment?

Error

76

1

75

none

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the following nested loop?

10 Chair , 10 Table , 20 Chair , 20 Table

10 Chair ,10 Table

20 Chair, 20 Table

10 Table, 20 Chair

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the order of precedence in python?

i) Parentheses ii) Exponential iii) Multiplication iv) Division v) Addition vi) Subtraction

i, ii, iii, v, vi, vi

i, iii, ii, iv, v, vi

ii, i, v, iii, v, vi

ii, i, iii, v, iv, vi

i, ii, iii, iv, v, vi

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Given the nested if-else structure below, what will be the value of x after code execution completes

2

0

3

4

1

Access all questions and much more by creating a free account

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?