LESSON 1 Introduction to Programming Language
Computer Comprised of various devices that are referred to as HARDWARE. The computer programs that run of a computer are referred to SOFTWARE.
Computer Program Set of instructions used to operate a computer to perform specific task and produce result
Computer Programming Writing computer program
Programming Language Language used to create computer programs
Levels of Programming Languages Machine Languages Assembly Languages High Languages
Machine Language Lowest level of computer languages Only language that computer can understand. Consist entirely of 1s and 0s. Easily understood by computers but difficult to read by people.
Uses symbolic names and operands instead of 1s and Os Assembly Language Uses symbolic names and operands instead of 1s and Os e.g. MOV and ADD Needs ASSEMBLER to translate instruction to machine level language
High-Level Languages English like language instructions so it is easier to learn, use and debug the program. Example FORTRAN, COBOL, BASIC, PASCAL, C, C++ and JAVA It needs the help of COMPILER to be understood by the computer
What is Compiler Translates the high level program(source code) into machine code(object code). High Level Program Compiler Machine Code 0,1
History of C++ In 1970s, at Bell Laboratories, Dennis Ritchie and Brian Kernighan designed the C programming language. Most of C is a subset of C++ C++ was developed by Dr. Bjarne Stroustrup in 1985 at AT&T Bell Labs New Jersey, USA. Initially called as “C with classes” but was change to C++