0% found this document useful (0 votes)
23 views2 pages

C Program Model Paper

This document is a model question paper for the Introduction to C Programming course for the B.E Degree Examination 2025-26. It consists of five modules with various questions covering topics such as algorithms, functions, operators, arrays, and structures in C programming. Students are required to answer any five full questions, ensuring to choose at least one from each module.

Uploaded by

poyaxe9077
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)
23 views2 pages

C Program Model Paper

This document is a model question paper for the Introduction to C Programming course for the B.E Degree Examination 2025-26. It consists of five modules with various questions covering topics such as algorithms, functions, operators, arrays, and structures in C programming. Students are required to answer any five full questions, ensuring to choose at least one from each module.

Uploaded by

poyaxe9077
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

Model Question Paper- I

First/ Second Semester B.E Degree Examination, 2025-26


Introduction to C Programming (1BPLC105E/205E)
TIME: 03 Hours [Link]
Notes:
1. Answer any FIVE full questions, choosing at least ONE question from each MODULE
2. M: Marks, L: Bloom’s level, C: Course outcomes.

Module -1 M L C
Q.01 a Define algorithm. Outline an algorithm to convert temperature from Fahrenheit 8 L2 CO1
to Celsius.
b Define functions. Explain basic structure of a C Program. 5 L2 CO1
c Explain Input and Output functions in C Programming with suitable example 7 L2 CO1
OR
Q.02 a Explain the role of flow chart in program development. List the symbols used 8 L2 CO1
in designing a flowchart. Illustrate with one example.
b List the features of C programming language. Explain the process of compiling 5 L2 CO1
and executing a C Program.
c Define Identifier. List the rules for framing an identifier with an example to 7 L2 CO1
each rule.
Module-2
Q. 03 a Explain the following operators 8 L2 CO1
i) Increment and Decrement operators.
ii) Logical Operators
b Explain the else if ladder with syntax and a suitable program. 6 L2 CO2
c Outline the syntax of switch statement. Given an integer between 1 to 7 6 L3 CO2
representing the day of week, develop a program to display day in words using
switch statement [E.g. for a number 1, print Sunday and for number 7, print
Saturday]
OR
Q.04 a Show the evaluation order of the following expression with intermediate and 8 L2 CO1
final values: 100/20<=10-5+100%10-20==5>=1!=20
b Differentiate between entry controlled loop and exit controlled loop. 6 L2 CO2
c Develop a C program to find the sum of first n numbers using while loop. 6 L3 CO2
Module-3
Q. 05 a Define string. Develop a program to read a string, reverse the string and print. 6 L3 CO3
b Define array. List and explain the types of arrays. 6 L2 CO3
c Develop a program to multiply two N*N matrices. 8 L3 CO3
OR
Q. 06 a Develop a program to find the length of a string without using built in 6 L3 CO3
function.
b Explain declaring and initialization one, and two-dimensional arrays with 6 L2 CO3
suitable examples.
c Develop a program to read N numbers and find the sum and average of N 8 L3 CO3
numbers using an array.
Module-4
Q. 07 a Define function in C. Justify the need of user defined functions in C with a 8 L2 CO4
suitable program.
b Explain with example “No arguments and no return values” of functions. 6 L2 CO4
Model Question Paper- I
c Develop a C program to perform arithmetic operations (+, -, /, *) using user 6 L3 CO4
defined functions.
OR
Q. 08 a List and Explain the various elements of user defined functions. 8 L2 CO4
b What is nested function? Explain with example. 6 L2 CO4
c Develop a suitable program having a function with arguments and no return 6 L3 CO4
value.
Module-5
Q. 09 a Define structure. Explain the general format of a structure definition. 6 L2 CO5
b Define pointer. Illustrate declaring and initialization of a pointer variable. 6 L2 CO5
c Define a structure type student that would contain student name, 3 subject 8 L3 CO5
marks Using this structure, Develop a C program to read four students data
from keyboard and print the same on the screen.
OR
Q. 10 a Differentiate between arrays and structures with an example. 6 L2 CO5
b Illustrate with suitable code for swapping of two numbers using pointers. 6 L2 CO5
c Develop a program to copy and compare of structure variables. 8 L3 CO5

You might also like