Search This Blog

Tuesday, October 29, 2019

CS8251 Programming in C - Important Questions for semester

CS8251 & PROGRAMMING IN C
Question Bank - April/May 2018
I Year/II Semester
UNIT I
1
What are the types of Operators available in C ? Discuss each one of them with suitable illustrations
May17,may16,may15, dec14
2
Explain the various storage classes in C
May17,may16,jan16, may15,Jan14,june14
3
What is a Preprocessor Directives in C ? Explain each with an example
May16,dec14,Dec16
4
Write about the need and types of looping statements in c language and discuss with an example/Control/Entry and exit control statements
Jan16,may15,dec14, jan14,june14
5
Explain the Decision making statements with suitable example in C/Branching/Conditional
Jan16,Jan14,dec16
6
Explain in detail about the data types in C
May16
7
Explain various input and output statements with example program
May17,dec16
8
What are constants? What are the types of constants?
May15
9
Explain the concept of arrays?
Dec16
10
Write a C program to find roots of quadratic Equations
May16,may15,june16
11
Write a C program to Check whether a given number is prime or not
june16
12
Write a C program to find Fibonacci series
Jan14
13
Write a C program to find Sum of digits 
june16
14
Write a C program to find sum of series/ sum of 1+2+3……n
May16
UNIT II
1
C program for Computing Mean, Median and Mode
New syllabus, important
2
Matrix Addition, Scaling, Determinant and Transpose,Multiplication
May16,Jan16,may15,dec14,jan14,dec16,june14
3
String Operation/String Handling Functions
May17,May15,dec14
4
Linear Search/ Write a C program to search a given number in an array of elements
May15,dec14
5
Binary Search
New syllabus, important
6
Selection sort
7
Arranging numbers in Descending / Ascending order
May17,may16,may15, dec14,june14
8
Finding maximum and minimum number/ Largest and smallest number
May16
UNIT III
1
Function prototype
Jan14
2
Computation of Sine series, Scientific calculator using built-in functions
New syllabus, important
3
Binary Search using recursive functions
4
Sorting of names
Jan16
5
Parameter passing:Pass by value,Pass by reference/
Swapping of two numbers and changing the value of a variable using pass by reference
May17,may16,jan16, May15,dec14,Jan14, Dec16,june14
6
Explain the uses of pointers and concept of pointers with example programs ( including array of pointers, pointer arithmetic)
May17,Jan16,Dec16, June14
7
write a c program using pointers to read an array of integers and print its elements in reverse order.
May15
8
Write a c program to print the factorial of a given number using recursion.
May16,jan16,May15, dec14,june14
9
C program to count number of vowels in your name
May16
10
C program to check whther the given string is palindrome/Reverse a string
May16,jan16,jan14
11
C program to count number of words in a string using pointers
May16
UNIT IV
1
Dynamic memory allocation

2
Explain in detail the concept and importance of structures
May17,jan16
3


What is the need for structure. Create a structure with a data members of various types and declare two structure variables. Write a program to read  data into these and print the same
Dec14
4
What are Linked list. Explain its Operations
New syllabus, important
5
Create a structure with a data members of various types and declare nested structure variables.

6
employee information system using structure
June14
7
Student Details using Structure
Or
May16,Jan14,Dec16
8
Define a Structure called Book with book name, author name and price.Write a C program to read the details of book name , author name and price of 200 books in a library and display the total cost of the books and the book details whose price is above Rs.500.
May15
9
Define and declare a structure to store date which including day, month and Year

Jan14
10
Self Referential structure and sturucture with pointes

UNIT V
1
Explain the File operation with mode
New syllabus, important
2
Explain in detail about classification of file processing
3
Finding average of numbers stored in sequential access file
4
Transaction processing using random access files
5
Command line arguments

No comments:

Post a Comment