review ck 1 9 adv

review ck 1 9 adv

2nd Grade

10 Qs

quiz-placeholder

Similar activities

Câu hỏi đào tạo MIS ODS MPA - Nam Định 2024

Câu hỏi đào tạo MIS ODS MPA - Nam Định 2024

2nd Grade

15 Qs

Internet Basics

Internet Basics

2nd - 3rd Grade

10 Qs

Paint 3d

Paint 3d

1st - 5th Grade

10 Qs

Previous set Capgemini

Previous set Capgemini

1st - 3rd Grade

12 Qs

Zajęcia komputerowe kl. 3

Zajęcia komputerowe kl. 3

2nd - 3rd Grade

10 Qs

Nowe technologie

Nowe technologie

1st - 6th Grade

10 Qs

Library Organization and Catalog Quiz 1

Library Organization and Catalog Quiz 1

2nd - 5th Grade

10 Qs

Rozszerzenia - klasa 4

Rozszerzenia - klasa 4

1st - 6th Grade

11 Qs

review ck 1 9 adv

review ck 1 9 adv

Assessment

Quiz

Computers

2nd Grade

Hard

Created by

sajedah al-hilo

Used 19+ times

FREE Resource

AI

Enhance your content

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Ali created a small program in Python that uses NumPy library. He used this library to store his data in a multi-dimensional _______ data structure. This structure allowed him to perform advanced mathematical and scientific calculations in his program.

panda

array

a.     list

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

In Python, to import the NumPy library as the name "np", we typically code as:

 

import numpy as np

 

Which one of the following would also be valid for importing the NumPy library?

a.     numpy import as np

a.     import numpy as npLibrary

a.     np as import numpy

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

Ahmed wants to store the sportscar data in the order below in a NumPy array.

 

 

What is the correct syntax?

a.     import numpy as np sportsCars = np.array(["Ferrari","Porsche","Lamborghini","McLaren"])

a.     import numpy as np sportsCars = array.np(["Ferrari","Porsche","Lamborghini","McLaren"])

a.     import numpy as np sportsCars = array(["Ferrari","Porsche","Lamborghini","McLaren"])

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

What single function should he use to split the array into 5 rows and 3 columns?

a.     hstack

a.     transpose

a.     reshape

a.     append

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

b.     reshape

a.     vstack

d.     hstack

c.     transpose

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

What single function should she use to change each of the rows to be a column and each column to a row?

b.     reshape

a.     vstack

d.     hstack

c.     transpose

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Noora was given all her school’s library book details in a comma-separated values (csv) file. The file was called library_books.csv , and it contained the title, author, ISBN and date published for each book.

 

To store the data from the file into a Pandas dataframe, what should Noora type?

import pandas as pd

df_books = pd.read_csv("library_books.csv")

import pandas as pd

df_books = pd.to_csv("library_books.csv")

df_books = pd.index("library_books.csv")

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?