HP Placement paper & Pattern

Company Profile

Stanford University classmates Bill Hewlett and Dave Packard founded HP in 1939. The company's first product, built in a Palo Alto garage, was an audio oscillator—an electronic test instrument used by sound engineers. One of HP's first customers was Walt Disney Studios, which purchased eight oscillators to develop and test an innovative sound system for the movie Fantasia.

HP is a technology solutions provider to consumers, businesses and institutions globally. The company's offerings span IT infrastructure, personal computing and access devices, global services and imaging and printing for consumers, enterprises and small and medium businesses.

HP established a presence in Asia Pacific in 1963 when the first office was set up in Japan. Today, we have more than 26,000 employees in this region with operations in 14 countries – Australia, China, Hong Kong, India, Indonesia, Japan, Korea, Malaysia, New Zealand, Philippines, Singapore, Taiwan, Thailand and Vietnam.

Today, HP India is number one in everything from PCs, enterprise storage solutions, printers, scanners and so much more. Our Indian entities are:

  • Hewlett Packard India Sales Private Limited for sales and marketin operations

  • Global e: Business Operations Private Limited for transaction processing and

  • Hewlett Packard India Software Operations Private Limited for software development and sales

  • HP Labs India is one of the six HP Labs worldwide. It has been set up to innovate breakthrough technology for the rapidly growing emerging markets worldwide.

HP's offices spread across Ahmedabad, Chennai, Bangalore,New Delhi, Hyderabad, Kolkata, Mumbai and Pune. As the best place to start your career and a great place to work, HP India offers a stimulating work environment where you can compete with the very best.


For More info Visit Website : http://www.hp.com
Also Visit HP India Website : http://welcome.hp.com/country/in/en/welcome.html


HP Pattern & Eperience


Four rounds

1.Test

2.GD
3.Technical(may be 2 rounds)
4.Hr

TEST (six sections)(214 attended)

a. Analytical
Mostly venn diagrams, sums like $ for 0 , * for 1 and 5 qns asked from that)

b. OS

c. Data communication and networking (also some problems were asked)
d. C and UNIX
e. DBMS
f. I don’t know d other section

GD(67 attended)

For my panel ,they asked discuss on our own topic

We choose Tea Vs Coffee

Here they will select half of the count I think so.

Technical (time was something around 10.30)(44 attended)

Since I told tat I am good in C, they asked to write two programs

1.swap 2nos using pointers
2.string reverse using pointers
3.he gave one quantitative qn
4.some qns on DBMS (my area of interest) (foreign key,3cnf,)
5.asked about compiler (lex tool)

They expect cse graduate to work on unix

HR (time 12 passed)(17 attended & no elimination)

They will ask everything in your resume

Ur strength, weakness, role model, hobbies, etc

Be prepared.


Technical

1.give the o/p of the following programs>>>
a)main()
{ printf("%d",scanf("%d%d",printf,scanf));
}
1)2 2)2 2 3)0 4)error

b)there was a program of swaping by pointer(check it out)

c)main()
{char *p="quick";
char q[]="sort";
char *t;
t=malloc(sizeof(p)+sizeof(q)+1);
strcpy(t,p);
strcat(t,p);
}

1)quick sort 2)sort sort 3)quickqick 4)sort quick

d)main()
{ int s[]={1,2,3,4,5,6};
printf("%d",&a[0]-&a[5]);
}
1)error 2)8 3)6 4)0

e)try to know pointer and its various operation (say what will happen if 2 pointer is added or int pointer is addressed to a char etc.)
4.try to know something about firewall and its functions

4 sections
48 quesns
no negative marking
all objective quesns.

IT INformation

1. Who is associated with C language?
2. CEO of MIcrosoft
3.Company producing Routers,Bridges
4.From 70s 80s Company producing
mouse,GUIs............a)Dell b)IBM c)xorox d) HP
5.Inventor of Pascal
6.Abt SUN micro systems
7.first digital comp machine a)von neumann b) Dijkstra
8.Which of these is not Search engine a)hotbot
b)parametric c)Altavista d) google
9.In 2002 IBM acquired which company a) Rational b)
oracle c) netscape
10.founder of apple computer(2 persons)

