JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD

JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD B.Tech I Year COMPUTER PROGRAMMING IN C Previous Question Paper (January/February - 2024 - R16)

B.Tech | I Year | II Semester | R16 | January/February - 2024

Answer PaperPaper Code: 132ADMaximum Marks: 75Time: 3 hours

Note: i) Question paper consists of Part A, Part B. ii) Part A is compulsory, which carries 25 marks. In Part A, Answer all questions. iii) In Part B, Answer any one question from each unit. Each question carries 10 marks and may have a, b as sub questions.

Part A

125 marks
a
How many bits of the memory is occupied by short int and unsigned long int?
2 marks

Answer

A short int typically occupies 2 bytes (16 bits) of memory, while an unsigned long int typically occupies 4 bytes (32 bits) of memory in most standard C compilers.
b
List and explain the various symbols used in flowcharts.
3 marks

Answer

Flowchart symbols represent different logical operations:
  • Oval (Terminal): Represents the start or end of a program.
  • Parallelogram (Input/Output): Used for data input or output operations.
  • Rectangle (Process): Represents arithmetic operations or data manipulation.
  • Diamond (Decision): Used for conditional branching based on a true or false outcome.
  • Arrows (Flow lines): Indicate the direction of the program execution.
c
State the differences between entry controlled and exit controlled loops.
2 marks

Answer

Sign in to view the complete answer paper.

d
State the rules that determines the order in which initial values are assigned to multi dimensional array elements.
3 marks

Answer

Sign in to view the complete answer paper.

e
Distinguish between actual and formal arguments.
2 marks

Answer

Sign in to view the complete answer paper.

f
List the various types of functions depending upon categories of arguments and return statements with example.
3 marks

Answer

Sign in to view the complete answer paper.

g
Write the syntax for copying a string S1 into S2. Give example.
2 marks

Answer

Sign in to view the complete answer paper.

h
Describe how a pointer variable can be declared and accessed with an example.
3 marks

Answer

Sign in to view the complete answer paper.

i
Write the purpose of fseek() with example.
2 marks

Answer

Sign in to view the complete answer paper.

j
Write the syntax and usage of rewind().
3 marks

Answer

Sign in to view the complete answer paper.

Part B

210 marks
a
Write and explain the steps present in software development.
5 marks

Answer

Sign in to view the complete answer paper.

b
Give brief description about the order and precedence of various operators.
5 marks

Answer

Sign in to view the complete answer paper.

OR
3
List and explain the various iterative statements supported by C.
10 marks

Answer

Sign in to view the complete answer paper.

4
Mention the importance of storage classes in C. Explain various storage classes that are supported by C language.
10 marks

Answer

Sign in to view the complete answer paper.

OR
510 marks
a
With the help of suitable example, explain the working of linear search.
5 marks

Answer

Sign in to view the complete answer paper.

b
How can we store the one dimensional arrays in memory? Explain.
5 marks

Answer

Sign in to view the complete answer paper.

6
Explain the following:
a) Process of pointer initialization with an example
b) Distinguish between (*m)[5] and *m[5]
c) Distinguish between * and & operators.
10 marks
a
Process of pointer initialization with an example
4 marks

Answer

Sign in to view the complete answer paper.

b
Distinguish between (*m)[5] and *m[5]
3 marks

Answer

Sign in to view the complete answer paper.

c
Distinguish between * and & operators.
3 marks

Answer

Sign in to view the complete answer paper.

OR
710 marks
a
Write a program to find any given string is a PALINDROME or not.
5 marks

Answer

Sign in to view the complete answer paper.

b
Write short notes on various pointer arithmetic operations.
5 marks

Answer

Sign in to view the complete answer paper.

8
Explain the following with suitable example:
a) Nested Structures
b) Array of Structures
10 marks
a
Nested Structures
5 marks

Answer

Sign in to view the complete answer paper.

b
Array of Structures
5 marks

Answer

Sign in to view the complete answer paper.

OR
910 marks
a
Discuss in detail about the Unions and Bitfields in C.
5 marks

Answer

Sign in to view the complete answer paper.

b
Write short notes on accessing structure data using pointer and normal variables.
5 marks

Answer

Sign in to view the complete answer paper.

10
Explain the following functions:
a) getc( ), getche( ), getchar( )
b) fscanf( ) and fprintf( )
10 marks
a
getc( ), getche( ), getchar( )
5 marks

Answer

Sign in to view the complete answer paper.

b
fscanf( ) and fprintf( )
5 marks

Answer

Sign in to view the complete answer paper.

OR
1110 marks
a
Differentiate between binary and text files.
5 marks

Answer

Sign in to view the complete answer paper.

b
Write a program to read the information present in a file and print it on to the standard output file.
5 marks

Answer

Sign in to view the complete answer paper.

About this paper

This page contains the question paper of COMPUTER PROGRAMMING IN C from JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD for B.Tech ME I Year II Semester, January/February - 2024, R16.

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

Other papers in COMPUTER PROGRAMMING IN C

Loading Question Papers

Fetching data from database...