Search Header Logo

IOAC - ML Numpy Assessment_26th-Feb-2023

Authored by KVCH CORPORATE

Professional Development

Professional Development

Used 1+ times

IOAC - ML Numpy Assessment_26th-Feb-2023
AI

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

What is the output of the below code?

np.arange(2,8)

array([2, 3, 4, 5, 6, 7])

array([3, 4, 5, 6, 7])

array([2, 3, 4, 5, 6, 7, 8])

 

array([3, 4, 5, 6, 7, 8])

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct way to transpose of matrix A?

 

 Trans(A)

Transpose(A)

A.Transpose

A.T

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How to convert a numpy array to list?

array.list()

array.list

list.array()

list(array)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

import pandas as pd

pd.Series([1,2], index= ['a','b','c'])

Output of above snippet:

Syntax Error

Index Error

Value Error

None of the above mentioned

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of following statement is wrong

We can create series from Dictionary in python

Keys of dictionary become index of the series

Order of index created from keys may not be in same order as in dictionary

All of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is true?

If data is an ndarray, index must be the same length as data.

Series is a one-dimensional labeled array capable of holding any data type.

Both A and B

None of the above

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following functions can be used to combine different vectors so as to obtain the result for each n-uplet?

Iid_

Ix_

Ixd_

all of the mentioned

Access all questions and much more by creating a free account

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

Already have an account?