Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
Articles by Kiran Kumar Panigrahi
Page 10 of 32
Difference Between Microprocessor and Microcontroller
Both microprocessors and microcontrollers are types electronic devices that come in the form of integrated circuits (ICs) and are used in different modern electronic equipment such as computers, laptops, washing machines, air conditioners, and many other automated electronic gadgets. The primary function of both microprocessors and microcontrollers is to automate the processes. Read this article to find out more about microprocessors and microcontrollers and how they are different from each other. What is a Microprocessor? As its name implies, it is a processing device that converts data into information based on some sets of instructions. It is a very ...
Read MoreHow to get the longitude and latitude of a city using Python?
To get the longitude and latitude of a city, we will use the geopy module. geopy uses third-party geocoders and other data sources to locate the coordinates of addresses, cities, countries, etc.First of all, make sure the geopy module is installed −pip install geopyIn the following example, we will use the Nominatim geocoder to find the longitude and latitude of the city "Hyderabad".Steps −Import Nominatim geocoder from geopy module.Initialize the Nominatim API and use the geocode method to get the location of the input string.Finally, get the latitude and longitude of the location by location.latitude and location.longitude.Example 1# Import the ...
Read MoreHow to put a border around a Frame in Python Tkinter?
To put a border around a Frame in Tkinter, we have to use the highlightbackground and highlightthickeness parameters while creating the Frame. Let's take an example and see how to use these two parameters.Steps −Import the tkinter library and create an instance of tkinter frame.Set the size of the frame using geometry() method.Create a frame with Frame() method. Highlight the border of the frame with a color, highlightbackground="blue". Then, set the thickness of the border, highlightthickness=2.Next, create some widgets inside the frame. In the example, we have placed four checkbuttons and a button inside the frame.Finally, run the mainloop of ...
Read MoreHow to place an image into a frame in Tkinter?
To place an image into a Tkinter frame, you can follow the steps given below −Steps −Import the required libraries and create an instance of tkinter frame. To open an image and place it inside the frame, we will use the Pillow (PIL) library.Set the size of the frame using geometry method.Create a frame and specify its height and width. Place the frame at the center of the window using place() method with anchor='center'.Open an image using ImageTk.PhotoImage(Image.open("image"))Next, create a label object inside the frame and pass the image inside the label.Finally, run the mainloop of the application windowExample# Import ...
Read MoreDifference between Long-Term and Short-Term Scheduler
In the context of computer systems, a program or task in execution is called a process. In modern computers, several types of processes are used. The process of selecting one process from a bunch of processes and assigning it to the processor for execution is referred to as scheduling. The component of the system that accomplish this task is called a scheduler. There are two main types of schedulers, namely, Long−Term Scheduler and Short−Term Scheduler. In this article, we will discuss the important differences between long−term scheduler and short−term scheduler. But before that, let's start with some basics of long−term ...
Read MoreDifference between Classification and Clustering
The most basic difference between classification and clustering is that classification is used with supervised learning technique, whereas clustering is used with unsupervised learning technique. In classification, the computer is given a label to use in classifying new observations. For the label verification in this case, the machine requires thorough testing and training. Classification is therefore a more intricate procedure than clustering. In contrast, clustering is an unsupervised learning method that groups data based on similarities. Here, there is no need for training because the machine learns from the already−existing data. In this article, we will discuss the important ...
Read MoreDifference between Structured, Semi-structured and Unstructured data
Data plays a crucial role in understanding the business trends. Many organizations generate and process huge volumes of data. This huge and complex data is referred to as "Big Data". Big data is of three types: structured data, semi structured data, and unstructured data. What is Structured Data? Structured data is generally stored in tables in the form of rows and columns. Structured data in these tables can form relations with another tables. Humans and machines can easily retrieve information from structured data. This data is meaningful and is used to develop data models. Structured data is used by ...
Read MoreDifference Between List and ArrayList in Java
A collection framework in Java consists of a set of classes and interfaces which helps in implementing various data structures. List and ArrayList belong to this collection framework. List is an interface and ArrayList is a class. Their main motto is to create a list data structure. List is a collection of ordered elements arranged using the concept of indexing. Arrays use the concept of dynamic array to store elements. What is a List in Java? A list is one of the interfaces of the collection framework. It stores objects in an ordered manner. Here, the elements are stored sequentially. ...
Read MoreDifference between Unit Testing and Sandwich Testing
Unit testing and sandwich testing are two different types of software testing techniques. In Unit testing, the individual units of a software product are tested in isolation from the rest of the application. Sandwich testing, on the other hand, focuses on testing the interactions between multiple units of a software product. Read this article to learn more about unit testing and sandwich testing and how these two testing techniques are different from each other. What is Unit Testing? Unit testing is a type of testing in which a single module is tested at a time. Unit testing checks if the ...
Read MoreDifference between Top-Down Parsing and Bottom-Up Parsing
Top-Down Parsing and Bottom-Up Parsing are used for parsing a tree to reach the starting node of the tree. Both the parsing techniques are different from each other. The most basic difference between the two is that top-down parsing starts from top of the parse tree, while bottom-up parsing starts from the lowest level of the parse tree. Read this article to learn more about top-down parsing and bottom-up parsing and how these two parsing techniques are different from each other. What is Top-Down Parsing? Top-Down Parsing technique is a parsing technique which starts from the top level of the ...
Read More