(SEM-I) THEORY EXAMINATION 2022-23 PROGRAMMING FOR PROBLEM SOLVING

B.Tech General 0 downloads
₹29.00

This question paper assesses students’ understanding of C programming, algorithms, data types, storage classes, flowcharts, recursion, arrays, sorting, searching, memory allocation, linked lists, file handling, and basic computer system architecture.
Students may answer in English, Hindi, or a mixed language.

The question paper is divided into three sections – A, B, and C with a balance of short, descriptive, and program-based questions.

SECTION A — Short Answer Questions (Attempt All) — 2 × 7 = 14 Marks

This section evaluates basic conceptual clarity.

Topics Covered:

Memory Hierarchy Diagram
(from registers to secondary storage)

Identifiers & Keywords in C
(definition, rules, reserved words)

Implicit vs Explicit Type Conversion
(automatic vs forced typecasting)

Output of a C Program
(infinite for-loop, assignment inside condition)

Linear vs Binary Search
(complexity O(n) vs O(log n))

Node Structure of Linked List
(typical struct node with pointer)

File Opening Modes
(r, w, a, r+, w+, a+, rb, wb, ab, etc.)

These questions test foundational programming language knowledge.

SECTION B — Descriptive Questions (Attempt any 3) — 7 × 3 = 21 Marks

This section tests algorithmic thinking and application-based programming.

Topics Include:

Characteristics of an Algorithm + Algorithm to Find Sum of Digits

Clarity, finiteness, input-output, effectiveness, etc.

Data Types in C

Memory size, format specifier, range for:

int                                                                       double

float                                                                    short

char                                                                     long

Call by Value vs Call by Reference

With example program.

Matrix Multiplication Program

Input sizes, nested loops, final output matrix.

Dynamic Memory Allocation

With functions:

malloc()

calloc()

realloc()

free()

Each with examples and use cases.

**SECTION C — Long Answer / Programming / Flowchart Questions

(One from each part) — 7 × 3 = 21 Marks**

PART 3 — Computer Fundamentals & Algorithms

(a) Block Diagram of Computer System + Functions of OS

Explain:

Input Unit                                                               ALU

Output Unit                                                            CU

Memory Unit                                                          Storage

OS Functions:

Memory management                                           Scheduling

File management                                                   Security

Device management                                              Command interpretation

or

(b) Algorithm + Flowchart for Palindrome Number Detection

PART 4 — C Programming Concepts

(a) Bitwise Operators & Associativity Rules

Operators: AND, OR, XOR, NOT, <<, >>
Explain precedence vs associativity with example.

or

(b) Storage Classes

auto, static, extern, register — with output-based examples.

PART 5 — Pattern Printing & Recursion

(a) C Program to Print Star Pattern

Pyramid with odd number of stars in each row.

or

(b) Recursion + Program to Find GCD

Using Euclid’s algorithm.

PART 6 — Sorting & Structures

(a) Bubble Sort Program

Ascending order using nested loops.

or

(b) Structure for 200 bank customers + Program

Print customers with balance < 100.

PART 7 — Macros & File Handling

(a) Macro as Variable and Function

#define SIZE 10
#define SQR(x) ((x)*(x))

or

(b) File Operations + Program

Read file → count words → count lines.

File Size
948.66 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

🇩🇪 German Language Classes Near By Uttam Nagar – Learn German with Confidence Uttam Nagar, Delhi
Drum Lessons Near DLF Phase 4 – Learn Drumming with Electronic Drum Training at Home DLF Phase IV, Gurugram
Meditation Coaching Near Malibu Town, Gurugram – Find Inner Calm & Mental Clarity Malibu Town, Gurugram
Meditation Coaching Near Sector 126 Noida – A Complete Guide to Mental Wellness and Inner Peace Sector 126, Noida
Meditation Coaching Near Sector 124 Noida – A Complete Guide to Mental Peace and Mindfulness Noida
Computer Basics Course Near By Dwarka Mor – Complete Beginner Training Program Delhi
🇯🇵 Japanese Language Classes Near Sector 110 Noida – Learn Japanese with Professional Training Sector 110, Noida
Guitar Classes Near By Greater Kailash Learn Guitar with Expert Guidance & Transform Your Passion into a Lifelong Skill Greater Kailash, Delhi
Soap Making Classes Near By Dwarka Mor – Learn Handmade & Herbal Soap Crafting Dwarka Mor, Delhi
IELTS Coaching Near Noida Sector 107 – Expert Training for High Band Scores Noida
Candle Making Classes Near Sector 83 Gurugram – Learn the Art of Handmade Candles Gurugram
Guitar Classes Near By Kalkaji Learn Guitar from Experts & Turn Your Musical Passion into a Lifelong Skill Kalkaji, Delhi
Spoken English Classes Near By Lajpat Nagar Build Fluency, Confidence & Professional Communication Skills in 2026 Lajpat Nagar, Delhi
Singing Classes Near by Uttam Nagar – Discover Your True Voice Uttam Nagar, Delhi
Personal Fitness Training Near Sushant Lok Phase 3 – Transform Your Health with Expert Guidance Sushant Lok 3, Gurugram
Voice-over Training Near Sushant Lok Phase 2 – Build a Powerful & Professional Voice Career Gurugram
Resume & Interview Coaching Near Sector 102 Gurugram (Dwarka Expressway) – Build Confidence, Crack Interviews, Get Hired Sector 102, Gurugram
Zumba Classes Near Sector 131 Greater Noida – Enjoy Dance Fitness and Stay Healthy Noida
Low Investment Business Opportunities Near By Kirti Nagar Start Small, Grow Smart & Build Profitable Ventures with Minimal Capital Kirti Nagar, Delhi
Diet & Nutrition Consultation Near Vatika City, Gurugram – Your Path to Healthy Living Vatika City, 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