Stack is a Last In First Out (LIFO) data structure.
Queue is a First In First Out (FIFO) data structure
Write a fucntion that will reverse a string?
char *strrev(char *s)
int i = 0, len = strlen(s);
if ((str = (char *)malloc(len+1)) == NULL)
/*cannot allocate memory */
err_num = 2;
str[i] = NULL;
What is the software Life-Cycle?
The software Life-Cycle are
1) Analysis and specification of the task
2) Design of the algorithms and data structures
3) Implementation (coding)
5) Maintenance and evolution of the system
What is the difference between a Java application and a Java applet?
The difference between a Java application and a Java applet is that a Java application is a program that can be executed using the Java interpeter, and a JAVA applet can be transfered to different networks and executed by using a web browser (transferable to the WWW).
Name 7 layers of the OSI Reference Model?
-Data Link layer