5.11-5.16

5.11-5.16

9th Grade

6 Qs

quiz-placeholder

Similar activities

AI 8 The Cold War

AI 8 The Cold War

9th Grade

10 Qs

 2023 טריוויה NBA

2023 טריוויה NBA

9th - 12th Grade

4 Qs

แบบทดสอบ เรื่องประเภทของข้อมูลและตัวดำเนินการ ม.6/3

แบบทดสอบ เรื่องประเภทของข้อมูลและตัวดำเนินการ ม.6/3

9th - 12th Grade

10 Qs

5.11-5.16

5.11-5.16

Assessment

Quiz

others

9th Grade

Medium

Created by

Đỗ (TDS-THT)

Used 1+ times

FREE Resource

6 questions

Show all answers

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