Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Articles on Trending Technologies
Technical articles with clear explanations and examples
Swift Program to Subtract Two Matrix Using Multi-dimensional Arrays
In this article, we will learn how to write a swift program to subtract two matrices using multi-dimensional arrays. A matrix is a mathematical structure in which the elements are placed in rows and columns format. For example, the first element is present at a00 location, the second at a01, and so on. So to subtract two matrices we are going to use the - operator to subtract the elements of two matrices like a00 - b00 and then store the sum into a new matrix. For example − Matrix 1 − $\mathrm{\begin{bmatrix}1 & 8 & 4 ewline8 & 8 ...
Read MoreThe URL Schemes
A URL (Uniform Resource Locator) is a string of characters that specifies the location of a resource on the internet. URL schemes are the protocol that is used to access the resource. Here are the most common URL schemes − Http HTTP (Hypertext Transfer Protocol) is a protocol used to transmit data over the internet. It is the standard protocol for accessing web pages on the internet, and is used by browsers to communicate with web servers and retrieve web pages. When you enter a URL in your web browser that begins with "http, " your browser sends a request ...
Read MoreSwift Program to Remove Duplicate Elements From an Array
In this article, we will learn how to write a swift program to remove duplicate elements from an array. As we know that an array can store multiple elements of the same type. It is not necessary that all the elements are unique they can be duplicated. For example, arr = [3, 5, 6, 3, 7, 8, 3, 7, 7] here 3 and 7 are duplicate elements. So here we use the following methods to remove duplicate elements − Using contains() method Using Set() initializer Method 1: Using contains() method To remove duplicate elements from the array we ...
Read MoreWhat is Web Architecture?
What is Web Architecture? Web architecture refers to the overall structure of a website or web application, including the way it is designed, implemented, and deployed. It involves the use of technologies and protocols such as HTML, CSS, JavaScript, and HTTP to build and deliver web pages and applications to users. Web architecture consists of several components, including the client, the server, the network, and the database. The client is the web browser or application that the user interacts with, and the server is the computer or group of computers that host the website or web application. The network is ...
Read MoreSwift Program to Print Matrix numbers containing in Z form
In this article, we will learn how to write a swift program to print a matrix in Z form. Here we traverse through the first row then the secondary diagonal and then the last row of the matrix to print the z form. For example, 4x4 Matrix − $\mathrm{\begin{bmatrix}4 & 1 & 4 & 1 ewline1 & 3 & 1 & 3ewline2 & 1 & 1 & 2ewline1 & 6 & 6 & 1\end{bmatrix}}$ So the Z form numbers are − $\mathrm{\begin{bmatrix}4 & 1 & 4 & 1 ewline & & 1 & ewline & 1 & & ...
Read MoreHow Web Works?
What is Web? The World Wide Web (also known as the "web") is a global network of interconnected documents and other resources, linked by hyperlinks and URLs. It is a platform that allows people to access and share information, communicate with one another, and conduct business online. The web is built on top of the Internet, which is a global network of computers that are connected to each other and can communicate with one another. The Internet allows computers to send and receive data, such as emails, files, and web pages, to and from one another. The web was invented ...
Read MoreSwift program to Print an Identity Matrix
In this article, we will learn how to write a swift program to print an identity matrix. Identity matrix is a square matrix in which the main diagonal elements contain only one and the rest of the elements are 0. For example − $\mathrm{Matrix\:=\:\begin{bmatrix}1 & 0 & 0 & 0 & 0 ewline0 & 1 & 0 & 0 & 0 ewline0 & 0 & 1 & 0 & 0ewline0 & 0 & 0 & 1 & 0ewline0 & 0 & 0 & 0 & 1\end{bmatrix}}$ Algorithm Step 1 − Create a function. Step 2 − In this function, use ...
Read MoreWorld Wide Web Consortium (W3C)
What is W3C (World Wide Web Consortium)? The World Wide Web Consortium (W3C) is an international organization that develops standards for the World Wide Web (WWW or Web). It was founded in 1994 by Tim Berners-Lee, the inventor of the Web, with the goal of ensuring that the Web remains a free and open platform for communication and innovation. The W3C works to develop and promote standards that ensure the long-term growth of the Web. It is made up of member organizations, including governments, companies, and research institutions, that contribute their expertise and resources to the development of Web standards. ...
Read MoreSwift Program to Multiply two Matrices by Passing Matrix to a Function
In this article, we will learn how to write a swift program to multiply two matrices by passing the matrix to a function. A matrix is a mathematical structure in which the elements are present in rows and columns format. For example, the first element is present at the a00 location, the second at a01, and so on. So to multiply two matrices, we multiply the mth row of the first matrix by an nth column of the second matrix and add the products. This will create an element at the mth row and nth columns of the resultant matrix. ...
Read MoreSwift Program to initialize and print a complex number
In this article, we will learn how to write a swift program to initialize and print complex numbers. Complex numbers are those numbers which express in the form of x+yi, where x and y are real numbers and ‘i’ is an imaginary number known as iota. Alternatively, we can say that a complex number is a combination of both real and imaginary numbers. For example 1+2i, 1-3i, etc. In Swift, we use a struct to create complex numbers. Algorithm Step 1 − Create a structure using the struct keyword. Step 2 − In this structure, create two properties ...
Read More