Quizz - Recap 1: C1 - C5

Quizz - Recap 1: C1 - C5

3rd Grade

9 Qs

quiz-placeholder

Similar activities

Python Beginners Week 6

Python Beginners Week 6

3rd - 12th Grade

13 Qs

PYTHON (FOR LOOP)

PYTHON (FOR LOOP)

1st - 10th Grade

10 Qs

How much do you know about technical vocabulary?

How much do you know about technical vocabulary?

3rd Grade

6 Qs

Python_Loop

Python_Loop

2nd - 3rd Grade

10 Qs

Algorithms

Algorithms

2nd - 6th Grade

11 Qs

Diagnóstico

Diagnóstico

3rd Grade

14 Qs

Cápsulas de Capacitación - Power Bi 3

Cápsulas de Capacitación - Power Bi 3

1st - 3rd Grade

10 Qs

Компьютерная викторина

Компьютерная викторина

3rd Grade

8 Qs

Quizz - Recap 1: C1 - C5

Quizz - Recap 1: C1 - C5

Assessment

Quiz

Computers

3rd Grade

Easy

Created by

Madalina Barbu

Used 2+ times

FREE Resource

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the type of the following variable:

s = 10 + 2.5 * 2

int

string

float

boolean

Answer explanation

s = 10 + 2.5 * 2

s = 10 + 5

s = 15 --> int

Inmultirea se face inaintea adunarii. tinem cont de ordinea operatiilor

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the type of the following variable?

n = ["mos", "voip", "ip", 4.9, True]

list

string

dictionary

set

tuple

3.

OPEN ENDED QUESTION

10 mins • Ungraded

1. Create a mixed list (all 4 data taypes) with 5 elements read from keyboard.

2. Iterate through list and add at the end of each element, letter "a". example("mama" --> "mamaa", "urat --> "urata")

3. Display the list.

Evaluate responses using AI:

OFF

4.

OPEN ENDED QUESTION

5 mins • Ungraded

Define the function i_love_math that returns "I love numbers" if a given number si > 100 and "I hate math" if the given number is < 100.

Evaluate responses using AI:

OFF

5.

MULTIPLE CHOICE QUESTION

3 mins • 3 pts

What the following snipet returns?

def even_num_lst(ran):

lst = []

for num in range(ran):

if num % 2 == 0:

lst.append(num)

return lst

print(even_num_lst(11))

[0, 2, 4, 6, 8, 10]

Error

[1, 3, 5, 7, 9, 11]

6.

MULTIPLE CHOICE QUESTION

3 mins • 3 pts

What is the output of the following snipet?

def list_updater(lst):

upd_list = []

for elem in lst:

elem **= 2

upd_list.append(elem)

return upd_list

foo = [1, 2, 3, 4, 5]

print(list_updater(foo))

[1, 4, 9, 16, 25]

Error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

{"Dana": 1, "Ria": 2}

Dictionar

Set

Lista

Tupla

8.

OPEN ENDED QUESTION

2 mins • Ungraded

We have the following list:

a = [1, 2, 3, [6, 9, 10] ]

Access the the 2nd element from the list within the list

Evaluate responses using AI:

OFF

9.

OPEN ENDED QUESTION

3 mins • Ungraded

n = [1, 2, 3, ["ana", "mere", [True, False] ] ]

Access the 1st element from the element list with booleans.

Evaluate responses using AI:

OFF