Essential of Software Programming - I : 2CSE102

Learning Outcomes: 
After completing the course, students will learn the following:
• Understand the basic terminology used in computer programming
• Write, compile and debug programs in C language.
• Use different data types in a computer program.
• Design programs involving decision structures, loops and functions.
• Understand the use of pointers.
• Use different data structures and create/update basic data files.
Syllabus: 
Unit NoTopics
1
Introduction to Programming
Basic computer organization, operating system, editor, compiler, interpreter, loader, linker, program development. Variable naming, basic function naming, indentation, usage and significance of comments for readability and program maintainability. Types of errors, debugging, tracing/stepwise execution of program, watching variables values in memory.
2
Constants, Variables and data Types
Character Set, C tokens, Keywords and Identifiers, Constants, Variables, Data types, Declaration of Variables, Assigning values to variables, typedef, and Defining symbolic constants, printf - scanf function.
3
Operators and Expression
Introduction, Arithmetic Operators, Relational Operators, Logical Operators, Assignment Operators, Increment and Decrement Operators, Conditional Operators, Special Operators, Evaluation of expressions, Precedence of arithmetic operators, Type conversions in expressions, Operator precedence and associativity.
4
Input and Output Management
Operators Introduction, reading a character, writing a character, formatted input, formatted output.
5
Decision Making
Branching introduction, Decision making with IF statement, the IF- ELSE statement, nesting of IF- ELSE statements, the ELSE IF ladder, switch statement, and the turnery Operator, the GOTO statement.
6
Looping
Introduction, entry controlled and exit controlled loop, the WHILE statement, the DO-WHILE statement, The FOR statement, Break and Continue.
7
Array
Introduction, One-dimensional arrays, Two-dimensional arrays, Concept of Multidimensional arrays.
8
String handling
Introduction, Declaring and initializing string variables, Reading string from terminal, Writing string to screen, String, atoi(), Operations: String Copy, String Compare, String Concatenation And String Length(using predefined functions & without using them),  array of strings.
9
User-Defined Functions
Introduction, Need for user-defined functions, The form of C function, elements of UDF, Return values and their types, Calling a function, category of functions, Nesting of functions, Recursion , Functions with arrays, The scope and Lifetime of variables in functions, multi-file program
10
Structures and Unions
Introduction, Structure definition, declaring and initializing Structure variables, accessing Structure members, Copying & Comparison of structures, Arrays of structures, Arrays within structures, Structures within Structures, Structures and functions, Unions.
11
Pointers
Introduction, Understanding pointers, Accessing the address of variable, Declaring and initializing pointers, Accessing a variable through its pointer, Pointer expressions, Pointer increments and scale factor, Pointers and arrays, Pointers & character strings, Pointers & Functions, Function returning multiple values, Pointers and structures.
12
File Management in c and CONSOLE I/O
Introduction, Defining files and its Operations, Error handling during I/O operations, Random access files, Command line arguments.  Types of files, File vs. Console, File structure, File attributes, Standard i/o, Formatted i/o, Sample programs.
Text Books: 
Name : 
Programming in C
Author: 
E. Balagurusamy
Reference Books: 
Name: 
Let Us C
Author: 
Yashwant Kanitker
Name: 
The C Programming Language
Author: 
Kernighan and Ritchie
Syllabus PDF: 
AttachmentSize
PDF icon ESFP - I.pdf232.3 KB
branch: 
CBA
BDA
MA
Cyber Security
Course: 
2018
Stream: 
B.Tech