HomeWork3
HomeWork3
PROGRAMMING
Binary code
Represents text, computer processor instructions, or any other data
that uses a two-symbol system. The two symbol system used is usually
"0" and "1" of the binary number system. Binary code assigns a pattern
of binary digits, also known as bits, to each character, instruction, and
so on. For example, an eight-bit binary string can represent any of 256
possible values, and therefore can represent a wide variety of items.
ASCII code
American Standard Code for Information
Interchange is a character code based on
the Latin alphabet, as used in modern
English.
Computer programmes
Is a collection of instructions that can be executed by a computer to
perform a specific task.
Usually written by a computer programmer in a programming
language.
From the program in its human-readable form of source code,
a compiler or assembler can derive machine code a form consisting of
instructions that the computer can directly execute.
Computer programs may be categorized along functional lines, such
as application software and system software. The underlying method
used for some calculation or manipulation is known as an algorithm.
https://www.youtube.com/watch?v=IP5s13qEB4A
Programming languages
Is a formal language comprising a set of instructions that produce
various kinds of output.
Programming languages and computer coding have made life simpler
for us. Whether it’s automobiles, banks, appliances... every aspect of
our lives depends on codes. No wonder, coding is one of the core skills
required by most well-paying jobs today.
Variables
It is made up of a space in the storage system (main memory of a
computer) and a symbolic name (an identifier) that is associated with
said space. That space contains a known or unknown amount of
information, that is, a value.
To give a value, it is placed next to the word giving the value that you
want. For example Radius=5
Structure of a programme
One of the most common type of structure are:
Scratch environment
Scratch is a visual programming environment that allows users to
learn computer programming.
• Menu bar
• Stage area: where you see the graphic effects produced while
programming
• Sprites area: where you see the characters you chose.
• Command and instruction area: where you see how all the
instructions you can make the programme is found in this
column. You also have Costumes (different appearances of the
active character) and Sound
• Programming area: where the programme is composed.
https://www.youtube.com/watch?v=QXru0rSV2ZQ