Search Header Logo

grade 10 A

Authored by Amira Abd El-aziz

Information Technology (IT)

10th Grade

Used 4+ times

grade 10 A
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

1. Which of the following is a correct variable name in Python?

A) my-var

B) 2ndVar

C) my_variable

D) variable name

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

2. What is the output of the following code ?

print("Hello" + "World")

A) Hello World

B) HelloWorld

C) Hello+World

D) Error

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

3. Which symbol is used for single-line comments in Python?

A) //

B) #

C) /*

D) --

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

5. What is the result of the expression 3 *2 ** 3 in Python?

A) 24

B) 64

C) 48

D) 27

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code snippet?

print(10 // 3)

A) 3

B) 3.33

C) 3.0

D) 10/3

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

10. Which operator is used for exponentiation in Python?

A) ^

B) **

C) %

D) //

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

what is the data type of the result of 3 / 2?

A) int

B) float

C) str

D) error

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?