FYB: Review

FYB: Review

Professional Development

8 Qs

quiz-placeholder

Similar activities

Послеолимпиадный квиз!

Послеолимпиадный квиз!

Professional Development

11 Qs

Python Programming 2

Python Programming 2

9th Grade - Professional Development

11 Qs

Flutter_Q5

Flutter_Q5

Professional Development

10 Qs

Python List Methods

Python List Methods

9th Grade - Professional Development

7 Qs

Python Session 5

Python Session 5

Professional Development

10 Qs

Simple Easy Basic Lua Quiz

Simple Easy Basic Lua Quiz

4th Grade - Professional Development

10 Qs

PE2 Module 3

PE2 Module 3

KG - Professional Development

11 Qs

POST TEST WORKSHOP MS OFICE PEMULA

POST TEST WORKSHOP MS OFICE PEMULA

Professional Development

10 Qs

FYB: Review

FYB: Review

Assessment

Quiz

Computers

Professional Development

Medium

Created by

Joseph Green

Used 1+ times

FREE Resource

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these variable assignments will create a list?

my_list = ""

my_list = []

my_list = ()

my_list = {}

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these variable assignments will create a tuple?

my_list = ""

my_list = []

my_list = ()

my_list = {}

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct syntax to access the last item in a list?

my_list[-1]

my_list[last]

my_list[last()]

my_list[-last]

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the following code do if my_list = [1, 2, 3, 4, 5]?
my_list[1] = 10

Replace the 2nd item in my_list with 10

Add 10 to the list

change my_list to 10

Create an error

5.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Fill in the blank to make x a string: x = ___(10)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is NOT valid if name = "joe"?

print(name + "green")

print("name green")

print name + (green)

x = name + "green"

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the value of x? x = 10 < 10

0

10

True

False

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Fill in the blank: Which key word in python will make this assignment true:

8 > 9 ___ 100 == 100

and

not

or

is