Saturday 8 August 2015

Embedded Systems Articles-2

A simple explanation of C Loops:
-----------------------------------------------
Loops cause program to execute the certain block of code repeatedly until test condition is false. Loops are used in performing repetitive task in programming. Consider these scenarios:
• You want to execute some code/s 100 times.
• You want to execute some code/s certain number of times depending upon input from use
See More at below link
http://www.epistemesoft.com/Articles.aspx

Simple Data Structure:
-----------------------------------------------
In the C language structures are used to group together different types of variables under the same name. For example you could create a structure “telephone”: which is made up of a string (that is used to hold the name of the person) and an integer (that is used to hold the telephone number).
Take a look at the exam

See More at below link
http://www.epistemesoft.com/Articles.aspx


Linux Signal Explained in Detail:
-----------------------------------------------
Linux supports both POSIX reliable signals (hereinafter "standard signals") and POSIX real-time signals.
Signal dispositions :-
Each signal has a current disposition, which determines how the
process behaves when it is delivered the signal.
The entries in the "Action" column of the tabl


See More at below link
http://www.epistemesoft.com/Articles.aspx

Linux Kernel Explained in Detail:
-----------------------------------------------
What is the Kernel?
A kernel is the lowest level of easily replaceable software that interfaces with the hardware in your computer. It is responsible for interfacing all of your applications that are running in “user mode” down to the physical hardware, and allowing processes, known as servers, to get information from


See More at below link
http://www.epistemesoft.com/Articles.aspx

Fork and Wait System Calls and it's Programs:
-----------------------------------------------
fork()
We can create a new process by calling fork(). This system call duplicates the current process, creating a new entry in process table with many of the same attributes as the current process. In other words, the newly created process will be the child of the calling process (parent).
The key point to underst


See More at below link
http://www.epistemesoft.com/Articles.aspx

Linked List with Example Program:
-----------------------------------------------
1. It is a data Structure which consists if group of nodes that forms a sequence.
2. It is very common data structure that is used to create tree,graph and other abstract data types.
Linked list comprise of group or list of nodes in which each node have link to next node to form a chain.
Linkled list Definition:

See More at below link
http://www.epistemesoft.com/Articles.aspx

Usage of Linux Sockets in Programs:
-----------------------------------------------
Sockets are an inter-process network communication implementation using an Internet Protocol (IP) stack on an Ethernet transport. Sockets are language and protocol independent and available to "C", Perl, Python, Ruby and Java (and more) programmers. The "C" language BSD API is used on Linux, all popular variants of Uni


See More at below link
http://www.epistemesoft.com/Articles.aspx

How to write a Function:
-----------------------------------------------

/* Write a C program to add two integers. Make a function add to add integers and display sum in main() function. */
‪#‎include‬
int add(int a, int b); //function prototype(declaration)
int main(){
int num1,num2,sum;
printf("Enters two number to add\n");
scanf("%d %d",&nu


See More at below link
http://www.epistemesoft.com/Articles.aspx

Algorithms Used in Data structures:
-----------------------------------------------
What is a data structure? What are the types of data structures?
The scheme of organizing related information is known as ‘data structure’. The types of data structure are:
Lists: A group of similar items with connectivity to the previous or/and next data items.
Arrays: A set of homogeneous values
Records: A set o

See More at below link
http://www.epistemesoft.com/Articles.aspx



Linux Inter process communication ( IPC ):
-----------------------------------------------
Processes communicate with each other and with the kernel to coordinate their activities. Linux supports a number of Inter-Process Communication
(IPC) mechanisms. Signals and pipes are two of them but Linux also supports the System V IPC mechanisms named after the Unix TM release in which they
first appeared.
In


See More at below link
http://www.epistemesoft.com/Articles.aspx



No comments:

Post a Comment