• Online, Self-Paced
Course Description

C is a general purpose language with standards specified by the American National Standards Institute (ANSI). This course covers the fundamentals of C including working with data types, variables, and operators. It also demonstrates how to implement program flow using conditional statements and branching.
In this course, the instructor uses some non-standard Microsoft extensions. In these instances, the instructor uses quotes around the library names rather than the standard symbols.

Learning Objectives

C Basics

  • start the course
  • describe the characteristics of ANSI C, describe C tokens, and describe and step through the structure of a C program
  • write a simple program in C
  • compile a C program and execute it and describe the associated files

Data Types

  • describe and use fundamental data types and qualifiers in C
  • describe data types introduced in C99 including bool, and demonstrate how to use bool
  • describe implicit and explicit type conversion and implement type conversion in C

Constants

  • describe constants and use numeric constants in C
  • use character and string constants and represent integers with character constants in C
  • use escape character constant escape values and symbolic constants in C programs
  • use enumeration constants in C programs

Variables

  • describe and use variables in C programs
  • describe variable scope for C programs, blocks, nested blocks, and functions

Operators

  • describe operators and expressions and implement arithmetic operators in C programs
  • implement relational operators in C programs
  • implement logical operators in C programs
  • implement assignment, increment, and decrement operators in C programs
  • implement bitwise operators in C programs
  • implement the sizeOf operator in C programs
  • implement the comma operator in C programs
  • describe and use examples of operator precedence and associativity in C

Conditional Statements and Branching

  • describe and use if statements including nested statements in C programs
  • describe and use if-else statements in C program
  • use nested if-else statements in C programs
  • use the switch statements with case values in a C program and review the rules for switch statements
  • use the C conditional operator ?: in C programs
  • use goto for unconditional branching in C programs and describe issues with it

Practice: Fundamentals of ANSI C

  • to learn how to use fundamental C programming features

Framework Connections

The materials within this course focus on the Knowledge Skills and Abilities (KSAs) identified within the Specialty Areas listed below. Click to view Specialty Area details within the interactive National Cybersecurity Workforce Framework.