Alright, so here I am today writing a few summaries about algorithms and programming.
Here we go.
Algorithms can be interpreted as a set of logical sets to solve a problem to produce of solution
Programming is a set of instructions that is put into the computer so that the computer can work according to the instructions.
So, Inside of algorithms and programming, there’s a… thing… called OOP or Object Oriented Programming. Now inside of OOP there are 5 more things, Encapsulation, Inheritance, Abstraction, Polymorphism, and Interface
In algorithms and programming there are compilers, assembler, and interpreter.
Compiler compiles source code to files that can be executed
Interpreter is computer program that executes programming instructions
Assembler is a program that translates assembly language to machine code.
here are some programming language from ranging from easy to hard
Assembler : Easy
C, Pascal, and Fortran = Medium
Java, C++, C# = Hard
Now, people have recommended us to use C as a programming language. Why use C? Because the C language are Flexible, Portable, Well Known, and Supported by a large number of libraries.
People also recommends us to use Flowcharts rather than a long writing. Why do people use flowchart so much and not writings? It’s because PICTURES ARE EASIER TO UNDERSTAND THAN FULL WORDS.
In algorithms and programming there are also pseudocode and Source code
Pseudocode are an artificial & informal language and helps develop algorithms
Source code are a collection of computer instructions written using some human-readable computer language, usually as text.
There is also a structure theorem, Structure theorem makes computer programming possible using three control structures : Sequence, Selection, and Repetition
Sequence are a series of consecutive commands / statements
Selection are number of statements / commands that allows a program to choose different actions, thus the selection that the program selects will run
Repetition are number of statements / commands that allows a program to repeat said actions
Well, that’s all that I’ve summarized about algorithms and programming, this is Blackcat signing off!