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
Golang program to remove an element from a slice
In this tutorial, we will learn how to remove an element from a slice using variety of examples. A slice is a sequence of elements just like an array. An array is a fixed sequence of elements whereas slice is a dynamic array which means its value is not fixed and can be changed. Slices are more efficient and faster than arrays moreover they are passed by reference instead by value. Let’s go through the example to understand things. Syntax func copy(dst, str[] type) int The copy function in go language is used to copy the values of ...
Read MoreDifferences Between a PLC and an RTU
You may have heard of Programmable Logic Controllers (PLCs) and Remote Terminal Units (RTUs), but what do these devices actually do? And more importantly, which one do you need for your business? PLCs are used to control machines by reading input signals and executing pre-determined programs in order to achieve a specific output. RTUs, on the other hand, are used to collect data from machines and send it back to a central location for analysis. Depending on your needs and level of complexity, there is an automation device that can provide you with complete control over your operations while keeping ...
Read MoreGolang program to add elements to a slice
In this tutorial, we will learn how to add elements to a slice using different examples. A slice is a sequence of elements just like an array. An array is a fixed sequence of elements whereas slice is a dynamic array which means its value is not fixed and can be changed. Slices are more efficient and faster than arrays moreover they are passed by reference instead by value. Let’s go through the example to understand things. Method 1: Using append function with strings In this method, we will use append function to add string elements to the slice. ...
Read MoreHow to create a Function with Arguments but without a return value in Golang?
This tutorial will teach us how to create a function with arguments but without a return value. This tutorial involves a gist about the function, and syntax for the function with argument and without return type in Golang, then last we will see two different examples of a function with arguments but without a return type. In the first example, we are going to print the argument passed in the function with the respective statement. In the other example, we are going to add the numbers passed as arguments and print the sum in the same function. Function with argument ...
Read MoreHow to use interface with class in TypeScript?
In TypeScript, classes are the template that defines the variables and methods. We can use class templates to create objects, which means the class is the reusable component in object-oriented programming, and we can reuse it by creating its object. We can use the ‘interface’ keyword to define the interfaces in TypeScript. The interface contains the class structure. The interface is similar to abstract classes we define in other programming languages, such as Java and C++. It contains only the declaration of variables with their type and method with its return type and parameter types. Classes define the interface's methods ...
Read MoreCharacteristics of SQL
SQL, or Structured Query Language, is a programming language used for managing and manipulating relational databases. It is the standard language for relational database management systems, such as MySQL, Oracle, and Microsoft SQL Server. In this article, we will explore the characteristics of SQL and how they make it a powerful tool for working with databases. Introduction to SQL SQL is a declarative programming language, meaning that it is used to describe the desired outcome rather than the specific steps to achieve it. This makes it a powerful tool for working with databases because it allows users to focus on ...
Read MoreCharacterizing Schedules Based on Recoverability
Introduction In the field of database systems, one of the most important concepts is that of recoverability. Recoverability refers to the ability of a system to restore its state in the event of failure. In order to ensure that a system is recoverable, it is necessary to understand the different types of schedules that can be used, and how they impact the recoverability of a system. In this article, we will explore the various types of schedules that can be used in database systems, and how they impact the recoverability of a system. We will also provide examples of each ...
Read MoreCheckpoints in DBMS
Introduction A checkpoint in a database management system (DBMS) is a process that saves the current state of the database to disk. This allows for faster recovery in the event of a system failure or crash. In this article, we will explore the concept of checkpoints in DBMS, including how they work, the different types of checkpoints, and their real-world applications. What is a Checkpoint? A checkpoint is a process that saves the current state of the database to disk. This includes all transactions that have been committed, as well as any changes that have been made to the database ...
Read MoreCharacterizing Schedules Based on Serializability
Introduction In the field of database management systems, concurrency control is an important aspect of maintaining the consistency of data. One of the most widely used methods for ensuring consistency is serializability, which is a concept that characterizes schedules based on their ability to produce the same results as if the transactions were executed one at a time in some order. In this article, we will explore the concept of serializability in scheduling and how it can be used to ensure consistency in a concurrent system. What is Serializability? Serializability is a concept that is used to ensure that the ...
Read MoreCentral Authentication Service (CAS)
Central Authentication Service (CAS) is an open-source platform that provides single sign-on (SSO) authentication for web applications and services. This means that users can log in once and gain access to multiple applications and services without having to provide their credentials multiple times. CAS is widely used in educational institutions and other organizations to simplify the process of accessing web-based resources. Overview of CAS CAS is based on the SAML specification and provides a centralized way to authenticate users. It is composed of two main components: the CAS server and the CAS client. The CAS server is responsible for authenticating ...
Read More