Sunday, 4 June 2017

Exiting Offers From Episteme Soft

Looking at the present market conditions where fresher jobs are less and studying in abroad is difficult, Episteme Soft brings few exiting offers, First batch of 2017 Exciting Offer: Get Embedded Systems@20,000+S.Tax and L2, L3 protocol programming Course@30,000Rs+S.Tax, take two and get RT-Project on TCP.IP Protocols development FREE and also maintain no gaps with experience and salary from day one, Training by 15+ Exp, US returned Cisco Chip designer, Contact for more info: 
Episteme Soft Pvt Ltd, 507 Maitrivanam Huda Complex, Hyderabad India - 500 038, Ph: (+91)-040-40267399, 09573400900

http://www.epistemesoft.com/Articles.aspx

Friday, 4 November 2016

Looks like IOT era started - Chip companies catching up

Broadcom and Qualcomm chipmaking companies has been on a shopping spree....

Broadcom aquired Brocade, specialises in data storage and networking, while Broadcom provides connectivity components, like Wi-Fi chips, to companies like Apple, HTC and LG. The move comes at a time where data centres are increasingly important, thanks to the advent of the Internet of Things (IoT) as IoT technology is responsible for connecting regular old objects, like lights, fridges and dishwashers, to the internet. As more appliances become smart, and autonomous cars drive in our near future, greater data storage is needed.

On the other hand Qualcomm aquired NXP Semiconductor for expertise in security, identity and automotive processor components, to complement its mobile, IoT and wireless radio business. It’s a smart move by Qualcomm to help it continue to be a key player in the chip industry, as connected vehicles with increasing amounts of on-board tech, and digital security in general, become areas where more attention and investment is focused.



Thursday, 3 November 2016

Broadcom buys Brocade for data centre cloud

The chip industry has been undergoing rapid consolidation as companies try to capture market share, much of it related to connected devices and cars, and Avago/Broadcom has been one of the sector's most prolific acquirers.

The deal, the latest in a consolidating chip sector, will allow Broadcom to corner a larger share of the data center products market by using Brocade's fiber channel switches that speed up data transfer between servers and storage devices.

Singapore-based Broadcom, formerly Avago Technologies, is known for its connectivity chips used in products ranging from mobiles to servers, while California-based Brocade makes networking switches, software and storage products.

The market for IT infrastructure products is expected to expand rapidly. Total spending on cloud infrastructure, including server, storage and ethernet switches, will increase by 15.5 percent to $37.1 billion in 2016, according to research firm IDC.

Broadcom said it planned to sell Brocade's networking business, which makes controllers and access points that help businesses offer high-speed internet to their customers, to avoid competing with its top customers such as Cisco, Hewlett Packard Enterprise and Intel Corp.

Since taking over the top job at Avago a decade ago, Chief Executive Hock Tan has turned around a small chipmaker into a giant with a market capitalization of $67 billion.

As the chip industry has been undergoing rapid consolidation, the biggest chip deal ever, smartphone chipmaker Qualcomm Inc agreed last week to buy NXP Semiconductors NV for about $38 billion, making it the leading supplier to the fast-growing automotive chips market.

Tuesday, 14 June 2016

Looking for MS in USA, GRE , TOFEL & US VISA Be Careful ! Learn to write computer programs

Nearly 25 of the 60 students in the program must leave. It is because they were unable to write computer programs, a necessary part of the curriculum and a skill that United States schools teach to undergraduates. So students be careful it will be applied to other universities in US as well in the near future.
Learn C skills, write programs and get programming skills required for US universities.

Sunday, 10 April 2016

Model Papers for Interview of companies like Cisco, Global Edge, Smart play, Sasken, Broadcom, Qualcomm and more....

Model Paper 1

1) Who is father of C Language?
A. Bjarne Stroustrup
B. Dennis Ritchie
C. James A. Gosling
D. Dr. E.F. Codd

