Forums.Sureshkumar.net : A Perfect Place to Share Knowledge         Blogs     Games    Magazines    

"Sharing knowledge does not lessen your store, often it gets you more. Sharing plays a key role in relationships and bonding, happens in small steps and is assisted through community membership."

Go Back   SURESHKUMAR.NET FORUMS > FRESH JOB SEEKERS > Fresher Resources > HR Questions
Register FAQ Members List Calendar Games Blogs Search Today's Posts Mark Forums Read

HR Questions HR questions and answers

   

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old 13-03-06, 12:08 AM   #1 (permalink)
Senior Member
 
Join Date: Mar 2006
Location: India
Age: 24
Posts: 126
Thanks: 0
Thanked 10 Times in 6 Posts
Thanks: 0
Thanked 10 Times in 6 Posts
Rep Power: 4 abeetha.m has disabled reputation


1. [/i]What are the methods available in storing
sequential files ?[/i]


Ø
Straight merging,


Ø
Natural merging,


Ø
Polyphase sort,


Ø
Distribution of Initial runs.


[/i]


2. [/i]How many different trees are possible with
10 nodes ?[/i]


1014


For example, consider a tree with 3
nodes(n=3), it will have the maximum combination of 5 different (ie, 23 -
3 = 5) trees.






















[img]file:///C:%5CDOCUME%7E1%5CADMINI%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C02%5Cclip_image001.gif[/img]




























i
ii
iii iv v








In general:


If
there are n[/b] nodes, there exist 2n-n[/b] different trees. [/i]





3. [/i]List out few of the Application of tree
data-structure?[/i]


Ø
The manipulation of Arithmetic expression,


Ø
Symbol Table construction,


Ø
Syntax analysis.


[/i]


4. [/i]List out few of the applications that make
use of Multilinked Structures?[/i]


Ø
Sparse matrix,


Ø
Index generation.





5. [/i]In tree construction which is the suitable
efficient data structure?[/i]


(a)
Array (b) Linked list (c) Stack (d) Queue (e) none[/i]





(b)
Linked list





6. [/i]What is the type of the algorithm used in
solving the 8 Queens problem?[/i]


Backtracking





7. [/i]In an AVL tree, at what condition the
balancing is to be done?[/i]


If the ‘pivotal value’ (or the
‘Height factor’) is greater than 1 or less than –1.





8. [/i]What is the bucket size, when the
overlapping and collision occur at same time?[/i]


One.
If there is only one entry possible in the bucket, when the collision occurs,
there is no way to accommodate the colliding value. This results in the
overlapping of values.





9. [/i]Traverse the given tree using Inorder,
Preorder and Postorder traversals.[/i]
















[img]file:///C:%5CDOCUME%7E1%5CADMINI%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C02%5Cclip_image002.gif[/img]




























































Ø
Inorder : D
H B E A F C I G J


Ø
Preorder: A
B D H E C F G I J


Ø
Postorder: H
D E B F I J G C A





10. [/i]There are 8, 15, 13, 14 nodes were there in
4 different trees. Which of them could have formed a full binary tree?[/i]


15.


In general:


There
are 2n-1[/b] nodes in a full
binary tree.[/i]


By the method of elimination:[/i]


Full binary
trees contain odd[/i] number of nodes. So
there cannot be full binary trees with 8 or 14 nodes, so rejected. With 13
nodes you can form a complete[/i] binary
tree but not a full binary tree. So the correct answer is 15.[/i]


Note[/i][/b]:[/i]


Full and Complete binary trees are
different. All full binary trees are
complete binary trees but not vice versa. [/i]



__________________
abeetha
abeetha.m is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 13-03-06, 06:19 AM   #2 (permalink)
Junior Member
 
Join Date: Mar 2006
Location:
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 3 ari_laxmi has disabled reputation
answers:
1) distribution of intial runs
2)1004
3)syntax analysis
4)sparse matrix
5)stack

__________________
laxmi
ari_laxmi is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 13-03-06, 12:59 PM   #3 (permalink)
Moderator
 
Join Date: Feb 2006
Posts: 1,413
Thanks: 0
Thanked 9 Times in 8 Posts
Thanks: 0
Thanked 9 Times in 8 Posts
Rep Power: 18 sowmya571 has disabled reputation
HELLO



5. [/i]In tree construction which is the suitable
efficient data structure?[/i]








(a)
Array (b) Linked list (c) Stack (d) Queue (e) none[/i]


(b)
Linked list








__________________
http://livetolead.blogspot.com/
all the best
Arise Awake N Stop Not Until Ur Goal Is Reached!
sowmya571 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT +6.5. The time now is 07:27 AM.





Search Engine Optimization by vBSEO 3.1.0