Search Header Logo

Python Basic

Authored by Fendy K

Computers

10th Grade

Used 37+ times

Python Basic
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is Python ?

Python is text-based programming

Python is a kind of snake

Python is block-based programming

Python is human language

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the result of not(true or false) ?

true

false

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the difference between 10 / 3 and 10 // 3 ?

10 / 3 is division. 10 // 3 is subtraction.

10 / 3 is floor division. 10 // 3 is subtraction.

10 / 3 is floor division. 10 // 3 is division.

10 / 3 is division. 10 // 3 is floor division.

4.

MULTIPLE SELECT QUESTION

1 min • 1 pt

Assignment Operator is ...

used to assign values to variables

and, or, not

+, -, %

+=, <<=, %=

==, <=, !=

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Is this code true or false?

number = int(input("Input your number:"))

if number % 3 == 0:

if number % 5 == 0:

print ("FizzBuzz")

else:

print("Fizz")

elif number % 5 == 0:

print("Buzz")

else:

print(number)

True

False

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

How many errors in this image?

1

2

3

4

7.

MULTIPLE SELECT QUESTION

1 min • 1 pt

Media Image

What line is error?

4

5

6

7

8

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?