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

Pop Model QP

This document is a model question paper for the First Semester Degree Examination in C Programming at Bangalore Institute of Technology, effective from February 2025. It outlines the course title, code, duration, and maximum marks, along with a set of questions divided into five modules covering various topics in C programming. Students are required to answer any five questions, ensuring at least one question from each module.

Uploaded by

jeevanvgowdaa
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)
13 views2 pages

Pop Model QP

This document is a model question paper for the First Semester Degree Examination in C Programming at Bangalore Institute of Technology, effective from February 2025. It outlines the course title, code, duration, and maximum marks, along with a set of questions divided into five modules covering various topics in C programming. Students are required to answer any five questions, ensuring at least one question from each module.

Uploaded by

jeevanvgowdaa
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

BANGALORE INSTITUTE OF TECHNOLOGY

An Autonomous Institution under VTU, Belagavi.


K. R. Road, V. V. Puram, Bengaluru - 560004

Model Question Paper- I with effect from 2025


CBCS SCHEME
First Semester Degree Examination FEB 2025
Course Title: POP C Course Code: BPOPS103
Duration: 03Hours Max.Marks:100

Note: Answer any FIVE full questions, choosing at least ONE question from each Unit.
1. Prescribed Formula Hand Book is permitted.
2. M: Marks, L: Bloom’s level, C: Course outcomes.

Q.No. Module – I M L C

1. a) Explain the structure of C program with example. 6 2 1


b) Discuss various program designing tools. Write an algorithm to 8 2 1
perform area of circle and draw the flowchart for area of circle.
c) List and explain C Tokens. 6 2 1
OR
2. a) Define a variable. Explain how it is declared, defined and initialized 5 2 1
with syntax and example.
b) Explain formatted input and output statement with example. 10 2 1
c) Write a C program to swap two numbers without using temp 5 6 1
variable.
Module – II

3. a) Define operator. Illustrate the following operator with example 8 3 1


i. increment and decrement operator
ii. expression with logical operator
iii. ternary operator
iv. bitwise operators
b) Outline the following conditional statements with an example 6 2 3
i.if ii. if else iii. nested if else
c) List the precedence of various operators in C. Evaluate the given 6 5 1
expressions(take a=3,b=4,c=5)
i. b>10 || b && C <0 || a>0
ii. y=--a*(3+b)/2-c++*b;
OR

4. a) Illustrate switch statement with syntax and example 6 3 3


b) Define looping? Explain the different looping techniques with an 8 2 3
example.
c) Explain the following unconditional statements with examples. 6 2 3
1) break 2) continue 3)goto

Page 1 of 2
BANGALORE INSTITUTE OF TECHNOLOGY
An Autonomous Institution under VTU, Belagavi.
K. R. Road, V. V. Puram, Bengaluru - 560004
Module – III

5. a) With an example, explain the function definition and declaration 8 2 2


with different forms.
b) Define Recursion. Develop a C program to find the Fibonacci of 6 6 2
given number using recursion.
c) Explain different parameter passing techniques in functions with 6 2 2
example.
OR
6. a) Explain declaration and initialization of 2D array with example 8 2 2
program
b) Develop a Program for plotting the Pascal’s triangle 6 6 2
c) Describe how one dimensional array can be passed to functions with an 6 2 2
example.
Module – IV
7. a) How string is declared and initialized along with the memory 6 1 2
representation.
b) Define string. List out all string manipulation function. Explain any 8 2 2
Five with example.
c) Explain any five string operations with example. 6 2 2
OR
8. a) Explain how the pointer variable declared and initialized, give the 10 2 4
advantages and disadvantages of pointer data type.
b) Write a C program using pointers to compute the sum, mean and 10 6 4
standard deviation of all elements stored in an array of “n” real
numbers
Module –V

9. a) Discuss the general syntax of structure variable declaration of 6 2 4


structure to store book information (book_name, book_author,
price).
b) Implement structures to read, write and compute average- marks 8 6 4
of the students, list the students scoring above and below the
average marks for a class of N students.
c) Explain Nested structures with example program 6 2
OR
10. a) Write a program to copy the content of one file to another file. 6 6 4
b) Explain with example how to create a structure using “typedef” 6 2 4
c) What are unions? How are they different from structures? Give an 8 1 4
example for union.

Page 2 of 2

You might also like