0% found this document useful (0 votes)
528 views4 pages

Cse Programming For Problem Solving Model Question Papers 2

This document contains a model question paper for the Programming for Problem Solving course for the B.Tech 1st semester examinations at the Institute of Aeronautical Engineering. The question paper has 10 questions divided into 5 modules. Each question carries 7 marks and students must answer 1 question from each module. The questions test students' understanding of fundamental programming concepts in C language like data types, operators, conditional statements, functions, pointers, files etc. and their ability to write programs demonstrating these concepts.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
0% found this document useful (0 votes)
528 views4 pages

Cse Programming For Problem Solving Model Question Papers 2

This document contains a model question paper for the Programming for Problem Solving course for the B.Tech 1st semester examinations at the Institute of Aeronautical Engineering. The question paper has 10 questions divided into 5 modules. Each question carries 7 marks and students must answer 1 question from each module. The questions test students' understanding of fundamental programming concepts in C language like data types, operators, conditional statements, functions, pointers, files etc. and their ability to write programs demonstrating these concepts.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 4

HallTicketNo Question Paper Code:ACSB01

INSTITUTE OF AERONAUTICAL ENGINEERING


(Autonomous)
Dundigal, Hyderabad - 500 043

MODEL QUESTION PAPER-II

B.Tech ISemester End Examinations, April - 2020


Regulations: IARE - R18
PROGRAMMING FOR PROBLEM SOLVING
(Common to CSE / IT / ECE / EEE / ME)
Time:3hours Max. Marks: 70

Answer ONE Question from each Module


All Questions Carry Equal Marks
All parts of the question must be answered in one place only

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.

COURSE OUTCOMES (COs):


Describe the concept of computer system, analyze a given problem, develop an algorithm, fundamental
CO 1 programming constructs, identify data representation formats, describe operators and their precedence,
associativity.
CO 2 Understand branching and loop statements.

CO 3 Describe the concept of homogeneous derives data types, strings and functions.

CO 4 Understand pointers and heterogeneous data types.

CO 5 Describe the concept of file system.

COURSE LEARNING OUTCOMES (CLOs):


ACSB01.01 Identify and understand the working of keycomponents of a computer system.
ACSB01.02 Analyze a given problem and develop analgorithm to solve the problem.
Describe the fundamental programming constructs and articulate how they are used to develop a
ACSB01.03 program with a desired runtime execution flow.
ACSB01.04 Gain knowledge to identify appropriate Clanguage constructs to write basic programs.

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

Signature of Course Coordinator HOD, CSE

You might also like