All Questions

510 questions and answers

1216 views
1175 views

What do you mean by recursion? Write down a C function to find out the GCD of two nos. using recursive technique.

Recursion is a programming technique that allows the programmer to express operations in terms of themselves. In C, this takes the form of a function that calls itself.

Super Admin
added 3 years ago
1038 views

What is binary tree? Construct a binary tree using the inorder and postorder traversal of the node given below :

Inorder : D B F E A G C L J H K

Postorder : D F E B G L J K H C A

A binary tree consists of a finite set of element that can be partitioned into three distinct subset called root, the left and right sub tree. If there are no elements in the binary tree it is called an empty binary tree.

Super Admin
added 3 years ago
1004 views

What is a B-Tree? Show how the letters A to P English alphabet can be entered into a B-tree of order 4.

A B-Tree of order 'm' is an “m" way tree such that 1. All leaf nodes are at the same level.

Demo Teacher
added 2 years ago
1246 views

What is linear searching?

Linear search tries to find an item in a sequentially arranged data type. These sequentially arranged data items known as array or list, are accessible in incrementing memory location.

Super Admin
added 3 years ago