Introduction to Programming

Type: 
BSc
Outline: 
  • Introduction.
  • Basics of Linux operating system.
  • Concepts: problem, algorithm, program.
  • C development environments, the build process of a C program.
  • Phases of programming: problem, specification, algorithm, coding, costs, testing, execution, maintenance.
  • Control modes, structure diagram.
  • Sequential control and its implementation in C.
  • Concept of data types and variables.
  • The C language, atomic datatypes.
  • Structure and evaluation of the expression.
  • Input and output.
  • Simple C program.
  • Selection controls (single, multiple, case-selection) and their implementation in C.
  • Functions and procedures and their implementation in C.
  • Simple recursion.
  • Block-structure.
  • Flow-diagram.
  • Data types, abstract data type.
  • Atomic and complex data types, type definitions in C.
  • Pointers, pointer arithmetic.
  • Handling variable parameters in C.
  • Dynamic variables, memory model, modules.
  • Arrays, connection to pointers.
  • String and implementation in C.
  • Structure in C.
  • Union in C.
  • Function pointers.
  • Complex declarations.
  • Typecast.
  • Handling program arguments.
  • Basics of I/O. Formatted I/O.Files. Low level I/O.