Cse Programming For Problem Solving Model Question Papers 2
Cse Programming For Problem Solving Model Question Papers 2
MODULE - I
1 a) What are different simple and derived Data Types used in C? Explain with example. [7M]
b) What are different types of expressions used in C? Write a C program to convert [7M]
centigrade Temperature to Fahrenheit
2 a) Explain about operator precedence and associativity among different operators used in C. [7M]
b) What are different types of escape sequences and I/O statements used in C? [7M]
Explain with syntax and example
MODULE - II
3 a) List out various conditional, unconditional and nested control statements used in C [7M]
with syntax and example
b) Write a C program to find the roots of a quadratic equation by testing all necessary and [7M]
sufficient Conditions
4 a) Define string. What are different types of string handling functions used in C with [7M]
example
b) Write a C program to concatenate two strings without using built-in functions. [7M]
MODULE - III
5 a) Explain about i) storage classes used in C and ii) pointers for inter-function [7M]
communication
b) Write a C program to illustrate functions call by value and call by reference [7M]
6 a) Explain about i) passing an array to a function by using pointers and ii) pointers to void [7M]
and to functions
b) Write a C program to demonstrate towers of Hanoi problem by using recursion principle. [7M]
MODULE - IV
7 a) Compare and contrast between structure and union and explain about dynamic [7M]
memoryallocation functions used in C with syntax
b) Write a C program to store information of an employee in nested structure and display [7M]
employee details and his salary details
8 a) Explain about i) library functions used in C and ii) accessing of members of structure [7M]
b) Define a structure called Cricket that will have player name, team name, and batting [7M]
average of the player. Using Cricket, declare an array player with 10 elements. Write a
program to read the information about all the 10 players and print a team wise list
containing names of players with their batting average
MODULE - V
9 a) What are different types of file access permission and character I/O functions used in C? [7M]
Explain withsyntax and example
b) Write a program that opens an existing text file and copies it to a new text file with all [7M]
lowercase letters changed to capital letters and all other characters unchanged
10 a) Explain about i) File status functions and ii) File positioning functions [7M]
b) Write a C program to maintain details of student using array of structures to a file via [7M]
fwrite(). The program must read the array from file and display on the screen
INSTITUTE OF AERONAUTICAL ENGINEERING
(Autonomous)
COURSE OBJECTIVES:
The course should enable the students to:
I Learn adequate knowledge by problem solving techniques.
II Understand programming skills using the fundamentals and basics of C Language.
III Improve problem solving skills using arrays, strings, and functions.
IV Understand the dynamics of memory by pointers.
V Study files creation process with access permissions.
CO 3 Describe the concept of homogeneous derives data types, strings and functions.
ACSB01.05 Identify the right data representation formats based on the requirements of the problem.
Describe the operators, their precedence andassociativity while evaluating expressions in program
ACSB01.06 statements.
ACSB01.07 Understand branching statements, loopstatements and use them in problem solving.
ACSB01.08 Learn homogenous derived data types and usethem to solve statistical problems.
ACSB01.09 Identify the right string function to write string programs.
ACSB01.10 Understand procedural oriented programmingusing functions.
ACSB01.11 Understand how recursion works and writeprograms using recursion to solve problems.
ACSB01.12 Differentiate call by value and call by referenceparameter passing mechanisms.
ACSB01.13 Understand storage classes and preprocessordirectives for programming
ACSB01.14 Understand pointers conceptually and apply themin C programs.
Distinguish homogenous and heterogeneous datatypes and apply them in solving data processing
ACSB01.15 applications.
ACSB01.16 Explain the concept of file system for handlingdata storage and apply it for solving problems
Differentiate text files and binary files and write the simple C programs using file handling
ACSB01.17
functions.
ACSB01.18 Apply the concepts to solve real-timeapplications using the features of C language.
Gain knowledge to identify appropriate searchingand sorting techniques by calculating time
ACSB01.19 complexity for problem solving.
Possess the knowledge and skills foremployability and to succeed in national and international level
ACSB01.20 competitive examinations.
MAPPING OF SEMESTER END EXAMINATION TO COURSE LEARNING OUTCOMES:
Blooms
SEE Course
Course Learning Outcomes Taxonomy
Question No Outcomes
Level
Identify and understand the working of key components
a ACSB01.01 CO 1 Understand
of a computer system.
1
Analyze a given problem and develop an algorithm to
b ACSB01.02 CO 1 Understand
solve the problem.
Describe the operators, their precedence and
a ACSB01.06 CO 1 Understand
associativity while evaluating expressions in program
2 statements.
Describe the operators, their precedence and
b ACSB01.06 CO 1 Understand
associativity while evaluating expressions in program
statements.
Understand branching statements, loop statements and
a ACSB01.07 use them in problem solving. CO 2 Understand
3 Learn homogenous derived data types and use them to
b ACSB01.08 CO 2 Remember
solve statistical problems.
Learn homogenous derived data types and use them to
a ACSB01.08 solve statistical problems. CO 2 Understand
4 Identify the right string function to write string
b ACSB01.09 CO 2 Understand
programs.
Understand pointers conceptually and apply them in C
a ACSB01.14 programs. CO 3 Understand
5
Understand procedural oriented programming using
b ACSB01.10 CO 3 Understand
functions.
Learn homogenous derived data types and use them to
a ACSB01.08 CO 3 Understand
solve statistical problems.
6
Understand pointers conceptually and apply them in C
b ACSB01.14 CO 3 Understand
programs.
Distinguish homogenous and heterogeneous data types
a ACSB01.15 CO 4 Understand
and apply them in solving data processing applications.
7
Distinguish homogenous and heterogeneous data types
b ACSB01.15 and apply them in solving data processing applications. CO 4 Understand
Distinguish homogenous and heterogeneous data types
a ACSB01.15 CO 4 Understand
and apply them in solving data processing applications.
8
Distinguish homogenous and heterogeneous data types
b ACSB01.15 CO 4 Understand
and apply them in solving data processing applications.
Explain the concept of file system for handling data CO 5 Understand
a ACSB01.16
storage and apply it for solving problems
9
Differentiate text files and binary files and write the
b ACSB01.17 CO 5 Understand
simple C programs using file handling functions.
Differentiate call by value and call by reference CO 5 Understand
a ACSB01.19
parameter passing mechanisms.
10
Explain the concept of file system for handling data
b ACSB01.16 CO 5 Understand
storage and apply it for solving problems