R4R
Right Place For Right Person TM
 
R4R C++

 


Totel:235 Click: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47

C++ Interview Questions And Answers

Page 1

Questions 1 can derived clss exception also be caught by the catch block?

Answer
No

Questions 2 What Is a B-Tree?

Answer
The B-tree was invented in 1972 by R. Bayer and E. McCreight, and was designed from the start to create shallow trees for fast disk access. Shallow trees have few �levels�, We have to seek through them fewer times, and therefore they run quickly. Because seeks often require going to disk for the information we need, The performance increase with a shallow tree rather than a deeper tree can be substantial. B-trees are a powerful solution to the problem of disk-based storage; virtually every commercial database system has used variations on a B-tree for years. A B-tree consists of pages. Each page has a set of indices. Each index consists of a key value and a pointer. The pointer in an index can point either to another page or to the data you are storing in the tree. Thus, every page has indices that point to other pages or to data. If the index points to another page, the page is called a node page; If the index points to data, the page is called a leaf page.

Questions 3 What is Parsing Numeric Expressions?

Answer
Numeric expressions are generally represented by the infix notation, In which the operator is placed between the operands and parentheses are used where necessary to indicate the order in which the operators are applied to the Expressions. Numeric expressions are best computed using a postfix notation also called reverse polish notation, In which the operator is placed after its two operands and parentheses are not required.

Questions 4 What is the Parsing? and tell me how many types of Parsing?

Answer
Parsing is a generic operation that identifies legal expressions and breaks them up into a form suitable for further processing. Parsing has applications in many different fields such as computer science, Interpreting human language, and so on. The main goal of parsing is to check the validity of an expression and make more sense out of it. The term �grammar� is commonly used in programming languages to identify legal expressions. There are two approaches commonly used during parsing of these two methods : > Top-down approach: This method looks at the program first, and recursively identifies parts that are eventually matched to the input expression. > Bottom-up approach: This method looks at the input expression and combines the pieces of the expression to make a legal program from it.

Questions 5 What is Quadratic Probing?

Answer
The Performance problem encountered by linear probing is caused by the cluster buildup That occurs as a result of the probing sequence. Quadratic probing uses a different sequence to avoid primary clustering.


Goto Page:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47

CPP Objective Questions And Answers

CPP Objective Questions And Answers

CPP Interview Questions And Answers

CPP Subjective Questions And Answers


R4R,CPP Objective, CPP Subjective, CPP Interview Questions And Answers,CPP,CPP Interview,CPP Questions ,CPP Answers

New Updates

R4R
R4R
R4R
R4R
R4R
R4R
R4R
R4R