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
Articles by karthikeya Boyini
Page 139 of 143
The Best C++ Code Formatter/Beautifier?
There are so many C++ code formatter or beautifier tools which beautifies your code or format with proper indentation. The C++ code formatter/ beautifier are listed as follows − C++ Code Formatter/Beautifier Description Astyle This is a source code formatter. It can be used for C++, java and other languages. It’s latest version is 2.03 and it released in April 2013. Clang-Format It is a command line tool along with clang compiler. It is open- source tool and programmed in C++, python. The latest version is 3.3. Universal Indent GUI It ...
Read MoreStack and Queue in Python using queue Module
In Python, it is very easy to implement stack and queue data structures. Stack is called LIFO because Stack works on the principle of "Last-in, first-out" and Queue is called FIFO because Queue works on the principle of "First-in, first-out", and the inbuilt functions in Python make the code shorter and simple. The Queue module implements multi-producer, multi-consumer queues and It is especially useful in threaded programming when information must be exchanged safely between multiple threads. The Queue class in this module implements all the required locking semantics and it depends on the availability of thread support in Python. This ...
Read MoreIntroduction to Algorithms for Mathematical Problems
In this section we will see some common mathematical problems and their possible way solve using different computational algorithms. We will see how to solve differential equations, integrations and some other complex mathematical problems. In this Section We are going to cover − Convert Infix to Postfix Expression Convert Infix to Prefix Expression Evaluate Postfix Expression Secant method to solve non-linear equation Trapezoidal Rule for definite integral Simpson's 1/3 Rule for definite integral Linear Regression Lagrange Interpolation Runge-Kutta 4th order rule for differential equation Lucky Numbers Decimal to Binary conversion Find LCM of two numbers Find ...
Read MoreGenerate a graph using Dictionary in Python
The graphs can be implemented using Dictionary in Python. In the dictionary, each key will be the vertices, and as value, it holds a list of connected vertices. So the entire structure will look like Adjacency list of a graph G(V, E). We can use the basic dictionary object, but we are using default dict. It has some additional features. It has one additional writable instance variable. We are providing a text file, which contains the number of vertices, number of edges, names of vertices, and the list of edges. For undirected graph, we are providing two edges like ...
Read MoreFormatted text in Linux Terminal using Python
In this section, we will see how to print formatted texts in Linux terminal. By formatting, we can change the text color, style, and some special features. Linux terminal supports some ANSI escape sequences to control the formatting, color and other features. So we have to embed some bytes with the text. So when the terminal is trying to interpret them, those formatting will be effective. The general syntax of ANSI escape sequence is like below − \x1b[A;B;C A is the Text Formatting Style B is the Text Color or Foreground Color C is the Background ...
Read MoreHow to use XmlSerializer in C#?
Serialization/ De-serialization allow communication with another application by sending and receiving data. With XmlSerializer, you can control how objects are encoded into XML. To perform XML Serialization, you need the following two classes − StreamWriter class XmlSerializer class Call the Serialize method with the parameters of the StreamWriter and object to serialize. string myPath = "new.xml"; XmlSerializer s = new XmlSerializer(settings.GetType()); StreamWriter streamWriter = new StreamWriter(myPath); s.Serialize(streamWriter, settings); An XML file is visible with the name “new.xml”. Now to deserialize. MySettings mySettings = new MySettings(); string myPath = "new.xml"; XmlSerializer ...
Read MoreImproved Mobile Telephone System
Improved Mobile Telephone System (IMTS) was a radio system that linked to public switched telephone networks (PSTN) before the era of cellular mobiles. It was introduced in 1964 and was the wireless equivalent of landline dial up telephones. Features IMTS was a radio system for mobile telephones that was an improvement over the previous Mobile Telephone System (MTS). MTS supported half duplex communication. So, the communicating parties could not communicate simultaneously. IMTS supported full duplex communication, thus allowing both the user to talk and hear simultaneously. IMTS required a high power transmitter to be installed, preferably on the ...
Read MoreNetwork Interface Device
A network interface device (NID), also called network interface unit (NIU), is an interface between the network provider's local loop and the customer. These are present as grey boxes outside customer's premises, where the data wires of the phone company or the network provider ends and the customer's wiring begins. Diagrammatic Representation Features NID demarcates between provider's connection and customer's connection. Maintenance of wiring of the local loop up to the NID is the responsibility of the phone provider, while maintenance of wiring from the NID to the customer premises is the responsibility of the customer. NID protects ...
Read MoreSecond-Generation (2G) Mobile Phones
Second generation (2G) mobile phones switched from analog system of 1G to digital system. It was commercially launched in 1991 as GSM standard in Finland. As with 1G phones, 2G phones didn’t have any worldwide standardizations. 2G systems were also known as personal communications services (PCM). Advantages of 2G over 1G It allows voice signals to be digitized and compressed. So, they are more efficient on frequency spectrum than 1G. They introduced data services for mobile in form of SMS text messaging. Data and voice signals are digitally encrypted. So, security against eavesdropping and fraud increased manifold. Digital signals ...
Read MoreLocal Access and Transport Areas
In U.S. telecommunications,Local access and transport area (LATA) refers to a geographical area in the U.S. which is allocated to telephone companies. The telephone companies, legally termed as local exchange carriers (LECs) provide telecommunication services, within the allotted areas. A LATA may be within the same U.S. state or may span across more than one state, as laid down in Telecommunications Act of 1996. Two types of connections are possible. IntraLATA − It is a connection between two LECs within the LATA. InterLATA − It is a connection providing long-distance service between LECs in different LATAs.
Read More