(SEM I) THEORY EXAMINATION 2024-25 PROGRAMMING FOR PROBLEM SOLVING

B.Tech General 0 downloads
₹29.00

This document contains the B.Tech (Semester I) Theory Examination 2024–25 question paper for the subject Programming for Problem Solving (Code: BCS101).
The paper is structured to evaluate students’ understanding of basic programming concepts, C language syntax, algorithms, logic building, data structures, and problem-solving techniques.

It is divided into three main sections (A, B, and C), each focusing on different depths of knowledge — from fundamental concepts to program writing and algorithm analysis.

SECTION A – Short Answer Questions (Basic Concepts & Fundamentals)

This section includes 7 compulsory questions, each carrying 2 marks, designed to test basic understanding and definitions.

Topics covered include:

1. Tokens in Programming

Keywords, identifiers, operators, constants, delimiters.

2. Low-Level vs High-Level Languages

Machine-level, assembly, and high-level language differences.

3. Operators in Programming language

Arithmetic, logical, relational operators and their purpose.

4. Nested If-Else Structure

Flowchart or diagram to represent decision-making hierarchy.

5. Output Tracing of C Code

Loop evaluation, condition checking, and program flow understanding.

6. Time Complexity of Selection Sort

Understanding Big-O notation and algorithm efficiency.

7. Macros in C

Use of #define, constants, inline code expansion.

This section tests K1–K2 cognitive levels involving recall, explanation, and basic reasoning.

SECTION B – Descriptive Questions (Application & Program Writing)

Students must attempt any 3 out of 5 questions, each of 7 marks.
This section evaluates the ability to explain programming concepts and write C programs.

Topics include:

1. OBJ File & Compilation Process

Steps in compilation: preprocessing, compilation, assembly, linking.

2. Leap Year Program Using Conditional Operator

Ternary operator usage and logical conditions.

3. Array Importance & Function Array Passing

Program to compute sum of two numbers using array parameter passing.

4. Searching and Linear Search Program

Need for searching techniques and writing a linear search code.

5. Use & Importance of Linked List

Dynamic allocation, node structure, pointers, and insertion.

This section tests K2–K4 levels: explanation, implementation, and coding ability.

SECTION C – Long Answer Questions (Advanced Concepts, Diagrams, Algorithms, Programs)

Section C has five parts (3 to 7), each containing one choice.
Students must attempt one part from each, making this the most application-heavy segment of the paper.

3. Computer System Architecture / Storage Classes

3(a) Architecture of Digital Computer System

Students draw and explain components:

Input unit

Output unit

Memory unit

ALU

CU

System Bus

And discuss their use in programming.

3(b) Four Storage Classes in C

auto, extern, static, register — with examples.

4. Operators in C / Largest of Four Numbers Program

4(a) Various Operators

Arithmetic, relational, logical, bitwise, assignment, conditional, etc.

4(b) C Program to Find Largest of Four Numbers

5. Pattern Printing / Matrix Multiplication

5(a) Pattern Printing Program

Printing a star-based pattern using loops.

5(b) Multiplication of Two n×n Matrices

Nested loops, input handling.

6. Bubble Sort Program + Complexity / Call By Reference

6(a) Bubble Sort Program & Complexity Comparison

Sorting a list and comparing bubble sort vs insertion sort time complexity.

6(b) Call by Reference Program (Swap Two Numbers)

Using pointers and function calling mechanism.

7. DMA Program / Pointers

7(a) Define DMA & Runtime Memory Allocation Program

Using malloc() and computing sum of entered numbers.

7(b) Pointer & Self-Referential Pointer Explanation

Structure containing pointer to same type, e.g., linked list node.

Summary of What the Questions Are About

This question paper collectively evaluates:

Basic structure of C programs

Compilation and execution flow

Conditional statements and loops

Arrays, searching, sorting

Use of pointers and dynamic memory

Writing, tracing, and debugging programs

Computer architecture fundamentals

Data structures like linked lists

Time complexity and algorithm comparison

It ensures students understand both theoretical concepts and practical programming abilities.

Purpose of the Paper

The exam aims to test a student’s ability to:

Build logical thinking

Write and execute C programs

Understand algorithms and flow control

Use memory, storage classes, and pointers

Apply concepts to solve real-world problems

Develop strong foundational programming skills

It is designed to build the groundwork required for advanced courses like DSA, OOPS, and system programming.

File Size
180.71 KB
Uploader
Payal Saini
⭐ Elite Educators Network

Meet Our Exceptional Teachers

Discover passionate educators who inspire, motivate, and transform learning experiences with their expertise and dedication

KISHAN KUMAR DUBEY

KISHAN KUMAR DUBEY

Sant Ravidas Nagar Bhadohi, Uttar Pradesh , Babusarai Market , 221314
5 Years
Years
₹10000+
Monthly
₹201-300
Per Hour

This is Kishan Kumar Dubey. I have done my schooling from CBSE, graduation from CSJMU, post graduati...

Swethavyas bakka

Swethavyas bakka

