You are on page 1of 38

Table of contents

General.............................................................................................................................2 C programs, concepts:.....................................................................................................3 Unix................................................................................................................................17 Others (Domain, Testing, Design, UML, GUI, Protocol stack, TL1 ):........................21 Software Engineering:....................................................................................................24 Logical:...........................................................................................................................25 Configuration management, build, makefile:................................................................25 C++ ( & Java )................................................................................................................26 VC++..............................................................................................................................31 Java ................................................................................................................................31 SNMP:............................................................................................................................34 Database, ProC...............................................................................................................34 Debugging .....................................................................................................................34 Networking Concepts.....................................................................................................34 TTCN..............................................................................................................................35 Questions on UMTS:.....................................................................................................37 Questions on EMS:........................................................................................................37 Questions on Cantata:....................................................................................................37 Questions on RLC:.........................................................................................................37 Project Specific, Specialization Specific ( B.E or MCA )............................................38 Project Specific, Specialization Specific ( B.E or MCA )............................................38 Win32/MFC/COM Programming..................................................................................38 Puzzles, Logical Questions............................................................................................38

General 1. Tell me about yourself, your ambition, any achievement. 1. Rate yourself -- in this interview out of 10. 2. Explain about the project? ( or Detail analysis of your project. ) 3. Subjects you liked in B.E. 4. Would you like to work in testing or development? 5. If I give C and C++ languages to you , which language you prefer to develop an application. 6. Explain the project which you liked the most. 7. How many project have you done at Satyam. 8. Explain your role in your previous project. 9. Explain with the help of block diagrams the software architecture of your previous project 10. Tell me about the last project. (this has taken most of the time) 11. Draw the block diagram for the project. 12. How comfortable are you with C, C++? 13. A detailed explanation of ANSWER project. 14. How do you rate yourself for Unix, C, C++ ,GSM/GPRS 15. Explain about your recent project. Have you designed the database for this project? 16. In which area you are interested to work? 17. If we ask to work on Java or RTOS, are you interested? 18. Are you familiar with data structures? 19. Many questions from project Eg:-how do u handle multiple requests in socket programming? 20. In detail, Explain each project with team count, role and environment 21. Are you familiar with C, C++, Java. And how much do you rate for each. 22. You have so much experience would you be interested in working as a contractor. 23. The job profile you are looking for? 24. Would you like to work as a team member? 25. Explain about the present project.Why did you want to implement it, when ready made stacks are available. What are the applications. 26. How many LOC in C++ have you done? 27. Are you comfortable with the UNIX environment? 28. Asked me to tell what TOAD is. (they saw that in my resume, Tool for Oracle Application Developers) 29. How comfortable are you with UML? 30. Have you ever used any config management tool? 31. How did you keep track of errors in your previous projects? 32. Asked me about the Pro *C/C++ precompiled, which we have used extensively in previous projects. 33. Why u used lists and hadn't used other data structures. 34. Given a project ,c++ development takes 7 months and c development takes 5 months. How u will convince the client that c++ is better better choice. 35. How u will test the NAS project(MM Layer). 36. How u are implementing MM Layer.Are u using any tools to generate some part of the code. 37. Your long term goals and short term goals. 38. How long will it take to understand C++ code of 300 lines. To understand what r the prerequisites.and what duration is required to code the same. 39. How can u make sure that after code review , there no bugs will be there. 40. Problems faced while testing the project and how did i handle it ?

How were we using the state table in our programs. and how can represent it ? Write documentation for a function of 10 line what do you feel about the development projects? should they be carried out at a stretch? What were the constraints for writing code for Mobile Phone in Japan. e.g.. memory, performance etc. 45. In case I ask you to give me a function how will you give the delivery. i.e. What document will you give, what files will you give. 46. What is the difference between c and c++? 47. They will tell you to write a part of code of your project and tell you to explain it. They will ask what things you need to take care while coding. ( or The problems faced while coding. ) 48. What is the architecture of your Win CE project? 49. What are the differences of Pocketpc versions 2000, 2002, 2003? 50. What will you do when your system crashes? how will you maintain backup? 51. What is your career expectation with testing? 52. What problems did you face at beginning stage of programming? 53. How many lines of code have you written in C and C++? 54. Have you been involved in system or low level programming? 55. Do u have any hands on experience in C++? 56. How do you decide which language to choose? 57. How did you do version changes in your project 58. How did control the accessing the files that can be changed by multiple persons 59. How many lines of code is there in your project. How many lines did you write. Ends. 60. Which college r u from...which year did u complete ur b.tech. 61. How long are you in satyam 62.What are you doing in satyam.(I explained about the APS controller project) 63. Who is the client 64. Which type of testing you are doing in satyam 65. Are you doing automation of testing 66. Where your role will start in SDLC explain? 67. Explain the Testing process that you involved ?

41. 42. 43. 44.

C programs, concepts:

1. Write code to count the number of zeros and ones in a number. (two methods ) 2. Explain the below
i = i++ and i ++ = i++ int x[ ]={1,2,3,4,5}; printf (" *x++") what value will be printed.

3. int x=0;int y=0;


x=1;

y=2; printf (x, y); x>y; printf( x,y); what is the output of the above program.

4. int a[10]
__________ __________ a[15] = 10; printf("a[15]"); What value will be printed if the above code is executed?

5. 6. 7. 8.

Write the implementation of STACK? What are static variables and its scope in function and files? What are global variables and its scope and life? What is return type of malloc? What is syntax? (What is the purpose of using malloc function? ) 9. How free() know that how much memory should be allocated? 10. Preprocessor commands and how do you use these? #Include #Define #ifdef #Ifndef #if Difference between #ifdef and #if? 11. Syntax of Self-referential structure? 12. How to allocate self-referential element? 13. Write code to add a node in linked list? 14. Write program for bubble sort? What is time complexity of this program? 15. What is function pointer? I have function like arthimatic( int1, int2, int3) Int3: Arg for select the operation 1. Add 2. Mul 3. Div 4. Sub Write the program for above condition without using switch and if-else 16. What is the return value of fopen? What it contains? 17. How will test your code? 18. What is function overloading? How will you implement in C? 19. What is binary search? Write the program? 20. What is header file? 21. Write a program to insert a node in circular linked list? 22. what is the use of static variables 23. Life time of MACRO 24. Difference between macro and function. 25. Difference between in-line functions and macros? 26. Difference b/n call by values and call by address 27. If we invoke a function in C how it works in stack 28. Where static variables will be stored 29. Find out the nth element is single linked list from tail 30. Binary search for sorted array

31. Time complexity of binary search and linear search 32. Call by reference 33. Can we declare the variable in MACRO 34. Bubble sort and quick sort difference , implementation and code 35. Register variables- if you have a capacity of 15 register variable and I use 50 , the error
prompted by system exception handling 36. Difference between union and structure? 37. Program to copy some information from one particular address to another particular address 38. What is memcopy, wchar 39. Count the number ones in a single byte 40. What is the differences bet.: static int x, int x, extern int x ( given all are declared global ) 41. Explain any OS specific difference 42. Write an algorithm to reverse items in a linked list. 43. Where in the memory are the local/global variables stored. 44. If the output of a program is to print "The number is 10" 50,000 times What is the way you will opt to test the same. 45. Write a programme, which counts no of Ones in a 16 bit no. Without using any bit wise operations? (Write a program for counting the no. of bits which is equal to 1 in a binary equivalent of a number.) 46. In a.h an int a is declared? In another c file b.c we set this value to a=10. Then in d.c we are trying to print the value of a. what will it print? 47. What is the difference between Const and # define? 48. Will you be able to access memory allocated by malloc inside a function, from outside? 49. What is heap? Give an example. (What is the use of heap memory?) 50. Explain about Storage class specifiers? Its scope, storage and life time 51. If One variable is declared as Extern int x, in file1, then if we declare another variable in the some other block as int x=10 and if we print that variable, what value is printed, if we don't declare second time and prints, what value is printed. 52. Deletion of given node in single linked list, write program with syntax 53. Find out no.of ones in a given unsigned int number. 54. What are the common applications for these function pointers? 55. Why do we go for function pointers? 56. How can you call functions fun1,fun2...fun9 for each integer value from 1 to 9 with out using Switch case and if else, write complete program with syntax. 57. Const Char *a; Char const *a; Const *char a; Combinations Are these valid statements? 58. If we do not close the file and keep accessing, what will happen? 59. Write a function pointer returning a double and taking char * and int ( Declare and implement Function pointer taking two arguments ? How do you call it? ) 60. Declare a pointer to an array of 10 integers 61. Write program to reverse the string? Making the above program more efficient. 62. Write minimal code for string copy? 63. While(*dest++=*source++);..does it works? explain it? 64. Write program to add node to linked list? 65. write program to add node to the linked list that is already in sorted order?

66. Write program to insert an element to binary tree. 67. Write a program to find a key in binary tree. 68. Diff between a reference and pointer. 69. If you had to write a function with one argument and depending upon that, should call
different functions. How would this be implemented without switch case.

70. Difference between: int I; static int I;, extern int I 71. Where are **(double) pointers used? And what kind of care should be taken, if they are
passed as argument to function

72. If you have to store 10 strings of some length, which would you choose arrays, linked list
why?

73. Explain about structure padding


Struct { Char x; Int y; Char z; } Struct { Char x; Int y; Char z; } How would you avoid padding? Why does the compiler pad the bytes. 74. Dynamic Memory Allocation(Malloc Calloc Realloc free ...their difference with new and delete)--Constructor and destructor is called then allocation and deallocation. 75. Precedence of ++ operator----right to left 76. int i=3,j=4; while( i-->0 || j-->0) { printf("Jintu"); } how many time will Jintu be printed!!!---7 times I said 3. 77. Diff methods of reversing the linked list? 78. Difference between passing by value and passing by reference? Which is better ? 79. Write a program for swapping two numbers with and without temporary storage? And what is the diff b/n them? 80. Define two strings and then concatenate the two strings into third string using one C statement? ( using pointers ) ( Code for concatenating the two strings without memory limit ) 81. Write two structures referencing each other? 82. Adding a node and display in single and double linked list? 83. What are the different types of variables and explain? 84. Diff b/n static and extern variables? 85. Diff b/n union and structure? 86. How to define an external variable? 87. What is memory management and explain how did u implement in your project? 88. What is static/dynamic memory? What is heap? 89. Storage types: How is VOLATILE and Register different from others? Did you use it any where? 90. i=4, j=2

while( (i--!=0) || (j--!=0)) { } How many times does the loop get executed? If it is an && instead of || then how many times does the loop get executed? 91. Reversal of Linked list singly/doubly linked. What is the time complexity of the algorithm? How can you make it more efficient? 92. No.of ones in an 8/256 bit number. What is the time complexity of the algorithm? How can you make it more efficient? NumOfOnes() { char i=7,j; int Num=0; for (j=0;j<=7;j++) Num=Num+( (i>>j) & 0x01 ); printf("No.of ones = %d", Num); }

93. Does C support pass by refence. 94. When passing a struct variable to a function, would you prefer structs or pointers? why ?. 95. Differences between implementation using array and pointers 96. Implementation of an array of strings using pointers 97. Write the code for swap function. 98. Describe Unsigned int and short 99. What are the different storage class specifies? 100. If you have a global static variable in file A, and want to access it from file B, 101. 102. 103. 104. 105. 106. 107. 108. 109. 110.
can it be done? If yes, how? Passing array by value Stack, detection of stack overflow What are the types of tree traversals ? Is it possible to construct a tree given inorder and postorder traversals? How many ptrs are required to reverse a linked list? Static variables and functions. output of printf("%d%d%d",++i,i,i++); where i is initialized to 4. Complexity order of sorting algorithms Traverse last but nth node in list Comment about the function described below int func() { int var; if (var) { ---------------} else

{ -------------------} return 0; } Questions related to alignment in structures? Write code for moving an element in a double link list from one position to another. Write code or explain logic for converting characters ABC = 2, DEF = 3 etc. in case of telephone. 114. how do identify 11th and 7th bit of a 2 byte value.. 115. Given a 32 bit integer(4 byte),how will u swap 1st & 4th byte?write the C code. 116. A 2D array was defined & was asked to identify a particular element in that array 117. For a extern variable defined in some other file, Do we need to include the file in which the variable is defined? even if it is a .c file? 118. Difference between stack & heap? How we allocate from heap & deallocate from heap? 119. What are register variables? What is their purpose? (How do you allocate memory and deallocate memory? ) 120. Can a global variable be declared inside a function? 121. Can two static variables can be declared in two fuctions in two different file? 122. If a function pointer is int (*fun)(int,int) then can we call the function as fun(1,2,3) ? 123. If I declare a static variable in one header file and include it in two different *.c files will you get the error?. if you are getting the error then is it a compiler error or linker error? 124. In what sequences you have to declare the variables in the structure to minimize the padding? 125. What happens if malloc() fails? 126. Write a program to swap the upper nibble and lower nibble of a number. 127. Write a program to identify if a string is pallindrome. 2. Why can't auto variables retain values between calls ? 128. What datastructure, you have used in your project? 129. I have STL strings and strcpy,strcat like basic functions. Which of them you prefer for better performance? And why? 130. . Int *p = new int[10]; delete p; Is it correct? 131. Int *p = new int[10]; delete p; delete p; What will happen? 132. Write a function, which allocates memory for a three dimensional array (let us say, it is an integer array) and returns the allocated memory. Is this function possible? A = MyAlloc(i, j,k) where i, j, k are sizes of the three dimensional array. ------- Myalloc(int i, int j, int k) { } Fill the return type and the body in the above function.

111. 112. 113.

133.

Write a factorial function, which works for positive, negative, zero values. And if the factorial value, exceeds the max integer values, you should return -2. ( Also write a recursive program ) . 134. What is the range for 4 byte integer value? 135. How can one count the number of times a function is called. 136. Declare and define static functions in a class. 137. What is Hash table advantages and disadvantages of Hash table? 138. Explain about static storage class? ( static variable ) 139. what is the o/p of the following? 140. what is the o/p of the following? #include<stdio.h> struct { int a; int b; char c; char d; }p; struct { int a; char b; int c; char d; }q; int main() { printf("%d",sizeof(p)); printf("%d",sizeof(q)); } What is Conditional Compilation ? What is the use? Write an example. 141. Write a code how will you include/exclude piece of code . 142. Do you know the stack structure? yes/no. 143. What is the use of Volatile keyword ? 144. Advantages of array over linked list. 145. Binary tree implementation. What is the precondition for binary search? 146. Seraching & Sorting techniques. 147. Write programs to reverse linked list and explain it.(iterative method and recursive method ). 148. If structure is static then what is the output of its variables. 149. A program on static variable defined in a function and its output. 150. Difference between dynamic and static. 151. How are the static variables about to retain the values? 152. How to swap LSB and MSB ? 153. What is Radix sort? 154. Explain the insertion sort logic? 155. Write prototype of printf function. 156. Advantage and disadvantage of variable no of argument list. 157. Static " in c and in c++. 158. What would be the output :

159. 160. 161. 162. 163. 164. 165. 166. 167. 168.

169. 170. 171. 172. 173. 174.

struct abc{ int i :2; } abc.i=3; printf("%d",abc.i); Write the code for transpose of a matrix. Difference between pointer to an array and array of pointers. Write the code for declaring a node in a single linked list. Explain about storage of sturcture and union? Difference between pointer to char and pointer to a string? Difference between pointer to char and char array? Write a program that takes series of characters upto \n and print only alphabets. Rules: dont use array and file concept to store buffer Write a program to calculate sum ( 1 + ! + 1/3!+..1/n! ) What is a byte? how do you define a byte in C? Write a code for : 64 modulus counter.....it returns 0 for the first time its called,1 for the second time its called and so on until 64th time.... After 64 it should start from 0 again....write a code for it. Dynamic memory allocation to multi dimensional arrays What is the difference between linked list, circular linked list and double linked list. Explain. Which sorting technique is best and what is the order of that particular sorting method. Write a structure for a doubly linked list. Write a program to insert an element into a doubly linked list at a particular position, without using extra variables. Give the output for the above program int *i=20; main() { printf(%d,*i); func(); printf(%d,*i); } func() { int j=20; i=&j; printf(%d,*i); } What is the output in this case : int *i; main() { i= ( int *) malloc ( sizeof (int)); i = 10; printf(%d,*i); func( );

175.

printf(%d,*i); } func() { int j=20; i=&j; printf(%d,*i); } 176. If the memory is allocated for 101 elements and 1 to 100 elements are stored. There is one element repeated in one of the 101 locations. How do you find which element is repeated? 177. Explain where each variable is stored in memory based on the storage specifier? 178. Explain when a function calls another function, how is it stored in memory? 179. Where in practical did you find application of function pointer? Can you explain? 180. Write a program to implement friend concept. 181. Write a program that invokes a function based on the input ..for example if the input is ' a ' then funa( ) should be called or if i/p ' b ' then funb( ) , without using either switch or if statments 182. Difference between function name and function pointer. 183. Can we do pointer arithmetic in void pointer? 184. How can we trace a variable which is declared in one file in the multi-file program ? 185. Write a program for swapping two nodes in the doubly linked list. 186. Is it possible to hold the address of the register variable? 187. When will you use a function? What is the use of function pointers? 188. What are AVL trees? Just a brief. 189. Write the program to swap the values in doubly linked list. Given the swap should take place between consecutive elements. If the elements in the list are a b c d e f Then it swap to get b a d c f e What is your minimum requirements? What are the conditions to be taken care of ?

190.

191. 192. 193. 194.

Change only one character in the program to print the output - 20 times. int i; int n = 20; for ( i = 0 ; i < n ; i -- ) printf ( -); What is segmentation fault? How will you identify where segmentation fault occurs in a big project? Write a stack program with any global declaration of variables ? Write a program to traverse back in doubly linked list? Give the output void main() { int *p; int a; p = (int *)malloc(sizeof(int)); *p = 10; a = *p++; printf( \n %d ,a );

a = *p; printf( \n %d,a );

195. 196. 197.

198. 199. 200.

} What is the difference between? int const * const int * Write a program to find the length of string in recursion? Suppose I have single linked list 1->2->3->4 Now I have inserted a new node 5 after 3 by mistake the new node next I had given the address of second node. What will happen? How u will find that loop? What is the difference between static variable and automatic variable? Where they are allocated? In the program below, how to replace function pointer Then he asked about a program how to replace function pointers? #include<stdio.h> int add(int a,int b) { return(a+b); } int mul(int a,int b) { return(a*b); } int div(int a,int b) { return(a/b); } int fun(int (*pf)(int a,int b),int x,int y) { int z = (*pf)(x,y); return z; } main() { int x,y; printf("\nEnter two numbers : "); scanf("%d %d",&x,&y); printf("\nThe result = %d",fun(add,x,y)); printf("\nThe result = %d",fun(mul,x,y)); printf("\nThe result = %d",fun(div,x,y)); }

201.

Go through the program : int *s = (int *) malloc(5 * sizeof(int));

202. 203. 204.

205.

206.

207. 208. 209.

210. 211. 212. 213. 214. 215.

int a[10] = {1,2,3,4,5}; for(I = 0;I < 5;i++) { s = a; // Will it work? ++s = ++a; // Will it work? } What are the precautions to be taken when writing header files to not include multiple times? Explain about bit fields in a structure. What is the output of the below program : int main() { char * ch; ch = (char*) malloc(5*sizeof(char)); strcpy(ch,HELLO); printf(%s, ch); } What are the precautions to be taken for the above program to make it work properly? What is the output of the below program : struct x{ int i : 2; }; int main() { Struct x a; a.i = 3; printf(%d,a.i); } What is the effect of the above code? int main() { char *ch; ch = (char*) malloc(5 * sizeof (char)); ch++; free(ch); } Can we achieve reverse a linked list using single pointer. Write the c program for s=1+1/x+1/x2+1/xn. Write the program for string reversal with and without using recursion. Write a program to find the frequency of the numbers entered. Any number will be entered by the user any number of times. When the user enters 0.We have to display each number and how many times each number was repeated. Implement a mod 16 counter using static class. What is memory leak in C.? How to print hello world without use of semicolon with printf function. What is difference between extern and global variables. Write a macro to find the square of a number. Explain about various storage specifiers and where they are stored in Memory.

How do check core dump. If there are 100 files how do you debug if core dump occurs. Program to convert a decimal number to hex Circular doubly linked list implementation. How to avoid if else in c... What are applications of function pointers? Any sorting algoritm u know...write code and explain its complexity 225.When is volatile used...give a situation when it should be used. 226. One line code to concatenate 2 strings 227. Concatenate two arrays 228. What is error if we use a variable in 2 different files of same module? 229. Which is more advantageous, adding an element in an array or in a linked list? 230. What is height of tree? 231. What is height of a balance tree. 232. What is advantage of height balance tree? 233. How do you balance trees? 234. strcpy function syntax with help of a code. 235. Wht are the Data structure you know and explain single linked list ? 236. Write a function for Binary Search and What are the preconditions for this algorithm? 237. The following code he gave char *ptr=NULL; int len=strlen(ptr); What is wrong with the above code? 238. Write a program for swapping of two nodes in double linked list 239. Why do use the storage class? 240. Write a program to insert a node in circular queue? 241. How to implement abstraction in C? 242. Tell me about const 243. What is the difference between malloc and calloc? 244. Difference between static and global variables. 245. What is the use of static function in C? 246. Can we access the static variables outside where it is declared? 247. write a program to print it self? 248. code about double pointers and single pointers? 249. write a code to allocate memory for array for pointers?( 2 dinensional array) 250. What is the differences between the call by reference with pointers and references, Which one u prefer and why substantiate your answer? 251. Write a program to print "hello" when u first run it? At the second time running it should print "world" how do achieve this? 252. Difference between Global,Static and extern static. 253. How strings are accessed using pointers. 254. Write a piece of code to allocate memory to a double char pointer, to accomodate 4 strings,fill them and free them.Consider the error checks in the process. 255. Give the structure definition for Circular Doubly-linked list and Doubly Linked list. 256. Printing the content of the linked list from the tail without reversing. 257. Write an algorithm for getting a prime number 258. Explain abt searching techniques 259. Implement a Binary Search Tree. 260. Explain function pointers. 261. Allocate memory for a two dimensional array.

216. 217. 218. 219. 220. 221. 222.

262 Difference in passing a structure variable to a function and pointer of type structure to a function)? 263. Explain about conditional compilation? 264. what is the difference between declaration and deffinition? 265. suppose you write int variable, is it declaration or deffinition? 266. let us assume there are 1000 peoples data is there(i.e name,address e.t.c) suppose i want to find one of data.Which searching algorithm is the best option? 267. main() { fun() ..... ..... fun() } fun() { static int p=0; printf("%d",++p) } what will be the value of p? 268. What is segmentation fault? Give examples. 269. struct p { short int p; char c; } what is the size of p? 270. can u pass the values through main? if so how do u do it? supoose i enetered ./a.out 10 name1 name2 .......... name10; what is the value of argc? 271. Give me the details about where all the variables of the program are stored? (static,global,local) 272. When will u go for malloc? 273. Write code for stack operations 274. Given the following program #include stdio.h main() { int count; printf(Start\n); while ( count = 0) { printf(%d,count); } printf(End\n);

} What is the output? 275. Can you Implement Queue using stack Write a program for the same 276.what is recursion. 277. Can we assign the value while allocating memory 278. Indexing and Hashing techniques 279. Define a tree with n nodes? 280. If a piece of flat memory is given to you how can you develop your own library which will act like malloc 281. Can you explain the logic to store the strings in Dictionary format 282. What is recursive function and diff. b/n the recursive and non-recursive functions 283. Write a program to sort an unsorted linked list. 284. What are the Bitwise operators? Swapping of two numbers without any temporary variables using Bitwise operators 285. How to print the values from 0, 1, 2..15, 0, 1..15, 0, 1.. Without using local variable. (b)Write the above program without using mod (%) operator. 286. Write a function which concatenates 2 strings and print it (b).Write the above programs which returns a string and prints it and mention the necessary conditions to be taken care of. 287. If I have 30 coins. I want to get the total as 99 Rupees by taking 5 Rs coins and 2 Rs Coins. Find the no of 5 Rs coins and 2 Rs coins. Write an arithmetic equation for this condition. 288. If I have 30 coins. I want to get the total as 99 Rupees by taking 5 Rs coins and 2 Rs Coins. Find the no of 5 Rs coins and 2 Rs coins. Write an arithmetic equation for this condition. 289. Write a program for string palindrome? 290. Construct a binary search tree with if you have given the data in the form of post order and preorder? 291. Stack implementation using linked list. 292. What is the main significance of using .h file in C? 293. What is recursive function? What is the Data Structure used in it. 294. Write a program to find the depth of a binary search tree 295. What is a static variable? What is its life and scope? 296. What is a function pointer? In what situations will you use these function pointers 297. Give one example of the function pointer and array of function pointers 298. Write a program to swap two consecutive characters in a string and insert a space after each three characters? 299. What is static in c? How it is different from extern? I have two files and can I have variables with same name one is global static in one file and another is extern in another file? 300. Write a program for string palindrome? 301. Can you construct a binary search tree with if you have given the data in the form of post order and preorder? 302. Write a program for matrix multiplication. 303. Program for finding a substring in a string. 304. Program for string reversing (original string should not be modified) 305. Write a function which will set the bit of a number for the given position. 306. Can you construct a binary search tree with if you have given the data in the form of post order and preorder? 307. Construct a binary tree for Preorder-abcde Inorder- cbdae.

308.What is little endian and big endian? 309.Explain the binary search logic and what is the complexity of binary search? 310.Is it possible to apply binary search logic for a linked list which is having 10 nodes? 311. Asked to write a program for atoi() function. 312. What are the steps done between function call and execution of the function. 313. where are the following are stored in the memory. func("xyz","abc"); (function call) func(char *x, char *y) (function) 314. Write a program to insert space in a given string after a given interval. 315. Suppose a function returns Char*, inside the function if we declare char a[10]; and we return the array at the end the function, what will be the problem. Unix 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23.

24. 25. 26. 27. (a ) How many children process will create? i=5; while(i--) fork(); (b) How do u make a process to go in block state while calling IO operations.

What is the difference between multi threading and fork process? What is socket? How it works? What are the IPC s available in UNIX and their properties? How do you use semaphores in different processes? Write code? What are the Unix system calls do you know? How to use them (syntax)? Process managements like fork, exec, core dumps, shell in Unix? Unix timers Write the code for echo server using multi threading or fork process? Client server architecture using socket? How is the server program written so that all the clients requests are serviced (Socket programming) What are the different types of IPCs ? Explain their uses. What ipcs is preferred for which work ? One advantage of Message Queues over shared memory. How do you communicate between different systems? How global substitution is done in vi editor. What are the series of system calls that needs to be executed on the server and the client to establish a connection oriented socket communication between them. ( Explain the socket flow with reference to the OSI reference model. ) At what function sever will blocked i.e wait for client? How can we make server socket as unblocked socket? Why do we have to bind a port only on the server and not on the client? Who does this for the client? What is virtual memory? How is it implemented? What are the different kind of rules that you have worked with? At the application level, what do they achieve? What is semaphore? What is the difference between binary semaphore and mutual exclusion semaphore? What will happen if same process lock the same semaphore again and again? In case of binary semaphore and mutex semaphore? What is message queues? What is signal? When do you use signals?

main() { fork fork fork } So how many processes are running at this point of time 28. In round robin scheduling, if a task gets completed before its time slice, what happens to the remaining time slice? How does the Kernel know that the task is completed? 29. How do you maintain the info about a process 30. How does the kernel implement "kill"ing a process? 31. How is round-robin scheduling implemented? 32. General OS (Unix, DOS) vs RTOS 33. IPC mechanisms in Windows and Unix, which is fastest IPC. 34. User Level Threads Vs Kernel Level Threads 35. What is Light Weight Process? Adv of threads over process and vice-versa. 36. Advantages and disadvantages of CORBA over Direct Sockets. 37. What IPC mechanism will you choose? 38. What are the different synchronization mechanisms 39. What is scheduling and why is it required? Types of scheduling and what type of scheduling is used in Unix? 40. When does File I/O operation is advised to be performed in the system which is up & running 41. How do u establish the consistency of the shared resource when more than once process is accessing. 42. What are the system incompatibilities with IPCS when ported from Unix to Linux system? 43. What are the differences between Unix and Linux? 44. How to find a particular structure in Unix? 45. Difference between Process and thread. 46. What are the advantages and disadvantages of using threads ? 47. What is difference between Mutex and Binary semaphore. 48. What is I/O bounded process and what is CPU bounded process? 49. Difference between Windows and Unix. 50. Do you know about interrupt handling? 51. What is DMA? 52. What is FSM? 53. How to make a process to catch the same signal continuously without it being set to default disposition. Write a program to show that? 54. What are the advantages of Message Queues over Pipes? Why should we go for Message Queues when we have named Pipes? ( Given a module to implement ipc and an option to choose one among pipes and message queues which one will you go for? ) 55. Implement a program using message Queues? 56. Can you explain the some Flags of Sigaction structure? 57. Difference between fork and threads. 58. How can you make parent wait for child exit status using signals? 59. Can you write code for iostat? 60. Difference between message queues and shared memory? 61. How should one know which ipc is to be used ?

What are the various states of a process? Explain the state transitions of a process? Explain the scheduling policies in a RTOS? What is Context switching? What are the applications of make file. What are the different types of debugs? In a process one child is created how to debug child process. What is core dump? How to extract error from which function using core file. How malloc function internally works. What is the return type of malloc function? What are the different types of IPCs? What is non-blocking? What are the different types of Shared Memory? What are the messages exchanged before connection establishment in TCP. What are the factors which decide the window size of client or server. Why is it increased or decreased. 78. What is the persistence of Shared memory? 79.What is segmentation fault? Give 4 different situations when it could occur 80. What does a core file contain...? 81. How would u generally locate segmentation fault and memory leak in your project? 82. Compiler option for using core file... 83. Explain about pipes, mug queues and shared memory with code 84. Difference b/w named pipes and mug queues. 85. Explain socket calls in top and up. 86. what is RTOS,,why we go for RTOS 87. What are UNIX internals? 88. How will you deal with synchronization problem? 89.What is memory leak and segmentation error? 90. have u generated any scripts for testing? 91. What top command does in the UNIX? 92. How do u debug the code? and What r the different options? 93. What do u mean by coredump file? Can u debug the coredump file? 94. What are the tools that you are using to find out memory leak? 95. How will you find out how much memory that your function is using? 96. What is the difference between VxWORKS, RTOS & normal OS? 97. What is meant by deadlock & how will avoid that? 98. What is the difference between fork & vfork? 99.By using which concepts you will do kernel level programming 100.How many process states are available?. Explain what are those ? 101.Difference between mutual exclusion and semaphore. 102. Unix is what kind of OS? 103. What is multi user/ tasking OS? 104. What is the use of Pthread_join? 105.What is joinable thread? 106. What is the use of pthread_exit()? 107. What is the use of pthread_cancel()? 108.What is the use of stat call? 109. Scheduling is done by which process? 110.How the scheduling is done either by polling/ interrupts? 111. how do u create shared libraries and static libraries?Which is preferred?

62. 63. 64. 65. 66. 67. 68. 69. 70. 71. 72. 73. 74. 75. 76. 77.

112. what are the types in shared libraries? 113. write a makefile with suffix rules? 114. Give an example where u apply RTOS? 115. What is a "Driver".Are the libraries written for say matematical functions can be called a Driver. 116. Explain how vxworks(RTOS) is different from other OS. 117. What are the scheduling algorithms in the vxworks. 118. What is deletion safety. 119. What is Priority Inversion. 120. Write a function to do the coredump(In Unix..) 121. Difference between Operating System and RTOS. 122. what is scheduler. 123. what is preemption and non preemption. 124. Write a client using message queue. 125. What is priority inversion and its solution. 126. Q's on cross compilation. 127. Some q's related to device drivers. 128. Explain abt semaphores. write a program abt semaphore. 129. Why you will go for message queue? 130. What is the difference between named and unnamed pipe. 131. What is thread. 132. What precautions u take in implementing real time job. 133. Explain about Producer/Consumer problem. 134. Explain tee command. 135 How pipe works in UNIX. 136 What are the scheduling algorithms? Which has the minimum average waiting time? 137. explain about FIFO? what is the difference between pipe and FIFO? 138. what are the functionalities of Operating system? 139. what are the process management? 140. how the ls command working internally? What are the system call useful for executing ls command? 141. If i have called functions again and again while calling i have allocated memory and i didnt deal located memory? What is the problem? 142. Is LINUX a real time operating system? 143. what are the kernel data structures is available in message queues? 144. what is the specialty of counting(array)semaphore? 145. When will u use GDB? 146. Explain memory layout of a program. 147. For processes what is sharable portion and what is non sharable portion of memory layout? 148.For threads what portion of memory layout is sharable and what is non sharable? 149. In a msgrcv() call if we mention the size of the message as something which is less than its actual size, what happens? 150. What is the use of type parameter of msgrcv()? 151. How is the memory allocation algorithm implemented for malloc calls? 152. Which type of scheduling is used in UNIX? 153. Why cant be UNIX used as a RTOS? 154. Difference between preemptive and non-preemptive O.S 155. What are the various memory management techniques? 156. Which sort of memory management is used in UNIX? 157. How to find out the Number of Message Queues in the system? 158. How to find out memory leak using GDB?

Others (Domain, Testing, Design, UML, GUI, Protocol stack, TL1 ): 1. Draw all the logic gates and give their truth tables. And what are universal gates. 2. State demorgans laws 3. Implement ex-or gate from nand gate using demorgans laws. 4. What are GSM and CDMA technologies? 5. What is the difference between GSM and GPRS ? 6. In the customer side, if any bug occurs how will you rectify the problem? 7. What is the memory map of executable file? 8. What are log files? 9. What is Core dump? How it happens? gdb tool 10. What is memory leak? Write a sample program that cause memory leak? 11. What is system call to identify memory leaks? 12. Unit testing. How it is done? 13. How do you write test cases ? ( Write a test case. ) ( What are the things need to take care when writing unit test cases. ) 14. When you start testing. 15. How do you design a system taking memory constraints into consideration. 16. Write test cases for the following transaction: For a given date, the program should retrieve all the records from the database. 17. If we give two high level requirements for purchasing items and selling, i.e Purchase department and Customer. Find the components, design the system and draw Usecases. Find Low level requirements. 18. Given a system that has one CPU and multiple intelligent cards. Assume that there is a communication mechanism in place that allows the CPU to detect events on each of these cards. Suggest a design that would allow the CPU to efficiently monitor the events on each of these cards using Event Based Notification architecture. 19. Given a system that receives three different types of events in a random order, design a rulebased system for it. 20. How do you design a system taking memory constraints into consideration 21. What types of testing have you done, in different phases of projects. What are features to be achieved at each stage. 22. How do you predicate memory leakage. 23. What tools have you used during testing. How could you assure complete code coverage? 24. Is system testing a black box testing? 25. What are use-case diagrams? 26. In a sequence diagrams, what do the arrows indicate/signify? 27. How do you go about an object-oriented project, the whole SDLC. 28. X-windows architecture? 29. Have you studied Graphics theories and algorithms: 30. What is Motif? 31. What is Frame-word (GUI)? If frame-word is provided can you what write code to draw a line. 32. fork() & exec functions 33. Very common example where parent process dies and child process remain ? 34. Funtionalities of MMLayer. 35. Why u haven't generated code from Rational Rose in earlier projects.At which point of project u used to stop the use of rational rose. 36. SS7 network and its elements 37. Interface of Project with SS7 network 38. SS7 stack

39. 40. 41. 42. 43. 44.

Functionalities of TCAP, ISUP in detail. ISUP, TCAP message format Flow of mugs during call in any protocol. Where is R2MF protocol used - between switches or between CPE and CO? Upon receiving which digit does the routing proces begin in a switch? Explain abt unit,integration ,system and acceptance testing. What is functional testing ? Which type of testing does it fall into?(unit,integration , system and acceptance) 45. How does one test a code involving timers? What problems is one likely to face? 46. Draw the protocol stack for UMTS 47. Can RRC and MM be combined ito a single layer? 48. What are the functions of MM layer? 49. Can MM function without a RR connection? 50. Describe layers of SS7 protocol and compare with the OSI reference model . 51. Name any presentation layer protocol . 52. Prominent feature of SS7 that makes it more efficient than any other signaling protocol 53. New services which can be provided using GPRS 54. ISDN R2MF differences 55. ODBC how it works 56. Database on remote machine 57. ODBC drivers 58. functionality of presentation layer in TCP IP stack 59. functionality of SM. what are different type of QoS and what are the parameter in that. 60. MM domain? How authentication takes place and why is it required? 61. Describe Bluetooth signaling and channels? 62. FrameWork Explain? Functionalities? 63. In 3G will Node-B completely replace the BTS or BTS will be retained. 64. what is the type of switch(packet / circuit) is established between ms and bts in GSM network when connection is established 65. How does the voice calls goes in GPRS network. Explain about GSM & GPRS network 66. What all information is kept at HLR and VLR 67. Is fixing of forbidden LAs is dynamic or static 68. How will you eliminate the interfacing part from the system: say for e.g.: system A is communicating with system B using MSG -Q after redesigning we want the interface to be changed with socket . How these kind of problem will be solved. 69. What is the exact difference between error handling and exception handling and when to use exception and when not to you it. 70. If two system are communicating with a system A with different interface then how are we going to take care of interface part with help of object oriented approach. 71. Difference between UMTS architecture and GSM architecture. What is the exact difference between both technologies. 72. Categories of unit testing. 73. How do you perform unit testing. 74. What is the architecture of your Win CE project? 75. What are the differences of Pocketpc versions 2000, 2002, 2003? 76. Do you have any idea about GSM protocls? Do you have any hands on experience on it? 77. What are the different protocols available in GSM and GPRS. 78. What are the different protocols available in CDMA and WCDMA. 79. Explain about TL1 project. 80. In P,(P)--which is prilimanary verdict and final verdict. 81. Can you write any test case in TTCN. 82. What is LLC and how it will work?

83. Difference between UT and LT, LT and UT can be implemented for protocols or for anything can we use. 84. One question on KVL and KCL.They gave one circuit and asked the o/p. 85. Explain the different levels of testing. 86. How important is testing? 87. What is test plan? 88. Explain the architecture of GSM Network. 89. What are the functionalities of different components? 90. What is the significance of IMEI? 91. What does the single digit in IMEI stand for? 92. Why is EIR used and is it practically implemented? Explain about its functionality. 93. Does HLR contain IMEI? 94. Which component of your mobile represents the physical layer? 95. Draw the stack structure for GSM? 96. Draw the stack structure for GSM? 97. What is the function of AuC? 98. What is ciphering? 99. What is the function of MSC? 100. What is POT? 101. Where are the mobiles available in India manufactured? 102. What does MCSE,CCNA and MCP means? 103. What does MCP deals with ? 104. Which technology your mobile is having?GSM or CDMA. 105. Difference between difference levels of testing. 106. What is the percentage of testing in SDLC. 107. What will happen if we dont test the product & release the product? 108. How can you automate the Testing? 109. What is the objective of testing? 110. What will you do once you have pointed a bug in the software? 111. What is the use of recursive testing? 112. What are the types of testing? 113. How will you perform design testing? 114. What is a CRR? 115. What will you do if a bug detected by you is found to be a false bug? 116. How will you write a test case? 117. What are the requirements for writing test cases? 118. RLC Layer (WCDMA): 119. Is voice also transferred thru MAC layer? 120. Does it pass thru RLC layer too? 121. What is the use of RLC layer? 122. Draw the WCDMA protocol stack structure and explain. 123. How do u test television set? 124. How do you test UPS? 125. Write a document for the following situation: ->If you try to enter a new contact in Address book of a mobile it gives Memory Full! And after a PowerCycle (switch off and then on your mobile) it will allow to add new contact! 126. What is unit testing...any specific tools i used? 127. How do you test an UPS in General? 128. Functionalities of RLC. Different modes in RLC. 129. Does RLC do ciphering in all three modes? 130. Functionalities of MAC.

131. What are levels of testing? 132. What do u do in UNIT Testing? 134. How do u write a test case in general? 135. Who will do the Unit Test and Integration Test ? 136. What is smoke test ? 137. What is System Testing and End-End Testing ? 138. How you will Test for a C++ or C type application ? 139. explain the test plan? 140. What are the different types of testing? 141. What is the input needed for writing test cases? 142. How will you come to know that you have covered all the requirements? 143. From where will you get the inputs of unit testing? 144.. What are the methods of performing Unit testing? 145. Difference between GSM and CDMA. 146.How does blue tooth works? 147. What is the purpose of sanitary testing & how did you do? 148. What is the purpose of functional testing and how did you do? 149. What are the diff types of testing and explain the diff between them. 150. Explain diff phases of testing 151. Tell the corresponding phases where you will implement unit testing, integration, system and acceptance testing. 152. What is conformance testing? 153. What is the input needed for writing the test case. 154. Bug lifecycle? 155. Is there any Negative Senario on SMS AND MSS? 156. What is regression testing?Test process?Test Environment? 157. What is bluetooth And infrared? 158. What is the GSM and GPRS Frequence and Bandwith? 159. What are the differences between the Activity diagrams and Sequence diagrams(UML)? 160. How Activity diagram differs from the Flow chart diagram? 161. Specify some system calls with respect to RPC's? 162. what is load testing? 163. what automated tools you used in your projects? 164. Bug report ? 165.Test Case Format? 166. How to write test case? 167. What is sanity testing? 168 What are the documents required for test case execution? 169. How you handle a newly joined person to shift into testing? 170. If you are unable to find a defect then client find that one.in that aspect how u handle? 171. How you convince the developer that if he is not accepting that it is a bug? 172. If you want to communicate a person, by email,phone,direct meeting of which you will give priority? 173. Can you communicate with client? 174. Find the defect in conference room? 175. How you select a mobile among different kinds of pieces? 176. How you done integration testing between modules? Software Engineering: 1. What is the input to Rational Rose tool ?

2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17.

What is difference between V-model and Waterfall-models? What is SDLC? Explain all the stages of SDLC? How many levels of design are there in SDLC? What are they? What is the % of effort for testing? Explain Project Life Cycle. Rate the testing phase. How is the testing done? When 3 people want to change in the same file, how is it done? how do you do the design? Can you do the design for a banking system? What are White Box and Block box testing, Unit testing. How do you write test cases. When do you start testing What are the different phases of product development. Methodology followed in your projects ? Draw the V-model for SDLC. What is the specialty of V-model? How do you test an UPS in General?

Logical: 1. Suppose I have to add each time 100 elements to a structure? How to proced ( Add first 100 elements, after some time next 100 elements etc) From four balls find out the oddweight one in 2 passes? 2. At 5PM a clock takes 5sec to bell at 11PM how much of second it will take to strike 11 bells 3. There is a non transparent room with 3 bulbs inside and 3 switches outside the room. identify which switch corresponds to which bulb by entering the room just once 4.Three light bulbs are in a room and three switches are outside on the wall how will you know which switch is connected to which bulb. Configuration management, build, makefile: 1. How is the configuration management done? 2. CVS commit, update ,add, 3. Why VSS is required. 4. Make files and uses of make files 5. What is CVS? 6. What it stands for ? 7. How do two users who are in parallel development from same baseline, with functions foo() and qoo() respectively in their files, check in into the repository ? 8. Why VSS is required . If any changes you did in one version then version number will be changed or not . 9. What is Clearcase? What is configuration management? 10. What is WINK in clearcase? 11. Tool you have used for source control ? How is it used for source control ? 12. Source code controller - Sablime that i used in my project. 13. Make file options 14. Briefing about Nmake. 15. what is difference between vob and config sets 16. write a make file that we used in the project 17. what is the advantage of including one make file into another 18. In the case of directory merging what will hapen there is same file existing in the different branch of file

19. 20. 21. 22. 23. 24. 25. 26. 27. 28. 29. 30. 31. 32. 33. 34. 35. 36. 37. 38. 39. 40. 41. 42. 43.

what is eclipse problem? Explain configspecs rules and why the order is significance Describe concept of clearmake How we are resolving merge conflict in the case of files and directories what is the need of checking out of a directory About Merging in different scenarios explain what is the need of SCM What are the problems that can come across while merging. how I can check out a particular version of library what the different kinds of elements in the vob what is difference between labeling and base lining how we can create a branch what is branch type describe about preprocessing, compiling and linking what is the advantage of macros. In make file how will include files from different folders what is VPATH environment variable what is explicit and implicit rules in the Makefile If 5 persons are developing different modules how will you integrate all the modules? Which version control we are using in the present working project? Explain the steps to checkin and checkout Do you have complete access to our version control to checkin and checkout? What is current working folder? what is the use of current working folder? How do you take backup for ones files? Can we view the last modified files and also do we have a chance where it is exactly modified and which date it is modified 44. Uses of Version Control system. 45. Explain about merging and braching? 46. Types of checkouts? 47. How do you perform multiple checkouts for same version file? 48. Syntax of checkout? 49. Explain about config-spec? what default config-spec? 50. How do you checkout particular version of file (syntax)? 51. What is make file? What is use of make file? How make file came know which file has been modified? 52. Two persons can check out a file at a time? 53. What is a Merge option? When it happens? 54. What are the Shared libraries and advantage? 55. How did u maintain various versions in ur project 56. Did you use clearcase? 57. how will you merge the subbranch with main branch? 58. what is a view? 59. how will get the differences between two versions of the same file in clearcase?(command) 60. Can 2 users check out at a time in cvs? 61. Debugging tools a. using gdb with exe files b. using gdb with corefiles C++ ( & Java ) 1.Why are u going for c++?

2.What are the features of C++? 3.What is inline function? What is Difference between Inline Function and Function? 4.What is virtual function? Why they are used? 5.What is difference between malloc and new? 6.inheritance and container class difference 7.how to include a library developed in C++ into a C file ? 8.Can Virtual junction be implemented in C? 9.Give differences between Polymorphism and Overloading. 10. Give differences between structure in C and class in C++. 11. What is Generalization and Specialization? 12. How are function pointers different from normal pointers ? 13. What are the different kinds of inheritance ? 14. How will you identify a class in a situation ? 15. Difference between Pure Virtual Function and Virtual Function. ( In real time what are the factors to choose pure virtual or virtual? ) 16. What is Use of implementing a Pure Virtual Function instead of Virtual Function? 17. How many Constructors and Destructors can be there in a Class 18. What are Virtual Destructors and where it should be placed in the Classes that implements Inheritance. (What is the need of virtual destructors? ) 19. What are Polymorphism, Friend functions and virtual functions? Explain with examples. ( How many types of polymorphism are there? ) 20. What are the main differences between Java and C++ 21. If given a choice of programming language. What will you choose Java or C++? Why? 22. What is the difference b/w Class and Structure? 23. Can a structure encapsulate functions? 24. What is a class called when it includes a pure virtual function? 25. Why virtual constructors are not there? 26. What is a vtable? 27. What is name mangling? 28. Have you used use case diagrams etc? 29. What is abstraction .Can you write abstraction for Mouse. 30. Operator overloading: Difference between pre-increment and post increment. 31. Function overloading 32. Advantages of using trees when compared to linked list. 33. Write a program which support inheritance? ( If base class has variable int I and derived class has also int I. Will it give error? if no how will you access each variable? ) 34. What is dynamic binding ? Difference between static binding and dynamic binding. 35. What is copy constructor ?write syntax? 36. Base classes and derived classes, their significance. Virtual destructor -significance 37. What are the MFC classes you used in previous project. (VC++) 38. You have a .cpp file, where you have a single, simple class, with two data members and two functions. Now you want to use this class in your .c file, write a wrapper class to achieve this. 39. What are the basic/primary features of OOPs? 40. Why use C++ classes and not ordinary C functions? 41. Apart from operator overloading, can there be any other kind of overloading?

42. What are abstract classes? Why do we need them? 43. Pointer to Register variable. 44. Structure type as Register variable 45. Can you do Fun() = x; in C and C++. 46. Reference in C++. Can you initialize with constant values. 47. What is reference(&)? What is pointer(*)? What is the difference? (Reference Vs Pointer variables ) 48. Concepts of C++ with examples. 49. Makefile usage ? Can v mention pre-processor options in makefile ? 50. Function overloading and operator overloading ? 51. Can function be overloaded across base and derived classes ? 52. Advs of VC++ over usual C++. 53. Describe Multiple inheritance. 54. What is a class and what is an object. 55. Differences between the snap shot and dynaset in the CRecordSet class of MFC 56. Which operators cannot be overloaded? copy constructor, where useful? 57. Difference between function overloading and overriding 58. What functionality of C++ can be implemented in "C"? What can't be implemented? 59. What are the differences between using copy constructor and assignment operator? 60. Write a program to differentiate betwen copy constructor and the assignment operator overloading. 61. Write the signature of the copy constructor? 62. If I remove the (&) symbol for the object received in the copy constructor argument, what will happen? 63. What is a template? 64. How can we restrict the instances of a class ? 65. How to define a class, object ? 66. If there are two functions with same name and we call the function with out any parameters then which function is called. ( polymorphism ) 67. Explain runtime polymorphism with example? 68. What all does a derived class inherit ? ( Inheritance ) 69. How to call a function of a class with out the object name. 70. What are default arguments? 71. If there is product with 10 features Customer C1 require 5 features and Customer C2 require another 5 features. How can we specify at runtime? 72. What happen if we free one pointer two times in same function? 73. Write a simple program in pure C++ and explain it. 74. What are namespaces ? 75. Data encapsulation explanation, sample code to explain how it happens. 76. Abstraction overview. How it provides support to OOPS concepts. 77. Detail explanation about access specifiers. ( Types of access specifiers and explain them? ) 78. How many operators are to be overloaded exactly ? 79. About Virtual Functions with one detailed sample (They twisted the question like by asking what is UPCASTING? ). 80. What is Pure Virtual Function and the exact usage of this concept? 81. Dynamic polymophism---overriding, function overloading, operator overloading(All late binding or run time) 82. Why do we go for Object oriented languages instead of C language?

83. What are the advantages of C++ over C ? 84. Polymorphism : Where do you find its real time application? 85. Who is an actor ? 86. Differences between vectors and maps. 87. What is simulator? 88. What is emulator? 89. What is cross compiler? 90. How can you execute C code in C++ and vice versa . Actually, what happens in the back ground with extern C block . 91. Did you use STL in your project? 92. Why do you want friend functions? 93. Why C++ doesnt consider return type in function overloading? 94. Can destructors be overload ? 95. How compiler access virtual functions? 96. What are the changes required to the above program? class x { char *name; public: void printname(void) { name = (char*)malloc(5 * sizeof(char)); strcpy(name, HELLO); printf(%s,name); } }; int main() { x a; a.printname(); a.printname(); } 97. what is virtual function? How internally works. 98. Write the prototype of pure virtual function? 99. And what is the use of pure virtual function? 100. what is multiple inheritance? In case of a multiple inheritance 101. if there are two base classes and there is same function in it, explain how will u inherit in this case. 102. What is overriding. 103. Y do we need to destroy a base class during virtual mechanism 102.How is dynamic polymorphism implemented? 103. What is associativity 104. What is class variable and class instance 105. How will u count the no. of objects created for a class 106. How is static data member different form normal data in a class 107. Application of virtual functions. 108. If an application is given how do u decide whether you go for C and C++ and why in both cases? 109. What is an abstraction? How do implement in C and C++? 110. Is it neccessary to have Data hiding features if so why? 111. How the memory is allocated for objects? Where the methods will be residing?

112. Why do u think that templates should be used? 113. When a template object is initialized at what time code gets generated? 114. Did u work with STL(Standard Template Library) if u have used any classes 115. What is an Iterator class does? Can it be possible to define ur own Iterator class and access the data? 116. What is the use of static members in C++? Write a sample code?At what time the static code gets invoked? 117. What is an abstract class? What is its purpose? 118. Differences between "has a" and "is a" How do u decide which one to use? 119. How abstraction reduces the complexity give an example? 120. How do implement runtime polimorphism? 121. What are the differences between C++ and Java? 122. Write the sample code for operator Overloading with a sample code? What is the need for friend function in Operator overloading. 123. What is the purpose of *VPTR ? 124. Write a program to implement a singleton class? 125. What is the difference between the abstraction & encapsulation? 126. How will you access one class members in another class if both are independent classes? 127.Discussion about the friend & static functions . 128. Base class contains some virtual function(s). But derived class does not have any definition of virtual function(s). What will be happened? 129. Difference between data hiding and data abstraction. 130. what will happen? Int fun(int,int) Char fun(int,int)const Will it give any exceptions? 131. Can I free a NULL pointer? 132. How will you access members of base classes in case both base classes have same type, name? 133. What is private, public inheritance when you will prefer private, protected inheritance? 134. What is the use of private inheritence? 135. What are the static member functions where do apply? 136. Different kinds of casting(static, dynamic, const_cast, reinterpret ) 137. What is up casting and down casting 138. What is object slicing. 139. How to overload cast operator? 140. How to overload << operator? 141. What are not inherited from base class to derived class? 142. What is static keyword in C++? Why do we use static function? Why cant we modify normal data members in static function? 143. Stack implementation using class 144. Can you assign the values to the variables in a static function in C++? 145. What is an object? Can u call the static function by class object? 146. What is the difference between a static variable in C and in C++? 147. What is a virtual function? When are they used? 148. What is a vptr? 149. Few combinations of Virtual functions were given and asked to predict the output 150. What is a call back? 151. Write a program to find the number of active objects in a class. 152. What is a copy constructor and assignment operator? 153.What is virtual keyword in c++? Explain with example?

154. What is static keyword in C++? Why do we use static function? Why cant we modify normal data members in static function? 155. How the data members are inherited if the derived class is inherited by using public? 156. What are not inherited from base class to derived class?

VC++ 1. 2. 3. 4.

What is dll how it works? What is the difference between static link library and dynamic link library? How should we use dll in our program? If there is static link library (STL) of size 4K and we have two applications app1 of size 5K and 6K and app1 is using(includes) the STL and app2 using STL and app1. What will be the executable file size of app1 and app2? 5. In our program if we have #ifdef _FLAG ..... #elseif ..... #endif How should we define _FLAG? 6. MFC Architecture ( How the program flow will happens internally) 7. Brief Hierarchical Diagram of MFC Classes. 8. What is Serialization? Is there any MFC Class which supports default Serialization support. 9. Doc\View Architecture ( What is CView and CDocument? ) 10.

Java 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. What is JVM? How java platform independent? Difference between java and c++? Difference between java class and c++ class? What is static in JAVA? How should generate random numbers? What is the difference between String class and String Buffer class? How should we write catch blocks if there is try block with in another try block ? What is the difference between Runtime Exception and IO Exception? What is difference between abstract class and interface? 11. What is package? Write a program to read integers from a file and find average where the file contain both strings and integers. 12. If we develop CVM (like JVM) can we C be a platform independent? If no why ? if yes why no one develop CVM till now to achieve platform independence? 13. What is Runnable? What is the use of it?

14. Write a program logic to replace a string "hello" with "hai" in a file with exception handling mechanism? 15. What is a servlet? 16. What is difference between servlets and JSP? 17. What the Substr function of String, will return when there is no data in the String.? Will it return any Exception. 18. What are different Exception types? 19. Write a program to read 10 numbers from a file add them and print the result on to the console. 20. What is a Package? 21. How you will implement a Package named a/b/c. 22. What are the collections classes. 23. Name the collections classes you used. 24. What is hash table ? 25. What is the difference between hash table and hash map. 26. Difference between hash map and tree map. 27. There is function which executes some code. That code is not depended on any other code in the class. If that function should be executed even before the class object is created. What should be done. 28. What is static keyword? Why is it used? 29. What is the difference between static method and static block? When will the static block be executed? 30. Can the static methods access the member variables of the class to which it belongs to. If not why? 31. What is the difference between Exception and Error. 32. Tell a scenario where we handle Exceptions. Give an example. 33. If a program is working with a database object. Before the database object is closed if an exception is occurred, what should be done if we want to gracefully exit the program after closing the database object. 34. What is finally block. 35. What is the difference between the following two codes if statement1 throws Ex1 and statment2 throws Ex2 try { statement1; statement2; } catch(Ex1) { ---} catch(Ex2) { --- } and try { statement1; }catch(Ex1) { ----- } ====== try { statement2; } catch(Ex2) { ---}

can you tell in which scenario we use the second code. How do you create threads? What is the difference between run-able interface and thread class? What is synchronization? What is Memory leak in Java? What are the collection Classes. What the difference between ArrayList and Vector. Define interface. How interface differs from Abstracts class. Define Abstract class. Difference between HashTable and HashMap. Difference between String and StringBuffer class. String a,b.c; a=b+c; how to optimize this code. Write a program to connect with database. Can u extend two classes in Java? When the memory gets deleted in case dynamic memory allocation for objects in Java? 51. What is jdbc? 52. What is Servlet? 53. what is the difference between vector and hashtable? 54. in which situation you use vector and hashtable? 55. if all values are unique then what will you use (Vector or Hashtable)? 56.what is the difference between String and StringBuffer?explain briefly. 57. why string is made immutable?what is the advantage? 58. what is meant by garbage collector? 59. how to stop a thread? is it required to stop the thread? 60. what are the data base connections used? what type of drivers are been used? 61. write brief steps to connect to the database? 62. why we have to use Statement ,why not PreparedStatement? 63.what is the output of the below program? class X{ public void print() { s.o.p("Hello World"); } } 36. 37. 38. 39. 40. 41. 42. 43. 44. 45. 46. 47. 48. 49. 50. class Temp{ public static void main(String args[]) { X x=new X(); meth(x); x.print(); } void meth(X x) { x=null; } } 64. if we make an object equal to NULL ,what it means?

SNMP: 1. What are major differences b/w snmpv1 and v2 2. Explain about getBulkRequest PDU 3. How do you get all values from table with out knowing No. of rows and columns, for a given table OID, write algorithm 4. How do you know the end of table. 5. what is the difference b/w SNMPv1 trap and v2 trap 6. what are diffrent errors the manage will get? 7. SNMP requests 8. SNMP latest version number? 9. What are the ports used in SNMP protocols. 10. How does the agent know to which manager it has to send alarms to. 11. What are the diff kinds of messages available in SNMP? Database, ProC 1. Write some code in pro*c. Given a structure, design a table of that structure Read something into structure and populate the details of it into a table. 2. What is a transaction ? 3. Why do we need transaction ? 4. Why do we need rollback and commit ? Debugging 1. What are different debugging techniques? 2. Did you use any debugging tool? 3. Describe a module you developed. How was logging implemented in that module, how far did it help in debugging . How can you make logs most efficient for debugging? How did u test the module? (What simulators were there) 4. How to debug your module? 5. How will you debug a macro? What it returns? 6. How to debug remote system while testing? ( Ping/log files)) 7. How to debug a core dump? How to find which line of code produced the core dump? 8. Explain about any problem you faced during debugging and how did u fix it? 9. How will you debug java program? 10. What is make file. write with some files. Then they ask about how do you write make file if there are 100s of functions. 11. What is gdb. Tell some frequently used statements. 12. Did u use make files and Gdb, what all commands u used in gdb, if core file is generated how do we use gdb with core file. 13. How do u ensure that the code written by u is able to run on more than one platform like Linux and Solaris 14. How did u debug ur code...name few methods u used. 15. how do u find errors in the code 16. what is coredump and when it is generated Networking Concepts 1. What is the difference between TCP and UDP? 2. What is connectionless and connection oriented connection? 3. When will you use the connectionless? Give two examples for this one? 4. Do you have any idea about unix networking programming . 5. What connect( ) returns ?

6. What will happen, if more than 6 clients try to connect, when you have provided a backlog value of 6 ? 7. Is there any restrictions on the no. of process creation in a system ? 8. Is new process creation related with the backlog no. ? 9. Where UDP is used ? ( Why should you use UDP for real time data transition? ) 10. Tell about TCP/ IP internals? 11. What does TCP stand for ? Explain what do u mean by connection oriented ? 12. What are different OSI layers? What does datalink layer do? Does it have anything to do with ethernet address. 13. TCP/IP belong to which layers? 14. Port Usage. How many ports are possible? 15. What are the TCP/IP Connection establishment messages? 16. How would you know if the server is not up? 17. How Ethernet works? 18. IP limitations: address and what else 19. OSI model. In which layer XCMP comes. 20. How can we assign priorities from MMI to Physical layer?If I have a highest priority task where can it be,in MMI or Physical layer? 21. How TCP becomes 3 way hand shake protocol? 22. How Sender knows receivers properties? 23. How will you make recvfrom( ) function make an unblocked? 24. Which layer does HTTP applied to? 25. What is WLAN? Explain its architecture? 26. How many frame formats are there in IEEE 802.11 protocol? 27. Communication between the Device and Access Point in infrastructure mode! 28. What is the use purpose of sk_buf structure in a network driver? 29. What is your role in the project and explain the module completely? 30. What protocol is vastly used presently? 31. Different Layers in Networking? 32. Which layer does HTTP applied to? 33. Which layer does TCP/IP applied to? 34. what is IP tunneling 35. what is the maximum length of IP address in IPV4 36. write the IP format and what is maximum number in IPV4 37. Explain about OSI layers in networks 38. How will you allocate logical address? 39. What is the difference between logical and virtual ip address. 40. What is the functionality of DHCP? 41. What is the difference between static and dynamic ip address. How the allocation of static and dynamic addressing will be done. 42. How the communication will be done between diff networks. 43. what is piggybacking?what is the advantage of it? 44. how will u know that otherside of the connection is terminated? 45. what is the difference between DHCP and BOOTP? 46. what are CDMA,TDMA,GPRS? 47. Explain TLS (Transport Layer Security)---(which is one of my project)? 48.Explain about VLAN. 49.Explain why there is limit of number of users(devices) for a VLAN. TTCN 1. Rate your self in TTCN.

2. Which version of TTCN you are using. 3. Which Vendor product you are using. 4. What are the different Versions and vendors are available in market. 5. What are a test case and a test suit? 6. What is the difference in Test case variable and Test suit variable? 7. What is a timer in TTCN? 8. What is the use of Timer start, timer stop, and timer read. Write the Syntax for each. 9. Start timer,start sending and receiving messages.If the timer expires,how the syntax will be ? 10. What are the functionalities of LLC? 11. Given a chance to work on TTCN right from now, will you be able to work. 12. Which all test cases have u implemented till now? 13. What are the notations used in the test cases. 14. Different commands in TTCN and explain there use. 15. What are the differents types available in TTCN? 16. What is difference between TTCN 2 and TTCN 3? 17. What is IUT? 18. What is PCO? 19. How PDU are sent across layers? 20. Correlate ASPs and PDUs. 21. Which among these two communicate peer to peer and which one communicate between layers. 22. What is the role of PCO? 23. Explain the two different formats of TTCN. 24. Which tool are you using? 25. How will you send a message? 26. Which test cases have you implemented in RLC using TTCN? 26. How many parts are in TTCN. Explain all parts. 27. What are test suite variables and test case variables? Differentiate between them.How much do you rate yourself in TTCN? 28. Different types of timers operations in TTCN. 29. What are ASPs? 30. What is PICS/PIXIT? 31. How or when do you use the dynamic part? 32. What is the use of constraint part? 33. What are test suite variables and test case variables? Differentiate between them. Where do u write your test stubs and test driver, can we write in the existing .c files, so that the make file is not changed and see that it does not effect the other code while integrating all the modules. 33.What is SUT? 34. What is the difference between TSV and TCV? 35. What will be the output of the READTIMER if we: trigger T.xyz(15) . . Let it run for 7 sec . trigger T.xyz(10) . . Let it run for 3 sec . READTIMER T.xyz

36. What are ASPs and PDUs? Between which layers do we transmit them? 37. What is the use of constraint part? 38. What Happens If use opened Timer Once again? 39. How to send a message? 40. What is wild card? 41. Format of Release Notes? Questions on UMTS: 1. What was the aim of your project? 2. What is RLC? 3. What is the function of RLC? 4. What are the headers put by RLC layer? 5. What are the headers put by MAC layer? 6. What is the difference in the PDU of RLC and that of MAC? 7. What is the difference in header for Tr-mode, UM-mode and AM-mode PDU? Questions on EMS: 1. Draw the block diagram of EMS. 2. Explain about your project. 3. Write the use cases for manager and agent. 4. Write the test case for any particular NE. 5. Few more questions on this project. 6. Explain FCAPS. 7. What is OID. Why do we use OID. 8. What are the functions supported by SNMP. 9. What arguments do Get take. 10. What does GetNext do. 11. What kind of messages did you use between manager and agent? 12. How did you test whether your manager and agent are working correctly? 13. If the agent crashes while sending the messages to manager then how manager will come to know. 14. Explain the architecture of EMS. Questions on Cantata: 1. What is cantata? 2. What is CTP? 3. What is CTI and CTS? 4. What is Polyspace? Questions on RLC: 1.What are the functionalities of the RLC layer? 2. What are the functionalities of other layers? Explain the internal architecture of those layers. 3. Functionality of Mac layer? 4. What are the modes of operation in RLC? Explain about them 5. What are the functionalities of the RLC layer? 6.. What are the different logical channels? 7.. What are the modes of operation in RLC? Explain about them.

Project Specific, Specialization Specific ( B.E or MCA ) 1. Questions on DIGITAL ELECTRONICS using NAND gates how will you construct an EX-OR gate? 2. Explain about shared object files? Project Specific, Specialization Specific ( B.E or MCA ) 3. Questions on DIGITAL ELECTRONICS using NAND gates how will you construct an EX-OR gate? 4. Explain about shared object files? Win32/MFC/COM Programming 1. .Structure of a win32 programming. 2. Entry point of a win32 program and that of a MFC program. 3. Class hierarchy of MFC classes. 4. Entry point of a dll. 5. Does MFC support the mutiple inheritance. 6. What is a document view architecture. 7. What kind of applications are supported in MFC. 8. Difference between SDI/MDI applications. 9. What is COM. 10. What is different between COM and other technologies. 11. What is difference between SendMessage and PostMessage. 12. Can you mix MFC with Win32 in programming. 13. What rae the advantages of dll. 14. What kind of sorting mechanisms are there. 15. What is the complexity of the algorithms in sorting. 16. Different types of IPC mechanisms. 17. Difference between Process and Thread. 18. What are the advantages and disadvantages of using threads? 19. What is difference between Mutex and Binary semaphore. Puzzles, Logical Questions 1. We have 27 identical balls . Among these balls, one is faulty one. Minimum number of comparisons required.(Weighing machine is given). 2. In a meeting n number of people are there . Total number of hand shakes are 28. How many people are there? 3. We have 2 identical wires. Burning of one wire takes 1 hour but the burning is not identical. We have to measure 45 minutes. How will we achieve this? 4. Assume an ant is there at one corner of the room, which is cubical. What is the shortest path taken by the ant to reach the opposite corner of the roof? 5. If you input a no. between 1 to 1000, you are to get a particular string as o/p. List the possibilities to do so. How will u test the above situation? 6. If I throw a ball from 1 meter , it re-bounces to half a meter so on forth until it comes to a state of rest. What is the distance covered by the ball. 7. There are 9 balls, in which 1 ball is defective (lesser weight).How will u find out the defective ball with less number of times weighing?

You might also like