PROGRAMMING
A beginner’s guide
for programming
, PROGRAMMING: Beginner’s guide
CONTENTS
i) What Is Programming..................................1
Introduction...................................................................1
ii) Programming Languages.............................2
Introduction..................................................................2
Beginner’s Programming Languages..............................3
iii) Code in a Program.......................................4
Introduction..................................................................4
Key Elements of Code...................................................4
iv) How to Write Code.....................................5
Introduction.................................................................5
IDE’s Functionality........................................................5
Learning a Programming Language..............................5
What Is Syntax..............................................................6
, PROGRAMMING: Beginner’s guide
v) What Are Variables......................................7
Introduction...................................................................7
Types of variables...........................................................7
vi) What Are Conditional Statements.............10
Introduction.................................................................10
Types of conditional statements.................................10
vii) What Are Arrays.......................................13
Introduction...............................................................13
2D Array.....................................................................14
3D Array.....................................................................15
viii) What Is Loop...........................................17
Introduction..............................................................17
Types of Loops...........................................................17
Benefits of Loops.......................................................19
ix) What Are Errors........................................20
Introduction..............................................................20
Types of Errors..........................................................20
, PROGRAMMING: Beginner’s guide
x) How to Debug Code...................................22
Introduction................................................................22
Steps to Debug...........................................................22
xi) What Are Functions...................................24
Introduction................................................................24
Types of Functions......................................................24
xii) How Do We Make Our Own Functions......27
Steps To make Functions.............................................27
xiii) What Are Array lists and Dictionaries.......29
Arraylists....................................................................29
Dictionaries................................................................29
xiv) What Is Recursion and Pseudocode........31
Recursion...................................................................31
Pseudocode................................................................32
xv) Tips..........................................................33
A beginner’s guide
for programming
, PROGRAMMING: Beginner’s guide
CONTENTS
i) What Is Programming..................................1
Introduction...................................................................1
ii) Programming Languages.............................2
Introduction..................................................................2
Beginner’s Programming Languages..............................3
iii) Code in a Program.......................................4
Introduction..................................................................4
Key Elements of Code...................................................4
iv) How to Write Code.....................................5
Introduction.................................................................5
IDE’s Functionality........................................................5
Learning a Programming Language..............................5
What Is Syntax..............................................................6
, PROGRAMMING: Beginner’s guide
v) What Are Variables......................................7
Introduction...................................................................7
Types of variables...........................................................7
vi) What Are Conditional Statements.............10
Introduction.................................................................10
Types of conditional statements.................................10
vii) What Are Arrays.......................................13
Introduction...............................................................13
2D Array.....................................................................14
3D Array.....................................................................15
viii) What Is Loop...........................................17
Introduction..............................................................17
Types of Loops...........................................................17
Benefits of Loops.......................................................19
ix) What Are Errors........................................20
Introduction..............................................................20
Types of Errors..........................................................20
, PROGRAMMING: Beginner’s guide
x) How to Debug Code...................................22
Introduction................................................................22
Steps to Debug...........................................................22
xi) What Are Functions...................................24
Introduction................................................................24
Types of Functions......................................................24
xii) How Do We Make Our Own Functions......27
Steps To make Functions.............................................27
xiii) What Are Array lists and Dictionaries.......29
Arraylists....................................................................29
Dictionaries................................................................29
xiv) What Is Recursion and Pseudocode........31
Recursion...................................................................31
Pseudocode................................................................32
xv) Tips..........................................................33