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

Pop Prev Question Paper

The document outlines the examination structure for the Principles of Programming using C course, including guidelines for answering questions and the use of the VTU Formula Hand Book. It consists of multiple modules with various questions covering topics such as basic computer organization, data types, control statements, arrays, functions, strings, pointers, structures, and file operations in C. Students are required to answer five full questions, selecting one from each module, with a total examination time of three hours and a maximum score of 100 marks.

Uploaded by

h42443765
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)
225 views2 pages

Pop Prev Question Paper

The document outlines the examination structure for the Principles of Programming using C course, including guidelines for answering questions and the use of the VTU Formula Hand Book. It consists of multiple modules with various questions covering topics such as basic computer organization, data types, control statements, arrays, functions, strings, pointers, structures, and file operations in C. Students are required to answer five full questions, selecting one from each module, with a total examination time of three hours and a maximum score of 100 marks.

Uploaded by

h42443765
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

CBCS SCHME

USN BPOPS103

First Semester B.E./B.Tech. Degree Examination, Jan/Feb. 2023


Principles of Programming using C
Time: 3 hrs. Max. Marks: 100
Note: 1. Answer any FIVE full questions, choosing ONE full
2. VTUFormula Hand Book is auestion from each module.
permitted.
3. M: Marks, L: Bloom 's level, C:
Course outcomes.
Module-1 M L C
Q.1 Explain the organization of Basic computer model with neat diagram. L1 CO2

b. Explain Input/Output statenment in C. L1 CO2

C. List and explain any two input-output devices. L1 CO2

OR
Q.2 What are the basic datatypes available in C? 6 L2 CO2

b. Define variable. Explain the rules to declare a variablewith example. 6 L2 CO2

C. With suitable example - Explain the basic structure of C program. 8 L2 C02

Module -2
Q.3 a. What is type casting? Explain its types with suitable example. 6 L2 CO2

b. Write a C program to find the largest of three numbers using ternary 6 L3 CO2
operator.

List and explain unconditional branching statements with example. L1 CO2

OR
Q.4 List the conditional branching statementsin 'C. Explain any two with L1 CO2
example.
b Write a Cprogram to compute the roots of a quadratic equation by 6 L3 CO2
accepting the coefficients print appropriate messages.
Explain different types of loopsin C. Justify with its syntax and example. L2 CO2

Module-3
0.5 Define an array. Explain with example. How to declare and initialize 2D 6 L2 CO3
array.

b Write a Cprogram to search an element using binary search technique (for 6 L3 CO3
numericals).
C. Write a Cprogram to perform addition of 2-dimensional matrix (consider L3 CO3
3x3ordered matrices A and B).
OR

NV
-
Iof 2

NV
BPOPS103

L2 CO3
the type of funetions based on parameters.
Definefunction. Explain
0.6 by 6 L3 C04
Wite aC progran to sort the elements using bubble sort lcchnique
argument.
array as unction
passing
6 L3 CO3
n!
C. Write a C progran to find the n. c,

Module4
Q.7
Define a string. List the string manipulation functions. Explain any two 8 |L2 CO2

with cxamples.
using built-in 6 L3 CO3
b. Write aC program to find the length of agiven string without
function.
not L3 CO2
C. Write a Cprogranm to check whether the given string is Palindrome or
without using built in function.
OR
initialized with 6 L2 C04
Q.8 Define Pointer. Explain how the pointer is declared and
example.
mean and standard 8 L3 CO4
b. Write a Cprogram using pointers to compute the sum,
deviation of all elements stored in an arrayof 'n' real numbers.
the text one L3 CO3
C. Write a C program to replace each constant in a string with
"Corona Virus" should be
except letter z', 'Z' and 'a''A', for the string
modified as "DpSpoa Wjsvt".
Module -5
Differentiate between structures and Union. 6 L2 CO4
Q.9 a.

Write a C program to implement structures to read and write Book-Title,


L3 CO3
b.
Book-Author and Book-id ofn bookS.
C. Write a note on files. 6 L3 CO4

OR
6 L2 CO2
Q.10 a. List and explain any four file operations in C.
b. Writea C program to store and print name, USN, Subject and IA marks of L3 C04
students using structure.
6 L2 CO4
C. Write a note on enumerated data type.
S0-20 (t-

NV-

NV

NV-I

2 of2

You might also like