Saturday 28 February 2015

FAT Pipe

SELECTION PROCEDURE:

there were Five rounds
First written test in Vector.
   DURATION: 3hrs 
   SUBJECT:- C,Linux,Networking
C QUESTIONS:---

   1)first 5 questions on C Function Prototype:
     i) memmove ii) getchar iii)scanf iv) fprintf v)fwrite
   2)Short notes:-
     i)null pointer ii)array of pointer iii)Pointer to an array iv)function pointer
   3)what is structure padding, What is structure hole & how will it avoided?
   4)Write a program for addition of variable arguments using variable argument list             function?
   5)Write a program to find out which string having small length and string should be          given through command line?
   6)What is the difference between function and macro?

LINUX QUESTION:-

   1)First 5 Question on Linux command:
      i)nm ii)ldd iii)ar iv)path v)ln
   2)5 function prototype:
      i)fork ii)semop iii)select iv)msgrcv v)pthread_join
   3)what is demon process,how to create it?
   4)What is the difference between process and thread?
   5)What is fork and vfork?
   6)what is semaphore? What are the system call needed to create it?
   7)What are difference between semaphore and mutex?

NETWORKING QUESTION:-

  i)5 function prototypes:-
    i)recvfrom ii)gethostbyname iii)ioctl iv)connect v)socket
  2)5 commands:-
    i)netstat ii)tracert iii)arp iv)ulimit v)ping
  3)What is 3 way handshaking method?
  4)What is the difference between FTP and TFTP?
  5)What is the difference between TCP & UDP?
  6)In which layer the connecting devices are connected
    i)bridge ii)router iii)switch iv)geteway v)hub
   7)what is router how internally it maintaining hop counts.
   8)Write a server client program server has to handle multiple client using fork system       call?  

FIRST TELEPHONIC:-
  1) What is structure and advantages of union on structure?
   2)What is bit addressing?
   3)What is storage classes?
   4)Memory organisation of c?
   5)What is recursion and call back function?
   6)What is the difference between switch and else if?
   7)What is file and what is the need of file handling what are the functions needed for file handling?
   8)What is inline and macro and what is the difference among them?
   9)What is the difference between bit wise & logical operator?
   10)What is null pointer?
   11)What is zombie and how to avoid it?
   12)What is the difference between wait and waitpid?
   13)what is semaphore and mutex?
   14)what is the difference between process and thread?
   15)what is difference between EXIT AND _EXIT?
   16) What is Hashing?
   17)Steps for boot?
   18)command to know how many zombie process are in ur system?
   19)What is core?
    20)What is dead lock system?
    21)What is DNS?
   22)What is router?
   23)What is ARP?
   24)Tell me what are the system call you know?
   25)What is IP, size of Ip address and details?
   26)What is Gateway?
   
SECOND TELEPHONIC:-

    1)Compilation stage?
    2)What is inode number and where it is stored?
    3)What is GDB and what are the step?
    4)What is IOCTL?
    5)How to make macro as case sensitive?
    6)What is pragma?
    7)What is STRDUP?
    8)How to Know Ur OS is working properly?
    9)Command for Know how much memory free in hard disk?
   10)How to Know which server is connected to ur system?
    11)How to know server know there is no client?
    12)What is volatile?
    13)How can you minimize size of executive file, How can you implement?

First Written Test:-
DURATION:-1.30 hrs.
SUBJECT:- C , LINUX , NETWORKING
   1)Write a program to implement grep -n command?
   2)W.A.P to create a client server program in that client has to send one file name to   server,Server has to search that file through out the system if it is present more than one time then it has to copy one file to the PWD and other to be deleted. And after that server has to send the content of that file to client and client have to save that content in a different named file.
Server:- ./<execute file>  <port no>
Client:-  ./<execute file>   <port no>  <file name>  <New file name>  
   3)What is IP Header and TCP Header? Draw the block diagram of both header and Explain this and How these header will be implemented.
   4)Explain following 5 commands:-
     i)ssh ii)telnet iii)netstat iv)Export v)fdisk
   5)W.A.P to reverse a string using recursion?
   6)What is type casting, why it used explain with example?
   7)What is IOCTL and How it will be implemented? 
   8)13 C puzzles.
Second Written test:-
    30 marks reasoning Question.
Third Written test:-
     20 Marks English Grammatical competencies Question.
Technical Round:-
   1)Self Intro.
   2)Project description.
   3)What are the mistake you done in written test?
   4)What is signal and What is real signal?
   5)Write a program to print semicolon( ; ) without using semicolon through out the program?
   6)What is the output?
      printf("%u",-1);


   7)printf("Enter the string");
      scanf("%s",str);
      printf(str);
    What is the output if any error or any warning what is that?
   8)int a=10,b=2, c=5;
      printf("%d %d %d");
     What is the output and why?
   9)What is Hashing Explain Briefly?
   10)how can  we conform that which port is connected to which IP Address?
   11)What is GREP command and how many way we can use this?
   12)Write a program to find the "process" string in a file and print the line which consist only the string "process" Not like "zombieprocess" Using GREP command?
   14)What is the command to print top 10 process Which is using maximum CPU time?
   15)Assume the are 100 system are in the N/W and 10 system are connected to your system How to know which system are connected to your system?
   16)What is bridge why it is used and Explain it working?
   
HR Round:-
   1)Give Brief Self Intro?
   2)Tell something about Ur Family?
   3)Who is Ur roll model and why?
   4)What is Ur Weakness?
   5)If you want to change something in Ur life What is that?
   6)Why should we hire you?


   7)Tell something about FATPipe ?