While writing codes we all do various mistakes that lead us to errors like overflow errors and syntax errors. Rounding-off error is one of the common errors that may result in a wrong solution for a given mathematical problem. Generally, this error occurs when we work with floating point numbers. In this article, we will explore the reason for this problem and try to find a way to get rid of this kind of error. Rounding off Errors Floating Point Types They are also known as real numbers and are used when the calculation requires fractional values. It represents numbers ... Read More
Introduction The Meaning and Significance of India's Citizenship: Indian Citizenship is a very important Topic of Indian Polity. If you are preparing for Competitive exams in India, then you should have to know about The Meaning and Significance of India's Citizenship in detail. We have provided you all the related information about The Meaning and Significance of India's Citizenship with proper details in this article. So, let’s start- The Meaning and Significance of India's Citizenship India's citizenship refers to the legal status of an individual as a citizen of the country, based on the Citizenship Act, 1955. The Constitution of ... Read More
Linear search is the simplest method of searching for an element in an array. It is a sequential searching algorithm that starts from one end and checks every element of the array until the desired element is found. Recursion means a function that calls itself, while using a recusive function we need to use any loop to generate the iterations. The below syntax demonistrates the working of a simple recursion function. def rerecursiveFun(): Statements ... rerecursiveFun() ... rerecursiveFun Linear Search of an Element ... Read More
A matrix is a two-dimensional array of many numbers arranged in rows and columns. And it is called as m X n matrix where m and n are the dimensions. In general, the multiplication of two matrices can be possible only if the number of columns in the first matrix is equal to the number of rows in the second matrix. Input Output Scenarios Assuming we have two input matrices A and B having 3X3 rows and columns. Then the resultant matrix will also have 3 rows and 3 column. [a, b, c] [j, k, l] [(a*j+b*m+c*p), (a*k+b*n+c*q), (a*l+b*o+c*r)] [d, ... Read More
The Interim Government of 1947 The Interim Government of 1947 paved the way for the end of the struggle to free our nation from British rule. India made a significant advancement towards achieving self-governance and asserting its sovereignty with the establishment of this government. The Interim Government's history, significance, and role in laying the groundwork for India's eventual independence are all covered in this article. We will examine the significant figures, occasions, as well as how they influenced India's future as a country. What Led to The Formation of Interim Administration? Interim Government of India was established as a ... Read More
A matrix is defined as a set of numbers arranged in rows and columns. A matrix with m rows and n columns is called an m X n matrix and m and n are called its dimensions. A matrix is a two dimensional array, which is created by using lists or NumPy arrays in python. The Trace of a Matrix The trace of a matrix is defined as the sum of its diagonal elements (i.e, elements from upper left to lower right ). Calculating the Trace of a matrix can be possible only for a square matrix (i.e., the matrix ... Read More
Drafting Committee for India’s Constitution The Indian Constitution is an outstanding piece of writing that has stood the test of time and continues to serve as the cornerstone of the largest democracy in the world. The Drafting Committee is a group of outstanding individuals who are the inspiration behind this colossal work of law, politics, and philosophy. When tasked with drafting the Constitution, these pioneers rose to the occasion with extraordinary fervour and skill. The important members of the Drafting Committee, their contributions, and their effects on the creation of the Indian Constitution will all be covered in ... Read More
A matrix is a set of numbers arranged in rows and columns. A matrix with m rows and n columns is called an m X n matrix and m and n are called its dimensions. A matrix is a two dimensional array, which is created by using lists or NumPy arrays in python. In general, Matrix multiplication can be done by multiplying the rows of the first matrix by the column of the second matrix. Here, the number of columns of the first matrix should be equal to the number of rows of the second matrix. Input Output Scenarios Assuming ... Read More
A matrix is a two-dimensional array of many numbers arranged in rows and columns. The addition of two matrices is a process of adding corresponding elements of two matrices and placing the sum in corresponding position of the resultant matrix. And this can be possible, only if both the matrices have an equal number of rows and columns. In Python multidimensional arrays are created by using lists or NumPy arrays. The list data structure can accept lists as elements so that we can easily create matrice. Also, the Numpy module provides numerous methods to work with multidimensional arrays. ... Read More
The diagonals are nothing but crosswise elements of a matrix. A square matrix has two diagonals. One is the Primary diagonal - located from the top left corner to the bottom right corner of a square matrix. And the second one is the Secondary diagonal - located from the top right to the bottom left corner. Interchange the diagonals is nothing but changing the primary and secondary diagonal elements of a matrix. See the below scenarios to understand it briefly Input Output Scenarios Assume we have a square matrix. And output matrix will be the resultant matrix ... Read More
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP