Theory Examination (Semester-II) 2015-16 COMPUTER PROGRAMMING
This question paper assesses a student's understanding of C programming concepts, algorithms, file handling, data types, operators, control statements, OS basics, ALU, and pointer usage.
It is divided into three sections, covering definitions, programs, comparisons, and applied problem-solving.
SECTION – A (10 × 2 = 20 Marks)
This section contains ten short-answer questions, requiring brief definitions or outputs.
Topics include:
Pointers and initialization
Role of ALU
Difference between <stdio.h> and "stdio.h"
Functions of operating system
Escape sequence characters
Enumerated data type
Output prediction of a left-shift operator
Behavior of an infinite loop
Structured programming
Modulus operation with negative numbers
This section checks basic C language syntax, OS fundamentals, and simple computational logic.
SECTION – B (5 × 10 = 50 Marks)
Students must attempt any five medium-length programming or descriptive questions.
Topics include:
C program to reverse a string using pointers
Formatted vs unformatted I/O functions
Fibonacci series using recursion
Flowchart + algorithm for sum & average
Static vs extern variables (with example)
Switch-case vs nested if (with examples)
Prime number checking program
Difference between structure & union, and employee record program using structure
This section evaluates algorithmic thinking, programming logic, code writing skills, and conceptual understanding.
SECTION – C (2 × 15 = 30 Marks)
Students must attempt any two long-answer questions.
Topics include:
Control Statements & Type Concepts
Break vs continue (examples)
Type conversion vs type casting
File Handling & Operators
File operations in C and program to count characters in a file
Types of operators; precedence vs associativity
Matrices & C Concepts
Program for multiplication of two M × N matrices
Explanation of:
Preprocessor
Double precision
Array of structures
This section tests in-depth programming, file handling, operator hierarchy, and structured data concepts.
Related Notes
BASIC ELECTRICAL ENGINEERING
ENGINEERING PHYSICS THEORY EXAMINATION 2024-25
(SEM I) ENGINEERING CHEMISTRY THEORY EXAMINATION...
THEORY EXAMINATION 2024-25 ENGINEERING MATHEMATICS...
(SEM I) THEORY EXAMINATION 2024-25 ENGINEERING CHE...
(SEM I) THEORY EXAMINATION 2024-25 ENVIRONMENT AND...
Need more notes?
Return to the notes store to keep exploring curated study material.
Back to Notes StoreLatest Blog Posts
Best Home Tutors for Class 12 Science in Dwarka, Delhi
Top Universities in Chennai for Postgraduate Courses with Complete Guide
Best Home Tuition for Competitive Exams in Dwarka, Delhi
Best Online Tutors for Maths in Noida 2026
Best Coaching Centers for UPSC in Rajender Place, Delhi 2026
How to Apply for NEET in Gurugram, Haryana for 2026
Admission Process for BTech at NIT Warangal 2026
Best Home Tutors for JEE in Maharashtra 2026
Meet Our Exceptional Teachers
Discover passionate educators who inspire, motivate, and transform learning experiences with their expertise and dedication
Explore Tutors In Your Location
Discover expert tutors in popular areas across India
Discover Elite Educational Institutes
Connect with top-tier educational institutions offering world-class learning experiences, expert faculty, and innovative teaching methodologies