A set of clear, finite, and ordered instructions designed to solve a problem.
Algorithm
How many bones does the human body has?
206
hero.moveUp()
hero.MOVERight()
pathFree = hero.canMoveRight()
if pathFree == True:
hero.moveRight(2)
hero.moveUp(2)
hero.jumpRight()
hero.moveRight()
hero.jumpDown()
hero.moveDown(1)
What´s wrong?
Incorrect= hero.MOVERight()
Correct= hero.moveRight()
Program
Set of instructions to perform several tasks
This data type is best for storing precise decimal values like currency to avoid floating point errors.
Decimal.
Rules about the order of words.
(object, method, argument)
Syntax
What is the nickname of Dwayne Johnnson
THE ROCK
Pseudocode
Written description in a natural language.
Programming paradigms
Methods of solving a problem
This conditional structure is required when a problem must choose exactly one option from several mutually exclusive conditions.
If-else if chain.
Loop
Similar actions that repeat multiple times.
What is the closest star to our solar system?
Proxima Centauri
What are comparison operators?
Symbols used to compare values
3 types of data
Integers, text strings, and boolean values
This comparison operator is used when checking wether two values contain the same content but not necessarily the same memory reference.
==
The brain of the computer
CPU
How many albums does Taylor Swift have?
11
logical operators
AND, OR,NOT and XOR
How does syntax, object, methods and control structure work together to allow a programming language to translate human intentions into precise machine actions.
they combine to form a structure system where syntax sets the rules.
This compound operator is used to insure a value stays within a defined range without leaving gaps or overlaps.
>= and =< together
Memory that temporary stores data.
RAM
Who won the 2025 Superbowl?
Philadelphia Eagles.
How does the operating system act as a bridge between the computers physical components and the applications you use everyday?
it manages hardware resources and coordinates how applications access and use them so everything runs smoothly.
why is understamding the distinction between hardware and software essential for using technology more efficiently?
because knowing what each one does helps you identify how a computer works, solve problems better and use tools more effectively.
!=
not equal to