Skip to main content
pelatihan
.org
Learn. Practice. Grow.
Category
EN
Sign in
Sign up
Menu
Intro to Programming Curriculum: 1 Chapters, 20 Lessons — pelatihan.org
Home
/
Catalog
/
Intro to Programming
/
Curriculum
Curriculum
Intro to Programming Curriculum
Learn Intro to Programming online with 20 structured lessons, code examples, and 100 quiz questions.
20 lessons
1 chapters
100 questions
Summaries and key points are free to preview. Full lessons, code examples, and quizzes require a subscription.
01
Programming Concepts
20 lessons
01
Intro
This page is the entrance to the W3Schools Introduction to Programming material. The material is general in nature and is not bound to a particular language, so basic concepts…
02
Programming
This lesson explains what programming is: writing a set of instructions that a computer can understand to solve problems automatically. Programs are compiled from algorithms that…
03
Variables
This lesson discusses variables as named containers to store data that can change during the program's run. Each variable has a name, a data type, and a value; its value can be…
04
Constants
This lesson discusses constants, which are fixed values that are set once and cannot change during the program. A constant is used for constant data such as pi or maximum limits,…
05
If Statements
This lesson discusses the if statement, a branching instruction that runs a block of code only if a condition is worth true. Conditions are formed from a comparison expression…
06
Arrays
This lesson discusses arrays as data structures that store many values of the same type in one variable called. Each element is accessed via an index that usually starts at 0,…
07
Loops
This lesson discusses repetition that causes a program to repeat a block of code many times over without rewriting it repeatedly. Available for loop for counted repetition and…
08
Functions
This lesson discusses functions as named code blocks that can be called over and over to perform a particular task. A function can receive parameters as inputs and return values…
09
Recursion
This lesson describes recursion, a technique where a function calls itself to break down a problem into smaller cases. Each recursion must have a base case that stops the call,…
10
Scope
This lesson discusses scope, the rules of the region of action of a variable in a program. The local variable can only be accessed within the function or block where it is…
11
Strings
This lesson discusses strings as a type of data that stores text, usually a set of characters in a quotation mark. Strings support operations such as combining (concatenation),…
12
Data Types
This lesson grouped the types of data commonly used in programming: numerical such as integers and floating points, string text, boolean for logical values, as well as array-like…
13
Type Casting
This lesson discusses type casting, which is converting a value from one type of data to another type, for example from an integer to a float or vice versa. Casting can be…
14
Operators
This lesson categorizes operators in programming: arithmetic to calculate, comparison to compare values, logic to combine conditions, and assignment to store results. The…
15
Comments
This lesson discusses comments, notes in code that humans read but are ignored by a compiler or interpreter. Commenting serves to explain the intent of the code, temporarily…
16
Input and Output
This lesson discusses how programs receive input from users and display output. Outputs are generally performed via functions such as print() whereas inputs are read via…
17
Bits and Bytes
This lesson describes bits as the smallest unit of data of value 0 or 1, and bytes as a set of 8 bits. All the data on the computer is eventually stored in bits, from numbers to…
18
Binary Numbers
This lesson is about binary numbers, a 2 system of numbers that uses only the digits 0 and 1. Each digit position represents a power multiplication of 2 so decimal numbers can be…
19
Hexadecimal Numbers
This lesson discusses hexadecimal, a 16 number system with digits 0-9 and letters A through F. Hex is often used to represent web colors, memory addresses, and dense binary data…
20
Boolean Algebra
This lesson discusses Boolean algebra, the basic logic behind the program and digital circuit conditions. The three main operations are AND, OR, and NOT that work at the value…