What is a token? Differentiate between a for loop and a while loop? What are it uses?
What do you mean by Program? Briefly describe the basic structure of C programs.
Write a program that reads the numbers and sorts them by using the Counting Sort algorithm and finally search a number from that array using Linear Search Algorithm. 8 Input: 3 6 5 4 7 8 9 Search Item: 7 Output: Sorted Array: 3 4 5 6 7 8 9 Search item 7 is found.
Given an array arr[] sorted in ascending order of size N and an integer K. Check if K is present in the array or not. (Use Binary Search) Input: N = 5 K = 6 arr[] = {1,2,3,4,6} Output: 1 Explanation: Since, 6 is present in the array at index 4 (0-based indexing), output is 1
Write a program that reads in a sequence of characters and prints them in reverse order (Use a stack)?
Write a C program to implement Queue operations such as enqueue, dequeue and display using linked list?
Given an array array[], its starting position l and its ending position r. Sort the
array using Bucket Sort algorithm.
Input: N = 10
array[] = {10 9 7 8 6 2 4 3 5 1}
Output: 1 2 3 4 5 6 7 8 9 10
find the value of cosx by using the inbuilt function
Write a menu driven program to create binary tree using linked list for
computing following information.
a) To count number of leaf nodes
b) To count number of non-leaf nodes
c) To find total number of nodes
d) To compute height of the binary tree
e) To find sum of all nodes
f) To find the minimum element
g) To find the maximum element
Write a C Program for extracting only operators from a large string.