Pop Pyq
Pop Pyq
Module -1 C
Q.1 a. Explain the organization of Basic computer model with neat dagra LI CO2
0.3 What is type casting? Explain its types wrhsuitable cxample 6 L2 C02
b. Write a C program to find the rges of three numbers using ternary L3C02
operator.
e.
List and explain unconditiona bran hing statements with example. LI CO2
OR
Q.4 a List the conditional banchieg statements in C. Explain any two with LI CO2
example.
wwWw Q.5 a.
Module -3
Define al array. ixplain with example. Howto declare and initialize 2) 1.2 CO3
array
Write a Cprogram to search an clement using binary search technique (for CO3
I of 2
ve trees use e-Question Paper Go
WNLOAD THIS FREE AT www.vturesource.com 2/2
BPOPS143
b. Write a C program to oand print name, USN, Subjcct and IA marks of 8 L3 CO4
students using strutace.
c. Vrite a note on enumerted dala type. 6 L2 CO4
GBGS SGHIEME 1/8
BPOPS103/203
USN
Note: 1. Answer any FIVEfull questions, choosing ONE fullquestion from euch module.
2. M: Marks, L: Bloom's level, C: Course outcomes.
Module -1 M C
Q.1 a. Define Computer. Describe the characteristics of computerin detail. 10 L2 | CO1
b. Explain various Input devices. 10 L2 CO1
OR
10 L2 C02
Q.2 a. Explain the following programming paradigms.
i) Procedural Programming
ii) Structured Programming
i) Object Oriented Programming.
b Explain printf ) and scanf ) functions with their syntax. 10 L2 C02
Give the illustrative examples.
Module -2
Q.3 Explain any five types of operators in C language with the illustrative 10L2 CO2
examples.
b. Write a C program to find the roots of quadratic equation by accepting the 10 L3 CO2
coefficients. Print appropriate messages.
OR
Q.4 a. What are iterative statements? Explain three types of iterative statements 10 L2 CO2
with their syntax.
b Write a program to print the following pattem. 10 L3 CO2
12
12 3
123 4
Module -3
Q.5 Explain the syntax of function declaration and function definition with 06 L2 CO2,
example, COS
b Write a C program to swap two numbers using call by reference method. 06 L3 C02,
COS
c. Describe different types of storage classes with examples. 08 L2 CO2
OR
Q.6 What is an array? Explain how arrays are declared and initialized with L2 CO3
example.
b
Write a Cprogram to transpose a 3x3 matrix. 08 L3 CO3
List applications of arrays, 04 L3 CO3
lof2
BPOPS103/203 2/8
Module -4
Q.7 A. Write a Cprogramto convert characters of astring into upper case without 10 L3 CO3
using built-in function.
b. Discuss the working of the following string manipulation functions with 10| L2 CO3
suitable examples.
i) stremp
ii) strlen
ii) strepy
iv) strcat
V) strcmp
OR
Q.8 a. Define Pointer. Explain the declaration of a pointer variable with an 05 L2 CO2,
example. CO4
b Mention the applications of pointers. 05 L2 C04
DevelopaC programto compute thesum, mean and standard deviation of 10 L3 CO3,
all elements of an aray using pointers. CO4
Module -5
Q9 What is structure? Explain the declaration of a structure with an example. 06 L2 CO4
b Differentiate between Structures and Unions. 06 L3 C04
c. Develop a C program to read and display the information of all the students 08 L3 CO4
in the class.
OR
Q.10 a. Define Enumerated datatype. Explain the declaration and access of 06 L2 CO2
enumerated datatypes with a code in C.
b Explain the process of opening afile in C. 06 L2 CO2
Write a C program to demonstrate fwrite( ) function. 08 L3 CO2
2 of 2