Skip to content

BPOPS103 / BPOPS203 · 2022 · First year · Semesters 1 / 2

Principles of Programming Using C CSE

Same subject in either semester, depending on your cycle. Papers retain their original subject codes.

Back to subjects

Automated PYQ shortlist · Academic review pending. Questions are displayed from OCR. Some formulas and figures may need review.

Review status & sources

Similar question wording is grouped and ranked by the number of distinct exam sessions. Groups with the same count are ordered by their extracted text. Some subjects have only one session. Paper references show the PDF page and extracted question number when available.

Module 1

0.2 What is variable? What are the rules to construct a variable?

OCR transcription · Wording, symbols, or figures may be incomplete.

2 exam sessions
  • June-July-2025 · PDF page 1 · Q2
  • Jan-Feb-2023 · PDF page 1 · Q2b

Explain any two output devices in detail.

2 exam sessions
  • June-July-2024 · PDF page 1 · Q2
  • Jan-Feb-2023 · PDF page 1 · Q1c

Explain the following programming paradigms. Procedural programming Object-oriented programming

OCR transcription · Wording, symbols, or figures may be incomplete.

2 exam sessions
  • Dec-2024-Jan-2025 · PDF page 1 · Q2a
  • June-July-2023 · PDF page 1 · Q2a
Show 2 Backup Questions

Explain the structure of a C program with an example.

2 exam sessions
  • Dec-2024-Jan-2025 · PDF page 1 · Q2b
  • Jan-Feb-2023 · PDF page 1 · Q2c

Define Computer. Explain the various types of computer. Explain the basic structures of C program in detail. Write a sample program to demonstrate the components in the structure of C program.

1 exam session
  • June-July-2024 · PDF page 1 · Q1

Module 2

Compare between the break and continue statement.

2 exam sessions
  • June-July-2025 · PDF page 1 · Q3b
  • June-July-2024 · PDF page 1 · Q3c

Explain if, if-else, nested if and cascaded if-else statements with syntax and example. Write a C program that takes three coefficient (a, b, c) to calculate roots of quadratic equation, print all possible roots with appropriate messages for a set of coefficients.

OCR transcription · Wording, symbols, or figures may be incomplete.

2 exam sessions
  • June-July-2024 · PDF page 1 · Q4
  • June-July-2025 · PDF page 1 · Q4b

Explain switch statement with syntax. Write a program to simulate simple calculator.

2 exam sessions
  • June-July-2025 · PDF page 1 · Q3c
  • June-July-2024 · PDF page 1 · Q3b
Show 2 Backup Questions

Differentiate while and do - while loops with example. What are nested loops? Give example. Write a 'C' program to display the pattern shown below. 22 3 3 3 4444 55555

OCR transcription · Wording, symbols, or figures may be incomplete.

1 exam session
  • June-July-2024 · PDF page 1 · Q4b

Discuss the functioning of the following operators with example. 1) Arithmetic ii) Relational

OCR transcription · Wording, symbols, or figures may be incomplete.

1 exam session
  • June-July-2025 · PDF page 1 · Q3

Module 3

Explain function call, function definition and function prototype with syntax and example for each.

2 exam sessions
  • June-July-2024 · PDF page 1 · Q6
  • June-July-2025 · PDF page 1 · Q5

Briefly explain the storage classes supported by 'C" language.

OCR transcription · Wording, symbols, or figures may be incomplete.

1 exam session
  • June-July-2024 · PDF page 2 · Q5b

Define an array. Explain with example. How to declare and initialize 2D- : array.

OCR transcription · Wording, symbols, or figures may be incomplete.

1 exam session
  • Jan-Feb-2023 · PDF page 1 · Q5
Show 2 Backup Questions

Define function. Explain categories of user defined functions. Define two-dimension array. Write a C program to multiply 2 matrix by ensuring their multiplication compatibility.

OCR transcription · Wording, symbols, or figures may be incomplete.

1 exam session
  • June-July-2024 · PDF page 1 · Q5

Define function. Explain the type of functions based on parameters.

1 exam session
  • Jan-Feb-2023 · PDF page 2 · Q6

Module 4

Define pointer. Explain pointer variable declaration and initialization with suitable example.

2 exam sessions
  • June-July-2024 · PDF page 2 · Q8
  • June-July-2023 · PDF page 2 · Q8a

Develop a program using pointer to compute the sum, mean and standard deviation of all elements stored in array of N real numbers.

OCR transcription · Wording, symbols, or figures may be incomplete.

2 exam sessions
  • June-July-2025 · PDF page 2 · Q8a
  • June-July-2024 · PDF page 2 · Q8c

with exampies. Write a C program to find the length ol a given string without using built-in Write a C program to check whether the given string is Palindrome or not | 6 without using built in function.

OCR transcription · Wording, symbols, or figures may be incomplete.

1 exam session
  • Jan-Feb-2023 · PDF page 2 · Q7a
Show 2 Backup Questions

! Write a C program using pointers to compute the sum, mean and standard deviation of all elements stored in an array of'n' real numbers I Write a C program to replace each constant in a string with the text onc except letter 'z', "Z' and "a'A', for the string "Corona Virus" should be modified as "DpSpoa Wjsvt".

OCR transcription · Wording, symbols, or figures may be incomplete.

1 exam session
  • Jan-Feb-2023 · PDF page 2 · Q8b

Definc Pointer. Lixplain how the pointer is declared and initialized with example.

OCR transcription · Wording, symbols, or figures may be incomplete.

1 exam session
  • Jan-Feb-2023 · PDF page 2 · Q8

Module 5

Differentiate between arrays and structures in C.

2 exam sessions
  • Dec-2024-Jan-2025 · PDF page 2 · Q9b
  • Jan-Feb-2023 · PDF page 2 · Q9a

Implement a structure to read, write and compute average marks and the students scoring above and below average of class N students.

OCR transcription · Wording, symbols, or figures may be incomplete.

2 exam sessions
  • June-July-2024 · PDF page 2 · Q9b
  • June-July-2025 · PDF page 2 · Q9c

Compare between fgets() and gets().

1 exam session
  • June-July-2025 · PDF page 2 · Q10b
Show 2 Backup Questions

Compare between structure and union with syntax and example.

1 exam session
  • June-July-2024 · PDF page 2 · Q10a

Compare structures and unions with syntax and example.

1 exam session
  • June-July-2025 · PDF page 2 · Q9b