Python Basic #1

Python Basic #1

9th Grade

25 Qs

quiz-placeholder

Similar activities

Quiz 4

Quiz 4

1st - 10th Grade

20 Qs

Arduino Loop

Arduino Loop

2nd Grade - University

20 Qs

GAD Review - Game Industry

GAD Review - Game Industry

9th - 12th Grade

22 Qs

Network topologies

Network topologies

8th Grade - University

20 Qs

CMU quiz

CMU quiz

7th - 9th Grade

20 Qs

Lesson 8: Working with HTML

Lesson 8: Working with HTML

9th Grade

20 Qs

Microsoft Office Advandces 2016

Microsoft Office Advandces 2016

9th Grade - Professional Development

20 Qs

Microsoft Access

Microsoft Access

9th Grade

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?

Discover more resources for Computers