CSS Computer Science (Optional) — Paper-I, Section-A, Topic II subtopic. Foundational vocabulary used throughout programming.

Core Concepts

The 5 Fundamental Elements of a Program

Every program, in every language, is built from five basic elements. Each one also has a standard flowchart shape and a typical pseudocode form, so you can move between "what it does," "how it's drawn," and "how it's written" for each:

# Element What It Does Flowchart Shape Pseudocode Form
1 Input Brings data into the program from the user/file/device Parallelogram READ x / INPUT x
2 Output Sends a result out to the user/file/device Parallelogram WRITE result / PRINT result
3 Operation (Processing) Performs a computation, assignment, or data transformation Rectangle total = price * qty
4 Condition (Selection) Branches the flow based on a true/false test Diamond IF x > 0 THEN ... ELSE ... ENDIF
5 Looping (Iteration) Repeats a block of steps while/until a condition holds Diamond, with a backward arrow looping to an earlier step WHILE x < 10 DO ... ENDWHILE