Exercises
Table of Contents
Exercises
Exercises
NumPy Exercise
Create a NumPy array with the elements [1, 2, 3, 4, 5].
Create a 2D NumPy array (matrix) with the following elements:
Create a NumPy array of size (3, 3) filled with zeros.
Create a NumPy array of size (2, 4) filled with random numbers between 0 and 1.
Compute the mean of the following array:
Find the maximum value in the following array:
Compute the dot product of two arrays:
Add two NumPy arrays element-wise:
Reshape a 1D array [1, 2, 3, 4, 5, 6] into a 2D array of shape (2, 3).
Given the following 2D array, Extract the subarray.
- All Posts
- Artificial Intelligence
- Computer Fundamentals
- Computer Networks
- Data Analytics
- Data Science
- DBMS
- Deep Learning
- Digital Electronics
- DSA with Python
- Excel
- Exercise
- Git & Github
- Machine Learning
- Matplotlib
- Natural Language Processing
- NumPy
- Operating System
- Pandas-s
- Power BI
- Python Tutorial
- Scikit-learn
- Seaborn
- SQL & MySQL

Table of Contents All Chapters 1. Personal Area Network 2. Local Area Network 3. Campus Area Network 4. Metropolitan Area...

Table of Contents All Chapters 1. Data Communication 2. Types of Data Communication 2.1. Simplex 2.2....

Table of Contents All Chapters 1. Special Logic Gate 2. XOR Gate 2.1. XOR Gate Truth Table 3....

Table of Contents All Chapters 1. Universal Logic Gates 2. NOR Gate 2.1. NOR Gate Truth Table 3....

Table of Contents All Chapters 1. Logic Gate 2. AND Gate 2.1. AND Gate Truth Table 3. OR...

Table of Contents All Chapters 1. Simplification 2. Simplification using Boolean Algebra Theorems 3. Simplification using K-map Digital Electronics...

Table of Contents All Chapters 1. Identity Laws 2. Null Laws 3. Domination Laws 4. Idempotent Laws 5. Complement Laws...