Mod 2 quiz 2

Mod 2 quiz 2

9th - 12th Grade

6 Qs

Student preview

quiz-placeholder

Similar activities

C#

C#

11th Grade

10 Qs

Python Ch. 1 & 2

Python Ch. 1 & 2

9th - 12th Grade

10 Qs

GRADE 9 PART B UNIT 5 INTRODUCTION TO PYTHON

GRADE 9 PART B UNIT 5 INTRODUCTION TO PYTHON

9th Grade

10 Qs

Pemrograman Dasar C++

Pemrograman Dasar C++

10th Grade

10 Qs

IX AI

IX AI

9th Grade

10 Qs

XI Assessemnt 2

XI Assessemnt 2

11th Grade - University

10 Qs

Kabeer Python Assessment Quiz

Kabeer Python Assessment Quiz

7th - 12th Grade

10 Qs

python quiz

python quiz

6th Grade - Professional Development

10 Qs

Mod 2 quiz 2

Mod 2 quiz 2

Assessment

Quiz

Created by

Scott Freeman

Computers

9th - 12th Grade

1 plays

Hard

6 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What is the output for the following code?

var = 2

var = 3

print (var)

2.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which variable names are illegal in Python? pick 2

my_var

m

101

averylongVarablename

m 101

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What is the output of the following code

a = '1'

b = "2"

print (a+b)

4.

FILL IN THE BLANK QUESTION

1 min • 1 pt

what is the outcome of the code

a = 6

b = 3

c = a/2*b

print (a)

5.

FILL IN THE BLANK QUESTION

1 min • 1 pt

what is the output of this code

# print("string #1")

print("string #2")

6.

FILL IN THE BLANK QUESTION

1 min • 1 pt

#This is

a multiline

comment. #

print ("Hello!")