Previous year paper

Theory Examination (Semester-II) 2015-16 COMPUTER PROGRAMMING

Computer Science B.Tech 0 downloads

About this previous year paper

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.

TypePrevious year paper
SubjectComputer Science
Board / courseB.Tech
FilePDF · 13.01 KB
Shared by SuGanta International

Added by the SuGanta team.