Area of Improvements

Review your assessments and practice — drill into each subject, then each attempt, then each question.

Back to summary
C Programming · Round 1

Question 1 of 10

Topic: Data typesDifficulty: MediumBloom: Analyze
Question

Explain the primitive data types in C and walk through a real-world example.

Result
Knowledge
62%
Delivery
78%
Technical relevancy
70%
Technical term match
55%
Your recording
Your transcript

So, data types in C are basically things like int, char, float... uh, you use them to declare variables. Like, int x = 10; that's an integer. I think char is for one letter and float is for decimals.

Better answer

C provides primitive types (int, char, float, double, void) plus modifiers (short, long, signed, unsigned). Sizes are platform-dependent — use sizeof or fixed-width types from <stdint.h> when portability matters. Example: storing a sensor reading as float vs double trades 4 bytes for ~7 digits of precision against 8 bytes for ~15 digits.

Coverage
Hit 3 of 5
  • Names primitive types (int, char, float, double, void)
  • Mentions size/range varies by platform
  • Distinguishes signed vs unsigned
  • References <stdint.h> or sizeof for portability
  • Gives a concrete declaration example
Gaps
  • Did not mention size_t or fixed-width types for portable code
  • Skipped float vs double precision trade-off
Misconceptions
  • Claimed char is always 1 byte and exactly 8 bits on every platform