|
Course Topics:
- Hardware and software requirements for course
- overview of CSC Department hardware available for student use
- editors and compilers required to write programs for CSC courses
- Problem solving, programming process, algorithm development, structured programming principles and design, modular programming
- Language specific basics (currently using C language)
- character set, data types, variables, constants, arithmetic expressions, assignment statements
- relational and logical operators
- expressions
- standard I/O streams (stdin, stdout, and stderr)
- console I/O (getchar(), putchar(), gets() and puts() functions)
- formatted console I/O (printf() and scanf() functions)
- Language specific program control statements (currently C language)
- conditional statements (if, nested ifs, if-else, switch)
- loops (for, while, do-while, break, continue, nested loops)
- Language specific file I/O (currently C language)
- FILE pointer data type; fopen() and fclose() functions
- buffered file I/O (getc(), putc(), feof(), fscanf(), fprintf(), ferror(), rewind(), fgets() and fputs() functions)
- Language specific subroutines (currently C language)
- functions (general form, return statement, and return values)
- function arguments (call by value and call by reference)
- scope rules of functions (local and global scope)
- argc and argv arguments to main()
- function prototypes
- standard library function prototypes (header files)
- classic versus modern parameter declarations
- Using functions to create modular programs
- The run-time stack and heap region of free memory
- Single-dimension arrays
- declaration, initialization, accessing array elements, strings
- passing single-dimension arrays as function arguments
|
|