Download JNTUH MCA 1st Sem R17 2018 June-July 841AC Computer Programming Using C Question Paper

Download JNTUH (Jawaharlal nehru technological university) MCA (Master of Computer Applications) 1st Sem (First Semester) Regulation-R17 2018 June-July 841AC Computer Programming Using C Previous Question Paper


R17

Code No: 841AC















JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD

MCA I Semester Examinations, June/July - 2018

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) What are the different data-types in C?











[5]

b) List out some mathematical functions.











[5]

c) What are advantages and disadvantages of pointers?







[5]

d) What is data conversion?















[5]

e) Write about method for opening a file.











[5]



PART - B

















5 ? 10 Marks = 50

2.a)

Discuss about computer systems.

b)

Explain the procedure to create and run the programs.







[5+5]

OR

3.a)

Discuss about C tokens.

b)

Explain operator precedence.













[5+5]


4.a)

Differentiate between While and Do-While.

b)

Compare goto, break, continue.













[5+5]

OR

5.a)

What is recursion? Explain with an example program.

b)

What are storage classes?















[5+5]


6.a)

How do you initialize 2-dimensional array? How do you pass on 2-dimensional array as
argument to a function?

b)

Explain array of pointers.













[5+5]

OR

7.a)

Explain passing array as an argument to a function.

b)

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

[5+5]


8.a)

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

b)

Write a C program to sort strings.











[5+5]

OR







9.a)

Explain structure initialization and array of structures.

b)

What are command-line arguments?











[5+5]


10.a) What is a file management? What are the modes of opening a file?
b) Explain different ways of accessing files.









[5+5]

OR

11.a) Explain different file input, output functions.
b) Write a program to create a file to store and retrieve strings using fputs() and fgets().[5+5]




---oo0oo---

This post was last modified on 16 March 2023