B.TechSemester 12022-23Programming For Problem SolvingBCS-101

Programming For Problem Solving (BCS-101) - AKTU Question Paper 2022-23

B.Tech · Semester 1 · Free PDF Download

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

Course:B.Tech
Semester:Semester 1
Session:2022-23
University:AKTU / UPTU

Rate this paper

Questions Asked in 2022-23

Programming For Problem Solving (BCS-101) — complete question paper

Section AAttempt all questions in brief. 2 x 7 = 14 fuEu lHkh iz”uksa dk la{ksi esa mRrj nhft,A
  • a
    Draw memory hierarchical structure of a computer system
  • b
    Explain identifiers and keywords in C Language
  • c
    Differentiate between implicit and explicit type conversion
  • d
    Find the output of following code written in C-Language:
          #include<stdio.h>
          main()
         {
           int i=1;
                for(;;)
                {  printf("%d",i);
                    break;
                 }
           }
  • e
    Compare linear search and binary search in terms of complexity
  • f
    Define the structure of a node in linked list
  • g
    List out various file opening modes
Section BAttempt any three of the following: 7 x 3 = 21
  • a
    State desirable characteristics of an algorithm. Write an algorithm to calculate sum of digits of a number entered by user
  • b
    Define Data Types in C. Discuss basic data types in terms of memory occupied, format specifier and range
  • c
    Differentiate between call by value and call by reference parameter passing mechanisms using example
  • d
    Write a program to multiply two matrices (read size and elements of matrices from the keyboard)
  • e
    Discuss dynamic memory allocation. Explain calloc(), malloc(), realloc() and free() functions with suitable example
Section CAttempt any one part of the following: 7 x 1 = 7
  • a
    Illustrate basic components of computer system with neat block diagram. Also, explain various functions of Operating System in detail
  • b
    Write an algorithm and draw a flow chart to check whether the number entered by user is palindrome or not
  • a
    Explain various bitwise operators in C Language with help of an example. When precedence of two operators in an expression is same, how associativity helps in identifying which operator will be evaluated first. Illustrate it with an example
  • b
    Illustrate various types of storage classes in C-Language with suitable example
  • a
    Write a program in C to print the given pattern
  • b
    Illustrate recursion. Write a program in C to find GCD (Greatest Common Divisor) of two numbers using recursion
  • a
    Write a program in C to implement bubble sort
  • b
    Construct a structure to ‘customer’ specify data of customers in a bank. The data to be stored is: Account number, Name, Balance in account. Assume maximum of 200 customers in the bank. Write a program in C to find and print all details of customers (i.e. Account Number, Name and Balance) having balance less than Rs. 100
  • a
    What is Macro? Illustrate the working of Macro as a variable and as a function with the help of suitable example
  • b
    Discuss various file operations. Write a program in C to read content of an existing file and display the numbers of words and lines in that file

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 — BCS-101

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

4x

Write a program in C to print the given pattern

Appeared in: 2022-23 · 2023-24 · 2024-25 · 2025-26

2x

Draw memory hierarchical structure of a computer system

Appeared in: 2022-23 · 2025-26

2x

Differentiate between implicit and explicit type conversion

Appeared in: 2022-23 · 2025-26

2x

List out various file opening modes

Appeared in: 2022-23 · 2025-26

2x

State desirable characteristics of an algorithm. Write an algorithm to calculate sum of digits of a number entered by user

Appeared in: 2022-23 · 2025-26

2x

Differentiate between call by value and call by reference parameter passing mechanisms using example

Appeared in: 2022-23 · 2025-26

2x

Discuss dynamic memory allocation. Explain calloc(), malloc(), realloc() and free() functions with suitable example

Appeared in: 2022-23 · 2025-26

2x

Illustrate recursion. Write a program in C to find GCD (Greatest Common Divisor) of two numbers using recursion

Appeared in: 2022-23 · 2025-26

2x

Write a program in C to implement bubble sort

Appeared in: 2022-23 · 2025-26