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
Server Side Programming Articles - Page 265 of 2650
540 Views
When we convert a data type to another data type, we call it type casting. There are two types of type casting in Java: explicit and implicit. Explicit Type Casting When we typecast a one datatype to another using the cast operator "()", it is known as explicit type casting, and it is done manually. We typically use the cast operator to convert a higher datatype to a lower datatype. Therefore, there is a risk of losing data because a lower datatype has a range smaller than a higher datatype. Implicit Type Casting But, to convert a smaller datatype to a larger one, ... Read More
517 Views
The given task is to categorize Taller, Dwarf, and Average by the Height of a Person. First of all, we need to define tall, dwarf, and average height of a person. Let us assume -A person with a height between 170cm to 195cm is considered taller.If his height is between 150cm and 195cm, he is considered taller.A person whose height is below 150cm is considered a dwarf.If his height is greater than 195cm, he is considered abnormal.Categorizing the Height of a Person in JavaTo categorize the Height of a Person, we need to compare his height with each range specified above. ... Read More
27K+ Views
What are the requirements of XML Documents? XML documents are used extensively in the process of data communication between various computer systems. Python comes with a number of built-in libraries that may be used for the processing and manipulation of XML files. In this piece, we will investigate the use of Python in the process of generating XML documents. First, we will look at a simple illustration, and then we will go to more complex illustrations. Prerequisites Python 3.0 An understanding of XML syntax Steps and processes Step 1: Creating a basic XML document To create an XML ... Read More
6K+ Views
In this technical document, we will explore the process of creating a dataframe using CSV files in Python. Specifically, we will cover the following subsections − Introduction to dataframes and CSV files Reading CSV files into dataframes Exploring dataframes Manipulating dataframes Writing dataframes to CSV files Throughout this document, we will use real world examples and provide code snippets to illustrate each subsection. What are dataframes and CSV files?Before diving into the details of creating a dataframe from a CSV file, let's first define what a dataframe is and what a CSV file is. A dataframe is ... Read More
963 Views
Pygame is a cross-platform set of Python modules designed for writing video games. It includes computer graphics and sound libraries designed to be used with the Python programming language. Pygame is not a game development engine, but rather a set of tools and libraries that allow developers to create 2D games in Python. Pygame provides a variety of functions and classes to help developers create games, including image loading and manipulation, sound playback and recording, keyboard and mouse input handling, sprite and group management, and collision detection. It also includes built-in support for common game development tasks such as animation, ... Read More
432 Views
Is operator also called as the type-compatibility operator plays an integral role in C# structures. Let’s try to understand this operator. C#’s Is operator checks if the given object is compatible with another object and gives the result as true, if it is compatible. Else returns false. Syntax expression is obj Example Expression is the object which you like to check compatibility with. The expression can include variables, literals and method calls. Obj is the type against which the expression is verified. This can comprise of built-in and user-defined types. // The operation of the type compatibility operator is ... Read More
2K+ Views
What are chatbots? In recent years, Chatbots have become increasingly popular for automating simple conversations between users and software-platforms. Chatbots are capable of responding to user input and can understand natural language input. Python-NLTK (Natural Language ToolKit) is a powerful library that can be used to perform Natural Language Processing (NLP) tasks. In this tutorial, we will be creating a simple hardcoded chatbot using Python-NLTK. What are the core concepts of chatbot creation? The core concepts of chatbot creation are − Natural Language Processing (NLP) − Chatbots use NLP to understand human language and interpret the user's intent. NLP ... Read More
2K+ Views
A BitArray is a collection of Boolean values represented as a series of 1’s and 0’s. It is often used to store and manipulate binary data efficiently. In C#, the BitArray class is part of the System. Collections namespace, and it allows you to manipulate the individual bits in the array using bitwise operators. Inverting all bit Values in a BitArray To invert all bit values in a BitArray in C#, you can use the exclusive OR (XOR) operator (^) with the number 1. This operator returns a value of 1 if the bits being compared are different and 0 ... Read More
4K+ Views
What is a dataframe? A dataframe is a two-dimensional object used to store data in a tabular format, where data is arranged in rows and columns. One can create a dataframe using various ways, and one of the most common methods is importing data from excel files. In this document, we will focus on how to create a dataframe using Excel files in Python, step-by-step. Why are dataframes important for data analysis Dataframes are important for data analysis for several reasons − Easy to read and manipulate − Dataframes are a two-dimensional table-like data structure that allow for easy ... Read More
831 Views
C# is an object-oriented programming language that offers a unique feature known as interfaces. They enable you to declare a collection of attributes and methods that a class must implement without mentioning the specifics of how they should be implemented. The ability to write code that is independent of a class's implementation details is one of the main benefits of interfaces. Each object of any class that implements the interface can be referred to using an interface reference. As a result, it is simpler to switch between different class implementations without having to modify the code that utilizes the class. ... Read More