Computer Concepts

1.Complexity nlogn a.quick sort b. bubble sort c.
shell sort
2.Abt Protocols
3.Abt SSL
4.Abt MBR
5.Cross compiler
6.synonymus to main memory
7.Semaphores
8.Database quesns Stored procedures
Trigger strategy
9.Bandwidth measured in ?
10.Term assoc with Context Transaction

Java

1.extending the class means
2.how many values does char of java has
3.Java pgm can be executed on any m/c how?
4.utility used for dynamically changing the tables
a.vector b. hash table c. enumeration
d. structures
5.synchronise means
6.if X & Y r objects X = Y means
7.which action Java platform restricts on applets
a. Image viewing
b. Accept user i/p
c. write to system files
d. initialise date in browser
8.quesns on JDBC
9.Two quesns on simple java pgms.
10. Java was initially code named as:
a)Oak b)green c)miller
11.) what is not true about the following statements
about java.
a) it is compiled using javac compiler
b) the compiled files have .class extension.
c) such files cannot be transfered from one comp to
another.
d) they use the java interpreter

Question Consist of 4 parts. Duration of exam is 60 min.

  • C---------20Q

  • C++ ----15Q

  • Unix-----15Q

  • Apptitude--15Q

C And C++

  1. i=23, j=4, c=0;
    c=i++-++j;
    o/p?

  2. #define CUBE(x) x*x*x
    #define MUL3(x,y) 3*x*y
    #define ADD(x) x+y
    some statement maikng use of the preprocessors defined above............find o/p.

  3. virtual destructors r used for ?

  4. 2 questions onFriend functions & classes

  5. char c[]="123456789";
    i=4;
    printf("%c %c", c[i], i[c]);
    o/p?
    one more question on these lines.

  6. int *ptr;
    p=0;
    p++;
    printf("%u", p);
    o/p?
    a. 0 b. garbage value c. 4 d. none of the above

  7. double i=0.0;
    switch(i)
    {
    case 0.0:
    printf("jgdj");
    case 1.0:
    printf("ptoy");
    break;
    default:
    printf("hdfv");
    }
    o/p?

  8. volatile int i;
    in d above statement, is "volatile"
    a. a type declaration b. type qualifier c. storage class d. none of the above

Unix

  1. "bash" is a kind of shell in UNIX

  2. primitive flavours of unix
    options : a. BSD &Sys V b.Linix & BSD c..

  3. which of the folllowing is used 4 redirection in UNIX? >, |, <, ^

  4. wot is d UNIX terminology 4 multi-tasking?
    a. time slicing b. pre-emptive ....... c. time division d.......

  5. In UNIX if You try accessing a directory for which u dont have permission, wot message is displayed?
    a. permission denied b. invalid user c. access denied d.........

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;


HP interview questions
but it depends on who takes ur interview
1 tell @ urself
2 ur fav. prog. language
3 write string compare program in C (optimize it)
4 what is DML in oracle.
5 what is RDBMS? howz it different from DBMS?
4 What is abstraction? is it only in OOP or in C too? can we say printf func. in stdio.h is an abstraction?
5 how will u write a prog to perpare a report based on sorting files on date. i.e u have say 10 files and u have to sort them n make a report of them date of creation/ size - wize.
6 a question of java prog. where class was subclass of String and few output functions were there.
7 few questions on output in C related to pointers (easy)
8 Normalization? functional dependency vs. transitive dependency?
9 Unix - some easy ones.
----------------------------------------------------------------
2nd round
u know what is a test plan? is testing important? how will u estimate time taken for testing in product dev. LIFE cYCLE? given an estimation problem?kinds of testing? what testing a developer has to do ...order of different kind of testing....which is imp testing or development from risk point of view and from personal point of view. what id more imp. work or money?
----------------------------------------------------------------

3rd round

tell something about urself
....what do u know @ HP?
why looking for a change?
if u have done some cerification/course then why?
which are the good companies acc. to u and why?
why join HP?




No comments:

Post a Comment



Archive