0% found this document useful (0 votes)
1K views2 pages

B.E. Exam: Programming in C Model Paper

This document contains model question papers for the Principles of Programming Using C subject. It is divided into 5 modules. For each module, there are 2 questions provided with 3 subparts each. The document provides the expected Bloom's Taxonomy level and marks for each subpart question. It also provides hints on keywords, concepts and programs to be covered in the question. The questions range from basic concepts to application level programs involving arrays, strings, structures, files and pointers.

Uploaded by

yoga v
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)
1K views2 pages

B.E. Exam: Programming in C Model Paper

This document contains model question papers for the Principles of Programming Using C subject. It is divided into 5 modules. For each module, there are 2 questions provided with 3 subparts each. The document provides the expected Bloom's Taxonomy level and marks for each subpart question. It also provides hints on keywords, concepts and programs to be covered in the question. The questions range from basic concepts to application level programs involving arrays, strings, structures, files and pointers.

Uploaded by

yoga v
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/ 2

22POP13

Model Question Paper-I/II with effect from 2022-23 (CBCS Scheme)


USN

First/Second Semester B.E. Degree Examination


Principles of Programming Using C
TIME: 03 Hours Max. Marks: 100

Note: Answer any FIVE full questions, choosing at least ONE question from each MODULE.

*Bloom’s
Module -1 Taxonomy Marks
Level
Q.01 a Define computer. Describe the various types of computers based on speed, L1 8
memory and cost.
b Develop an algorithm to find the area and perimeter of a circle. Also define an L2 6
algorithm.
c L1 6
Write a short note on the characteristics of a computer
OR
Q.02 a What is variable? What are the rules to construct variable? Classify the following L1 8
as valid/invalid Identifiers.
i) num2 ii) $num1 iii) +add iv) a_2 v) 199_space vi) _apple vii)#12
b Draw a flowchart and C program which takes as input p,t,r. Compute the simple L2 6
interest and display the result.
c Write a note on the following operators. i) Relational ii) Logical iii) Conditional 6
Module-2
Q. 03 a Develop a C program that takes three coefficients (a, b, and c) of a quadratic L3 8
equation ; (ax2 + bx + c) as input and compute all possible roots and print them
with appropriate messages.
b Explain the working of goto statement in C with example. L2 6

c L2 7
Explain switch statement with syntax and example
OR
Q.04 a Develop a simple calculator program in C language to do simple operations like L3 8
addition, subtraction, multiplication and division. Use switch statement in your
program

b L1 6
Explain with examples formatted input output statements in C
c Explain with syntax, if and if-else statements in C program. L2 7

Module-3
Q. 05 a Write a C program to swapping of 2 numbers using call by reference and call by L3 8
value.

b
c Discuss the implementation of user defined function with suitable example. L2 6

OR
Q. 06 a Write a C program to find the product of two given matrix. L3 8

b Explain the working of recursion with suitable example. L2 6

c Explain the declaration and initialization of one dimensional and two dimensional L2 6

Page 01 of 02
22POP13
arrays with an example.
Module-4
Q. 07 a Develop a C program to concatenate 2 strings without using built-in function. L3 6
b L2 10
Define String. Explain any 4 string manipulation function with suitable example.
c Explain the difference between gets() and scanf() functions. L2 4

OR
Q. 08 a Develop a C program to find the largest of three numbers using pointer. L3 6
b Define Pointer. Explain pointer variable declaration and initialization with L2 10
suitable example.
c Explain the difference between a null pointer and a void pointer. L2 4

Module-5
Q. 09 a Discuss the general syntax of structure variable declaration of structure to store L3 8
book information.
b Differentiate between structure and union. L2 6

c L3 6
Write a program to write employees details in a file called employee.txt. Then
read the record of the nth employee and calculate his salary.
OR
Q. 10 a Discuss the different modes of operation on files with suitable example. L3 8

b Differentiate between gets() and fgets(). L2 6

c Implement structures to read, write and compute average- marks of the students, L3 6
list the students scoring above and below the average marks for a class of N
students.

Page 02 of 02

You might also like