Articles on Trending Technologies

Technical articles with clear explanations and examples

Difference between Electroplating and Electroless Plating

Manish Kumar Saini
Manish Kumar Saini
Updated on 07-Aug-2023 4K+ Views

In metal processing industry, plating is a process of depositing a thin layer of one metal onto the surface of another metal. Plating is done to improve appearance of the metal surface and protect from corrosion. Electroplating and Electroless Plating are commonly used techniques for plating of metals. The main difference between electroplating and electroless plating is in their working principle. Electroplating utilizes an externally supplied electric current to deposit a layer of metal onto the surface of another metal, while electroless plating utilizes chemical reactions to deposit a metal coating on the surface. In this article, we will ...

Read More

Difference between Electrolysis and Electroplating

Manish Kumar Saini
Manish Kumar Saini
Updated on 07-Aug-2023 2K+ Views

Electrolysis and Electroplating are electrochemical processes that rely on electric current and chemical reactions. The most fundamental difference between electrolysis and electroplating is that electrolysis is an electrochemical process which uses electric current to perform a non-spontaneous chemical reaction, whereas electroplating is an electrochemical process which uses electric current to deposit one metal on another metal. In this article, we will explore all the major differences between electrolysis and electroplating. What is Electrolysis? Electrolysis is an electrochemical process that makes use of an electric current to perform a non-spontaneous chemical reaction. Electrolysis is performed in a device called an ...

Read More

Difference between Coaxial and Optical Digital Audio Cables

Manish Kumar Saini
Manish Kumar Saini
Updated on 07-Aug-2023 3K+ Views

Coaxial and optical digital audio cables are widely used for transmission of digital audio signals between electronic devices. However, they are absolutely different from each other in terms construction, transmission method, and many other characteristics. The most fundamental difference between coaxial and optical digital audio cables is in their transmission method, i.e. coaxial digital audio cables use copper conductors for transmitting digital audio signals, while optical digital audio cables use optical fibers to transmit digital audio signals. In this article, we will explore all the major differences between coaxial audio cables and optical digital audio cables along with their ...

Read More

Difference between AMOLED and LCD Display

Manish Kumar Saini
Manish Kumar Saini
Updated on 07-Aug-2023 845 Views

Both AMOLED (Active-Matrix Organic Light Emitting Diode) and LCD (Liquid Crystal Display) are popular display technologies widely used in a variety of electronic devices like monitors, laptop screens, smartphone screens, TV screens, and more. The fundamental difference between AMOLED and LCD displays is in their screen illumination technology that is AMOLED display uses organic materials that emit light on the passage of electric current which illuminates the screen, while LCD display uses a backlighting system to illuminate the display screen. Another major difference between AMOLED and LCD displays is in their contrast ratios, i.e. AMOLED displays offer infinite contrast ...

Read More

Alternative to iFrames in HTML5

Nikhilesh Aleti
Nikhilesh Aleti
Updated on 04-Aug-2023 19K+ Views

The HTML tag specifies an inline frame (container). This inline frame is used to embed another document within the current HTML document. The "srcdoc" attribute of the tag is used to specify the HTML content of the page to be displayed in the . HTML Tag The alternative tag to iframe in HTML is tag. It is similar to the iframe tag which defines a container for external resources such as a picture, a webpage, a media player, or a plug-in application. Following are the attributes of the HTML tag − height − ...

Read More

Golang program that takes in a list of weights and values for items and a maximum weight capacity for knapsack

Akhil Sharma
Akhil Sharma
Updated on 04-Aug-2023 412 Views

In this Go language article, we will write programs that take in list of weights and values for items and a maximum weight capacity for knapsack. Knapsack problem is an optimization problem that uses dynamic programming. Here, the purpose is to find out the set of items that can be included in the knapsack without exceeding its weight capacity or maximum weight. Dynamic programming involves solving of problems by breaking them down into smaller subproblems and them combining them to get an optimal solution. Syntax func make ([] type, size, capacity) The make function in go language ...

Read More

Golang program that takes in a slice of integers and an anonymous function that filters each element in the slice

Akhil Sharma
Akhil Sharma
Updated on 04-Aug-2023 355 Views

In this Go language article, we will write programs that take in a slice of integers and an anonymous function that filters each element in the slice. An anonymous function is the function which uses no function name and is called by the variable which is assigned to it. It is used generally used with event listeners. Here, Filter function will be created with the anonymous functions to filter the values from slice. Syntax func append(slice, element_1, element_2…, element_N) []T The append function is used to add values to an array slice. It takes number of arguments. The first ...

Read More

Golang program to print the numbers 1 to 100 concurrently, with each number printed by a separate goroutine

Akhil Sharma
Akhil Sharma
Updated on 04-Aug-2023 1K+ Views

In this article, we will write a Go language program to print the numbers from 1 to 100 concurrently with each number printed by a separate go routine. Concurrency means execution of multiple tasks parallelly and independently and making sure all the resources of the system are utilized. It can be achieved via go routines which are light weight threads and the channels. Syntax func make ([] type, size, capacity) The make function in go language is used to create an array/map it accepts the type of variable to be created, its size and capacity as arguments. Algorithm ...

Read More

Golang program to take in a slice of integers and compute their sum using concurrency

Akhil Sharma
Akhil Sharma
Updated on 04-Aug-2023 1K+ Views

In this Go language article, we will write programs to take in a slice of integers and compute their sum using concurrency. Concurrency helps multiple tasks or operations to be performed simultaneously. It helps make efficient use of system resources. It is achieved using Go routines which are light-weight threads and channels which helps in the communication between the go routines. Syntax func make ([] type, size, capacity) The make function in go language is used to create an array/map it accepts the type of variable to be created, its size and capacity as arguments. func range(variable) The ...

Read More

Golang program to sort a slice of integers using merge sort with concurrency

Akhil Sharma
Akhil Sharma
Updated on 04-Aug-2023 411 Views

In this article, we will write Go language programs to sort a slice of integers using merge sort with concurrency. It is a process which makes the parts of a program run independently and parallelly enhancing the efficiency of the program. Go routines and channels are used to execute concurrency. Merge sort is a divide and conquer algorithm used to sort the unsorted array or slice by dividing the input slice into smaller sub-slices, individually sort them recursively and then merge them into a single slice which is sorted. Syntax func make ([] type, size, capacity) The make function ...

Read More
Showing 34831–34840 of 61,297 articles
Advertisements