Search Header Logo

Python programming - basics

Authored by Bence Bánfai

Computers

9th Grade

Used 11+ times

Python programming - basics
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does print() do?

Write on the screen

Print out a page

Reads from the keyboard

Write in your book

2.

FILL IN THE BLANK QUESTION

20 sec • 1 pt

What do we use to comment out lines?

3.

MULTIPLE CHOICE QUESTION

20 sec • 2 pts

What is the type of the value that you get using input()?

Number

Boolean

String

Float

4.

FILL IN THE BLANK QUESTION

1 min • 3 pts

What do you have to write in your on line of code if you want to store an integer in the variable named num?

5.

MULTIPLE CHOICE QUESTION

30 sec • 4 pts

What will appear on the screen using the following: print('alma','fa')?

alma fa

'alma','fa'

alma fa

almafa

6.

FILL IN THE BLANK QUESTION

1 min • 2 pts

What do you have to write in your code if you want to use math.pi?

7.

MULTIPLE CHOICE QUESTION

1 min • 8 pts

What is the difference between print(3, 14) and print(3.14)?

There is no difference!

One is number other is text.

First will be two numbers, the second is one number.

Either won't run perfectly.

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?