# Download JNTUA B.Tech 1-1 R15 2016 Dec Regular 15A05101 Computer Programming Question Paper

Download JNTUA (JNTU Anantapur) B.Tech R15 (Bachelor of Technology) 1st Year 1st Semester (1-1) 2016 Dec Regular 15A05101 Computer Programming Previous Question Paper || Download B-Tech 1st Year 1st Sem 15A05101 Computer Programming Question Paper || JNTU Anantapur B.Tech R15 1-1 Previous Question Paper || JNTU Anantapur B.Tech ME 1-1 Previous Question Paper || JNTU Anantapur B.Tech CSE 1-1 Previous Question Paper || JNTU Anantapur B.Tech Mech 1-1 Previous Question Paper || JNTU Anantapur B.Tech EEE 1-1 Previous Question Paper || JNTU Anantapur B.Tech ECE 1-1 Previous Question Paper

Code: 15A05101

B.Tech I Year I Semester (R15) Regular & Supplementary Examinations December 2016
COMPUTER PROGRAMMING
(Common to CE, EEE, CSE, ECE, ME, EIE and IT)
Time: 3 hours Max. Marks: 70

PART ? A
(Compulsory Question)

*****
1 Answer the following: (10 X 02 = 20 Marks)
(a) Define precedence and order of evaluation.
(b) List the importance of Flowchart.
(c) Write syntax of If-else statements.
(d) How one Dimensional array is initialized?
(e) Discuss the problems associated with pointers.
(f) Define type qualifiers.
(g) Define function prototype. Give the general syntax of function prototype.
(h) Why do we need structures?
(i) What is the problem with getchar ()?
(j) Define Stream. List different types of Streams.

PART ? B
(Answer all five units, 5 X 10 = 50 Marks)

UNIT ? I

2 (a) Write an algorithm to find the distance between two points in plane.
(b) With an example, explain the structure of C program.
OR
3 (a) Explain the bitwise operators and relation operators available in C program.
(b) Evaluate the following expressions:
(i) a*(3+b)/2-c++ *b where a=3,b=4 and c=5
(ii) !(4+5*0>=6-4)

UNIT ? II

4 (a) Explain switch case statement with an example program.
(b) Write a C program to check whether a given number is Palindrome or not.
OR
5 (a) Explain for loop statement with syntax with an example.
(b) Define an array. Write a program to find the largest and smallest element in a given array.

UNIT ? III

6 (a) Define Pointer. Write a C program to find the sum of the all elements in given array using pointers.
(b) Define scope. Briefly explain the scope, life time and visibility of Identifier.
OR
7 (a) List the different storage classes in C and explain each one of them.
(b) Write a C program to exchange the value of two integers using call by reference.

Contd. in page 2

Page 1 of 2

R15
FirstRanker.com - FirstRanker's Choice

Code: 15A05101

B.Tech I Year I Semester (R15) Regular & Supplementary Examinations December 2016
COMPUTER PROGRAMMING
(Common to CE, EEE, CSE, ECE, ME, EIE and IT)
Time: 3 hours Max. Marks: 70

PART ? A
(Compulsory Question)

*****
1 Answer the following: (10 X 02 = 20 Marks)
(a) Define precedence and order of evaluation.
(b) List the importance of Flowchart.
(c) Write syntax of If-else statements.
(d) How one Dimensional array is initialized?
(e) Discuss the problems associated with pointers.
(f) Define type qualifiers.
(g) Define function prototype. Give the general syntax of function prototype.
(h) Why do we need structures?
(i) What is the problem with getchar ()?
(j) Define Stream. List different types of Streams.

PART ? B
(Answer all five units, 5 X 10 = 50 Marks)

UNIT ? I

2 (a) Write an algorithm to find the distance between two points in plane.
(b) With an example, explain the structure of C program.
OR
3 (a) Explain the bitwise operators and relation operators available in C program.
(b) Evaluate the following expressions:
(i) a*(3+b)/2-c++ *b where a=3,b=4 and c=5
(ii) !(4+5*0>=6-4)

UNIT ? II

4 (a) Explain switch case statement with an example program.
(b) Write a C program to check whether a given number is Palindrome or not.
OR
5 (a) Explain for loop statement with syntax with an example.
(b) Define an array. Write a program to find the largest and smallest element in a given array.

UNIT ? III

6 (a) Define Pointer. Write a C program to find the sum of the all elements in given array using pointers.
(b) Define scope. Briefly explain the scope, life time and visibility of Identifier.
OR
7 (a) List the different storage classes in C and explain each one of them.
(b) Write a C program to exchange the value of two integers using call by reference.

Contd. in page 2

Page 1 of 2

R15

Code: 15A05101

UNIT ? IV

8 (a) Define structures. Write a C program using functions to return the sum of two complex numbers
passed as parameters.
(b) Explain enumerated data types with an example.
OR
9 (a) Define union. Differentiate between union and structures.
(b) With an example program, explain structure within structure.

UNIT ? V

10 (a) Explain fprintf() and fscanf() functions with an example program.
(b) Define Preprocessor directives. Discuss Marco replacement with an example.
OR
11 (a) Write a C program that reads characters from the keyboard and writes them to a disk file until the
user types a dollar sign.
(b) What is Flushing a Stream? Discuss function like Macro With an example.

*****

Page 2 of 2
R15
FirstRanker.com - FirstRanker's Choice