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

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




R17

2021

Code No: 841AC















JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD

MCA I Semester Examinations, July/August - 2021

COMPUTER PROGRAMMING USING C

Time: 3 Hours















Max.Marks:75

Answer any five questions

All questions carry equal marks

- - -

1.a)

What is a data type? List various data types in C and write about their sizes in bytes.

b)

Enumerate all the operators in C with appropriate examples.





[6+9]


2.a)

Evaluate the following expression in C with the values A=5, B=20, C=15, D=10

A + (B*C / D) - A + C * D









b)

Write a C program to find biggest of given three numbers.





[7+8]



3.a)

Demonstrate all the decision making statements in C with examples.





b)

Write a C program to find the sum of 20 natural numbers.





[9+6]


4.a)

Differentiate between call by value and call by reference in C.







b)

Write a C program to generate Fibonacci series using recursive functions.

[7+8]


5.a)

How to define and declare multi-dimensional arrays? Give an example.

b)

Write a C program for multiplication of two matrices.







[6+9]


6.a)

Define a pointer. What are the advantages of pointers than arrays?



b)

Discuss about malloc( ) and calloc( ) memory allocation functions with suitable
examples.



















[8+7]











7.a)

Demonstrate self-referential structures in C with suitable examples.



b)

Explain about enumerated data types in detail.









[9+6]


8.a)

Write syntax and examples for fopen( ), fclose( ) andfflush( ) functions.

b)

Write syntax and examples for positioning functions in C.





[9+6]



---ooOoo---

This post was last modified on 16 March 2023