Languages Flashcards
Remember languages and purposes
What are the 4 programming languages?
Machine language
Assembly Language
High-level language/s
Script and Markup Languages
What is a Machine Language?
Constructs instructions as Binary codes. It depends on 0s and 1s to build any sort of instruction.
What is an Assembly Language?
A low-level programming langue that Includes symbolic codes instructions or Mnemoic codes. It implements symbolic representation of the machine code required to program a CPU.
What is a High-Level programming language?
Refers to languages such as Java, C++ and Python. Structured in English-like procedural statements with Mathematical notation.
What is a Script and Markup language?
Normally used to build webpages.
What is a Script language?
A language used to guide and control programs. It is meant to be interpreted than compiled.
What is a Markup Language?
It is used to control the presentation of data and describe the data and formatting in textual format.
What do instructions consist of?
Opcode
Operand
What is an Opcode?
A part of an instruction that tells the CPU what to do.
What is an Operand?
A part of an instruction that contains the address from where to fetch/store data.
What are Assemblers?
Converts assembly language into its machine code equivalent.
Give an example of an Assembler
ADD 200, 216, 220 > 0001000, 0001100…
What are common Assemblers?
Microsoft's Macro assembler (MASM) Flat Assembler (FASM)
What is a Compiler?
Translates high-level language to machine code equivalent. They also;
- check syntax of a program
What is a Syntax check?
Checks syntax errors once a program is written and “compiled”