# Module 2: C Tokens

MODULE OVERVIEW

This module introduces the fundamental elements of the C programming language
known as tokens.



Learners will understand how keywords, identifiers, operators, constants and
variables are used to construct C programs.



The module also explores data types, operator precedence, and the scope and
lifetime of variables, helping learners understand how program instructions and
data are organised.






WHAT WILL BE COVERED


2.1 KEYWORDS AND IDENTIFIERS

Understand the role of keywords and identifiers in C programming. Learn about
reserved words used by the language and the rules for naming variables,
functions and other program elements.


2.2 OPERATORS

Explore the different operators used in C to perform calculations, comparisons,
logical operations and other tasks. Understand how operators are used within
expressions to manipulate data and control program logic.


2.3 CONSTANTS

Learn about constants in C and how fixed values are represented within programs.
Understand the use of constant values and how they differ from variables.


2.4 VARIABLES

Understand how variables are used to store and manage data during program
execution. Learn about variable declaration, naming and how variables are used
in programming expressions and statements.


2.5 DATA TYPES

Explore the different data types available in C and how they determine the kind
of data a variable can store. Understand how data types support the declaration
and handling of values in a program.


2.6 PRECEDENCE OF OPERATORS

Learn how operator precedence determines the order in which expressions are
evaluated. Understand how precedence rules affect calculations and how
parentheses can be used to control expression evaluation.


2.7 SCOPE AND LIFETIME OF VARIABLES

Understand the scope and lifetime of variables in C. Learn where variables can
be accessed within a program and how their existence and availability are
determined during program execution.


SKILLS YOU WILL GAIN

 * Identifying and using keywords and identifiers in C.

 * Working with operators and expressions.

 * Understanding constants and variables.

 * Selecting appropriate data types.

 * Applying operator precedence rules.

 * Understanding variable scope and lifetime.


LEARNING OUTCOMES

By the end of this module, learners will be able to:

 * Identify the fundamental tokens used in C programming.

 * Use keywords, identifiers, constants and variables correctly.

 * Apply operators to perform calculations and logical operations.

 * Select suitable data types for storing values.

 * Evaluate expressions based on operator precedence.

 * Understand how variable scope and lifetime affect program behaviour.


CERTIFICATION ALIGNMENT

This module builds the core language knowledge required for writing C programs
and supports the foundational programming concepts learners will develop
throughout the C and C++ training program.


CONTINUE TO THE NEXT MODULE

Continue to Module 3: Control Statements and Expressions
[https://teamacademy.help.center/article/1335-module-3-control-statements-and-expressions]
to learn how decision-making statements, arithmetic expressions and control
structures are used to manage program execution.