0% found this document useful (0 votes)
64 views1 page

CVR College of Engineering: UGC Autonomous Institution

The document is a question paper for a C programming exam covering various topics related to the C programming language. It contains 8 questions with subparts testing knowledge of software and computer basics, control structures, functions, arrays, pointers, strings, variables, matrices, and algorithms for character frequency and duplicate removal. Students have to answer any 5 questions out of the 8 questions given in the paper. The exam is for a 3 hour duration with a maximum mark of 70 distributed equally among the 5 questions answered by the student.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
64 views1 page

CVR College of Engineering: UGC Autonomous Institution

The document is a question paper for a C programming exam covering various topics related to the C programming language. It contains 8 questions with subparts testing knowledge of software and computer basics, control structures, functions, arrays, pointers, strings, variables, matrices, and algorithms for character frequency and duplicate removal. Students have to answer any 5 questions out of the 8 questions given in the paper. The exam is for a 3 hour duration with a maximum mark of 70 distributed equally among the 5 questions answered by the student.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Code No.: B11PS3021 Date: 17.09.

2021

CVR COLLEGE OF ENGINEERING


UGC Autonomous Institution - Affiliated to JNTUH R15

B Tech I Year I Sem. Supplementary Exams Sept- 2021 (2017, 2016 & 2015 Batches)
Subject: Problem Solving Through ‘C’
Branch: Common to All
Time: 3 hours Max. Marks: 70
Answer Any Five Questions (5 X 14 = 70 Marks)
All Questions Carry Equal Marks

1. a) What is software? Explain different types of software. (CO1)


b) With a neat diagram explain the basic structure of a computer. [7+7]

2. a) Illustrate the use of special control constructs goto, break, and continue. (CO2)
b) Write a C program to find the GCD of two numbers. [6+4+4]
c) Write a C program to find the factorial of a given number.

3. a) Explain any five preprocessor directives in C. (CO3)


b) What is function? Explain different classification of user defined functions based on
parameter passing and return type with examples. [5+9]

4. a) Define array. Explain with suitable example how to declare and initialize 1D array.
b) What is pointer? Explain how the pointer variable is declared and initialized? Explain the
array of pointers with example? (CO4)
[7+7]
5. a) Define string. How is string declared and initialized? Explain string input/output
functions with an example. (CO5)
b) Write a recursive program in C to generate Fibonacci series. [7+7]

6. a) Define variable. Explain the rules for constructing variables in C language. (CO1)
b) What is type conversion? Explain two types of conversion with examples. [7+7]

7. a) Write a C Program to perform addition of two matrics. (CO4)


b) Explain how pointers and arrays are related with example [7+7]

8. a) Write c program to find the frequency of characters in a string (CO5)


b) Write a C program to remove all duplicates from a given string. [7+7]

*****

You might also like