Welcome to IRDT Uttarakhand E-Syllabus Web Portal

05 COMPUTER SCIENCE & ENGGINEERING
Duration : 03 Year
Eligibility : 10th with Science & Mathematics
Intake : 25/40/60(As approved by AICTE/State Govt.)
Pattern of the Examination : Semester System
Assessment Type : The assessment will we carry out through credit point system/Learning Based Out comes
Theory & Practical Ratio : 50: 50
Industrial Training: Included after IInd Semester
Ecology & Environment : As pe Government Directions a subject named Environmental Science & Energy Management has been included.
Entrepreneurship Development: A subject on Entrepreneurship Development has been incorporated after IInd Semester.
General Proficiency : A provision of 6 periods per week has been made. It Included of various cocurricular activities like games, hobby clubs, seminars, declamation contests, extension lectures, NCC, NSS, cultural activities and discipline etc.

Syllabus


Paper Code :
053.1
Paper Name :
PROGRAMMING IN C

Program development cycle- Programming language levels & features. Algorithm – Properties & classification of Algorithm, flow chart – symbols, importance &

advantage of flow chart.



LAB EXERCISES

Part – A

 1.    Write a simple Cprogram.

a.    Print your name and address.

b.    Find simple and compound interest

2.    Write a C program to swap two variable’s using(i)third variable and(ii) without using a third variable.

3.    Write a program to convert a given number of days into months and days using integer arithmetic operators.

4.      Write a program the use of variables in expression and their evaluation.

5.    Write a program converts the given temperature in Fahrenheit to Celsius using preprocessor.

6.    Write a program to find the largest number between given three numbers.

7.    Write a program to perform following tasks

a.    Find factorial of a number

b.    Print prime numbers up Ntimes.

8.    Write a program to prepare the total marks for N students by reading the Reg.No, Name, Mark1 to Mark6 by using array of structures.

9.    Write a program using the function power (a,b) to calculate the value of a raised tob.

10.   Write a program to find the length of the given string using pointers.

 

1.    Read an integer number, find the number of digit and sum of all individual digits and also print the above number in reverse order.

2.    Write a program to perform following tasks

a.    Print Fibonacci series up to N terms and its sum.

b.    Print whether a given year is leap ornot.

3.    Read a sentence through command line argument. Write a program to write out the string arguments to main in reverse order.

4.    Write a program to arrange the given N names in alphabetical order.

5.    Write a program to count the numbers and chars in the string.

6.    Write a program that uses a function to sort an array of integers.

7.    Write a program to calculate the subject wise and student wise totals and store them as a part of the structure.

8.    Write a program to read 10 values to an array variable. Use pointers to locate and display each value.

9.    Write a program that uses a table of integers whose size will be specified interactively at runtime.

10.    Write a program to store a character string in a block of memory space created by MALLOC and then modify the same to store a larger string.

 

 

SCHEME OF VALUATION

Writing any one program from PART – A

10 Marks

Writing any one program from PART – B

15 Marks

Executing program (PART – A)

15 Marks

Executing program (PART – B)

20 Marks

Result with printout ( PART – A)

05 Marks

Result with printout ( PART – B)

05 Marks

VIVA – VOCE

05 Marks

Total

60 Marks

 

Note: student: computer ratio in lab should be strictly 1:1 HARDWARE REQUIREMENT

·         Desktop Computers  with LAN – 40Nos

·         Laser Printer – 1No

SOFTWARE REQUIREMNT

·         C – Compiler with Editor

 

 

 

 

 

 

 

 

 

 

 

 

History of C – features of C structure of C program–Compiling, link & run a program. Diagrammatic representation of program execution process.
:. C character set-Tokens- Constants- Key words – identifiers and Variables – Data types and storage – Data type Qualifiers – Declaration of Variables – Assigning values to variables- Declaring variables as constants-Declaration –Variables as volatile- Overflow & under flow of data
:-Arithmetic, Logical, Assignment .Relational, Increment and Decrement, Conditional, Bitwise, Special Operator precedence and Associativity. C expressions – Arithmetic expressions – Evaluation of expressions- Type cast operator
: Formatted input, formatted output, Unformatted I/O statements

:- Introduction – Simple if statement – if –else – else-if

ladder , nested if-else-Switch statement – go statement – Simple programs.
While, do-while statements, for loop, break & continue statement – Simple programs
Declaration and initialization of One dimensional, Two dimensional and Character arrays – Accessing array elements –Programs using arrays
:- Declaration and initialization of string variables, Reading String,WritingStrings–Stringhandlingfunctions(strlen(),strcat(),strcmp()) – String manipulation programs

Math functions – Console I/O functions –

Standard I/O functions – Character Oriented functions – Simple programs.
:- Defining functions & Needs-, Scope and Lifetime of Variables, , Function call, return values, Storage classes, Category of function – Recursion – Simple programs
Structure – Definition, initialization, arrays of structures, Arrays with in structures, structures within structures, Structures and functions – Unions – Structure of Union – Difference between Union and structure – Simple programs.
Definition – advantages of pointers – accessing the address of a variable through pointers - declaring and initializing pointers- pointers expressions, increment and scale factor- array of pointers- pointers and array - pointer and character strings –function arguments–pointerstofunctions–pointersandstructures–programs using pointer.
introduction – dynamic memory allocation – allocating a block memory (MALLOC) – allocating multiple blocks of memory (CALLOC) –releasing the used space:free– altering the size of a block (REALLOC) – simple programs

Introduction-Defining and opening a file-closinga

file-Input/ Output operations on files—Error handling during I/O operations –Random Access to files—Programs using files

Introduction – argv and argc arguments –

Programs using command Line Arguments –Programs

S.No

Title

Author

Publisher

Year of

Publishing/ Edition

1.

Programming and Problem solving usingC

ISRD Group, Lucknow

Tata Mc-GrawHill, NewDelhi

Sixth Reprint 2010

2.

Let us C

YeswanthKanetkar

BPB Publications

Fourth Revised

3.

A TextBookonC

E.Karthikeyan

PHI Private Limited, NewDelhi

2008

4.

Programming in C

D.Ravichandran

New Age

International Publishers,Chennai

FirstEdition1996 Reprint2011

5.

Computer Concepts and

Dr.S.S.Khandare

S.Chand& Company Ltd. NewDelhi

FirstEdition2010

6.

Complete Knowledge in C

SukhenduDey, DebobrataDutta

Narosa Publishing House, New Delhi

Reprint2010

7.

Programming in C

ReemaTheraja

Oxford University Press

FirstEdition2011

8.

Practical C Programming

Steve Oualline

O’Reilly, Shroff

Eleventh Indian ReprintOct2010

 

 

 



Website Developed By Softmaart