Placement Papers - HP

Why HP Placement Papers?

Learn and practice the placement papers of HP and find out how much you score before you appear for your next interview and written test.

Where can I get HP Placement Papers with Answers?

IndiaBIX provides you lots of fully solved HP Placement Papers with answers. You can easily solve all kind of placement test papers by practicing the exercises given below.

How to solve HP Placement Papers?

You can easily solve all kind of questions by practicing the following exercises.

HP PAPER - 21 OCT 2003- BANGALORE

Posted By : Abburi.Anilkumar Rating : +19, -4
Hello Friends

I  attended the test conducted on 21st of oct at their office 29,Cunningham Road. There were 80 q's to be answered in 75mins unlike the previous ones.

there were 3 sections
PART- 1 --> 40 q's (Fundamental computer Concepts, includes OS,N/w , protocols)
PART-2  --> 20 q's (Purely C ) --  bit tricky (involves ADA concepts)
PART-3 -->  20 q's (Analytical) --- very easy

I don't remeber all the q's.however some of them which i do have been written below. They r not in order or part of .

 Q : What is not a part of OS ?
 O :      swapper,compiler,device driver,file system.
 A : compiler.

 Q : what is the condition called when the CPU is busy swapping in and out pages of memory without doing any  useful work ?
 O :   Dining philosopher's problem,thrashing,racearound,option d
 A: thrashing.

 Q : How are the pages got into main memory from secondary memory? DMA, Interrupts,option3, option 4
  A : as far as i know its  Interrupts --by raising a page fault exception.

Q : What is the use of Indexing ?
O : fast linear access, fast random access, sorting of records  , option 4
A : find out.

Q : in terms of both space and time which sorting is effecient. (The question is rephrased .)
O : merge sort, bubble sort, quick sort, option 4
A :  find out

which case statement will be executed in the following  code ?
main()
{
  int i =1;
 switch(i)
   {
         i++;
         case 1 : printf ("");
                     break;
         case 2 : printf("");
                      break;
         default : printf("");
                     break;
  }
}

Answer : Case1 will only be executed.

Q : In the given structure  how do you initialize the day feild?
      struct time {
          char  * day ;
         int     * mon ;
         int     * year ;
          } * times;

Options : *(times).day, *(times->day), *times->*day.

Answer : *(times->day) -- after the execution of this statement  compiler generates  
              error.i didn't understand why.can anybody explain.

Q: The char has 1 byte boundary , short has 2 byte boundary, int has 4 byte boundary.
     what is the total no: of bytes consumed by the following structure:
   struct st {
   char a ;
   char b;
   short c ;
   int z[2] ;
   char d ;
   short f;
   int q ;
}

Options are given.
Answer : its very easy 20 and not 19 .

Apart from these there were other q's concerning minimal spanning tree, shortest path and some complexity questions.

Like this page? +19 -4




Companies List:

3i Infotech - AAI - ABACUS - ABB - Accel Frontline - Accenture - Aditi - Adobe - ADP - Agreeya - Akamai - Alcatel Lucent - Allfon - Alumnus - Amazon - Amdocs - AMI - Andhra Bank - AppLabs - Apps Associates - Aricent - Ashok Leyland - Aspire - Atos Origin - Axes - Bajaj - Bank of Maharashtra - BEL - BEML - BHEL - BirlaSoft - Blue Dart - Blue Star - BOB - BPCL - BPL - Brakes - BSNL - C-DOT - Cadence - Calsoft - Canara Bank - Canarys - Capgemini - Caritor - Caterpillar - CDAC - CGI - Changepond - Ciena - Cisco - Citicorp - CMC - Consagous - Convergys - CORDYS - Crompton - CSC - CTS - Cummins - Dell - Deloitte - Delphi-TVS - DeShaw - Deutsche - Dotcom - DRDO - EDS - EIL - ELGI - ELICO - ERICSSON - Essar - Fidelity - Flextronics - Freescale - FXLabs - GAIL - GE - Genpact - Geodesic - Geometric - Globaledge - GlobalLogic - Godrej - Google - Grapecity - HAL - HCL - Hexaware - Honeywell - HP - HPCL - HSBC - Huawei - Hughes - IBM - IBS - ICICI - iGate - Impetus - iNautix - Indian Airforce - Indian Airlines - Infosys - Infotech - Intec - Integra - Intergraph - IOCL - iSOFT - ISRO - Ittiam - JSW - Keane - Kenexa - L & T - L & T Infotech - LG Soft - Lifetree - LionBridge - Mahindra Satyam - Mastek - Maveric - McAfee - MECON - Microsoft - MindTree - Miraclesoft - Mistral - Motorola - Mphasis - MTNL - NIC - Nokia Siemens - Novell - NTPC - Nucleus - ORACLE - Patni - Perot - Polaris - Ramco - Robert Bosch - Samsung - SAP - Sapient - Sasken - SBI - Sierra Atlantic - Sonata - Sony India - Sutherland - Syntel - TCS - Tech Mahindra - VeriFone - Virtusa - Wipro - Zensar.