Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

22ESC145

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


USN

First/Second Semester B.E. Degree Examination


Introduction to C Programming
TIME: 03 Hours Max. Marks: 100

Note: 01. Answer any FIVE full questions, choosing at least ONE question from each MODULE.
02. Use C code snippet to illustrate a specific code design or a purpose.

Bloom’s
Module -1 Taxonomy Marks
Level
Q.01 a Explain the organization of a computer with the help of a neat block CO1 - L2 7
diagram.
b List and explain the functions of major parts of computer. CO1 –L1 6
c Define the datatypes in C along with the size of identifiers. CO2 – L2 7
OR
Q.02 a Explain different phases in software development life cycle(SDL). CO1 - L2 7
b List and explain the different types of input devices. CO1 – L1 6
c Explain different input output statements in C with appropriate syntax and CO2 – L2 7
examples.
Module-2
Q. 03 a Explain Logical operators with appropriate examples. CO2 – L2 6
b Explain simple if statement with syntax and example. CO2 – L2 6
c Write a C Program to find Mechanical Energy of a particle using CO2 – L3 8
E = mgh+1/2mv2.
OR
Q.04 a Explain switch statement with syntax and an example. CO2 – L2 6
b Compare and contrast do – while and while loops with an example CO2 – L2 6
c Write a C Program to check the given character is Lowercase or CO2 – L3 8
Uppercase or number or Special Character.
Module-3
Q. 05 a Explain the initializing the array elements with a suitable example. CO3 – L2 6
b Discuss the various ways of passing parameter to the functions CO5 – L2 6
c Write a C program to sort the given set of Nnumbers using Bubblesort. CO3 – L3 8
OR
Q. 06 a Explain the various storage classes specifiers used in C CO3 – L2 6
b Explain how value of individual array elements can be passed into a CO5 – L2 6
function with an example.
c Write a program to multiply two numbers using functions. CO3 – L3 8
Module-4
Q. 07 a Write a program to generate Pascal’s triangle. CO3 – L3 6
b Demonstrate the representation of 2D array in memory with a suitable CO3 – L2 6
example
c Write a program to read and display 2 x 2 x 2 array CO3 – L3 8
OR
Q. 08 a Write a program to transpose the elements of a 3 x 3 matrix CO3 – L3 6

Page 01 of 02
22ESC145
b Explain how a single row can be passed into a 2D array with an example CO3 – L2 6
c Write a C program to implement matrix multiplication and validate the CO3 – L3 8
rules of multiplication
Module-5
Q. 09 a Differentiate between array and struct with suitable examples. CO4 – L2 6
b Write a C program to implement structure to read, write and compute CO4 – L3 8
average marks and the students scoring above and below the average
marks for a class of N students.
c Write a C program to read a sentence and count the number pf words in CO4 – L3 6
the sentence.
OR
Q. 10 a Explain with suitable examples the how the members of a structure are CO4 – L2 6
accessed
b Write a C program using pointers to compute the sum and mean of all CO4 – L3 8
elements stored in an array of N real numbers.
c Write a C program to swap two integer values using pointers. CO4 – L3 6

Page 02 of 02

You might also like