B.TechSemester 12023-24Programming For Problem SolvingBCS101

Programming For Problem Solving (BCS101) - AKTU Question Paper 2023-24

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 2023-24. 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:2023-24
University:AKTU / UPTU

Rate this paper

Questions Asked in 2023-24

Programming For Problem Solving (BCS101) — extracted question text · 70 marks · 3 Hours

Section AAttempt all q u e s t i o n s i n b r i e f . 2 x 7 = 14
  • a
    Define Syntax. Write the imp ortance of Syntax in programming. 2 1
  • b
    Draw the Memory Hierarchy acco rding to the Access time. 2 1
  • c
    Differentiate Between Ope rator and Operands. 2 2
  • d
    Define Conditional Operator with an example. 2 2
  • e
    Find the Output of Code:
    void main ()
    {
    int a, b;
    for (a = 6, b = 4; a <= 24; a = a + 6)
    {
  • b
    r e a k ;
    }
    printf(“%d” ,a);
    }
  • f
    Write the importance of base va lue in recursive function. 2 4
  • g
    Predict the output of following program
    #include<stdio.h>
    int main()
    {
        int a = 12;
        void *ptr = (int *)&a;
        printf("%d", *ptr);
        getchar();
        return 0;
    }
Section BAttempt any three o f t h e f o l l o w i n g : 7 x 3 = 21
  • a
    Explain the Storage Classes used for the storage of the Data i n C programming
  • b
    Discuss the Concept of Type C asting and Type Conversion with t h e Program
  • c
    Write a program t o print the pattern
  • d
    Write a Program to print the Fibonacci Series up to the user 's choice with the process in which the function calls itself
  • e
    Write the Short notes on (i) Linked list (ii) macros
Section CAttempt any one p a r t o f t h e f o l l o w i n g : 7 x 1 = 7
  • a
    Explain the Digital Computer w ith proper architecture. 7 1
  • b
    Define Algorithm. Write the Algorithm for the greatest of th ree numbers and Draw its flow chart
  • a
    Illustrate the Concept of Operator Precedence and Associativ ity with Example
  • b
    Write a Program to discuss th e use of break in Switch Statement. 7 2
  • a
    Write a Program to check wheth er the entered number is prime or not. 7 3
  • b
    Write a Program to print the multiplication of two-dimension al matrices with m*n dimensions
  • a
    Write a Program to print the greatest number of an array usi ng the array passing to function concept
  • b
    Define Sorting. Explain the Bubble sort technique and write the Program to implement the bubble sort
  • a
    Define file. Write the modes of file handling. Write a progr am in C to write multiple lines to a text file
  • b
    Define calloc function. Write the Program to print the sum o f elements initialized at the dynamic memory allocated by the user

Question text is extracted from the official AKTU question paper PDF above. Check the original PDF for equations, diagrams and complete wording. Extracted: 2026-08-23.