HCL - HP
Written test:
One GRE type anals. section, and two comp Sc. sections. One Comp Sc. section was problem solving type. Quite easy. Only question worth mentioning in it was:
You are given a stack on which you can do the following:
Push X ----push the contents of memory location X on the stack
Pop X ----pop the contents of top of stack into mem. loc X
AND ----pop top two elements of stack, AND them and push the
result onto stack.
NOR ----pop top two elements, NOR them and push the result onto stack.
Given two data elements at memory locations A and B, obtain A XOR B using
the above.
First Interview:-
mostly technical.
a) Asked about my B.E. and why I joined MS.
b) My preference of posting. They asked this initially before
launching into any other questions. I told them Madras.
Remainder of the interview was mostly on OS and C. Nothing
on networks. Thus I have this inkling that they frame their
questions on the basis of what you specify as your preference
of posting and depending on what projects are available there.
c) What architectures, apart from 8085, do you know? --- Nothing
very deep and I told them as much.
d) Give the contents of process stack for the execution of
a particular C-program they give.
------ The C-program as such is not important. You just have
to remember the order in which the return address of any
function/procedure call, the parameters, and the local variables
are stored on the stack.
( I guess, any CO book should have this. Maurice Bach talks
about user and kernel stacks)
e) What all are shared by parent and child processes immediately
after parent executes a fork system call? Cross questioned
about the 'copy on write' facility and 'dup' system call.
--- again see MB, and also Stevens' 2nd chapter.
f) What events happen when the following command is given?
cat /etc/passwd more
---- Describe how the shell forks the two processes and how
the pipe gets created between them.
Cross question: How does 'cat' know that its output has to be
written into the pipe and not into standard o/p?
g) Have you written any TSR's? --- No.
What are TSR? ----Terminate but stay resident programs.
Then does it mean DOS is a multitasking system?
---- No, TSRs are interrupt driven
h) How are Windows programs different from normal C-programs?
---- Windows programs are event driven.
What can be the various types of events? --- See Primer/API bible.
i) Difference between swapping and paging.
---- Swapping is moving entire processes between main memory
and hard disk. Paging is moving individual pages of a process.
j) Write a program to list all palindromes in a string.
----- Hint: use a stack and some extra storage for remembering
previous palindromes.
k) What's the outout?
char *cp;
int *ip;
cp=(char *)0x100;
ip=(int *)cp;
ip++;
cp++;
printf("cp = %x ip = %x", cp, ip);
Ans:cp = 0x101 ip = 0x102 ...(why?)
l) What are static variables and functions? There are two files,
say, file1 and file2. file1 has a global declaration
static int x;
file2 has a global declaration
int y;
What is the difference between the two types of declarations
when you link file1 and file2?
--- x is local to functions in file1 and cannot be seen by
functions in file2. y can be seen by functions in both
file1 and file2.
m) How does a debugger set breakpoints in a code you are debugging?
---- some funda regarding insertion if an interrupt instruction
in the code....don't know for sure.
(It seems that this q was also asked by some other company.
Worth knowing the answer.)
This was followed by a shady psychological test. You are given a
set of six pictures. Look at each picture and write a story on each.
Second interview:
(fully personal --- This was more interesting;-)
a) What did you feel about the ppt? --- wasn't very impressive
so gave some shady answer.
b) Have you heard of creativity? -- Ya.
Have you heard of Bernard Shaw? -- Ya.
(Then he rattled off some quote of BS regarding creativity)
What do you say? --- I put some shadiest fundaes regarding
visionaries and Leonardo da Vinci conceptualising Helicopters
in his time!
************************************************************************
NOTE: If you have been offered a job previously by any other company
after your BTech/BE or if you have even slightest of work experience
then make it a point to mention about it. It is a major plus point.
The interviewers will be definitely interested in knowing that some
other company also found you good enough to be selected.
************************************************************************
HOME
YEAR N ORG
- C++ (1)
- CISCO 2000 (1)
- CISCO IN ISI (1)
- CISCO SELECTION PROCEDURE (1)
- CTS-JUNE-2005 (1)
- GD TIPS (1)
- GE-NIT-CALICUT-06 (1)
- HCL 1995 (1)
- HCL INTERIVIEW (1)
- HUGHES - 2003 (1)
- HUGHES DELHI 1997 (1)
- HUGHES-26/12/03 (1)
- I'VIE QNS TECH COMP (1)
- I'VIEW HOW TO DRESS (1)
- I'VIEW QNS AT EBAY (1)
- I'VIEW QNS ON C (1)
- I'VIEW QNS ORACLE (1)
- I'VIEW TIPS (TEAM) (1)
- I'VIEW TIPS 1 (2)
- I'VIEW TIPS 2 (1)
- I'VIEW TIPS 3 (1)
- I'VIEW TIPS 5 (1)
- I'VIEW WAY OF ANSWERING (1)
- IBM - 2006 (1)
- INFOSYS DCE DELHI 2K (1)
- INFOSYS 1997 (1)
- INFOSYS 1998 (1)
- INFOSYS CET 2000 (1)
- INFOSYS I'VIEW 05 (1)
- INFOSYS IISC (1)
- INFOSYS IISC 2K (1)
- INFOSYS IISC B'LORE (1)
- INFOSYS IITB 2000 (1)
- INFOSYS IITD 2000 (1)
- INFOSYS IT BHU 2K (1)
- INFOSYS PAPER (1)
- INFOSYS PAPR 97 (1)
- INFOSYS QNS (1)
- INFOSYS QYESTIONS (1)
- INFOSYS TECH LTD (1)
- INFOSYS VJIT 2000 (1)
- INFOSYS-BANGLORE-2006 (1)
- interview tips (1)
- ORACLE CANDIDATE EXP (1)
- ORACLE CHENNAI 13/07/03 (1)
- Oracle OFF CAMP (1)
- ORACLE-2001 (1)
- ORACLE-GUIDANCE (1)
- ORACLE-NITK-11/07/03 (1)
- ORACLE-OF CAMPUS 22/06/06 (1)
- ORACLE-OFCAMP -21/06/03 (1)
- ORACLE-OFCAMP 21/06/03 (1)
- ORACLE-OFCAMP-JULY 2003 (1)
- ORACLE-RECW-2003 (1)
- PATNI 1999 (1)
- RESUME 2 (1)
- RESUME 3 (1)
- RESUME 4 (1)
- RESUME 5 (1)
- RESUME 6 (1)
- RESUME 7 (1)
- SAS (1)
- SASKEN SEP 2003 (1)
- SATYAM 2K3 (1)
- SATYAM 2003 (1)
- SATYAM PAPER (1)
- SATYAM PAPER - GD (1)
- SATYAM PAPER CAND EXP (1)
- SATYAM PATTERN (1)
- SATYAM SAMPLE TEST (1)
- SATYAM2003 (1)
- SQL (1)
- Tcs (1)
- TCS - 2006 (1)
- TCS -JADAVPUR UNI 99 (1)
- TCS 01/07/06 PAPER I'VIEW (1)
- TCS 1998 (2)
- TCS 2000 (1)
- TCS 2003 (1)
- TCS B'LRE 23/09/06CAND EXP (1)
- TCS CAND EXPERIENCE (1)
- TCS CHENNAI 10/12/06 (1)
- TCS COBOL PAPER (1)
- TCS HYD 07/10/06 (1)
- TCS HYD 07/10/06 CAND EXP (1)
- TCS I'VIEW (1)
- TCS MODEL PAPER (1)
- TCS PAPER (1)
- TCS PAPER 1998 (1)
- TCS PAPER 2000 (1)
- TCS PAPER I'VIEW 24/07/06 (1)
- TCS PAPER1 (1)
- TCS PATTERN CAND EXP (1)
- TCS PONDY 02/06/07 I'VIEW (1)
- TCS RANCHI 24/07/06 (1)
- TCS ROORKEE 31/07/97 (1)
- TCS SAMPLE TEST 1 (1)
- TCS SAMPLE TEST 2 (1)
- TCS TALENT TEST 1 (1)
- TCS-HYD-20/10/06 (1)
- TEX TECH TEST 2003 (2)
- TEXAS PAPER 2000 (1)
- TEXAS 1999 (1)
- TEXAS 28/07/08 (1)
- TEXAS CSE 2001 (1)
- TEXAS IISc (1)
- TEXAS IITB (1)
- TEXAS IITK (1)
- TEXAS INSTR PAPER (1)
- TEXAS JADAVPUR 99 (1)
- TEXAS PAPER (1)
- TEXAS REC 2000 (1)
- wipro (1)
- WIPRO 1995 (1)
- WIPRO 1999 (1)
- WIPRO 2000 (1)
- WIPRO 2K (2)
- WIPRO INTERVIEW (1)
- WIPRO INTERVIEW 95 (1)
- WIPRO JULY 1997 (1)
- WIPRO NITDURGAPUR 03 (1)
- WIPRO PAPER 2000 (1)
- WIPRO PROCESS B'LORE (1)
- WIPRO ROORKEE 2K (1)
- WIPRO SAMPLETEST 2 (1)
- WIPRO SAMPLETEST1 (1)
- WIPRO SMAPLETEST 3 (1)
- WIPRO SURAT 2002 (1)
- WIPRO TECH 2000 (1)
Wednesday, April 18, 2007
HCL-HP
Posted by
pappuagloco
at
12:00 PM
Labels: HCL INTERIVIEW
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment