Download JNTUH MCA 1st Sem R15 2017 August 821AC Computer Programming Using C Question Paper

Download JNTUH (Jawaharlal nehru technological university) MCA (Master of Computer Applications) 1st Sem (First Semester) Regulation-R15 2017 August 821AC Computer Programming Using C Previous Question Paper


R15

Code No: 821AC















JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD

MCA I Semester Examinations, August - 2017

COMPUTER PROGRAMMING USING C

Time: 3hrs













Max.Marks:75


Note: This question paper contains two parts A and B.


Part A is compulsory which carries 25 marks. Answer all questions in Part A.



Part B consists of 5 Units. Answer any one full question from each unit. Each



question carries 10 marks and may have a, b, c as sub questions.



PART - A


















5 ? 5 Marks = 25

1.a) Write a overview on computing environments.







[5]

b) Write a sample program on break statement.







[5]

c)

What is an array? Explain how array is initialized?





[5]

d) Write an example program on unions.









[5]

e) Explain different file input, output functions.







[5]



PART - B

















5 ? 10 Marks = 50

2.a)

Explain the process of creating and running programs.

b)

Explain the different types of bitwise operators used in C.



[5+5]

OR

3.a)

Explain Operator Precedence with an example.

b)

Explain the structure of C program.









[5+5]



4.

Define loop. Explain various loop statements available in C with examples.[10]

OR

5.a)

Explain different ways of writing functions.

b)

What is recursion? What are the limitations of recursion?



[5+5]


6.a)

Write a program to print the largest and smallest elements in an in a array.

b)

How do you initialize two dimensional array? How do you pass on two
dimensional array as argument to a function.







[5+5]

OR

7.a)

What is the importance of pointers in C language and explain pointer arithmetic.

b)

Write a program for arrays of pointers.









[5+5]



8.a)

Explain string functions with examples.

b)

Write a program to find the length of a given string.





[5+5]

OR

9.a)

What is the enumeration data type? List down the conditions for using
enumeration data type in a program.

b)

Write a program for arrays of structures.









[5+5]



10.a) Write a program to understand the use of gets function.
b) Distinguish between text and binary files.







[5+5]

OR

11.

Explain the following:

a) Error handling



b) Streams





[5+5]



---oo0oo---

This post was last modified on 16 March 2023