This download link is referred from the post: JNTUH MCA 1st Sem Last 10 Years 2023-2013 Question Papers R20-R09 || Jawaharlal nehru technological university
FirstRanker.com
Firstranker's choice
Code No: 821AC Rl 5
--- Content provided by FirstRanker.com ---
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 x 5 Marks = 25
- Explain different types of computer languages briefly.
- What is a function? Why do we use functions in βCβ language? Give an example.
- How to declare and initialize a multi dimensional array?
- What are the different type castings supported in C?
- Explain about positioning functions with example.
--- Content provided by FirstRanker.com ---
PART -B 5 x 10 Marks = 50
--- Content provided by FirstRanker.com ---
- a) Write a C program to find the maximum of 3 numbers using conditional operators.
b) Draw a flow chart to find average of 10 numbers. [5+5]OR
a) What is associativity? Illustrate its application in expression evaluation.
b) Discuss about the various bitwise operators supported by Language βCβ. [5+5] - a) Write a C program to find factorial of a given number βNβ by using iteration and recursion separately.
--- Content provided by FirstRanker.com ---
b) Explain inter function communication with a C-program. [5+5]OR
a) Define statement.-Explain different types of selection statements with examples.
b) Compare the βbreakβ and the βgotoβ statements with example. [5+5] - a) Write a βCβ program to search for an element by using Linear Search.
b) Discuss the applications of arrays. [5+5]OR
--- Content provided by FirstRanker.com ---
a) Explain pointer arithmetic with a sample C-program
b) Write a program to accept a set of names and display them by using array of pointers. [5+5] - a) Write a C program that implements string concatenate operation STRCAT (strl, str2) that combines a string str/ to another string st72 without using library function.
b) Give an example for nested structure. [5+5]OR
a) Create a structure called student and the members of the structure are Stu Name,Stu_Rno, M1, M2, M3. Create a pointer variable for the structure, store the values and fetch the values present in the structure student.--- Content provided by FirstRanker.com ---
b) In what way a Union differs from structures. [5+5] - a) What is meant by state of a file? Discuss about file status functions.
b) Write a βCβ program to count the number of words, white spaces and tab spaces present in a file. [5+5]OR
a) Explain the file input and output functions with example programs.
b) Distinguish between r, r+ and w, w+ modes of files. [5+5]
--- Content provided by FirstRanker.com ---
---00000---
--- Content provided by FirstRanker.com ---
This download link is referred from the post: JNTUH MCA 1st Sem Last 10 Years 2023-2013 Question Papers R20-R09 || Jawaharlal nehru technological university