You are on page 1of 2

Set No : 1

Sreenidhi Institute of Science & Technology A 12


(An Autonomous Institution)
Code No: 121IT01
B. TECH. I – Year I – Semester Examinations, February, 2013 (Regular)
COMPUTER PROGRAMMING (Common to EEE, ECE, ECM & BT)
Time: 3 Hours Max. Marks : 70
Note : No additional answer sheets will be provided.
Part-A (Objective Type)
Max.Marks:20
ANSWER ALL QUESTIONS.
1. Define an algorithm.
2. How do string constant differ from character constant?
3. Distinguish between function proto type and function definition.
4. Differentiate between system software and application software.
5. What is the purpose of type declaration?
6. Distinguish between Automatic and static variables.
7. How is structure different from an array?
8. What are the difference between a structure and a union?
9. List out the various computer languages giving examples for each one of them.
10. Define an assembler and linker.
Part – B
Max. Marks: 50
ANSWER ANY FIVE QUESTIONS. EACH QUESTION CARRIES 10 MARKS.
1. a) What is the use of a flow chart? [3]
b) What are the different steps followed in the software development life cycle?
Explain with neat diagram.
[7]
2. a) What is the difference between break and continue statements? [4]
b) Write a C program to reverse a number. [6]
3. Write a C program that uses a function to sort an array of integers. [ 10 ]
4. a) Explain the process of accessing a variable through its pointer with an example. [ 5 ]
b) Write about different string handling functions. [5]
5. a) What is recursion? [3]
b) Write a C program to generate Fibonacci series using recursion. [7]
6. What is a structure? Explain how a structure is used for declaring and accessing
members. [ 10 ]
7. a) Briefly explain about the different input / output operations on files. [5]
b) Distinguish between call-by-value and call-by-reference. [5]
8. a) Write a C program to perform matrix addition. [5]
b) Write about random access of files. [5]
Page 1 of 2
-- 00 -- 00 --

Page 2 of 2

You might also like