CIS 3100 Chapter Notes - Chapter 1: Object File, Text Editor, Word Processor
Document Summary
Programming languages: low-level, close to the level of the computer - resembles the numeric machine language rather than human language, high-level, human readability rather than computer- readability. Text editor: similar to a word processing program. Statements written by programmer are called source code. File they are saved in is called source file. Preprocessor searches for special lines that begin with # symbol. These lines contain commands that cause preprocessor to modify the source code in some way. The compiler steps through the preprocessed code, translating each source code instruction into appropriate machine language instruction. Uncover any syntax errors that may be in the program. If free from error, compiler stores translated machine language instructions, which are called object code , in an object file. Program is made of: key words, programmer-defined identifiers, operators, punctuation, syntax. Variables: is a named storage location for holding a piece of info. Hours variable used to store number of hours the user has worked.