Python Classwork

Python Classwork

10th - 11th Grade

10 Qs

quiz-placeholder

Similar activities

PF Unit  10

PF Unit 10

9th Grade - University

10 Qs

python quiz

python quiz

6th Grade - Professional Development

10 Qs

Python String Data Structure

Python String Data Structure

10th - 12th Grade

12 Qs

STRING MANIPULATION (PYTHON)

STRING MANIPULATION (PYTHON)

11th - 12th Grade

10 Qs

Javascript

Javascript

10th - 12th Grade

15 Qs

Python Ch. 1 & 2

Python Ch. 1 & 2

9th - 12th Grade

10 Qs

Python Quiz - 4

Python Quiz - 4

4th - 11th Grade

10 Qs

Progamming - Java Syntax

Progamming - Java Syntax

11th - 12th Grade

15 Qs

Python Classwork

Python Classwork

Assessment

Quiz

Computers

10th - 11th Grade

Easy

Created by

Samar Sharkh

Used 19+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What symbol do you use to make a comment in Python?
@
¬
;
#

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
How would you assign an integer to a variable?
new_var = 4
new_var == 4
new_var = "4"
new var "4"

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
How would would you print a text string?
output "Hello!"
print ("Hello!")
print (Hello!)
output (Hello!)

5.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

how we store string value in variable?

'string'

"string"

%string%

#sring#

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

slicing string X="BOnVoyage"

print X[0:5]

BOnVoy

BOnVo

oyage

bonvo

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

index of a string begins with

1

0

a

-1

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?