9 computer note
A programming language is a language consisting of a set of instructions provided by the user that tells a computer what task to do and how to do it. Python, Java, PHP, C++, etc. are some examples of popular programming languages.
Programming: It is
the process of providing detailed instructions to a computer step by step to do
specific tasks.
Programmer: A programmer is a person who is involved in writing computer programs.
Syntax: The rule for writing commands is called syntax.
High-level languages are programming languages that are used for writing programs or software that can be understood by humans and computers. Programs written in high-level languages are called program code,and they’re readable to humans but not to computers
Low-level programming language/Machine language is low level language which consists of binary codes which are directly operated by CPU Central Processing Unit.
Programming tools: [Flowchart and Algorithm]
The table below shows shapes used in flowchart and their meaning:
|
Name |
Shapes |
Meaning |
Uses |
|
Oval |
|
Start/End |
Marksthestartandendpointsof a flowchart. |
|
Parallelogram |
|
Input/Output |
Handles input/output, taking userinputanddisplayingoutput. |
|
Rectangle |
|
Processing |
Represents processing or calculation
steps in the flow. |
|
Arrow |
|
Direction of flow |
Showsthedirectionofflowor
sequence in the flowchart. |
|
Diamond |
|
D e c i s i o n / Condition Check |
Checksconditionsandrepresents decision-making points. |
|
Circle |
|
Connector |
Act as a connector joining components of the flow chart. |
|
Compiler |
Interpreter |
|
A compiler reads and translates program code
to machine code all at once. |
An interpreter
reads and translates program code to machine code line by line. |
|
If there’s an error in the program code, it displays errors at the
end. |
If there is an
error in the program code, it displays while running the program. |
|
Compiled program’s execution time is comparatively faster. |
Interpreted program’s execution time is
comparatively slower. |
|
Compiled programs have separate files to store machine code. |
An interpreted program does not have a
separate file to store machine code. |
Comments
Post a Comment