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/ 2
INTRODUCTION TO C PROGRAMMING
Week Content Week Content
1 Week 1: Setting up environment 4 Week 4: Variables, constants, standard input 1.1 Enivronment and tools 1.1 Identifers Linux login, Linux file system, Importan Definition and the naming rules Directories àn Files 1.2 Variables Open a command window, some Linux Definition. Variables in memory commands, steps in running a program Declarations, definitions, initialization Emacs Editor, GUI of Emacs, Emacs Variables and Constants Commands, Emacs command for a file Basic data types Moving around, Cut, Copy and Paste, Type 1.2 Scanf // 5 exercises // Formatting input with Scanf // 7 exercises // Week 2: Introduction to C programming language Week 5: Expressions 1.1 C programming language 5 1.1 Expression and Operations Definition of computer program Arithmetic Operators: +, -, x, /, %, Operator 2 C structure: General format, key words of C precedence and the rules Compiling with gcc, gcc options Equality and Relational Operators Using intermidiate files If, logical/ bitwise/ operators, Assignment Errors and how to correct Operators and Expressions, Conditional // 8 exercises // Expressions, Increment and Decrement Operators, Type Cast Operator (Casting) Week 3: Standard out put introduction // 6 exercises // 1.1 Output 3 Input/output in C, streams 6 Week 6: Branches Formating output with printf, printing The if Selection Structure intergers, floating-point numbers, strings and The if/else Selection Structure characters The switch Multiple-Selection Structure Printing with Field Withs and Precisions. // 8 exercises // Using Flags in the printf Format-Control String 7 Week 7: Loops Printing Literals and Escape Sequences The for Repetition Structure // 5 exercises // The ‘for’ Structure: Notes and Observations // 10 exercises // INTRODUCTION TO C PROGRAMMING 8 Week 8: Loops 13 Week 13: Strings The ‘While, do’ Repetition Structure Strings, the Terminator, String library, Continue and Break String Conversion Functions, Arrays of // 8 exercises // Strings // 7 exercises // 9 Week 9: Functions Definition, Example, characteristic 14 Week 14: Structures Pass by value Structure, Defining a struct in C // 8 exercises // Variable declaration and Initialisation Structure declairation with typedef 10 Week 10: Arrays Accessing Members of a Struture Definition, Arrays in Memory // 5 exercises // Initialization Data input and output for array Arrays as function arguments Multi-dimentional arrays // 8 exercises //
Week 11: Pointers
11 Memory address Declaring a pointer variable Pointers Referencing, Deferencing Pass arguments by value Wrong Swap // 6 exercises //
12 Week 12: Arrays and Pointers
Pointers and Arrays, Pointer-array equivalance Pointer arithmetic Passing arrays to function // 5 exercises //