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
-
Economics & Finance
Articles on Trending Technologies
Technical articles with clear explanations and examples
IoT Devices vs. Hackers: How to Be Safe in the Internet of Things
In recent years, IoT gadgets have risen to prominence as some of the century's most pivotal innovations. Internet of Things (IoT) gadgets like the Amazon Echo and the Google Home make it feasible to control music playback, timers, and data retrieval with the user's voice alone. A brief description of IoT IoT innovation has made this possible by using limited computing, cloud services, big data, data analysis, as well as mobile technologies to make it possible for physical objects to start sharing and collecting data with little help from people. IoT is the network of items that communicate and ...
Read MoreHow IoT Keeps the Cannabis Industry Connected
The Cannabis industry consists of all real legal producers/consumers, rights, products and services, and standards for all. The cannabis business, which BDSA says is worth $21 billion, is getting increasingly connected. Internet of Things (IoT) technology is already linking growers to their plants, retailers to government regulators, and patients to their doctors. Changes in attitude & laws are causing a business boom, as well as new technology supporting cannabis companies to handle this growth. Hence IoT sector is really important when it comes to security issues. IoT connectivity gives these businesses the information and control they need to get around ...
Read More5 Worst Examples of IoT Hacking and Vulnerabilities in Recorded History
Along with the current advancement in IoT and growing 5G network technology, vulnerability and phishing cases are also increasing. Internet is available to us nearly everywhere you go, from your smartphone internet to public WiFi and from your working organization’s WiFi to the fiber at your home. Faster internet has given Hackers the thing that they need. Moreover, they use more smart IoT sensors and advanced chips to penetrate anything connected to the internet. Sometimes they create those critical situations where even high-security system fails to revert. This article discusses the five worst examples of IoT hacking and vulnerabilities in ...
Read MoreSwift 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 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 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 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 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 MoreSwift Program to get the imaginary part of the given complex number
In this article, we will learn how to write a swift program to get the imaginary part of the given complex number. Complex numbers are those number which express in the form of x+yi, where x and y are real numbers and ‘i’ is an imaginary number known as iota. For example: 1+2i, 1-3i, etc. Here we use the following methods to get imaginary part − Using function Without using function Method 1: Using function To get the imaginary part of the complex number we create a function which takes struct object as a parameter and return the ...
Read More