Квиз по AI & Machine Learning: NumPy Arrays

This quiz checks the NumPy basics every data science and machine learning workflow uses. You will predict the output of short snippets that create, index, slice, filter and reshape arrays, and spot the one that fails.

Лёгкий 10 вопроса ~5 минуты Проходной балл: 80%

Выберите режим

Вы играете как гость: войдите, чтобы сохранить XP и серию.

Пример вопроса

Вопрос 1 из 10

What does this print?

import numpy as np
a = np.array([1, 2, 3])
print((a * 2).tolist())
Показать ответ

B. [2, 4, 6] NumPy applies * 2 to every element, so you get [2, 4, 6]. Repeating the items, [1, 2, 3, 1, 2, 3], is what * does to a plain Python list.

Что проверяет этот квиз

  • Element-wise math on arrays vs lists
  • shape, dtype and reshape()
  • Indexing, slicing and boolean masks
  • Slices are views, not copies
  • Summing along an axis

Частые вопросы

Нужен ли аккаунт?

Нет. Играть может любой. Войдите, чтобы сохранять XP, серию, значки и историю.

Можно пройти ещё раз?

Да. Лучший результат сохраняется, а вопросы и ответы каждый раз перемешиваются.