SKILL BENCHMARK

C Programming Literacy (Beginner Level)

  • 15m
  • 15 questions
The C Programming Literacy benchmark will measure your ability to work with the if and if-else statements, switch-case statements, and ternary operators in C. You will be evaluated on your skills to implement while loops, for loops, do-while loops, break statements, and continue operators. A learner who scores high on this benchmark demonstrates that they have the skills to work with looping, conditional, and unconditional control structures in C.

Topics covered

  • create for loops in C
  • demonstrate how to create nested for loops
  • demonstrate how to exit loops with the break statement
  • demonstrate how to iterate over arrays with for loops
  • demonstrate how to run code with nested if-else blocks
  • demonstrate how to run code with switch statements
  • demonstrate how to run code with the if-else-if ladder
  • demonstrate how to use the continue operator with while loops
  • demonstrate how to use the goto operator
  • demonstrate how to work with while loops
  • demonstrate several possible gotchas of for loops
  • demonstrate the use of characters in switch statements
  • demonstrate the use of if-else blocks
  • demonstrate the use of relational operators with if statements
  • demonstrate the use of the ternary operator to shorten if-else blocks