Python

Introduction to Python Programming

Python is a general-purpose interpreted, interactive, object-oriented, and high-level programming language created by Guido van Rossum. It is ideally designed for rapid prototyping of complex applications. It has interfaces to many OS system calls and libraries and is extensible to C or C++. Many large companies use the Python programming language include NASA, Google, YouTube, […]

RTOS

RTOS Task switching based on priority using LCD – CodesExplorer

Prerequisites:- The prerequisite for this program you should have knowledge of Simple LCD interfacing on ARM LPC2148. You can visit this post to get the program, algorithm¬†about LCD interfacing.   Introduction:- In this post, We will be dealing with RTOS(Real-time¬†Operating System) Program to switch the tasks based on the priorities.At first the OS is initialised […]

C++

Classes and Objects

Classes and Objects Classes and Objects: Class is a user defined data type just like Structures, but with the difference. It also has 3 sections namely 1.       private, 2.       public and 3.       protected. Using these, access to member variable of a class can be strictly controlled. public  : variable and functions are accessible to any […]

C++

Inline function in c++

INLINE FUNCTION INLINE FUNCTION: The inline function is the concept used commonly with classes. When the function is inline, the compiler places a copy of the code of that function at each point. Conditions for the Inline function:          Inline functions should not contain any loops, recursion. –            The inline function is only applicable for […]

Java

Java program to compute employee's net salary,HRA,DA and GS

In this article let’s learn how to calculate the net salary of an employee by considering the parameters called HRA(House rent allowance),DA(Dearness allowance),GS (Gross salary)and income tax. Let us assume some parameters. HRA=10% of basic salary DA=73% of basic salary GS=basic salary+DA+HRA Income tax=30% of gross salary net salary= GS-income taxAlgorithm: 1)Start 2)Take the input […]