Python programming - basics

Python programming - basics

9th Grade

7 Qs

quiz-placeholder

Similar activities

Python Quiz  -  5

Python Quiz - 5

4th - 11th Grade

10 Qs

Project-Stem Unit 1 python coding

Project-Stem Unit 1 python coding

9th - 12th Grade

12 Qs

Variables & Conditional Statements

Variables & Conditional Statements

9th Grade

10 Qs

Chapter 5

Chapter 5

9th Grade

10 Qs

Python Quiz

Python Quiz

3rd Grade - Professional Development

11 Qs

CODEHS Looping Unit 5 Review

CODEHS Looping Unit 5 Review

9th - 12th Grade

10 Qs

Unit 5 Review

Unit 5 Review

9th - 12th Grade

12 Qs

CodeHS Basic Data Structures in Python

CodeHS Basic Data Structures in Python

9th Grade - University

10 Qs

Python programming - basics

Python programming - basics

Assessment

Quiz

Computers

9th Grade

Hard

Created by

Bence Bánfai

Used 9+ times

FREE Resource

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.