Revision Chapter 1 - Algorithm and programming(9adv)

Revision Chapter 1 - Algorithm and programming(9adv)

9th Grade

10 Qs

quiz-placeholder

Similar activities

Quiz Javascript Basic Pertemuan 3

Quiz Javascript Basic Pertemuan 3

9th - 12th Grade

10 Qs

T3 Y7 Grasshopper App

T3 Y7 Grasshopper App

7th - 9th Grade

8 Qs

Programming - Arrays

Programming - Arrays

2nd - 12th Grade

10 Qs

Arrays Intro

Arrays Intro

9th - 12th Grade

12 Qs

Tes Sumatif Fase E

Tes Sumatif Fase E

9th - 12th Grade

10 Qs

IF and Vlookup Function

IF and Vlookup Function

9th - 10th Grade

15 Qs

AP CSP - Python Lists and Arrays

AP CSP - Python Lists and Arrays

9th - 12th Grade

10 Qs

Java 1D Arrays

Java 1D Arrays

9th Grade - University

14 Qs

Revision Chapter 1 - Algorithm and programming(9adv)

Revision Chapter 1 - Algorithm and programming(9adv)

Assessment

Quiz

Computers

9th Grade

Medium

Created by

amani amaneit2003@yahoo.com

Used 11+ times

FREE Resource

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

Meera has created a small program in Python. She wants to store elements of the same data type in an organized data structure using the NumPy library. To do this Meera should use the NumPy __________ function.

array

transpose

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

What would be the printed output of the Python code to the right?


import numpy as np

x= np.array(['hamad',60,80])

print ( x)

np_Hamad

['Hamad' '16' '60']

['Hamad']

7.

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 10 with step size 2.


array= np.arange(0,20,2)

True

False

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?