0% found this document useful (0 votes)
73 views4 pages

Pop Pyq

previous years bpops202/101

Uploaded by

lwlucifer551
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)
73 views4 pages

Pop Pyq

previous years bpops202/101

Uploaded by

lwlucifer551
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/ 4

Save trees use e-Question Paper Go green

DOWNLOAD THIS FREE AT www.vturesource.com


1/2
GBCS SCHEME
USN BPOPS03
First Semester B.E.JB.Tech. Degree Examination, Jan./Feb. 202
Time: 3 hrs.
Source.
Principles of Programming using c
Max.Marks: 00
Note: 2.I. ITU
Answer any FlVE full questions, choosing ONE full question from each monle
Formula Hand Book is permitted.
3. M: Marks, L: Bloom 's level .C: Course outcomes.

Module -1 C

Q.1 a. Explain the organization of Basic computer model with neat dagra LI CO2

b. Explain InputOutput statement in C. CO2

e. List and explain any two input-output devices. LI C02


OR
0.2 What are the basic datatypes available in C? 6 L2 C02

b. Define variable. Explain the rules to declare a variablewh xample. 6 L2 CO2

c. With suitable example - Explain the basicsaeture epogram. 8L2 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.

b. Write a C progr ocompute the roots of a quadratic cquation by L3 CO2


accepting the cocfficikns print appropriate messages.
e
Explain diÇren es o loops in C. Justify with its syntax and cxample. L2 CO2

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

rte a Cprogram to perform addition of 2-dimensional matrix (consider L3 C03


ordered matrices A and B).
OR

I of 2
ve trees use e-Question Paper Go
WNLOAD THIS FREE AT www.vturesource.com 2/2
BPOPS143

Q.6 a. Deline function. Explain the type of functions bascd on parameters. 8 L2 Co


b. Write aC program to sort the clements using bubble sort technique by 6 L3
passing array as function argument.
n!
C. Write a Cprogram to find the
ne, n-rr
Module-4
Q.7 Define a string List the string manipulation functions. Explain any two 8 L2 CO2
with examples.
Write aCprogram to ind the length of agiven string without usinghilt
function.
L3 C03

C. Write a Cprogram to check whether the given string is Palindrone o h o 6 L3 CO2


without using built in function.
OR
Q.8 H. Define Pointer. Explain how the pointer is declared initiabzed with 6 L2 CO4
eNmple
b Write a C program using pointers to compute the sunm c¡na dstandard L3 C04
deviation of all clements stored in an urray ofn'acal num
Write a C program to replace cach costant in asung h the text one 6 L3 CO3
Cxcept letter z. 'Z and 'a''A', for the stangCorone Virus" should be
modified as "DpSpoa Wjsvt".
Module
Q.9 Differentiate between structures and nion. L2 CO4
b.
Write a Cprogram to implement sructtres to read and write Book-Title, 8 L3 CO3
Book-Author and Book-id of n books,
C. Write a note on files. 6 L3 CO4

Q.10 a. List and explain any fou Ale operations in C. L2 CO2

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

First/Second Semester B.EJB.Tech. Degree Examination, June/July 2023


Principles of Programming Using C
Time: 3 hrs. Max. Marks: 100

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

You might also like