Revision Chapter 1 - Algorithm and programming(9adv)

Revision Chapter 1 - Algorithm and programming(9adv)

9th Grade

10 Qs

quiz-placeholder

Similar activities

Checkpoint 1 revision

Checkpoint 1 revision

9th - 12th Grade

9 Qs

Pandas library

Pandas library

9th Grade

10 Qs

Arrays += Chan

Arrays += Chan

9th - 12th Grade

12 Qs

GCSE Computer Science - Programming Keywords

GCSE Computer Science - Programming Keywords

9th - 12th Grade

15 Qs

One Dimensional Array

One Dimensional Array

9th Grade - University

14 Qs

Checkpoint 1-revision

Checkpoint 1-revision

9th Grade

9 Qs

Grade 9 Checkpoint 1 Revision

Grade 9 Checkpoint 1 Revision

9th Grade

15 Qs

advanced storage techniques ( arrays , DataFrame)

advanced storage techniques ( arrays , DataFrame)

9th - 10th Grade

9 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?