Hyderabad, Telangana , 500044
10 Years
Years
₹10000+
Monthly
₹501-600
Per Hour

I have 10+ years of experience in teaching maths physics and chemistry for 10th 11th 12th and interm...

Vijaya Lakshmi

Vijaya Lakshmi

Hyderabad, Telangana , New Nallakunta , 500044
30+ Years
Years
₹9001-10000
Monthly
₹501-600
Per Hour

I am an experienced teacher ,worked with many reputed institutions Mount Carmel Convent , Chandrapu...

Shifna sherin F

Shifna sherin F

Gudalur, Tamilnadu , Gudalur , 643212
5 Years
Years
₹6001-7000
Monthly
₹401-500
Per Hour

Hi, I’m Shifna Sherin! I believe that every student has the potential to excel in Math with the righ...

Divyank Gautam

Divyank Gautam

Pune, Maharashtra , Kothrud , 411052
3 Years
Years
Not Specified
Monthly
Not Specified
Per Hour

An IIT graduate having 8 years of experience teaching Maths. Passionate to understand student proble...

Explore Tutors In Your Location

Discover expert tutors in popular areas across India

Yoga Classes Near By Greater Kailash Achieve Strength, Flexibility & Mental Peace with Expert Yoga Training in 2026 Greater Kailash, Delhi
Fitness Training Near By Najafgarh Professional Workout Programs for Strength, Weight Loss & Overall Wellness Najafgarh, Delhi
History Classes Near By Dwarka Mor Build Strong Conceptual Understanding & Score High in Board Exams Dwarka Mor, Delhi
Spoken English Classes Near By New Friends Colony Improve Fluency, Boost Confidence & Unlock Career Growth in 2026 New Friends Colony, Delhi
Voice-Over Training Near Sector 139 Noida – Learn Professional Voice Acting & Recording Skills Noida
Singing / Vocal Training Near DLF Phase 2 – Professional Voice Training for All Age Groups DLF Phase 2, Gurugram
🇩🇪 German Language Classes Near By Uttam Nagar – Learn German with Confidence Uttam Nagar, Delhi
Spoken English Classes Near By Hauz Khas Build Fluency, Confidence & Professional Communication Skills in 2026 Hauz Khas, Delhi
Music Production (Laptop-Based) Classes Near Sector 142 Noida – Learn Professional Digital Music Creation Sector 142, Noida
Digital Marketing Classes Near Noida Sector 96 – Learn Modern Marketing Skills and Build a Successful Career Noida
Guitar Classes Near By Greater Kailash Learn Guitar with Expert Guidance & Transform Your Passion into a Lifelong Skill Greater Kailash, Delhi
SEO Training Near Sector 63 Gurugram – Master Search Engine Optimization & Build a High-Growth Career Sector 63, Gurugram
Fashion Designing Classes Near By Dwarka Mor – Turn Your Creativity into a Stylish Career Dwarka Mor, Delhi
Career Counseling Near Sector 100 Dwarka Expressway, Gurugram – Guidance for a Clear & Confident Future Gurugram
Guitar Classes Near By Kalkaji Learn Guitar from Experts & Turn Your Musical Passion into a Lifelong Skill Kalkaji, Delhi
Keyboard / Piano Classes Near DLF Phase 3 – Learn Music with Professional Training DLF Phase 3, Gurugram
Keyboard / Piano Classes Near DLF Phase 3 Gurugram – Professional Music Training for Kids, Beginners & Advanced Learners DLF Phase 3, Gurugram
Candle Making Classes Near By Dwarka Mor – Learn the Art of Handmade Candle Crafting Dwarka Mor, Delhi
Spoken English Classes Near By Mehrauli Build Fluency, Improve Confidence & Unlock Better Opportunities in 2026 Mehrauli, Delhi
TOEFL Coaching Near Sector 58 Gurugram – Expert Preparation for High Scores Gurugram
⭐ Premium Institute Network

Discover Elite Educational Institutes

Connect with top-tier educational institutions offering world-class learning experiences, expert faculty, and innovative teaching methodologies

Réussi Academy of languages

sugandha mishra

Réussi Academy of languages
Madhya pradesh, Indore, G...

Details

Coaching Center
Private
Est. 2021-Present

Sugandha Mishra is the Founder Director of Réussi Academy of Languages, a premie...

IGS Institute

Pranav Shivhare

IGS Institute
Uttar Pradesh, Noida, Sec...

Details

Coaching Center
Private
Est. 2011-2020

Institute For Government Services

Krishna home tutor

Krishna Home tutor

Krishna home tutor
New Delhi, New Delhi, 110...

Details

School
Private
Est. 2001-2010

Krishna home tutor provide tutors for all subjects & classes since 2001

Edustunt Tuition Centre

Lakhwinder Singh

Edustunt Tuition Centre
Punjab, Hoshiarpur, 14453...

Details

Coaching Center
Private
Est. 2021-Present
Great success tuition & tutor

Ginni Sahdev

Great success tuition & tutor
Delhi, Delhi, Raja park,...

Details

Coaching Center
Private
Est. 2011-2020