Basics of C
Control Flow
Functions & Scope
Pointers & Memory
Computational Thinking
100

 What is `.c`?

This is the file extension used for C source code files.  

100

What is an `if` statement?

This conditional structure executes a block of code if a specified condition is true.

100

What is `int`?

This is the typical return type for the `main()` function in C.

100

What is `*`?

This symbol is used to declare a pointer

100

What are the 4 pillars of computational thinking?

decomposition, pattern recognition, abstraction, and algorithmic thinking

200

 What is `#include `?

This directive allows access to standard input/output functions like `printf` and `scanf`.

200

What is a `do-while` loop?

This loop executes at least once, even if the condition is false

200

What is a local variable?

This variable type is declared within a function and only accessible inside it.

200

What is `NULL`?

This special value means a pointer doesn't point to any memory location

200

Define abstraction in computing

This concept means hiding unnecessary details to focus on important information.

300

What is `int`?

This keyword is used to declare a variable that stores integer data.

300

What is a `for` loop running 5 times from i = 0 to 4?

This loop structure runs a block five times: `for(int i=0; i<5; i++)`

300

What is `void`?

This keyword means a function does not return any value

300

What is the address-of operator `&`?

This operator is used to pass a variable by reference to a function

300

what is decomposition?

This technique involves breaking down a problem into smaller parts.

400

What is `scanf()`?

This function is used to take input from the user in C.

400

What is the `else` clause?

If this part of an if-else is missing, only the "if" part will execute if true

400

What is variable scope?

This determines which functions can access a variable

400

What is dereferencing an uninitialized pointer?

This causes a runtime error if a pointer is used before it's assigned.

400

 What is pattern recognition?

This is the process of finding similarities in problems or solutions.

500

 What is the compilation process (preprocessing, compiling, assembling, linking)?

This multi-step process converts C code to machine code.

500

What is a `switch` statement?

This control structure can sometimes replace a chain of `if-else` statements

500

What is the call stack?

This is where function call data is stored during execution.

500

What are stack and heap memory?

These are the two types of memory allocation in C.

500

What is algorithmic thinking?

This skill involves designing a step-by-step plan to solve a problem, like solving a maze.

M
e
n
u