0% found this document useful (0 votes)
29 views

FCS Syllabus

This document describes a course on fundamentals of computer science. The course objectives are to teach programming skills in C language, problem solving techniques, and concepts like arrays, structures, functions, pointers and memory management. The course outcomes are that students will be able to solve problems, develop programs using basic C elements, create advanced applications using enumerated data types and function pointers. Students will also learn file handling and preprocessor directives. The course content covers general problem solving, control flow, pointers and arrays, structures, and input/output in C. The associated lab aims to help students develop algorithms, use control structures, design modular programs using functions and pointers, and handle files. Students must complete a minimum of 10 experiments.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views

FCS Syllabus

This document describes a course on fundamentals of computer science. The course objectives are to teach programming skills in C language, problem solving techniques, and concepts like arrays, structures, functions, pointers and memory management. The course outcomes are that students will be able to solve problems, develop programs using basic C elements, create advanced applications using enumerated data types and function pointers. Students will also learn file handling and preprocessor directives. The course content covers general problem solving, control flow, pointers and arrays, structures, and input/output in C. The associated lab aims to help students develop algorithms, use control structures, design modular programs using functions and pointers, and handle files. Students must complete a minimum of 10 experiments.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

CO/CM/CD/CB 114 Fundamentals of Computer Science L P C

3 0 3

Course Objectives:
1. To impart adequate knowledge on the need of programming languages and problem solving
techniques.
2. To develop programming skills using the fundamentals and basics of C Language.
3. To enable effective usage of arrays, structures, functions, pointers and to implement the memory
management concepts.
4. To teach the issues in file organization and the usage of file systems.

Course outcomes:
After successful completion of the course student shall be able to:

1. Enhance their analyzing and problem solving skills and use the same for writing programs in C.
2. Develop programs using the basic elements like control statements, Arrays and Strings.
3. Develop advanced applications using enumerated data types, function pointers and nested
structures and ability to apply code reusability with user defined functions.
4. Learn the basics of file handling mechanism that is essential for understanding the concepts
in database management systems and to understand the uses of preprocessors and various
header file directives.

Course Content:

UNIT – I CO-1 [14 Periods]


General problem Solving concepts: Algorithm, and Flowchart for problem solving with Sequential Logic
Structure, Decisions and Loops.

Imperative languages: Introduction to imperative language; syntax and constructs of a specific


language (ANSI C) Types Operator and Expressions with discussion of variable naming and Hungarian
Notation: Variable Names, Data Type and Sizes (Little Endian Big Endian), Constants, Declarations,
Arithmetic Operators, Relational Operators, Logical Operators, Type Conversion, Increment Decrement
Operators, Bitwise Operators, Assignment Operators and Expressions, Precedence and Order of
Evaluation, proper variable naming and Hungarian Notation.

UNIT – II CO-2 [13 Periods]


Control Flow with discussion on structured and unstructured programming: Statements and Blocks, If-
else-If, Switch, Loops – while, do, for, break and continue, goto labels, structured and un- structured
programming.

Functions and Program Structure with discussion on standard library: Basics of functions, parameter
passing and returning type, C main return as integer, External, Auto, Local, Static, Register Variables,
Scope Rules, Block structure, Initialization, Recursion, Pre-
processor, Standard Library Functions and return types.
UNIT – III CO-3 [10 Periods]
Pointers and Arrays: Pointers and address, Pointers and Function Arguments, Pointers and Arrays,
Address Arithmetic, character Pointers and Functions, Pointer Arrays, Pointer to Pointer,
Multidimensional array and Row/column major formats, Initialization of Pointer Arrays, Command line
arguments, Pointer to functions, complicated declarations and how they are evaluated.

Structures: Basic Structures, Structures and Functions, Array of structures, Pointer of structures, Self
referral structures, Table look up, typedef, unions, Bit-fields.

UNIT – IV CO-4 [10 Periods]


Input and Output: Standard I/O, Formatted Output–printf, Formatted Input–scanf, Variable length
argument list, file access including FILE structure, fopen, stdin, sdtout and stderr, Error Handling
including exit, perror and error.h, Line I/O, related miscellaneous functions. Unix system Interface: File
Descriptor, Low level I/O – read and write, open, create, close and unlink, Random access – lseek,
Discussions on Listing Directory, Storage allocator.
Programming Method: Debugging, Macro, User Defined Header, User Defined Library Function, make
file utility.

Learning Resources:
Text Books:

1. The C Programming Language, (Second Edition) B. W. Kernighan and D. M. Ritchi, PHI.


Reference Books:
1. Programming in C, (Second Edition) B. Gottfried, Schaum Outline Series.
2. C: The Complete Reference, (Fourth Edition), Herbert Schildt, McGraw Hill.
3. Let Us C, Yashavant Kanetkar, BPB Publications.
CO/CS/IT/CM/CD 154 Fundamentals of Computer Science Lab L P C
0 3 1.5

Course Objectives:
The objectives of the course are, to make the student understand:
1. Basic problem solving process using Flow Charts and algorithms.
2. Basic concepts of control structures in C.
3. Concepts of arrays, functions, pointers and Dynamic memory allocation in C.
4. Concepts of structures, unions, files and command line arguments in C.

Course Outcomes:
After successful completion of the course, the students are able to
1. Develop algorithms and flow charts for simple problems.
2. Use suitable control structures for developing code in C.
3. Design modular programs using the concepts of functions and recursion.
4. Develop code for complex applications using structures, pointers and file handling features.

List of Exercises / Activities:


[The laboratory should be preceded or followed by a tutorial to explain the approach or algorithm
to be implemented for the problem given].
1. Algorithm and flowcharts of small problems like GCD
2. Structured code writing with:
a. Small but tricky codes
b. Proper parameter passing
c. Command line Arguments
d. Variable parameter
e. Pointer to functions
f. User defined header
g. Make file utility
h. Multi file program and user defined libraries
i. Interesting substring matching / searching programs
j. Parsing related assignments

Note: A minimum of 10(Ten) experiments have to be Performed and recorded by the candidate
to attain eligibility for Semester End Practical Examination.

You might also like