Active TopicsActive Topics  Display List of Forum MembersMemberlist  CalendarCalendar  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
 Discussions WorldJOBS @ DISCUSSIONSWORLD.COMLATEST 2009 PLACEMENT PAPERS - INDIA'S LARGEST COLLECTIONHP PLACEMENT PAPERS / HP INTERVIEW QUESTIONS


HP Sample Placement Paper 21 OCT- Bangalore Topic: HP Sample Placement Paper 21 OCT- Bangalore

Post Reply Post New Topic
Author Message
priyadash
Groupie
Groupie
Avatar

Joined: 14Aug2009
Online Status: Offline
Posts: 1
Quote priyadash Replybullet Topic: HP Sample Placement Paper 21 OCT- Bangalore
    Posted: 19Aug2009 at 11:16am
HTML clipboard

HP Sample Placement Paper 21 OCT- Bangalore

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 ;
}


IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You can vote in polls in this forum

GET LATEST FRESHERS JOBS IN YOUR MAIL
GET LATEST FRESHERS JOBS IN YOUR MAIL:




This page was generated in 0.141 seconds.
Privacy Policy | Terms and Conditions

Our Portals : Job Interview Questions | Placement Papers Academic Tutorials | Free eBooks | Beyond Stats | City Details | Job Interview Questions | Excellent Mobiles | Free Bangalore | Give Me The Code | Gog Logo | Indian Free Ads | Jobs Assist | Job Interview Questions | One Stop FAQs | One Stop GATE | One Stop GATE | One Stop GRE | One Stop IAS | One Stop MBA | One Stop SAP | Software Testing | Web Hosting | Dedicated Server in India | Quick Site Kit | Sirf Dosti | Source Codes World | Tasty Food | Testing Interview Questions | Free Online Exams | The Galz | Send Free SMS | Vyom | Vyom eBooks | Vyom International | Free Downloads | Vyoms | Vyom World | Clean Jokes