Software Hub

FUNDAMENTALS

CS-101 // Syntax, Logic & Structures

PRIMITIVES

DATA STRUCTURES

CONTROL FLOW

MODULARITY

Variables & Types

PRIMITIVES

Containers for storing data. Statically typed languages require defining the shape (int, float, bool) upfront.

script.js
12345678910
int health = 100;
string player = "Ready One";
bool is_alive = true;
print(player + " HP: " + health);
TERMINAL
> Ready One HP: 100
Memory Stack
healthint
100
0x1000
playerstring
"Ready One"
0x1004
is_alivebool
true
0x1008
Heap Usage: 12%