JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD

JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD MCA 2017 COMPUTER PROGRAMMING USING C Previous Question Paper (August - 2017 - R15)

MCA | 2017 | I | R15 | August - 2017

Answer PaperPaper Code: 821ACMaximum Marks: 75Time: 3hrs

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

125 marks
a

Write a overview on computing environments.

5 marks

Answer

Computing environments represent the settings in which software is developed and executed. Key types include:

  • Personal Computing: Single-user systems like desktops or laptops designed for individual tasks.
  • Client-Server Computing: A distributed architecture where clients request services from a central server.
  • Distributed Computing: Multiple autonomous computers connected via a network, working together to complete a task.
  • Cloud Computing: On-demand delivery of computing services (servers, storage, databases) over the internet.
  • Embedded Computing: Specialized systems integrated into larger devices (e.g., microcontrollers in appliances) to perform dedicated functions.
b

Write a sample program on break statement.

5 marks

Answer

The break statement is used to terminate the execution of a loop or switch statement prematurely.

#include <stdio.h>
int main() {
    for(int i = 1; i <= 10; i++) {
        if(i == 5) break;
        printf("%d ", i);
    }
    return 0;
}
c

What is an array? Explain how array is initialized?

5 marks

Answer

Sign in to view the complete answer paper.

d

Write an example program on unions.

5 marks

Answer

Sign in to view the complete answer paper.

e

Explain different file input, output functions.

5 marks

Answer

Sign in to view the complete answer paper.

Part B

210 marks
a

Explain the process of creating and running programs.

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain the different types of bitwise operators used in C.

5 marks

Answer

Sign in to view the complete answer paper.

OR
310 marks
a

Explain Operator Precedence with an example.

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain the structure of C program.

5 marks

Answer

Sign in to view the complete answer paper.

4

Define loop. Explain various loop statements available in C with examples.

10 marks

Answer

Sign in to view the complete answer paper.

OR
510 marks
a

Explain different ways of writing functions.

5 marks

Answer

Sign in to view the complete answer paper.

b

What is recursion? What are the limitations of recursion?

5 marks

Answer

Sign in to view the complete answer paper.

610 marks
a

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

5 marks

Answer

Sign in to view the complete answer paper.

b

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

5 marks

Answer

Sign in to view the complete answer paper.

OR
710 marks
a

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

5 marks

Answer

Sign in to view the complete answer paper.

b

Write a program for arrays of pointers.

5 marks

Answer

Sign in to view the complete answer paper.

810 marks
a

Explain string functions with examples.

5 marks

Answer

Sign in to view the complete answer paper.

b

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

5 marks

Answer

Sign in to view the complete answer paper.

OR
910 marks
a

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

5 marks

Answer

Sign in to view the complete answer paper.

b

Write a program for arrays of structures.

5 marks

Answer

Sign in to view the complete answer paper.

1010 marks
a

Write a program to understand the use of gets function.

5 marks

Answer

Sign in to view the complete answer paper.

b

Distinguish between text and binary files.

5 marks

Answer

Sign in to view the complete answer paper.

OR
11

Explain the following:

10 marks
a

Error handling

5 marks

Answer

Sign in to view the complete answer paper.

b

Streams

5 marks

Answer

Sign in to view the complete answer paper.

About this paper

This page contains the question paper of COMPUTER PROGRAMMING USING C from JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD for MCA 2017 I, August - 2017, R15.

For the solved question paper with answers, switch to the Answer Paper tab.

Other papers in COMPUTER PROGRAMMING USING C

Loading Question Papers

Fetching data from database...