2) C Language developed at _____?
A. AT & T's Bell Laboratories of USA in 1972
B. AT & T's Bell Laboratories of USA in 1970
C. Sun Microsystems in 1973
D. Cambridge University in 1972

3)  For 16-bit compiler allowable range for integer constants is ______ ?
A. -3.4e38 to 3.4e38
B. -32767 to 32768
C    -32768 to 32767
D. -32668 to 32667

4)  C programs are converted into machine language with the help of
A. An Editor
B.  A compiler
C. An operating system
D. None of the above

5)  A C variable cannot start with
A. An alphabet
B. A number
C. A special symbol other than underscore
D. both (b) and (c)

6)  Which of the following is allowed in a C Arithmetic instruction
A. []
B. {}
C.  ()
D. None of the above

7) Which of the following shows the correct hierarchy of arithmetic operations in C
A. / + * -
B. * - / +
C. + - / *
D. * / + -

8) What is an array?
A. An array is a collection of variables that are of the dissimilar data type.
B. An array is a collection of variables that are of the same data type.
C. An array is not a collection of variables that are of the same data type.
D. None of the above.

9) What is right way to Initialization array?
A. int num[6] = { 2, 4, 12, 5, 45, 5 } ;
B. int n{} = { 2, 4, 12, 5, 45, 5 } ;
C. int n{6} = { 2, 4, 12 } ;
D. int n(6) = { 2, 4, 12, 5, 45, 5 } ;

10) An array elements are always stored in _________ memory locations.
A. Sequential
B. Random
C. Sequential and Random
D. None of the above

11) Bitwise operators can operate upon?
       A.  double and chars
B. floats and doubles
C. ints and floats
D. ints and chars

 12) What is C Tokens?
A. The smallest individual units of c program
B. The basic element recognized by the compiler
C. The largest individual units of program
D. A & B Both

13) What is Keywords?
A. Keywords have some predefine meanings and these meanings can be changed.
B. Keywords have some unknown meanings and these meanings cannot be changed.
C. Keywords have some predefine meanings and these meanings cannot be changed.
D. None of the above

14) What is constant?
A. Constants have fixed values that do not change during the execution of a program
B. Constants have fixed values that change during the execution of a program
C. Constants have unknown values that may be change during the execution of a program
D. None of the above

15) What is the right way to access value of structure variable book{ price, page }?
A. printf("%d%d", book.price, book.page);
B. printf("%d%d", price.book, page.book);
C. printf("%d%d", price..book, page..book);
D. printf("%d%d", price->book, page->book);

16) perror( ) function used to ?
A.Work same as printf()
B. prints the error message specified by the compiler
C. prints the garbage value assigned by the compiler
D. None of the above

17)Which is the right way to declare constant in C?
A.int constant var =10;
B. int const var = 10;
C. const int var = 10;
D. B & C Both

18) Which operators are known as Ternary Operator?
A. .., ?
B. ?, .
C. ?, ;;
D. None of the above

19) In switch statement, each case instance value must be _______?
A. Constant
B. Variable
C. Special Symbol
D. None of the above

20) What is the work of break keyword?
A. Halt execution of program
B. Restart execution of program
C. Exit from loop or switch statement
D. None of the above

21) What is function?
A. Function is a block of statements that perform some specific task.
B. Function is the fundamental modular unit. A function is usually designed to perform a specific task.
C. Function is a block of code that performs a specific task. It has a name and it is reusable
D. All the above

22) Which one of the following sentences is true?
A. The body of a while loop is executed at least once.
B. The body of a do ... while loop is executed at least once.
C. The body of a do ... while loop is executed zero or more times.
D. A for loop can never be used in place of a while loop.

23) A binary tree with 27 nodes has _______ null branches.
A. 54
B. 27
C. 26
D. None of the above

24) Which one of the following is not a linear data structure?
A. Array
B. Binary Tree
B. Queue
D. Stack

25) Recursive functions are executed in a?
A. First In First Out Order
B. Load Balancing
C. Parallel Fashion
D. Last In First Out Order

