Search Header Logo

Python for Beginners

Authored by NURFADHLINA /FSKTM

Computers, Mathematics, Science

1st Grade - Professional Development

Used 6+ times

Python for Beginners
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

What is the word (command) used to display numbers and text on the screen?

print

input

output

command

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output?

name = 'Python'

print (name)

'Python'

Python

python

'python'

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Choose the correct syntax for Python

IF answer == "Yes":

if answer == "Yes"

if answer == "Yes":

if answer == "yes"

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why would you use a loop?

To input data

To print data

To repeat a piece of code

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Mathematical operations can be performed on a string

True

False

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of this expression, 3*1**3

3

9

27

1

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How would you assign an integer to a variable?

new_var == 4

new_var = 4

new_var = "4"

new_var "4"

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?