Placement Papers - HP

Hewlett Packard
HP PAPER - 30 AUG 2003
Posted by :
Dhanraj
(16)
Hello Friends I have been the silent member of this group, here i have an oppurtunity to post some thing usefull for U all. Some of the question\'s of HP\'s test. I don\'t remember the exact options for some questions so i am leaving it blank.There are three different versions of Question paper,the Question Paper version I got is VB-1-2003.
There are four sections in the test
1.general ability(12q)
2.computer science(12q)
3.c/c++(12q)
4.java.(12q)
All the questions are mandatory. No negative marking

the questions are
section 1
1.Intel\'s first processor is
1)------2)4004 3) 80804)8086

2) Founder of Microsoft corporation
1) Bill Gates 2) Billgates and --- 3)Bill gates and Paul Allen 4) Billgates and ----

3)Oddman out
1)Internet Explorer  2) Alt Vista3) Netscape Navigator 4)Opera

4)Which of the following is not a database
1)PLSQL2)MSSQL 3)MySQL4)Informix

5)Laura C--- (I don\'t remember exact spelling ) is CEO of
1)Oracle 2)DELL 3) Hp4)Intel
Ans) She is CEO of HP

6)\'SUN\' Microsystems SUN stands for
1)Simple Unified Network 2)Solaris Unified Network 3)-----
4) None of the above.

Section 2

1) IRC stands for ans) Internet Relay chat

2)ICQ stands for  ans)--------------------

3)The protocol used to translate Internet address to Network addressis
1)IP2)TCP3)ARP4)RARP

4)In some OS the option that the system provides to communicate with
other process is
1)IPC(Inter Process Communication)2)----3)-----4)-----

5)VPN stands for ans) Virtual private network.

6)The time taken to transfer data from one place to other place or
process within specified time is
1)Throughput2)Latency time 3)Response time 4)----------

7)The time complexity for which of the following is O(n log n)
1) Radix sort 2)Quick sort3)Shell sort 4) Bubblesort.

8)Which of the following is used pass the packets between networks
1)--------2)Bridges3)Router4)Gateways

Section 3

1)Which of the following can be used to print % to the screen
1) printf("\%");2)printf("\%"); 3)----- 4)------

2)how many times the loop is executed
  main()
  {
   int i=3;
   while(i>=0)
   printf("%d",i--);
   return(0);
  }
  1) 3 2)Infinite 3)0 4)2
3)  what is the output
int 1=10;
printf("%d %d %d ",i,++i,i++);


1) 10 11 11 2)11 11 10 3) 10 11 10 4) None of the above
4)
x=2;
y=5;
z=x+++y;
printf("%d %d %d",x,y,z);
1)----------- 2)------- 3)--------- 4)---------

5)In c++,
1)------------------
2)------------------
3)you cannot Overload new operator for a class
4)----------------------

6) Void xyz(char a[10])
   {
int i;
i=sizeof(a);
printf("%d",i);
   }
1)10 2)can\'t say 3) 2 4)same as size of pointer.

7) Local Variables is stored in which part of the memory
  1) register or heap 2)heap 3)register or stack 4)-----
8) which of the following can be shared by progams
1)Text Code
2)Data segment
3)heap memory
4)--------

Section 4
Sorry I don\'t remember the Java Questions