Python Basics

Python Basics

1st - 5th Grade

15 Qs

quiz-placeholder

Similar activities

Aahaan : Python Live Assessment

Aahaan : Python Live Assessment

5th - 7th Grade

20 Qs

ASK F2 -KOD ARAHAN (PYTHON)

ASK F2 -KOD ARAHAN (PYTHON)

1st Grade - University

15 Qs

For Loop python

For Loop python

5th - 12th Grade

19 Qs

Java quiz

Java quiz

1st Grade

19 Qs

Java March

Java March

KG - University

16 Qs

Quiz1_7A

Quiz1_7A

2nd Grade - Professional Development

20 Qs

Python

Python

5th - 7th Grade

20 Qs

python intro

python intro

4th - 12th Grade

17 Qs

Python Basics

Python Basics

Assessment

Quiz

Computers

1st - 5th Grade

Medium

Created by

Priyanka R.D

Used 11+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How would you print a text string?

output "Hello!"

print ("Hello!")

print (Hello!)

output (Hello!)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

x = 5

y = 6

print("x*y")


The code above displays the following:

11

x*y

Syntax Error

30

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What would print (10 + 16) produce?
20
22
24
26

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A data type that can have one of two values: True or False

boolean

variable

modulo

interpreter

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Integers are ____________ and floats are _____________

whole numbers and exponents

powers and fractions

fractions and whole numbers

whole numbers and decimal numbers

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is a variable?
A box(memory location) where you store values
a type of graphics
Data type
a type of memory

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will be the output?
name = 'Dave'
print (name)
Dave
'Dave'
name
(name)

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?