WWW - Manaresults.Co - In: Computer Programming
WWW - Manaresults.Co - In: Computer Programming
2.(a) What are the steps involved in program development process? Explain.
(b) Discuss about the relational and logical operators.
[8+8]
3.(a) What is Array? Discuss about the initialization and accessing of array elements for 1D
and 2D arrays.
(b) Write a program to check whether the given string is palindrome or not.
[8+8]
4.(a) What is recursion? How it is implemented? Explain with example.
(b) Write a c program for Tower’s of Hanoi using recursion.
[8+8]
5.(a) How to define and initialize structures? How to access structure elements?
(b) Discuss about the enum data type with example.
[8+8]
6.(a) Differentiate between binary and text file?
(b) Write a program to copy contents of one file to another file.
[8+8]
7.(a) Explain about the procedure for creating and running programs.
(b) Discuss about standard library functions with examples.
[8+8]
Page 1 of 1
WWW.MANARESULTS.CO.IN
|''|''|||''|'''|||'|
Subject Code: R13105/R13 Set No - 2
I B. Tech I Semester Supplementary Examinations Sept. - 2014
COMPUTER PROGRAMMING
(Common to CE, ME, CSE, PCE, IT, Chem E, Aero E, AME, Min E, PE, Metal E)
Time: 3 hours Max. Marks: 70
Question Paper Consists of Part-A and Part-B
Answering the question in Part-A is Compulsory,
Three Questions should be answered from Part-B
*****
PART-A
1.(i) Is there any difference between pre increment and post increment? Explain with
examples?
(ii) Write program to check the symmetricity of a Matrix.
(iii) Write short notes on parameter passing mechanisms.
(iv) What is dangling memory? Explain.
(v) What are self referential structures? Explain.
(vi) Write a program to read a text file and Print the first character in each word into upper
case.
[4+4+4+3+3+4]
PART- B
5.(a) What is the need of nested structures? Explain with one example.
(b) Write a program to display student details using pointers to structure.
[8+8]
6.(a) Discuss about formatted I/O with suitable examples.
(b) Write a program to merge two files into single file.
[8+8]
7.(a) Explain about user defined functions. How they are different from library functions?
(b) Write a program to sort a list of elements and trace with an example.
[8+8]
Page 1 of 1
WWW.MANARESULTS.CO.IN
|''|''|||''|'''|||'|
Subject Code: R13105/R13 Set No - 3
I B. Tech I Semester Supplementary Examinations Sept. - 2014
COMPUTER PROGRAMMING
(Common to CE, ME, CSE, PCE, IT, Chem E, Aero E, AME, Min E, PE, Metal E)
Time: 3 hours Max. Marks: 70
Question Paper Consists of Part-A and Part-B
Answering the question in Part-A is Compulsory,
Three Questions should be answered from Part-B
*****
PART-A
Page 1 of 1
WWW.MANARESULTS.CO.IN
|''|''|||''|'''|||'|
Subject Code: R13105/R13 Set No - 4
I B. Tech I Semester Supplementary Examinations Sept. - 2014
COMPUTER PROGRAMMING
(Common to CE, ME, CSE, PCE, IT, Chem E, Aero E, AME, Min E, PE, Metal E)
Time: 3 hours Max. Marks: 70
Question Paper Consists of Part-A and Part-B
Answering the question in Part-A is Compulsory,
Three Questions should be answered from Part-B
*****
PART-A
2.(a) What is flow chart? Draw the flow chart for the biggest number among 3 numbers.
(b) Write a C program that illustrates the conditional operator
[8+8]
3.(a) How to initialize strings? Explain about various string handling functions.
(b) Write a program to print the given string in reverse order.
[8+8]
4.(a) What is pointer? Discuss about pointers to pointers with examples.
(b) Write a program to insert and delete an element from the given array.
[8+8]
5.(a) What are self referential structures? Explain with one example.
(b) Write a C Program to calculate grade, average marks and Total marks in a class of 60
Students.
[8+8]
6.(a) What is a file and what are different type of files? Explain.
(b) Write a program to copy one file into another file.
[8+8]
7.(a) Explain about different storage classes with examples.
(b) Write a program to check whether the given element is there in the array or not.
[8+8]
Page 1 of 1
WWW.MANARESULTS.CO.IN
|''|''|||''|'''|||'|