
Chapter 1 - Algorithm and programming( 9Gen)
Authored by amani amaneit2003@yahoo.com
Computers
9th Grade
Used 49+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ali has created a small program in Python, but he wants to store his data in a multi-dimensional array. He would like to use advanced mathematical and scientific calculations in his program. Ali should add the ___________ library to his program.
Sum
NumPy
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In NumPy, the ________ function is used to change the rows to columns, and the columns to rows.
array
transpose
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Python, the data structure that stores elements of the same data type is called an array.
True
False
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Python iteration, a(/an) ________ loop repeats the code block as long as the result of the conditional statement is true.
while
for
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The line of code to the right will import the NumPy library. The "np" is an assigned name for the library.
import numpy as np
True
False
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The line of the code to the right, will create an array that carries values from 0 to 20 with step size 1.
array=np.arange(0,20,2)
True
False
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Python iteration, a(/an) ________ loop repeats the code block a set number of times.
for
while
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
R082 Book Cover Assets planning
Quiz
•
7th - 12th Grade
13 questions
Python
Quiz
•
9th Grade
10 questions
Grade9-Sensors
Quiz
•
9th Grade
15 questions
Internet Safety Quiz
Quiz
•
9th - 12th Grade
12 questions
Grade 9 Robotics - Quiz 1
Quiz
•
9th Grade
10 questions
Scratch (28th March)
Quiz
•
KG - University
10 questions
Initial Assessment - Cybersecurity Awareness
Quiz
•
9th Grade - Professio...
9 questions
Name that OS
Quiz
•
9th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade