SAMPLE PLACEMENT QUESTIONS 

 

        1. Given definition for a function which returns an array of pointers with argument of int*.

          2. Pick up the correct function declaration.

    a. void *[] name();

    b. void int[][] name();

    c. void ** name();

    d. none of the above.

   3. Give the output of the following program

    main()

   {char *s;

   s="hot java";

   strcpy(s,"solarrs java")} _______________

  4. Give the output of the following program

     main()

    {printf("hot java");

    fork()

   exit(0);}  

   (i). When redirected to a screen what will be printed. _______________

  (ii). When redirected to file what will be printed.        _______________

  5.  Which data structure gives efficient search

    1. B-tree  2. binary tree  3. array   4. linked list

  6.   Find the error in the following program

     struct point

    {struct point *next;

    int data; }

 x;

 main()

 {int i;

 for(x=p;x!=0;)

 x=x->next,x++;

freelist(x);

}

freelist(x)

{free(x);

return

}

  7. Difference between select and poll. ______________________________________________

 8.  Which of the following set of numbers has the highest Standard deviation?

             a.1,0,1,0,1,0    b. -1,-1,-1,-1,-1,-1   c. 1,1,1,1,1   d. 1,1,0,-1,0,-1

  9. A is twice efficient than B. A and B can both work together to complete a work in 7 days. Then find in 
      how many days A alone can complete the work?  

10. If A, B and C are the mechanisms used separately to reduce the wastage of fuel by 30%, 20% and 10%. 
      What will be the fuel economy if they were used combined.  

 11 a).Select the odd one out a. SQL b. DB2 c. SYBASE d. HTTP

b)Select the odd one out. a. Java b. Lisp c. Smalltalk d. Eiffel.

c)Select the odd one out a. SMTP b. WAP c. SAP d. ARP

d)Select the odd one out a. Oracle b. Linux c. Ingress d. DB2

e)Select the odd one out a. LINUX b. UNIX c. SOLARIS d. SQL SERVER

12. What is the largest prime number that can be stored in an 8-bit memory?  __________________

13. Binary equivalent of 455 ? _____________________

14. What does the following functions return

         int fun()

         {

             i=3;

             i=6;

            if(i=6)

            i=7;

          return i;

         }                                                 _____________

 15. main()

     {

     int a[]={0 1 2 3};

     int *b;                                                                                                               

     printf("%d",b[-1]);

     }                                         ______________

 16. a)How can u solve the conflicts in a team? One sentence only

       b)What are the qualities you have for being a leader?

        c)What is your reaction if some one copying in the exam?

17.  Read the passage and answer the questions  below.

Multitasking lots you run several applications simultaneously. While you use a word processor in the foreground, your Web browser can be downloading a file, unseen and unattended, in the background. As each application loads, the processor allocates a chunk of memory for the exclusive use of that application. When an application needs more memory, it sends a request to Windows, which checks to see how much memory is available and assigns an additional free stretch of RAM to that application. If there's not enough unallocated RAM to supply the application, Windows checks a table that shows how recently different sections of memory have been used. It then copies the contents of the oldest used RAM to virtual memory, hard disk storage your PC treats as if it were RAM. Windows then assigns the RAM to the application asking for it. Too little real RAM can result in extensive swapping between memory and disk, which slows your PC

 To multitask all the programs loaded In memory, Windows assigns each program a slice of the processor's time. When one program's time using the processor is up, Windows instructs the processor to save whatever it's doing by writing the contents of the processor's registers to RAM. Registers are like the processors scratch pads where it stores data temporarily as it processes the data. Windows also saves a digital bookmark In the application's code to save its place.

After the processor has cleared the registers, the processor fills them again with new data from the next program, and begins executing that program's Instructions from a new location In RAM until that program's time slice expires. Windows tells the processor to save those registers and repeat the process for the next application being multitasked. If a program needs the services of a PC's hardware, such as a printer port or video card, Windows first checks whether another multitasked program Is already using that service. If it's In use, Windows puts the now request into a queue until the current hardware operation is completed. Then Windows gives the requesting program access to the hardware through drivers or the BIOS.

a) If there is insufficient RAM to run an application, Windows

A) Uses virtual memory instead of RAM B) Clears the RAM for the application C) Uses registers as the RAM D) Copies the contents of the oldest used RAM to virtual memory, then assigns the RAM to the application

b) Multitasking means,

A) Multiple programs are processed at any instant of time B) Multiple programs are assigned a slice of the processor's time C) Multiple programs use the RAM through swapping D) Multiple programs use the services of a single hardware

c) According to the passage, a program being processed if is in need of the services of PC's hardware makes

A) Windows checks and puts a request to use it immediately as it is currently being processed B) Windows checks and puts a request into queue if it is already in use C) Windows checks and puts a request into queue if it is already in use and keeps processing the program until the current hardware operation is completed D) Windows checks and puts a request into queue if it is already in use and stores the program in registers until the current hardware operation is completed

d) In multitasking, when one program slice of processor time is over

A) Processor writes contents of registers to RAM and from there to virtual memory, the hard disk storage B) Processor writes contents of registers to RAM and fills them again with next programs instructions C) Processor writes contents of registers to RAM and fills them again with next programs data and executes program's instructions from RAM D) Processor writes contents of registers to RAM and starts executing the next program from RAM

18. What's wrong with the call "fopen("c:\newdir\file.dat", "r")"?  __________________________________

19.  How can we invoke another program from within a C program? ______________________________

20. Why doesn't C have nested functions? _________________________________________________

21. How do you write a program which produces its own source code as its output?___________________

22. Numbers between 1 to 100 divisible by 2 or 3.______________

23. Priya bought 6 pens, 7 notebooks, and 8 pencils and she had spent all the money she had for that. Rama bought 13 pens, 12 notebooks and 9 pencils and rama had 50% of money more than what priya had. How much %  rama spends more than priya? ________________

24. Four girls participate in the Miss India competition. Each was wearing saree of different colour. They were made to sit in a row. The winner was wearing a yellow saree. The runner up was not in the corners.Ms.AP was next to Ms.West Bengal.Ms.west Bengal is neither the winner nor the runner. Ms.Maharastra was wearing a green saree.Ms.UP was the runner up. Both winner and the runner are not adjacent and have a person between them. Who was wearing a Red saree?   Who was the winner? ____________________________________________

25. The ratio of white balls and black balls is 1:2. If 9 gray balls is added it becomes 2:4:3. Then what is number of black balls.

26. what is the size of IPv6 

27. which protocol is used to convert the ethernet address to IP address____________________________

28. which of the two codes executes fast ____________

    a) for(i=0;i<100;i++)

        for(j=0;i<100;j++)

            a[i][j]=0;

    b)for(i=0;i<100;i++)

        for(j=0;j<100;j++)

            a[j][i]=0

 29. What happens when a higher priority process requests the CPU when it is servicing a lower priority process.
 30. 1/4th of salary for rent, 1/5th of salary for transport and remaining deposit. He deposited Rs. 50/-
        then monthly salary ?

31.  Advantages of digital over analog signal ?

32.  Which one does not involve direct recursion.

   a) backtracking b) divide and conquer c) dynamic programming d) none of the above.

33. If X and Y do not equal 0, is X/Y an integer? 

34. What is the price of a banana? if

(a) 14 banana and 35 oranges cost Rs. 84 (b) with a 50% discount on banana, Rs. 12 can buy 4

bananas and 5 oranges.

35. The total length of the great wall of China is

a) 1,400 miles  b) 1,500 miles  c) 1,300 miles  d) 1,400 miles

36. Deficiency of vitamin C may result in a) beriberi b) night blindness c) dermatitis

37. The minimum number of atoms in a molecule of an element are a) 1  b) 5  c) 2  d) 10

38. For designing binary counter which flip flop is preferred  a) T FF  b) SR FF  c) D FF  d) JKFF

39. Decimal no. 17 can be converted in binary, the binary no. will be

a) 10001  b) 01110  c)00111  d) 11100

40. Which antennas are used in microwave communication

a) long wave antennas   b) Rhombic antennas  c) Parabolaidal antennas  d) All of above

41.The frequency range for satellite broad casting is  

a) 30 MHz – 300MHz  b) 30 MHz – 3 GHz  c) 3 GHz – 30 GHz  d) 30 GHz – 300 GHz

42. The high 3 db frequency of an amplifier will be approximately

a) 5850 kHz  b) 585 kHz  c) 5850 Hz  d) 585 Hz

43. Rotors used in a two-phase ac servomotor is

a) solid iron motor  b) squirrel cage rotor  c) drag cup rotor  d) both b and c

 44. For the safety measurement of the internal resistance of a 25-0-25 mA meter, a laboratory multimeter 
       whose sensitivity is equal to

a) 1k ohm/volt    can be used  b) 10 k ohm/volt   can be used  c) 100 k ohm/volt can be used

d) 200 k ohm/volt can be used

 45. In order to measure moisture in wood the most suitable method is

a) Electrical conduction  b) Electrical – capacitive  c) Absorption of radiation

d) Equilibrium- moisture vs humidity

 46. Which one of the following conditions for Z parameters would hold for a two port network containing 
      linear bilateral passive circuit elements

a) Z11 = Z22  b) Z12Z21 = Z11Z22 c) Z11Z12 = Z22Z21  d) Z12 = Z21

 47. When the gauge factor of a strain gauge is 2, stress is 1050 kg/cm2, Y = 2.1´ 106 kg/cm2 and R is

100 ohms then the value of DR will be

a) 2W   b) 3W  c) 4W  d) 1W

 48. The charge on the plates of a capacitor is given by the expression

a.) Q = VI   b.) Q = IR   c.) Q = CV   d.) Q = IC

 49. Schering bridge measures

a.) Capacitance dielectric loss   b.) Inductance   c.) Resistance   d.) Mutual inductance 

 50. What is 215 complement of 00011100-

a.) 11100011   b.) 10001100   c.) 11100100   d.) 10000111

 

 Home                                                 Next