- Author:
- Stéfan van der Walt
- Author-link:
- http://mentat.za.net

**
JavaScript not available or deactivated
Quiz not usable!
**

array([1,2,3,4,5,6],order='F')

array([[1,2,3],[4,5,6]],order='F')

array([1,2,3,4,5,6],order='C').reshape((2,3),order='F')

array([1,2,3,4,5,6],order='F').reshape((2,3),order='C')

array([[1,2,3],[4,5,6]]).reshape((2,3),order='F')

array([[1,2,3],[4,5,6]],order='F').reshape((2,3),order='C')

array([[1,2,3],[4,5,6]]).reshape((3,2),order='F')

array([[1,2,3],[4,5,6]],order='F').reshape((3,2),order='C')

made using AKFQuiz

The scoring is simple: four options are given for each question. For a wrong answer a point is deducted, for a correct answer a point is given and choosing 'don't know' does not influence your score.

In this quiz, the question is always the same: "What would the output (e.g. at the Python prompt) be, given the following expression?"

Of course, you are not allowed to use NumPy or python to obtain the answers.

To get you started, here are the docstrings from numpy.array and numpy.reshape: