FYB: Review

FYB: Review

Professional Development

8 Qs

quiz-placeholder

Similar activities

Ngobrolin-TI

Ngobrolin-TI

Professional Development

10 Qs

Java Strings and lops

Java Strings and lops

Professional Development

10 Qs

SOALAN PEMBINAAN SOALAN MENGGUNAAN QUIZIZZ

SOALAN PEMBINAAN SOALAN MENGGUNAAN QUIZIZZ

Professional Development

10 Qs

Designing for Conversational AI

Designing for Conversational AI

Professional Development

10 Qs

Google Productivity day 3

Google Productivity day 3

Professional Development

10 Qs

_Fundamentos HTML y CSS

_Fundamentos HTML y CSS

Professional Development

12 Qs

Microsoft 365 for Teachers

Microsoft 365 for Teachers

Professional Development

10 Qs

Introduction to AI - Healthcare & Business

Introduction to AI - Healthcare & Business

University - Professional Development

10 Qs

FYB: Review

FYB: Review

Assessment

Quiz

Computers

Professional Development

Medium

Created by

Joseph Green

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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