Data Science · NumPy How can you install NumPy in a Python environment? A pip install numpy Correct answer B install numpy C np install numpy D pip numpy install MCQSEXAM Show answer Read explanation
Data Science · NumPy Which NumPy function is used for element-wise exponentiation? A np.power() B np.exp() Correct answer C np.square() D np.log() MCQSEXAM Show answer Read explanation
Data Science · NumPy In NumPy, what does the function np.random.rand() do? A Generate random integers B Generate random floats in the half-open interval [0.0, 1.0) Correct answer C Shuffle elements in an array D Create a random matrix MCQSEXAM Show answer Read explanation
Data Science · NumPy How can you concatenate two NumPy arrays vertically? A np.add() B np.concatenate(axis=0) C np.vstack() Correct answer D np.merge(vertical=True) MCQSEXAM Show answer Read explanation
Data Science · NumPy Which NumPy function is used to find the mean of an array? A np.median() B np.mean() Correct answer C np.average() D np.sum() MCQSEXAM Show answer Read explanation
Data Science · NumPy What does the term "broadcasting" refer to in NumPy? A Radio broadcasting B Simultaneous operation on arrays with different shapes Correct answer C Printing arrays D Broadcasting live events MCQSEXAM Show answer Read explanation
Data Science · NumPy Which of the following statements about NumPy arrays is correct? A NumPy arrays must be of the same data type Correct answer B NumPy arrays cannot have more than one dimension C NumPy arrays are only suitable for string data D NumPy arrays are not resizable MCQSEXAM Show answer Read explanation
Data Science · NumPy What is NumPy used for in Python programming? A Web development B Machine learning and data manipulation Correct answer C Graphic design D Database management MCQSEXAM Show answer Read explanation