Computer Science and Engineering                                   Basics of Computer & ‘C’ Programming (CMP-104)L T P : 3...
Upcoming SlideShare
Loading in …5
×

Cmp 104

312 views
229 views

Published on

C Syallbus

Published in: Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
312
On SlideShare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Cmp 104

  1. 1. Computer Science and Engineering Basics of Computer & ‘C’ Programming (CMP-104)L T P : 3-1-0 Credit: 4UNIT 1: Fundamentals of Computer (8)Computer: Introduction, Computer generations, Components of PC, Classification of computers and storage devices.Software: Introduction and types of software, Overview of operating system.Computer languages: Introduction and generation of languages, Translators.Number system: Binary, Decimal, Octal and HexadecimalUNIT 2: Algorithms (10)Flowchart: Components of flowcharts, Design of flowchart for various problems.Algorithm: Definition, Characteristics, Development and uses of algorithms, Recursive algorithms.Pseudo code: Definition and use.Elements of C: History, Introduction to C programming language, Structure of a C program, Compilation and executionof C program, Data types, Variables, Constants, Identifiers and keywords, Storage classes, Operators and expressions,Enumerations, Macros, C Preprocessor, Control statements and loops.UNIT 3: Arrays (6)One dimensional and multi dimensional arrays: Declaration, Initialization and array manipulation, Array as parameters.Functions: Definition, Function declaration, Types of functions, Function call, Parameter passing: Call by value, Call byreference, Recursive and string handling functions.UNIT 4: Strings (8)Strings: Initializing, Assigning values to strings, Converting strings to other types, Library functions for stringmanipulation.Pointers: Pointers & addresses, Pointers & arrays, Pointers & function arguments, Address arithmetic, Characterpointers and functions, Pointers to pointer and array of pointers.UNIT 5: Structures & Unions (8)Structure and Union: Definition, Initialization and assignment of structures, Unions.File handling: Creating a data file, Opening and closing a data file, Various I/O operations on data files.Text Books:1. P K Sinha, “Computer Fundamentals”, BPB2. Balagurusamy, E programming in ANSI C 2/e, TMHReference Books:1.Complete Reference ‘C’, Herbert Schildt, BPB Publications.2. A book on C, Era Pohl and Kelly, Pearson Education.3. Kanetkar, Yashvant, Let Us C, 4/e, BPB publications.

×