
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Found 33676 Articles for Programming

4K+ Views
Building modern web applications that are both scalable and engaging requires the use of relevant technologies. ReactJS and Flask are two popular frameworks that are commonly used for front−end and back−end development respectively. In this article, we'll explore the process of connecting ReactJS with Flask API to create robust web applications that take advantage of the unique features offered by both technologies. We'll provide you with a step−by−step guide on how to set up a Flask API, enable Cross−Origin Resource Sharing (CORS), make API requests from ReactJS, display the API data in the user interface, and handle API errors. ... Read More

1K+ Views
Python is a versatile and powerful programming language that is widely used in scientific computing, data analysis, and machine learning. One of the key libraries that makes Python so useful for these fields is NumPy. NumPy provides powerful tools for working with arrays, which are essential for many scientific computing tasks. In this article, we will explore how to concatenate two 2−dimensional NumPy arrays using Python. If you've ever worked with arrays in Python, you know how useful they can be for storing and manipulating large amounts of data. However, you may need to combine two arrays into a single, ... Read More

2K+ Views
Python is a popular programming language used by developers worldwide to build various applications. One of the significant advantages of Python is the availability of several powerful libraries that simplify complex tasks. One such library is Pillow, which is used for image−processing tasks like resizing, cropping, and manipulating images. In this tutorial, we will explore how to use Pillow to concatenate images horizontally and vertically in Python. Image concatenation is the process of combining two or more images into a single image. By concatenating images, we can create stunning image collages, combine multiple images into a single image, or create ... Read More

432 Views
MySQL is an open−source relational database management system that is widely used to store, manage, and organize data. When working with MySQL tables, it is common to require the combination of multiple column values into a single string for reporting and analysis purposes. Python, a high−level programming language, offers several libraries that enable connection to MySQL databases and execution of SQL queries. In this article, we'll dive into the process of concatenating column values of a MySQL table using Python and the PyMySQL library. A step−by−step guide is provided on how to connect to a MySQL database, execute a SQL ... Read More

544 Views
A simultaneous perturbation stochastic optimization algorithm (SPSA) finds the minimum of an objective function by simultaneously perturbing the objective function. Using SPSA, the objective function gradient is estimated by evaluating a small number of functions at random perturbations. It is particularly useful when the objective function is noisy, non-differentiable, or has many parameters. A variety of applications, such as system identification, control, and machine learning, have been successfully implemented with this algorithm. Advantages Of Using The SPSA Algorithm The SPSA has been applied in various realms such as engineering, finance, and machine learning. It has several advantages ... Read More

1K+ Views
Early detection of any disease, especially cancer, is very crucial for the treatment phase. One such effort made in this direction is the use of machine learning algorithms to detect and diagnose skin cancer with the help of a machine learning framework like Tensorflow. The traditional method of cancer detection is quite time-consuming and requires professional dermatologists. However, with the help of TensorFlow, not only can this process be made fast, but more accurate and efficient. Moreover, people who do not get timely access to doctors and dermatologists, can use this meanwhile. Algorithm Step 1 − Import the ... Read More

3K+ Views
The Hashtable class is a part of the Java Collection Framework that stores its element in key-value pairs in a hash table. The Key is an object that can be used to fetch and receive value associated with it. There exist a few similarities between a Hashtable and HashMapclass but Hash table is synchronized. Also, its keys must be associated with values, they could not be null. This article aims to explain how Hash table works internally in Java. Working of Hashtable in Java We can consider a Hashtable as an array of buckets, where each bucket contains a list ... Read More

989 Views
The backspace terminal control character is a special character represented by the ‘\b’notation. It is used to move the cursor one character back. It comes under Java escape characters, these characters are used with backslash (\) and hold a special meaning to the compiler. In this article, we will understand and see the practical implementation of‘\b’ notation through Java example programs. Working of Backspace Terminal Control Character Two types of situations may arise while working with this escape character. First, when we hard code the backspace character into a String and the second, when we take input using a keyboard. ... Read More

2K+ Views
Java provides different ways to copy files including the ‘File’, ‘FileInputStream’ and‘FileOutputStream’ classes. There are times when we need to take a backup, compress a file or share it with others. In these situations, copying that file becomes necessary. Weare going to explore the methods and classes that will help us to copy the content of one file to another file through Java programs. Before jumping to the example program directly, let’s discuss some classes and built-in methods that we will be using. This will build a foundation for understanding the code. Note that these classes and methods are associated ... Read More

221 Views
In Java, there exist different name reusing techniques for various types of entities, sucha s variables, methods, datatypes or packages. These techniques affect the accessibility and behavior of the entities according to their need and use. In this article, we will discuss four common ways to reuse a name in Java: overriding, hiding, overloading and shadowing Name reusing techniques in Java Shadowing This technique allows a local variable to have the same name as another field or member of the enclosing class. In this case, the previous implementation of the member gets shadowed by the declaration of a new variable. ... Read More