
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

1K+ Views
Simpson's rule is a very powerful tool to perform numerical integration. To maximise accuracy while requiring fewer divisions, Simpson's rules calculate the integrals using weighting factors. The trapezoidal rule only considers two points, 𝑥𝑖 and 𝑥𝑖+1, to estimate a trapezoid's area, but Simpson's rules use more than two points (or many strips) in each round (refer figure shown below). The values of 𝑓(𝑥) at the various points are updated by weighing various criteria in order to decrease the error Simpson’s 1/3 Rule This approach calculates the area of two strips simultaneously, so three different values of "x" are taken ... Read More

404 Views
We know that Python is a programming language used for accomplishing various tasks in fields such as Data Analysis, AI, Machine Learning and so on. And obviously, there are different modules with special functions which help us to do the job. Similarly, Python code is made to interact with a PostgreSQL database using a module known as the “Psycopg2 module”. It is a popular PostgreSQL database adapter for Python. This module provides us with a set of functions and classes that help us with database connectivity, result handling as well as query execution. Key Features of ... Read More

293 Views
As we know, Python is a language widely used for Data Science and Data Analytics. Alongside libraries such as NumPy and Pandas, Plotly is another such library to represent given data in charts and graphs of all sorts. Let’s learn more about this library! Why a whole library exists in Python just for the sake of Data Representation? Many might think of representing some data in a graph is simple, but that isn’t simple at all! For small amounts of data, it is a somewhat easy task to plot graphs manually. But when dealing with large amounts ... Read More

1K+ Views
We know that NSE (National Stock Exchange of India Limited) is the leading stock exchange of India. It is situated in Mumbai, Maharashtra. It was established back in 1992 as the first ever dematerialized exchange of the country. As NSE contains data which can be used for further analysis, there is a library in Python which can help with just that. The library is known as 'nsetools' library. Uses of the NSE tools Module This library can be used in various projects which requires live updates of a certain index, stock or to create even ... Read More

527 Views
A Hashtable is a powerful data structure in Java that allows programmers to store and organise data in key-value pairs. Many applications need retrieving and displaying entries from a Hashtable. In a Hashtable, any non-null object can serve as a key or a value. However, for successful storage and retrieval of items from the Hashtable, the objects used as keys must implement both the equals() method and the hashCode() method. These implementations ensure proper handling of key comparisons and hashing, enabling efficient management and retrieval of data within the Hashtable. Through the utilization of the keys() and elements() ... Read More

171 Views
The ability to interact with databases is an important requirement for many software programs in this data-driven world. Java is a versatile and robust programming language that offers Java Database Connectivity (JDBC), an effective mechanism that enables smooth interaction with different database systems. JDBC is an API that offers a standardised interface for Java applications to communicate with databases. We can perform operations like querying, inserting, updating, and deleting data using it as a bridge between the Java application and the database. This article helps us to delve into the world of Java's JDBC API, enabling us ... Read More

214 Views
A well-liked and efficient open-source Python GUI (Graphical User Interface) toolkit is wxPython. It helps programmers create native applications with a native feel and look for numerous operating systems, including Windows, macOS, and Linux. The wxWidgets C++ library provides a variety of dependable & adaptable tools for developing graphical user interfaces (GUIs), and is the foundation upon which WxPython is based. Anyone is welcome to use the module without charge since open-source software enables public access and open alteration of the original source code. With wxPython, Python may be used to create feature-rich, intuitive applications for a variety of purposes, ... Read More

369 Views
A core part of Python data analysis and manipulation is working with date and time using Pandas. Powerful library Pandas provides effective methods for processing and examining time series data. It offers a DateTimeIndex, making it simple to index DataFrames and perform time-based actions on them. Users can construct DateTimeIndexes for their data by converting strings or other representations to Pandas DateTime objects, simplifying time-aware analysis. Resampling, time dilation, and date range creation are supported by the library, making it simple to combine and work with time-based data. Additionally, Pandas supports managing time zones, enabling timestamp conversion and translation for ... Read More

924 Views
Designing interactive user interfaces for Kivy apps by working with buttons in.kv files is simple and effective. Kivy, a Python framework for building cross-platform apps, uses the.kv file type to separate the visual appearance and functionality of buttons from the underlying code. The .kv file's declarative language is used to provide button properties like text, size, and event handlers, allowing developers to create straightforward, condensed, and manageable user interfaces. Without cluttering the Python code, developers may easily change the appearance and functionality of buttons by adding them straight to the.kv file. Covered Topics Python Kivy ... Read More

4K+ Views
Finding the lengths of individual words in a given input string using Python is the issue that has to be resolved. We want to count the characters in each word of a text input and display the results in a structured style, like a list. The task entails breaking down the input string and separating each word. The length of each word is then calculated based on the number of characters in it. The basic objective is to create a function or process that can receive input, determine word lengths, and promptly output the results effectively. In several applications, including ... Read More