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
Check if a given String is palindrome using two pointer in C++
A palindrome is a word, phrase, number, or other sequence of characters that reads the same from both backward and forward sides. In strings, the palindrome strings are those strings that can be read the same from both left and right sides. In this article, we are going to learn how we can check if a given string is palindrome or not using the two-pointer technique in C++. Problem We are given a string, and we have to check if it is palindrome or not using the two-pointer method in C++. Example 1 ...
Read MoreHow To Upload and Download Files From AWS S3 Using Python?
Amazon Web Services (AWS) offers various services like EC2, S3, AWS Lambda, and Amazon SageMaker. Companies use these Amazon services to store their databases and deploy their models. In this article, we will discuss Simple Storage Service (S3) and explain how to upload and download a file from Amazon S3. AWS S3 Simple Storage Service (S3) is used to store various files on the cloud. It is secure, simple, and cost-effective. In S3, there are buckets to store files such as images, folders, videos, and audio files. We can store, download, and upload files in different ways on S3. ...
Read MoreJava program to find the surface area and volume of cuboid
In this article, we will learn how to compute a cuboid's surface area and volume using Java. A cuboid is a three-dimensional object with six faces in a rectangle shape, which means it has sides of different lengths and breadth. The difference between a cube and a cuboid is that a cube has equal length, height, and breadth, whereas these three are not the same in cuboids. Problem Statement Write a program in Java to find a cuboid's surface area and volume. Below is a demonstration of the same − Input Length= 6; Width= 7; Height= 8; Output Volume Of the Cuboid is ...
Read MoreRoadmap of Becoming a QA Engineer
QA Engineers are those who handle bugs and glitches that we face while using any application or website. The Job of a QA engineer is to handle bugs in any application or website. QA engineers make sure that the software that reaches the people is error-free and bug-free. They make sure that users have a smooth experience with applications. In this article, we are going to discuss the roadmap to becoming a QA engineer. What is Quality Assurance?Quality assurance is the method of making sure that products, especially software, work for which they are manufactured. QA engineers test software to find ...
Read MoreMakefile for add, sub, mul, and div programs in C
What is a Makefile? A makefile is a unique file used in many programming projects to produce executable programs automatically by compiling and linking them. It provides instructions on linking and compiling a program, along with a list of source file dependencies and building commands. The program called make is what reads a Makefile and runs the required commands. General format of Makefile Specify the compiler (gcc for C programming and g++ for C++ programming). Specify the compiler flags. Define target executables. Define ...
Read MoreHow to use Class in Node?
Introduction Node.js is trending as an environment where different efficient and logical applications are executed at the moment. One of them is extending modern JS syntax, for example, classes, which makes OOP in Node.js more possible to use and improve. Scroll down to learn what a class is in Node.js, how one can be defined, how methods can/must be added, subclass/superclass in Node.js, and some uses of classes in Node.js. What is a Class in Node.js? A class is a blueprint of objects that have certain characteristics and behaviors or actions. Classes were introduced in ECMAScript 2015 ( ES6) as ...
Read MoreHow to Push Anything to GitHub using Git Bash?
Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals. Here is a step-by-step guide with examples that explains how you can push your code to GitHub using Git Bash, with creating repository to updating the code and pushing the changes back to GitHub using Git Bash.1. Install Git Bash Download Git Bash from the official Git website. Run the installer and follow the setup instructions. Once installed, open Git Bash by ...
Read MoreHow to update Node.js and NPM to the latest version?
Having the latest Node.js and NPM is crucial as developers get to have access to the new features, security fixes, and improved performance. In those tools, you need to learn the following general steps in order to update them quickly This is the simplest guide to update those two tools. Why Update Node.js and NPM? Here are some reasons why you should update Node.js and NPM − Access New Features: Every one or two updates, new features and improvements make their ways into the software. Improved Security: Updates patch and other vulnerabilities in the environment so as to remove ...
Read MoreHow to use an ES6 import in Node.js?
Since ES6, JavaScript has a standardized way in terms of using the import statement in your project to include modules. Originally Node.js was using require() to import a module but with the update it is also imported ES6 import. This article will explain how to use ES6 import in Node.js, why it is important, and what constitutes good practice. Why Use ES6 Imports in Node.js? The following are some key reasons why you should use ES6 imports in Node.js − Modern Syntax: import is even better than require() to import modules because it is clean ...
Read MoreDifference between Node require and ES6 import and export
When working with JavaScript, especially in a Node.js or modern JavaScript environment, you often come across two popular module systems: use require which comes from the CommonJS and import and export keywords which came with ES6. They are both used with the same goal of modularizing your code but they differ as to how and what you use or do with them. Now let us discuss these differences in a greater detail. What is Node.js require? The require is the module-loading mechanism in CommonJS, the default module system for Node.js. It allows you to include modules, JSON files, or local ...
Read More