DSP is a fundamental course recommended for all the students whose goal is to understand the concept of Programming language and its implementation in the real time world. We Cover C, C++ and Linux Operating system to give a firm foundation for a career as systems programmer.
System programming consists of the design and writing of computer programs that permit the computer hardware to connect to the programmer and the user, which allow the application software to be run effectively on the computer system. Typical system programs included an Operating System and firmware, compiler programming tools, assemblers, I / O routines, interpreters, schedulers, loaders, linkers as well as computer programming language runtime libraries.
System programming is a vital and important foundation for the development of every computer application and it is evolving always to accommodate computer hardware changes. The programmers must therefore be aware of the hardware they are supposed to use to operate. This kind of programming needs some hardware knowledge and depends on the machine.
The development of computer system software that manages and controls computer operations is the result of system programming. The low-level codes are very close to the hardware level and deal with registries and the allocation of memories. System programs or software co-ordinate the transfer of data between different components and processes the compilation, linking, starting and stopping of programs, reading files and typing in files.
Introduction to compiling and software development
Basic scalar data types and their operators
Flow control
Complex data types: arrays, structures and pointers
Structuring the code: functions and modules
Preprocessing source code
Absolute basics
Languages: natural and artificial
Machine languages
High-level programming languages
Obtaining the machine code: compilation process
Recommended readings
Your first program
Variable – why?
Integer values in real life and in “C”, integer literals
Floating point values in real life and in “C”, float literals
Arithmetic operators
Priority and binding
Post- and pre -incrementation and -decrementation
Operators of type op=
Char type and ASCII code, char literals
Equivalence of int and char data
Comparison operators
Conditional execution and if keyword
printf() and scanf() functions: absolute basics
Flow control
Conditional execution continued: the “else” branch
More integer and float types
Conversions – why?
Typecast and its operators
Loops – while, do and for
Controlling the loop execution – break and continue
Logical and bitwise operators
Switch: different faces of ‘if’
Arrays (vectors) – why do you need them?
Sorting in real life and in a computer memory
Initiators: a simple way to set an array
Pointers: another kind of data in “C”
An address, a reference, a dereference and the sizeof operator
Simple pointer and pointer to nothing (NULL) & operator
Pointers arithmetic
Pointers vs. arrays: different forms of the same phenomenon
Using strings: basics
Basic functions dedicated to string manipulation
Memory management and structures
The meaning of array indexing
The usage of pointers: perils and disadvantages
Void type
Arrays of arrays and multidimensional arrays
Memory allocation and deallocation: malloc() and free() functions
Arrays of pointers vs. multidimensional arrays
Structures – why?
Declaring, using and initializing structures
Pointers to structures and arrays of structures
Basics of recursive data collections
Functions – why?
How to declare, define and invoke a function
Variables' scope, local variables and function parameters
Pointers, arrays and structures as function parameters
Function result and return statement
Void as a parameter, pointer and result
Parameterzing the main function
External function and the extern declarator
Header files and their role
Files vs. streams: where does the difference lie?
Header files needed for stream operations
Opening and closing a stream, open modes, errno variable
Reading and writing to/from a stream
Predefined streams: stdin, stdout and stderr
Stream manipulation: fgetc(), fputc(), fgets() and fputs() functions
Raw input/output: fread() and fwrite() functions
Preprocessor and complex declarations
Preprocessor – why?
#include: how to make use of a header file
#define: simple and parameterized macros
#undef directive
Predefined preprocessor symbols
Macro operators: # and ##
Conditional compilation: #if and #ifdef directives
Avoiding multiple compilations of the same header files
Scopes of declarations, storage classes
User defined types-why?
Pointers to functions
What is C++? , Why C++?
C and C++
Exception Handling
Object Oriented Programming
Standard Template Library
Types
Booleans
Integer Types
Floating-Point Types
Sizes
Void
Enumerations
Declarations
Pointers
Arrays
Pointers into Arrays
Constants
References
Pointers to void
Structures
A Deck Calculator
Operator Summary
Statement Summary
Comments and Indentation
Function Declarations
Argument Passing
Value Return
Overloaded Function Names
Default Arguments
Pointer to Function
Macros
Namespaces
Exceptions
Separate Compilation
Linkage
Using Header Files
Programs
Classes
Access Control
Constructors
Member functions
Static members
Destructors
Memory allocation
Member initialization
Introduction
Operator Functions
A Complete Number Type
Conversion Operators
Friends
Large Objects
Essential Operators
Subscripting
Functions Calls
Dereferencing
Increment and Decrement
A String Class
Introduction
Derived Classes
Abstract Classes
Design of Class Hierarchies
Class Hierarchies and Abstract Classes
| Linux Basic commands |
History,features of unix, difference between Unix and Linux |
| Unix System Architecture |
Kernel,Shells and GUI and File system |
Application Program,Shell prompt |
| Login process |
TTY terminal,Graphical terminal, Changing password |
| Unix Command Format |
General rules for a unix command, types of commands |
| General purpose Commands |
echo,printf,tput,cal,date,tty,Uname,Who,Who am I,bc, pr |
| Unix File System |
Unix File System Architecture,Types of files
|
| Directory Related Commands |
pwd,cd,mkdir,rdir,creation of sub directory |
| File Related Commands |
cat,cp,mv,rm,touch,ls, commands to display the conents of file. |
comparing files,file permission notation,File access permission |
chaning file permissions. |
| I/O Redirecton |
Pipe and Pipeline,Filter(sort,cut,paste,uniq,tr,wc,cat,grep) |
| The Stream Editor(sed) |
sed commands |
| Unix system calls |
open,close,unlink,lseek,fork,wait |
| Compressign and Decompressing File, Communicaton |
| Shell programming |
Vi editor, execute shell script |
control statements, looping statements,programs on shell |