Download JNTUH MCA 1st Sem R13 2019 April-May Computer Programming Question Paper

Download JNTUH (Jawaharlal nehru technological university) MCA (Master of Computer Applications) 1st Sem (First Semester) Regulation-R13 2019 April-May Computer Programming Previous Question Paper


R13

Code No:811AC















JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD

MCA I Semester Examinations, April/May - 2019

COMPUTER PROGRAMMING

Time: 3hrs















Max.Marks:60


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

Part A is compulsory which carries 20 marks. Answer all questions in Part A. Part B
consists of 5 Units. Answer any one full question from each unit. Each question carries 8
marks and may have a, b, c as sub questions.



PART - A



















5 ? 4 Marks = 20


1.a) Discuss in detail about logical operators and bitwise operators.





[4]

b) Write down the differences between switch-case and if-else ladder.



[4]

c)

Explain briefly about malloc( ) and calloc( ) functions.







[4]

d)

What are self-referential structures? Discuss briefly.







[4]

e) Explain briefly about feof( ) and ferror( ) functions.







[4]





PART - B

















5 ? 8 Marks = 40


2.a)

Explain the need of compiler, linker and loader in computer programming.

b)

Briefly explain the classification of computer languages.







[4+4]

OR

3.a)

What is an unsigned integer constant? What is the significance of declaring a constant as
unsigned?



b)

Describe various operators used in C programming.







[4+4]


4.a)

Explain briefly about repetition statements in C with clear syntax and example.

b)

Discuss the limitations of recursive functions.









[4+4]

OR

5.a)

Write a C program to test whether a given number is palindrome or not.

b)

Briefly explain various storage classes with their scope and persistent.



[4+4]


6.a)

Explain how to declare, define and initialize pointers in C with an example program.

b)

Write down the advantages and disadvantages of arrays.





[4+4]

OR

7.

What is a dynamic array? Explain how to create and process a dynamic array with an
example program.

















[8]





8.

Explain the general format for declaring and accessing members of a structure with an
example C program for generating grades of students in a class.





[8]

OR

9.a)

How to create and initialize arrays of structures in C? Illustrate with an example.

b)

Discuss about various string manipulation functions available in C.



[4+4]


10.

Describe the following functions in C:



a) fread( )

b) fwrite( )

c) fseek( )











[8]

OR

11.a) Write a C program that prints a specified number of records from the beginning of a file.
b) Write down the merits and demerits of text files over binary files.



[4+4]




---ooOoo---

This post was last modified on 16 March 2023