Chapter 3 Flashcards
Overview of C
Computer Language
Are used to code or program a system or software in the computer
Machines Language
Are made of stream 0s and 1s, made it as a primary language that understood by the computer.
Assembly Language
Is a form of symbolic language that must be translated to machine language for computer to understand the languages or instructions
High-level Language (HLL)
An informal language that are convenient and understandable for human to write a program BUT must be compile before executing the program
Compilation
A translation process that convert other languages to Machine language, so the computer can understand and perform instructions smoothly.
Three parts of C System
C Environment,
C Language,
C Standard Library
C Environment
Describes about method to write and implement C program
C Language
Emphasizes on rules of syntax in C language
C Standard Library
Provides collection of existing functions to perform operations such as input/output and mathematical calculations.
C Elements
Directive Processor, Function, Reserved Word, Standard Identifiers, User-defined Identifiers
include
Define standard identifiers from standard library
define
define constant macro; segment of code which is
replaced by the value of macro
Function
A series of statements grouped together and given a name, perform specific task
Declaration
Part of a program that tells a computer the names of memory cells in a program
Executable statement
Line of instruction that are converted into machine language for execution