26) Queue is a _____________ list.
A. LIFO
B. LILO
C. FILO
D. FIFO

27) The statement print f ("%d", 10 ? 0 ? 5 . 1 . 12); will print?
A. 10
B. 0
C. 12
D. 1

28) To represent hierarchical relationship between elements, which data structure is suitable?
A. Priority
B. Tree
C. Dqueue
D. All of the above

29) Which of the following data structure is linear type?
A. Strings
B. Queue
C. Lists
D. All of the above

30) The statement printf("%c", 100); will print?
A. prints 100
B. print garbage
C. prints ASCII equivalent of 100
D. None of the above

see more at below link...

Friday, 11 September 2015

Embedded System Concepts


1. What is an Embedded System? Give some examples of
embedded system in daily life.

Ans. Embedded System is a system which hides a small computation unit inside. This computer is not general purpose computer like our Desktop PC but a small micro controller or microprocessor. Embedded System is designed to perform specific tasks. Best example of an Embedded System is our mobile phone which includes a processing unit or no. of processing units along with peripherals like keypad/touchpad, touch screen, LCD, Communication modules etc.
There are other examples like Electronic System in washing machine, ATM machine, front panel of Microwave oven, printers, TV, set top boxes, Remote control, Dashboard of a 4-wheeler and many more. If you observe carefully we are surrounded by a no. of embedded system and use them very frequently in our day to day life.

2. What are basic features of an Embedded System?
Ans. A good embedded system must possess following features…
• Microcontroller based
• Software driven
• Reliable
• Real time control system
• Autonomous and human interactive
• Operating on diverse physical variables
• Operating in diverse environments

3. What are various categories of an Embedded System based on complexity?
Ans. Embedded Systems can be broadly classified in three categories…
a. Small Scale – 8/16 bit CPU, little hardware, less software
complexity, no RTOS, battery operated.
b. Medium scale – 16/32 bit uC or DSPs, Complex hardware and
software design, RTOS source code engg tool, IDE.
c. Sophisticated – Configurable processors, Cutting edge applications, highly complex hardware and software design.

4. Why PC can’t be treated as an Embedded System?
Ans. Of course PC is also embedded with a processing unit but still it can not be called as an Embedded System. The reason is very clear that PC is not supposed to do a specific task. For a bank employee PC is accounting add for his work while for an engineer it is designs add. For a doctor PC helps to analyze patient reports and for children it’s more like video game or a communication system to stay connected with their friends through social networking websites. Hence PC has different applications for different people; hence it cannot be treated as an
embedded system.

5. What is difference between a PC based System and an Embedded System?
Ans. A PC based system is bulky hence difficult to be deployed specially in remote areas. For example if one wants a data logger system to monitor all the processes and events in an aircraft or on a hilly area, PC is never a suitable option. In this case an Embedded System can do the job well consuming very small space. Also PC based system are not so cost efficient and as reliable as embedded systems.

6. Ok if embedded systems are so important and popular than why PCs still exist, why can’t we use embedded systems instead of PCs?
Ans. Well PC works with operating systems and they support comprehensive cross compilers for generating executable files for embedded systems. Hence we can never ignore the importance of PCs.

7. What are the main components of an Embedded System?
 
see more at below link...

Wednesday, 19 August 2015

Write a program to reverse the digits of a given integer, factorial of a number, sum of digits of a given number and multiplication table ?

