NumPy interview questions

NumPy interview questions

Take as many assements as you can to improve your validate your skill rating

Total Questions: 10

1. ndarray is also known as the alias array.

Correct Answer is : TRUE

2. ndarray.dataitemSize is the buffer containing the actual elements of the array.

Correct Answer is : TRUE

3. Which of the following is contained in NumPy library?

Correct Answer is : all of the Mentioned

4. Point out the wrong statement:

Correct Answer is : rPy provides a lot of scientific routines that work on top of NumPy

5. The ________ function returns its argument with a modified shape, whereas the ________ method modifies the array itself.

Correct Answer is : reshape,resize

6. To create sequences of numbers, NumPy provides a function __________ analogous to range that returns arrays instead of lists.

Correct Answer is : arange

7. Point out the correct statement:

Correct Answer is : All of the Mentioned

8. Which of the following function stacks 1D arrays as columns into a 2D array?

Correct Answer is : column_stack

9. Which of the following method creates a new array object that looks at the same data?

Correct Answer is : view

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

Correct Answer is : ix_

Similar Interview Questions

    Search for latest jobs

    Icon
    Icon