Hewlett Packard
80 Que 75 minutes
40 Que on cse subjects
They mainly concentrated on
OS(Important),FAFL,DBMS,SS,UNIX(only 2 que),c++,Network(Basic)
20 Que on c.
20 Que on Aptitude+English+Logical
Preparation:
For C,C++--> Test ur C,C++ skills by Yashvanth kanithakar
For Java--> any good book.
Pattern:
48Q totally
12Q in General computer test?(Concentrate more on ceo's and founders of HP,Microsoft,intel,sap etc..)It even includes Q in OS,N/wing
12Q on C,
12Q on C++
12Q n java
All section r compulsory..(Even for Non java guys)
In the interview( ie ont he 2nd ropund..they will ask Q mostly in C,C++,Java.The employee who r asking the Q r very jovial.So develop ur confidence level.They mostly ask abt ur latest projects,
If u clear this level..next will be HR round.
If u clear the second round mostly..u r selected(90%).
HR is just for a formality..
The interview pattern will be as:
1. Tell abt your self.
2. They will ask for the subjects in which we are strong
( Here they will consider the ranking that we written during written
examination & marks we got in written exam)
3. Mostly the interview time will be 45 minutes around (for only
people there is about 1.5 hr)
4. HR questions may include here
5. Good thing is They r friendly and cooperative so confidence place
role.
If u don't know the answer better not to answer than to tell some bad
stuff.
For me 2 people interviewd. As I told them that I am strong in C
they told me to write some programs like double linked list, singly
linked list(adding node at last), macros, const *,char *,pointer
arrays.
The main question that they asked was how can u compile or
execute 'c' program without editor. (Using TCC utility)
coming 2 cpp only 1 question i.e what is polymorphism.
Java they asked me about protocol used in JSP, which layer does it
belongs to, main differences between _Javascript ,java and JSP.
During personal introduction try to excell your capabilities by
giving examples like as fast learner, hard worker like..!
If u have any achievements & awards try 2 put them all during
personal INtroduction.
The interviewers are very co-operative and highly friendly (so
confidence plays vital role)
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

HP paper pattern: The paper
HP paper pattern:
The paper is of 3 sections.
computer concepts -40
aptitude -20
c -20
note that for c , we must follow compiler under unix
computer concepts: os,unix,networks,data structures,computer organization, digital logic design
operating systems:
1)which of the following is not associated with operting systems
a)swapper b)device drivers c)file system d)process mgmt
2)what is the size of virtual memory that must be associated
a)must be same as physical memory b)must be > physical memory
c)can be of any size d)it must be small enough to allocate process
3)which of following is true
a)time sharing is also multi progrmming
b) multi progrmmming is also time sharing
4)global variables are stored at
a)heap b)stack c)data d)code
computer organization:
1)32 registers are there.an instructuion can hold upto 3 registers . the opcode is of 4 bits.
what is minimum size of instruction.
ans:the minimum sizeof instruction has nothing to do with number of registers
2) some bit on pipelineling
3)some bit related to SIMD,MIMD,MISD,SISID
4)minimum no of nand gates require to implement xor gate
ans : 4 gates(check out)
unix:
1)two way communication is possible by means of means of which of the following
ann:unix_socket
2)wc -l x>x prints out
ans:wc command prints 0
3)the background process that continusly run
ans:deamon process
networks:
1)fragmented packet is reunited at
a)destination b)at next gateway c)at highest MTU gateway d)at the next router
2)the following address 93.58.5.0
a)class A b) class B c) class C d)class D
3)network to host protocal is
ans:RARP
data structres:
1)given a doubly linked list .you are given with a node n and a pointer p associated with it. what are the operarions that to be performed to delete that node.
2)swapping the elements of left child of a tree with that of right child .
revswap(node*)
{
node* tree;
if(tree!=null)
swap(tree->left,tree->right)
revswap(tree->left);
revswap(tree->right);
}
if given tree is
1
2 3
4 5 6 7
what is the output for about function applied
ans:
1
3 2
7 6 5 4
3)t(n)=4+t(n/2) ,t(0)=1. what is the complexity
4)in hashing each element can be found with complexity of
ans: 1
5)In a program all the addresses that are to be binded to the caller function are done by
a)compiler b) linker c) loader d) run time allocator
6) s->v[integer]
interger->interger,integer/termial
ans: a[2,3,5]
7)char 1 byte , short of 2 bytes , integer of 4 byte,
stuct
{
char a;
char b;
int a[2];
short d;
int e;
char i;
} name;
sizeof(naame) ans:16
note: consider c compiler unde unix for all c questions
c:
---------
1)main()
{
int i=1;
swith(i)
{
i++;
case 1: printf("case1");
break;
case 2: printf("case 2");
break;
default: printf("default");
}
ans: when we compile we get warning that unreachable code and if we execute we get "case 1"
will be printed.
2)questions related to funtcital pointers
3)some question on const char*p , char* const p;
Post new comment