Write a ‘C’ program to illustrate the use of indication operator “*” to access the value pointed by a pointer.
Write a C program to read the information from the keyboard in which the “Employee” structure consists of employee name, code, designation and salary. Construct an array of structures that stores n employees information and write a program to carry out operations like inserting a new entry, deleting entry.
Explain the command line arguments. What are the syntactic constructs followed in ‘C’.
Write a ‘C’ program to read the input file from command prompt, using command line arguments.
Define a data structure. What are the different types of data structures? Explain each of them with suitable example.
Write a C program to search a tree for a given element in the integer array using binary search?
Explain the way of defining, opening and closing a file. Also explain the different modes of operation.
Distinguish between an array of structures and array within a structure. Give an example of each.
Write a C program using structure to create a library catalogue with the following fields: Access number, Author’s name, Title of book, Year of publication, Publisher’s name, Price.
Write a C program to read information about the student record containing student’s name, student’s age and student’s total marks. Write the marks of each student in an output file.
Write a ‘C’ program using pointers to implement a stack with all the operations.
Write a program to demonstrate
getc() and putc ()
gets() and puts ()
Compare the advantage and disadvantage of bubble, insertion and selection sort.
What do you mean by data structure? Explain about linear data structure?
Write a ’C’ program to print Pascal Triangle
Write the syntax for opening a file with various modes and closing a file.
Explain about file handling functions.
Define linked list. Mention the different types of linked lists and explain the operations for any one.
What is a network? What is a spanning tree? Define minimal spanning tree.
What are the various traversals in a tree?
Explain the algorithm for binary search on an ordered file with keys { 1,2,3,4,5,6,7,8,9,10 } and determine the number of key comparisons made while searching for the keys 2, 10 and 15.
Explain the operation of random access file, mention its advantage and disadvantage with example.
Explain the procedure for converting an infix expression to postfix with an example.
Write an algorithm to create binary search tree using Depth First Tree .
Write a program using indexed sequential file for student database to perform addition, deletion and searching of data’s.
What do you mean by sorting? Mention the different type of sorting. Give some examples and explain one in detail
What are the disadvantages in stack? Write a program to illustrate stack operation?
Write a program using structures to display the following information for each customer name, account number, street, city, old balance, current payment, new balance, account, status.
Write a short notes on pointer
Write a brief note on storage classes
Write an algorithm to perform deletion operation in a binary tree search?
What is DMA? What are the operation can you perform in DMA?
Describe various types of files with an example for each ?
What are the differences between the stack and queue explain with example?
Explain any of two algorithms
Robin Karp Algorithm B)Dijkstra Algorithm c) Kruskal Agorithm D) Prims Algorithms
Explain about DFS and BFS with diagrams?
What are the command line arguments? Explain
Explain the prefix, infix and postfix notations in stack with diagrams
What are the advantages using pointer instead of array? Discus
Explain how to delete an item in the list form doubly linked list