Hardware
The physical devices that a computer is made of
What is a computer?
A computer is not one single device , but a system of devices that all work together.
CPU
CPU is the part of computer that actually runs the program. It ıs the brain of computer system
Main memory
This is where the computer stores a program while the program is running , as well as the data that the program is working with.
RAM
It is usually a volatile type of memory that is used for only temporary storage while a program is running.
Secondary StorageDevices
It is a type of memory that can hold data for long period of time even when there is no power to the computer .Most common secondary storage device is “ disk drive “
Algorithm
A set of well defined logical steps that must be taken to perform a task is called algorithm (step diyince aklına gelsin
Mixed Type Expression
It is an expression that uses operands of different data types is called mixed type expression.
Operant
Left and right digits near of the operator.
2 + 4
2 and 4 are operands.
pseudocode
Mockup code fake code(It ıs an informal language that ha no syntax rule)
Algorithm
A set of well defined logical steps that must be taken to perform a task .
Input
It ıs a data that the program receives
Output
The results of operation is sent out of the program
Comments
Commments are notes of explanation that document items or section of a program.
Variable
A variable is name that represents a value in the computer’s memory.
Multiple Assignment Statement
Several variables which can be used in a one single statement(t , y , a= 1 , 2 , 3)
Index
It specifies the elements locatıon
[1],[0] vs
F_string
Formatted string
Alignment Designator
< > ^
Precision designator
.1f
.2f
Magic number
A magic number is an unexplained value that appears in a program’s code
Amount = balance * 0.069
0.069 is a magic number
Logical Operator
They are set of operator that you can connect multiple Boolean Expression in order to create compound expression.
“And”
“Or”
“Not” these are logical operators
Boolean Expressions
The expressions that are tested whether it is true or false By the if statement are called Boolean expression
Relational Operator
It is an operator type that determines and compare whether a specific relationship exists between two values.