B.TechSemester 22024-25Programming For Problem SolvingBCS201

Programming For Problem Solving (BCS201) - AKTU Question Paper 2024-25

B.Tech · Semester 2 · Free PDF Download

This is the official AKTU Programming For Problem Solving Previous Year Question Paper for B.Tech Semester 2, academic session 2024-25. Published by Dr. A.P.J. Abdul Kalam Technical University (AKTU/UPTU), Lucknow. Free PDF download — no login required.

Course:B.Tech
Semester:Semester 2
Session:2024-25
University:AKTU / UPTU

Rate this paper

Questions Asked in 2024-25

Programming For Problem Solving (BCS201) — complete question paper · 70 marks · 3 Hours

Section AAttempt all questions in brief. 02 x 7 = 14
  • a
    What is the difference between compiler and interpreter?
  • b
    Write a short note on flowchart and its use
  • c
    Explain the purpose of the scanf() and printf() functions in C
  • d
    What is operator precedence? Give an example
  • e
    Mention the use of break and continue in loops
  • f
    Define recursion with an example
  • g
    Differentiate between malloc() and calloc()
Section BAttempt any three of the following: 07 x 3 = 21
  • a
    Explain various components of a computer system with a neat diagram
  • b
    Write and explain the structure of a basic C program
  • c
    Discuss different types of operators in C with examples
  • d
    Write a C program to input 10 integers in an array and find the average
  • e
    Describe the difference between call by value and call by reference with examples
Section CAttempt any one part of the following: 07 x 1 = 07
  • a
    Explain the differences among assembler, loader, and linker with suitable diagrams
  • b
    Draw a flowchart and write pseudo code to find the factorial of a number
  • a
    Explain the use of logical and bitwise operators with examples
  • b
    Write a C program to check whether a number is even or odd using switch case
  • a
    Write a C program to reverse a string entered by the user
  • b
    What is a structure in C? Give an example of an array of structures
  • a
    Write a recursive C program to find the nth Fibonacci number
  • b
    Explain bubble sort with example and write its C implementation
  • a
    Write a C program to read and display contents of a file
  • b
    Explain self-referential structures and their use in linked list

Question text is extracted from the official AKTU question paper PDF above. Hindi translations are omitted — every question is printed in English in the original paper. Last verified: 2026-08-23.

Repeated Questions — BCS201

Questions that appeared in more than one session, found by comparing 3 years of Programming For Problem Solving papers (2022-23, 2023-24, 2024-25)

2x

Differentiate between malloc() and calloc()

Appeared in: 2022-23 · 2024-25

2x

Describe the difference between call by value and call by reference with examples

Appeared in: 2022-23 · 2024-25