Controlling the Computer Flashcards
System for describing computation
System of signs to communicate a task/algorithm to a computer, causing the task to be performed
To communicate with computers
Programming Languages
Low-level programming language
Represented by 0s and 1s (binary digits)
MACHINE LANGUAGE
To write 120 in the computer system its representation is 1111000. So it is very difficult to learn.
To overcome this problem, the __________ ________ is invented
Assembly language
More than low level and less than high-level language (such as C, C++, Java, Python, etc)
Intermediary language
Use numbers, symbols, and abbreviations
Assembly Language
What symbols does Assembly Language use for Addition, Subtraction, and Multiplication?
It uses symbols likes Add, Sub, and Mul, etc.
A device that changes a sentence from one language to another w/o change of meaning
TRANSLATOR
A program that translates between programming languages
COMPILER
Compilation
COMPILER
Can only be created if there are no syntax errors
ASSEMBLY (INTERMEDIATE)
Abstract machine (program)
Translates Assembly Machine to Machine Language
Creates executable code
ASSEMBLER
Ready for execution
MACHINE CODE
Form
Syntax
Meaning
Semantics
Creating system applications (Windows and Linux use a lot of C programming)
Can also be used to create games, graphics, and apps that use lots of calculations
- printf(“Hello, World!”);
C
Good for general use, such as web applications
Many areas of specialisation
Artificial Intelligence and Machine Learning
- print(‘Hello, world!’)
PYTHON
‘Write once, run anywhere’
Has many different uses
Java
Main uses of Java
- Business software
- Web applications
- Mobile apps