Introduction to Python Programming

Introduction to Python Programming

6th - 8th Grade

30 Qs

quiz-placeholder

Similar activities

PYTHON PRACTICE 2

PYTHON PRACTICE 2

8th Grade

30 Qs

Python Revisoin

Python Revisoin

8th Grade

25 Qs

Latihan Soal PAT Informatika Kelas 8

Latihan Soal PAT Informatika Kelas 8

8th Grade

25 Qs

User Input

User Input

7th Grade

25 Qs

Python

Python

KG - Professional Development

35 Qs

python

python

KG - Professional Development

30 Qs

CodeHS Tracy the Turtle Final Test

CodeHS Tracy the Turtle Final Test

6th - 10th Grade

30 Qs

IF Statement Basics

IF Statement Basics

8th Grade

28 Qs

Introduction to Python Programming

Introduction to Python Programming

Assessment

Quiz

Computers

6th - 8th Grade

Medium

Created by

Georgios Kakavelakis

Used 5+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the print() function do?

Reads input from the user

Saves data to a file

Displays text on the screen

Runs a Python program

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of data does input() return?

String

Integer

Float

Boolean

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which line correctly converts a string to an integer?

int = "5"

score = int("5")

score = input("5")

score = "int(5)"

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of this code?

print("Hello", "World")

HelloWorld

Hello World

"Hello", "World"

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is wrong with this line of code?

print("Hi)

Indentation error

Brackets not closed

Missing quotation mark

Nothing is wrong

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword starts a conditional in Python?

check

if

else

when

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following represents "equal to" in Python?

!=

==

=/=

<>

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?