Posts

In which order the given tree will Travers when we use the following: i) Post order Traversal ii) Write down the code for the Post Order Traversal of any tree | PU | Past Paper 2017

Suppose you are given a sorted array A of n distinct numbers that has been rotated k steps, for some unknown integer k between 1 to n-1. You have to design an O(nlogn) code to find the value of k | PU | Past Paper 2017

Write down the code of the following function of Link List Class. i) void removeFromHead() ii) int countDuplicate(int key) | PU | Past Paper 2017

Write down the code for Insertion Sort | PU | Past Paper 2017

For the following given data below draw the Max-Heap Data is: 15, 3, 6, 18, 5, 9, 11, 20, 17, 7, 2, 3, 14 | PU | Past Paper 2017

What is the output of the following code | PU | Past Paper 2017

Write down the Postfix notation of the following expression: 9 - 3 + 2 * ( 3 * 4 - 3 ) / 4 + 2 * 1 | PU | Past Paper 2017

Program that reads five numbers from keyboard and then displays the maximum and minimum number on the screen.

Program that alphabetically sorts an array of ten characters.

Program that calculates the factorial on an integer number.

Program that reads a character from keyboard and determines whether the character is a vowel or consonant.

Program that reads two numbers from keyboard 'n' and 'p' calculates the n raise to power p.

Program that reads a character from keyboard and displays next five and previous five characters.

Program that input two single-digit numbers and one arithmetic operator (among: +, -, *, /, %); your program should perform the arithmetic operation accordingly and display the result.

Program that inputs 10 digits, stores them into an array and finds the minimum digit.

Procedure that reads a text-paragraph from a file and then prints the number of characters on the screen.

Program that alphabetically sorts an array of ten characters.