 
 Data Structure Data Structure
 Networking Networking
 RDBMS RDBMS
 Operating System Operating System
 Java Java
 MS Excel MS Excel
 iOS iOS
 HTML HTML
 CSS CSS
 Android Android
 Python Python
 C Programming C Programming
 C++ C++
 C# C#
 MongoDB MongoDB
 MySQL MySQL
 Javascript Javascript
 PHP 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
Programming Articles - Page 389 of 3366
 
 
			
			313 Views
The sequence of bytes is called a binary string and it holds the binary value. A binary score is normally presented on a range from 0 to 1 where 1 is reserved for the perfect model. In the given binary string, If the element is found to be 1 then it will calculate as the score and increment the count sum. Let’s take an example of a binary score − The given binary string is 1011010. In the above figure, the number 1 is present in the index- 0, 2, 3, and 5. Therefore, the total score is 4 ... Read More
 
 
			
			377 Views
In C++, we have predefined function max() that will be used for finding any longest substring that does contain any palindrome. A palindrome string is a group of characters that remains the same even after reversing. Let’s take an example of a palindrome string to make the longest non-palindrome substring. The string malayalam itself is a palindrome but we need to identify the longest non-palindrome substring. When we change the string malayalam( length=9 ) to alayalam then we get the longest non-palindrome substring length i.e, 8. The string synapse is a non-palindrome string and its length is 7. ... Read More
 
 
			
			722 Views
In C++ we have an inbuild reverse() function that will be used for reversing the substring to check whether a string can be made lexicographically smaller or not. Lexicographic ordering is the process by which the character of a word is sorted in a dictionary. Let’s take an example of a string to check lexicographically smaller or not. We will compare the two words to check the lexicographically smaller ones and take two strings namely ‘apple’ and ‘army’. Both these strings of the first letter starting with letter ‘a’. When we move to check the second character of both ... Read More
 
 
			
			415 Views
This article will help us understand how to replace the consecutive consonant sequence with its length in the given string. Consonants are series of alphabetical letters that are not vowels. Here we need to first identify which letter in the string are consonants. For example, in the word “abcdiopqrsu”, the consonant sequence “bcd” and “pqrs”. Next, we would replace each consonant sequence with its length. So the word “bcd” would replace with “3” because there are three consecutive consonants, and the same with the word “pqrs” replace with “4” as there are four consecutive consonants. Algorithm First, we ... Read More
 
 
			
			4K+ Views
In mathematics, the divisibility rule of 5 states that if the number ends with 0 or 5 then it will divisible by 5. There is another way to identify the divisibility rule of 5, if the remainder comes to 0 it returns the number is divisible by 5. The mod(%) operator is normally used in programming when it comes to divisibility. Following are some examples which helps you to understand the divibility rule of 5 − Given number is 525, the number ends with 5 and it is divisible by 5. Given number is 7050, the number ends with ... Read More
 
 
			
			3K+ Views
In data science, data is represented in various formats, such as tables, graphs, or any other types of structures. One of the most common data structures used to represent data is a DataFrame, which can be created using an array or a series. In this document, we will discuss how to create DataFrames from a Pandas Series object. Importance of Dataframe in data science! Dataframe is a two-dimensional table-like data structure that is widely used in data science. It is a very important tool for data manipulation, data analysis, and data visualization. Here are some of the key advantages of ... Read More
 
 
			
			606 Views
What is Python and what are its advantages? Python is a high-level programming language that is used for a wide range of applications, including web development, scientific computing, data analysis, and artificial intelligence. It has a simple and elegant syntax that makes it easy to read and write, and a large standard library that provides many useful tools and functions. Some of the advantages of Python include its readability, ease of use, flexibility, and portability. It is an open-source language, which means that it is freely available and can be modified and distributed by anyone. Python also has a large ... Read More
 
 
			
			797 Views
When it comes to networking, IP addresses and domain names are two critical concepts that ensure seamless communication between devices on the internet. In this tutorial, we will learn how to create a Graphical User Interface (GUI) using Python that can be used to find the IP address assigned to a domain name. We will cover the following sections − Understanding IP Addresses and Domain Names Installing the Required Libraries Building the GUI Testing the Application Real World Examples Understanding IP Addresses and Domain Names Before we dive into building the application, it's important to understand what IP ... Read More
 
 
			
			1K+ Views
Lyrics are the words that are sung in a song that conveys the meaning and emotions of a song. Python offers several libraries to extract lyrics from a song. In this tutorial, we will create a Graphical User Interface (GUI) using Python’s tkinter library that extracts lyrics from a song. What are the different formats in which songs are available online? There are several formats in which songs are available online, depending on the platform and the type of file. Some of the most common formats are − MP3 (MPEG Audio Layer 3) − This is the most common format ... Read More
 
 
			
			1K+ Views
As businesses grow and expand, they need to manage a lot of information. This information may come in different formats, and being able to convert them to the right format is important for the smooth running of business operations. One of the ways to handle this is by converting CSV files to excel format. In this tutorial, we will build a Graphical User Interface (GUI) in Python to convert CSV files to excel files. What is a CSV file and what are importance of using CSV files in python A CSV (Comma Separated Values) file is a plain text file ... Read More