Write a program to reverse the digits of a given integer, factorial of a number, sum of digits of a given number and multiplication table ?
1.Program to print multiplication table
‪#‎include‬ < stdio.h > 
int main() 
{ 
int i,j,n,m; 
int a[50],b[50]; 
printf("enter the number\n"); 
scanf("%d",&n); 
printf("enter the size of table\n"); 
scanf("%d",&m);
for(i=1,j=1;i<=m;i++,j++) 
{ 
b[j]=(n * i); 
printf("%d X %d = %d",n,i,b[j]);
Please look more at the below link.....
http://www.epistemesoft.com/Articles.aspx

Saturday, 8 August 2015

Types of IPC's in Linux

Inter-Process-Communication (or IPC for short) are mechanisms provided by the kernel to allow processes to communicate with each other. On modern systems, IPCs form the web that bind together each process within a large scale software architecture.
The Linux kernel provides the following IPC mechanisms:
Signals 
Anonymous Pipes 
Named Pipes or FIFOs 
SysV Message Queues 
POSIX Message Queues 
SysV Shared memory 
POSIX Shared memory 
SysV semaphores 
POSIX semaphores 
FUTEX locks 
File-backed and anonymous shared memory using mmap 
UNIX Domain Sockets 
Netlink Sockets 
Network Sockets

Usage of Linux Signal handler

Definition 
• A signal is an asynchronous event which is delivered to a process. 
• Asynchronous means that the event can occur at any time 
- may be unrelated to the execution of the process 
- E.g. user types ctrl-C or the modem hangs
Name Description Default Action 
SIGINT Interrupt character typed terminate process 
SIGQUIT Quit character typed (^\) create core image 
SIGKILL kill -9 terminate process 
SIGSEGV Invalid memory reference create core image 
SIGPIPE Write on pipe but no reader terminate process 
SIGALRM alarm() clock ‘rings’ terminate process 
SIGUSR1 user-defined signal type terminate process 
SIGUSR2 user-defined signal type terminate process
Generating a Signal 
• Use the UNIX command: 
$ kill -KILL 4481 
– send a SIGKILL signal to pid 4481 
– check 
? ps –l 
– to make sure process died 
• kill is not a good name; send....
Please look more at below link...
http://www.epistemesoft.com/Ariticle%20more.aspx…

Types of Linux Sockets

Sockets allow communication between two different processes on the same or different machines. To be more precise, it's a way to talk to other computers using standard Unix file descriptors. In Unix, every I/O action is done by writing or reading a file descriptor. A file descriptor is just an integer associated with an open file and it can be a network connection, a text file, a terminal, or something else.
To a programmer, a socket looks and behaves much like a low-level file descriptor. This is because commands such as read() and write() work with sockets in the same way they do with files and pipes.
Where is Socket Used?
A Unix Socket is used in a client-server application framework. A server is a process that performs some functions on request from a client. Most of the application-level protocols like FTP, SMTP, and POP3 make use of sockets to establish connection between client and server and then for exchanging data.
Syntax:
int socket(int domain, int type, int protocol)

Here., Domain refers to: Socket Family
Ex:AF_UNIX,AF_INET ,AF_NETLINK etc.
Protocol refers to: The type of Protocol we want to use
Ex:TCP,UDP,ICMP etc.
Type refers to: Socket Service Type

Socket Service Types:

The following socket types are.....
http://www.epistemesoft.com/Ariticle%20more.aspx…

Linux Process Management

Process Descriptors:
• The kernel maintains info about each process in a 
• process descriptor, of type task_struct. 
• See include/linux/sched.h 
• Each process descriptor contains info such as run-state of process, address space, list of open files, process priority etc...
Content of Process Descriptors:
struct task_struct 
{ 
volatile long state; /* -1unrunnable, 0runnable, >0 stopped */ 
unsigned long flags; /* per process flags */ 
mm_segment_t addr_limit; /* thread address space: 0-0xBFFFFFFF for user-thread 
0-0xFFFFFFFF for kernel-thread */ 
struct exec_domain *exec_domain; 
long need_resched; 
long counter; 
long priority; 
/* SMP and runqueue state */ 
struct task_struct *next_task, *prev_task; 
struct task_struct *next_run, *prev_run; 
... 
/* task state */ 
/* limits */ 
/* file system info */ 
/*ipc stuff */ 
/*tss for this task */ 
/*filesystem information */ 
/* open file information */ 
/* memory management info */ 
/* signal handlers */
... 
}
Process State:
Consists of an array of mutually exclusive flags* 
*at least true for 2.2.x kernels.....
Look more at below link......
http://www.epistemesoft.com/Ariticle%20more.aspx…

Usage of a Pointer in C

HOW TO DECLARE A POINTER ?
A pointer is declared as : 
< pointer type > * < pointer-name > 
In the above declaration : 
1. pointer-type : It specifies the type of pointer. It can be int,char, float etc. This type specifies the type of variable whose address this pointer can store. 
2. pointer-name : It can be any name specified by the user. Professionally, there are some coding styles which every code follows. The pointer names commonly start with ‘p’ or end with ‘ptr’ 
An example of a pointer declaration can be : 
char *chptr; 
In the above declaration, ‘char’ signifies the pointer type, chptr is the name of the pointer while the asterisk ‘*’ signifies that ‘chptr’ is a pointer variable.
How to initialize a Pointer? 
A pointer is initialized in the following way : 
< pointer declaration(except semicolon) > = < address of a variable >
OR
< pointer declaration > 
< name-of-pointer > = < address of a variable > 
Note that the type of variable above...

Embedded Systems Articles-4


Overview of Linux Process:
-----------------------------------------------
A Process is one of the most important fundamental concepts of the Linux operating system. This article focuses on the basics of Linux processes.
Process
A process is an instance of a program running in Linux. This is the basic definition that you might have heard before. Though its simple enough to understand bu

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

Data Structures and it's types in C:
-----------------------------------------------
It is a logical way of storing data and it is also define mechanism of retrieving data. To construct an abstract software model of a collection, we start by building the formal specification. The first component of this is the name of a data type this is the type of objects that belong to the collection class. In C, we

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

Protocols used every day for Internet Browsing:
-----------------------------------------------
Communication on the Internet network is governed by various protocols. These protocols, or rules, spell out how the participants in various network processes should behave. Application protocol is one such protocol.
Application Protocol
Application protocols govern various processes, such as the process for download

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

Predefined and User defined Functions:
-----------------------------------------------
Function is a block of codes which do a specific task. When we have a large line of code, developed for a real time application we divide the program in to small blocks called functions. Every program has minimum 1 function which is our main() function. Every code starts executing from the main() function .
Function

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

Connectionless-mode Network Protocol (CLNP):
-----------------------------------------------
Is an OSI protocol deployment. CLNS is the service provided by the Connectionless-mode Network Protocol (CLNP). CLNP is widely used in many telecommunications networks around the world because IS-IS (an OSI routing protocol) is mandated by the ITU-T as the protocol for management of Synchronous Digital Hierarchy (SDH)

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

Function call in C from Main:
-----------------------------------------------
All C functions can be called either with arguments or without arguments in a C program. These functions may or may not return values to the calling function. Now, we will see the types of calling.
1. C function with arguments (parameters) and with return value
2. C function with arguments (parameters) and without r

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

What is file transfer protocol FTP:
-----------------------------------------------
The file transfer protocol (FTP) is a standard network protocol used to transfer computer files from one host to another host over a TCP-based network, such as the internet
1. FTP is built on a client-server architecture and uses separate control and data connections between the clien

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

What is a Pointer in C:
-----------------------------------------------
C Pointer is a variable that stores/points the address of another variable.C Pointer is used to allocate memory dynamically i.e. at run time. The pointer variable might be belonging to any of the data type such as int, float, char, double, short etc.
Syntax : data_type *variableName;
Example : int *p;

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

Command to See Processes and Threads in Linux:
-----------------------------------------------
How do I see all running process in Linux operating systems using command line or GUI options?
You need to use the ps command. It provide information about the currently running processes, including their process identification numbers (PIDs). Both Linux and UNIX support the ps command to display information about a



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



Embedded Systems Articles-3


Dynamic Allocation and Pointer:
-----------------------------------------------
What Are Pointers
Pointers are basically the same as any other variable. However, what is different about them is that instead of containing actual data, they contain a pointer to the memory location where information can be found. This is a very important concept. Many programs and ideas rely on pointers as the basis

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

Array Of Structures:
-----------------------------------------------
C Structure is collection of different datatypes ( variables ) which are grouped together. Whereas, array of structures is nothing but collection of structures. This is also called as structure array in C.
Example:
This program is used to store and access “id, name and percentage” for 3 students. Structure array

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

Socket System Calls:
-----------------------------------------------
Let’s look at a call to socket() (the includes required are sys/types.h and sys/socket.h):
int socket(int domain, int type, int protocol);
A successful call to socket() returns a descriptor that will be used for end-point communication. The first argument, domain, specifies a communication domain — the protocol famil

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

While Loop:
-----------------------------------------------
/*C program to demonstrate the working of while loop*/
#include <stdio.h>
int main()
{
int number,factorial;
printf("Enter a number.\n");
scanf("%d",&number);
factorial=1;
while (number>0)
{
factorial=factorial*number;
--number

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

A Small notes on Internet Protocol (IP):
-----------------------------------------------
TCP/IP includes a wide range of protocols which are used for a variety of purposes on the network. The set of protocols that are a part of TCP/IP is called the TCP/IP protocol stack or the TCP/IP suite of protocols. The Network layer is also know as the internet layer. The internet layer is a group of internetworking m

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

Linux Process creation:
-----------------------------------------------
Process Descriptors:
The kernel maintains info about each process in a process descriptor, of type task_struct.
See include/linux/sched.h
Each process descriptor contains info such as run-state of process, address space, list of open files, process priority etc…
Process State:
Consists of an array of mutually ex

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

A small note on Protocol:
-----------------------------------------------
Application layer is the top most layer in OSI and TCP/IP layered model. This layer exists in both layered Models because of its significance, of interacting with user and user applications. This layer is for applications which are involved in communi

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

A small note on Linux Kernel:
-----------------------------------------------
kernel is the innermost portion of the operating system, where user interface is the outer portion. kernel is the core internal, the software that provides the basic services for all the other parts of the system, manage hardware and distributes system resources.
applications running on the system communicate with th

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

C Structure in Detail:
-----------------------------------------------
C Structure is a collection of different data types which are grouped together and each element in a C structure is called member.
• If you want to access structure members in C, structure variable should be declared.
• Many structure variables can be declared for same structure and memory will be allocated for each

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

C Pointers in Detail:
-----------------------------------------------
Pointers have many but easy concepts and they are very important to C programming. There are following few important pointer concepts which should be clear to a C programmer:
Passing pointers to functions in C:
C programming language allows you to pass a pointer to a function. To do so, simply declare the function pa

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

A note on Linux Signal:
-----------------------------------------------
signal:
Signals are software interrupts.
A robust program need to handle signals. This is because signals are a way to deliver asynchronous events to the application.
A user hitting ctrl+c, a process sending a signal to kill another process etc are all such cases where a process needs to do
signal handling.
Li

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



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



Monday, 3 August 2015

Embedded Systems Articles-1

Functions in C
C functions are basic building blocks in a program. All C programs are written using functions to improve re-usability, understandability and to keep track on them. You can learn below concepts of C functions in this section in detail.
1. What is C function?
2. Uses of C functions
3. C function declaration, func


More..

Linked lists in C

This article explains the fundamentals of C linked list with an example C program.
Linked list is a dynamic data structure whose length can be increased or decreased at run time.
How linked lists are arranged in memory?
Linked list basically consists of memory blocks that are located at random memory locations.
More...

Network Protocols
Network protocols are standard rules or conventions that govern the communications between network devices. The network devices like router and switches that follows the network protocols to communicate with each other instead of their different internal architecture. Basically the data travels in the form of packets c


More...

Inter Process Communications ( IPC)
Processes communicate with each other and with the kernel to coordinate their activities. Linux supports a number of Inter-Process Communication (IPC) mechanisms.
Interprocess communication (IPC) is the Mechanism where one or more process can send and receive/communicate data with each other. Process may be running in

More...

Pointers in C
Pointers are a fundamental part of C. If you cannot use pointers properly then you have basically lost all the power and flexibility that C allows. The secret to C is in its use of pointers.
C uses pointers a lot. Why?
-> It is the only way to express some computations.
-> It produces compact and efficient code.

More...

Linux Process
Process:
Process is instance execution of a program. Linux can manage the processes in the system, each process is represented by
a task_struct data structure (task and process are terms that Linux uses interchangeably). The task vector is an array
of pointers to every task_struct data structure in the system.

More...

Linux Kernel
The kernel is a program that constitutes the central core of a computer operating system. It has complete control over everything that occurs in the system.
1) A kernel can be contrasted with a shell (such as bash, csh or ksh in unix-like operating systems),
2) which is the outermost part of an operating system an

More...

Please look more at below link....
http://www.epistemesoft.com/Articles.aspx

Friday, 31 July 2015

UNIX/LINUX commands

1. tar command examples
Create a new tar archive.
$ tar cvf archive_name.tar dirname/
Extract from an existing tar archive.
$ tar xvf archive_name.tar
View an existing tar archive.
$ tar tvf archive_name.tar

2. grep command examples
Search for a given string in a file (case in-sensitive search).
$ grep -i "the" demo_file
Print the matched line, along with the 3 lines after it.
$ grep -A 3 -i "example" demo_text
Search for a given string in all files recursively
$ grep -r "ramesh" *

3. find command examples
Find files using file-name ( case in-sensitve find)
# find -iname "MyCProgram.c"
Execute commands on files found by the find command
$ find -iname "MyCProgram.c" -exec md5sum {} \;
Find all empty files in home directory
# find ~ -empty

4. ssh command examples
Login to remote host
ssh -l jsmith remotehost.example.com
Debug ssh client
ssh -v -l jsmith remotehost.example.com
Display ssh client version
$ ssh -V
OpenSSH_3.9p1, OpenSSL 0.9.7a Feb 19 2003

5. sed command examples
When you copy a DOS file to Unix, you could find \r\n in the end of each line. This example converts the DOS file format to Unix file format using sed command.
$sed 's/.$//' filename
Print file content in reverse order
$ sed -n '1!G;h;$p' thegeekstuff.txt
Add line number for all non-empty-lines in a file
$ sed '/./=' thegeekstuff.txt | sed 'N; s/\n/ /'

see more at below link
http://www.epistemesoft.com/Articles.aspx

Tuesday, 28 July 2015

Programs to be explained in short

Programs to be explained in short
Q1.
main() 
{ 
int i=3; 
switch(i) 
{ 
default:printf("zero"); 
break; 
case 1: printf("one"); 
break;
more.................
Q2.
main() 
{ 
printf("%x",-1<<4); 
}
more..............
Q3. 
‪#‎define‬ uint16 unsigned short int 
main() 
{ 
uint16 i=65; 
printf("sizeof(i)=%d",sizeof(i)); 
}

Saturday, 25 July 2015

Program to reverse a given string:

#‎include‬ < stdio.h > 
#include < string.h >
void ReverseString (char *String); 
main() 
char string[] = "Episteme Soft India";
ReverseString(string);

One line Interview Questions on Linux Signals and Linux Process

Signal: A signal tells our program that some event has occurred
SIGINT: Interrupt signal from terminal (ctrl-c)
SIGTSTP: Stop signal from terminal (ctrl-z)
SIGCHLD: A child process has stopped or terminated

Send Signal to Process: int kill(pid_t pid, int sig)
Send Signal to Groups: int kill(pid_t gid, int sig)
More..
One line Interview Questions on Linux Process
Process: An instance of running program
Context switching: Multiple processes run “concurrently” by time slicing
RTOS: Preemptive scheduler of OS
Process vs Threads: Threads are logical flows that run in the context of a single process.
PID: A process has its own, unique process ID: pid_t getpid();
More at below link
http://www.epistemesoft.com/Articles.aspx