065. Extra Help

065. Extra Help

9th - 12th Grade

9 Qs

quiz-placeholder

Similar activities

Unit CC Migration Tools

Unit CC Migration Tools

12th Grade

10 Qs

[ว31281 - 13] แบบทดสอบก่อนเรียน

[ว31281 - 13] แบบทดสอบก่อนเรียน

10th Grade

10 Qs

Kuis library JMF

Kuis library JMF

9th - 12th Grade

10 Qs

Module 2 - Lesson 5

Module 2 - Lesson 5

6th - 12th Grade

10 Qs

editing video

editing video

12th Grade

11 Qs

Mobile Genap

Mobile Genap

12th Grade

10 Qs

Editing audio

Editing audio

10th - 12th Grade

10 Qs

Empowerment Technologies Quiz 2

Empowerment Technologies Quiz 2

11th Grade

10 Qs

065. Extra Help

065. Extra Help

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Created by

Robert Giordano

FREE Resource

AI

Enhance your content

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

9 questions

Show all answers

1.

DRAG AND DROP QUESTION

1 min • 1 pt

Complete the code to make a list of the 2 lists

list1 = ['a', 'b']

list2 = ['c', 'd']

bothLists = [​ (a)   , ​ (b)   ]

list1
list2

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Fill in the blank to import the random module

import ______

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Fill in the blank to import the module to create bar and pie charts and give it the alias plt

import ___________________ as plt

4.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Fill in the blank to import the Cars.py module

import ____

5.

DRAG AND DROP QUESTION

1 min • 1 pt

Set up the for loop to traverse the list called rows

row1 = [9, 4, 1]

row2 = [5, 5, 2]

rows = [row1, row2]

for ​ (a)   in ​ (b)   :

print(row)

row
rows

6.

DRAG AND DROP QUESTION

1 min • 1 pt

Media Image

Set up the for loop to print the sum of each row of the rows list

loop2: ​ (a)  

command: ​ (b)  

for x in num
sum += x
while num < len(row)
x += sum

7.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Fill in the blank to determine if the list has the value 7 and print "Hello" if it is.

myList = [1, 9, 5, 3, 9, 7, 3, 10, 23, 11, 75, 9, 100, 22, 65, 45, 58, 81]

if ______________:

print("Hello")

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is the correct syntax to create a pie chart with the percs list?

import matplotlib.pyplot as plt

percs = [25, 35, 40]

_______________

plot(pie(percs))

plt.pie(percs))

pie.plot(percs)

percs.pie( )

9.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is the correct syntax to create a bar chart with the freq list?

import matplotlib.pyplot as plt

freq = [17, 8, 30]

_______________

plot(bar(freq))

plt.bar(freq))

bar.plot(freq)

freq.bar( )