Topics - not necessarily in order - covered so far in CSIT 121 (Computer Science I)
  • Identifiers, variables, constants, assignment statement.
  • Input, output, basic numeric data types (short, int, long, unsigned int, unsigned short, unsigned long, float, double, long double, char, bool).
  • Whitespace characters.
  • Math functions.
  • char functions such as tolower and toupper.
  • Postincrement, preincrement, postdecrement, and predecrement operators.
  • The break and cls system commands.
  • Logical and bitwise operators and expressions.
  • The if, if else, if else if, statements.
  • Shortcut operators (such as +=, -=, /=, %=, *=) and the conditional operator ?:.
  • The while statement.
  • The for statement.
  • The break statement.
  • The continue statement.
  • do while loop.
  • switch statement.
  • Functions and operators for strings such as the concatenation operator, size, length, substr, find, replace, at, insert.
  • Value-returning functions, arguments and parameters by value, arguments and parameters by value, function prototype/declaration, void and value-returning functions.
  • Built-in functions to convert from string to int and from int to string.
  • Functions returning multiple values, local and global variables/constants and their scope, the scope operator ::.
  • Recursion.
  • Overloading.
  • Text files (input and output).
  • One-dimensional arrays.
  • The rand and srand functions, system commands (this is in addition to the break and cls commands that were covered earlier), goto directive, header files, sending the output to the printer instead of the screen or a file.
  • Arrays as arguments, multidimensional arrays, multidimensional arrays as arguments, searching arrays (linear search and binary seach - recursive and nonrecursive), sorting arrays.
  • User-defined data types, formatting the output, error handling, and exception handling.
  • structs, structs as value/reference parameters, functions returning structs, arrays of structs, structs of structs, the scope of a struct, the definition of a struct inside another struct.
  • Sorting arrays of structs with respect to a struct member, searching arrays of structs, member functions (methods) of a struct, structs of arrays.
  • Classes; data memebrs, methods, and constructors of structs and classes; static methods and data members; const methods; how to initialize data members in a class by using constructors and without using constructors.

    Then: Arrays of classes, methods and data in structs and classes, access methods.

    Then: Error handling.