C Programming Awareness

  • 15m
  • 15 questions
The C Programming Awareness benchmark will measure your ability to understand the background of C programming, the difference between C and C++ programming, and compilation of a C program. You will be assessed on your skills to use variables and constants, choose the right data type, perform input and output operations in C, and work with simple arrays. A learner who scores high on this benchmark demonstrates that they have the skills to understand the basic features and syntax of C programming and write simple C programs to perform various operations like arithmetic, logical, and relational operations.

Topics covered

  • compare the C and C++ languages
  • compare variables and constants
  • demonstrate how to check for equality between non-integral types
  • demonstrate limits on sizes of shorts, integers, and longs
  • demonstrate the use of pre- and post-increment operators
  • demonstrate the use of the fgets(), fputs(), fscanf(), and fprintf()
  • demonstrate the use of the getchar(), putchar(), gets(), and puts() functions
  • demonstrate the use of the scanf function
  • differentiate between signed and unsigned variables
  • identify array datatypes in C
  • identify compiler and linker errors in C
  • identify steps of C’s compilation and linking processes
  • outline the history and features of C
  • perform math operations on variables with assignment operators
  • run C code and view its results