1/18
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
Programming
Process of preparing an instructional program for a device.
Program
A instruction that helps the computer to perform task.
Vocabulary and Syntax
Learning a computer programing language requires learning both its _____.
Syntax
Rules of any language.
Vocabulary
Words of any language.
Types of Errors
Syntax Error, Run-time Error, and Logical error.
Syntax Error
Mistakes in the code’s structure or grammar.
Run-time Error
Errors that happen while the program is running.
Logical Error
Mistakes in the program’s logic, causing wrong results.
Programming Universals
Fundamental concepts and principles applicable across programming languages, such as control structures, data types, and syntax.
Programming Language
Used to write a program or set of instructions.
Programming Language into three types:
Machine language, assembly language, and high-level language.
Machine Language
Is the set of instructions executed directly by a computer's CPU without any translation. It consists of binary code and is unique to each computer architecture.
− lowest level of programming language
− handles binary data
− directly interacts with system
− not portable and non-readable to humans
11001010 10110011 01101100 10011001
00101101 11010010 01010101 11100010
10010110 01011011 00110010 10101010
Assembly Language
− middle-level programming language
− consist of a set of instruction in command
− use symbols represent field of instruction
− very close to machine level language
− should have an assembler to translate assembly level program to machine level program
−in human-readable format and takes lesser time to write a program and debug it
Assembly Language | Machine Code
MOV AL, 61h |10110000 01100001