First Semester B.Tech Syllabus for Admission Batch 2016-17
Module – I
C program - header files, C pre-processor, standard library functions, etc., identifiers,
basic data types and sizes, constants, variables, arithmetic, relational and logical
operators, increment and decrement operators, conditional operator, bit-wise
operators, assignment operators, expressions, type conversions, conditional
expressions, Input-output statements, if and switch statements ,loops:-while, do-while
and for statements, break, continue, etc.
a) Write a C program to find the sum of individual digits of a positive integer. b)
Write a C program to find Fibonacci sequence. c) Write a C program to generate all
the prime numbers between 1 and n. d) Write a C program to find the roots of a
quadratic equation. e) Write a C program to find both the largest and smallest number
in a list of integers.
Module – II
Designing structured programs: - Functions, parameter passing, storage classesextern, auto, register, static, scope rules, user defined functions, recursive functions.
Arrays - concepts, declaration, definition, accessing elements, and functions, Pointersconcepts, initialization of pointer variables, pointers and function arguments, address
arithmetic, Character pointers and functions, pointers to pointers, Dynamic memory
a) Write C programs that use both recursive and non-recursive functions i) To find
the factorial of a given integer. ii) To find the GCD (Greatest Common Divisor) of
two given integers. iii) To solve Towers of Hanoi problem. b) Write a C program that
uses functions to perform the following: i) Addition of Two Matrices ii)
Multiplication of Two Matrices c) Write a C program that uses functions to perform
the following operations: i) To insert a sub-string in to given main string from a given
position. ii) To delete n Characters from a given position in a given string. d) Write a
C program to determine if the given string is a palindrome or not e) Write a C
program to construct a pyramid of numbers.
Module – III
Derived types- structures- declaration, definition and initialization of structures,
accessing structures, nested structures, arrays of structures, structures and functions,
pointers to structures, union.
a) Write a program to display Name, Roll Number, Marks of different subjects etc. of
n number of students. b) Write a C program to count the lines, words and characters
in a given text. c) Write a C program that uses structure to perform the following
operations: i) Reading a complex number ii) Writing a complex number iii) Addition
of two complex numbers iv) Multiplication of two complex numbers
(Note: represent complex number using a structure.)