Python Basic #1

Python Basic #1

9th Grade

25 Qs

quiz-placeholder

Similar activities

Introduction to Information Technology: Living in the IT Era

Introduction to Information Technology: Living in the IT Era

9th - 12th Grade

20 Qs

8.4 Protection of data

8.4 Protection of data

9th - 12th Grade

20 Qs

Name The Disney Animation Films

Name The Disney Animation Films

KG - University

20 Qs

Storage Devices

Storage Devices

9th Grade

20 Qs

History of Package Design

History of Package Design

9th - 12th Grade

20 Qs

NP IT Quiz ปริศนาไอที #4

NP IT Quiz ปริศนาไอที #4

9th - 12th Grade

20 Qs

Impacts of Technology

Impacts of Technology

9th - 10th Grade

20 Qs

Cuestionario 1.2 Preguntas posibles

Cuestionario 1.2 Preguntas posibles

7th Grade - University

20 Qs

Python Basic #1

Python Basic #1

Assessment

Quiz

Computers

9th Grade

Practice Problem

Hard

Created by

Alfian Syafii

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 4 pts

What symbol is used in python to assign values to a variable?

equals (=)

plus (+) 

forward slash (/)

asterisk (*)

2.

MULTIPLE CHOICE QUESTION

30 sec • 4 pts

What will be the output?

name = "Dave"

print (name)

Dave

'Dave'

name

(name)

3.

MULTIPLE CHOICE QUESTION

30 sec • 4 pts

Which statement correctly assigns the string "Tanner" to the variable name?

name  = print( "Tanner")
input("Tanner")
name = "Tanner"
name = input("Tanner")

4.

MULTIPLE CHOICE QUESTION

30 sec • 4 pts

What does the print function do in python?

It's a variable.
It can input data.

It displays an output

It loops the code.

5.

MULTIPLE CHOICE QUESTION

30 sec • 4 pts

Media Image

In the following code, "city" is an example of a what?

List
Loop
Variable
Array

6.

MULTIPLE CHOICE QUESTION

30 sec • 4 pts

What is the output from the following code?

print ("hello world")

Hello World
hello world
print hello world

"hello world"

7.

MULTIPLE CHOICE QUESTION

30 sec • 4 pts

What will be the output?

name = "Dave"

print ("name")

Dave

"Dave"

name

"name"

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?