three types of computer languages ● Machine1 anguages Machine language is the natural language of a computer and as such is defined by its hardware design ● Assembly1 anguages Translator programs called assemblers were developed to convert early assembly language programs to machine language at computer speeds O High-level languages CC++, Ct and java are among the most widely used high-level programming languages
Machine language is the "natural language" of a computer and as such is defined by its hardware design. three types of computer languages ⚫ Machine languages ⚫ Assembly languages ⚫ High-level languages Translator programs called assemblers were developed to convert early assemblylanguage programs to machine language at computer speeds. C, C++, C# and Java are among the most widely used high-level programming languages
History of C and C++ C+t evolved from c The c language was evolved from b by dennis Ritchie at bell laboratories C+t, an extension of C, was developed by bjarne Stroustrup in the early 1980s at Bell Laboratories
C++ evolved from C History of C and C++ The C language was evolved from B by Dennis Ritchie at Bell Laboratories. C++, an extension of C, was developed by Bjarne Stroustrup in the early 1980s at Bell Laboratories
CⅴsC++ #include<stdio. h> #include<iostream> int main(void) int main(void) printf(hello world! " )i Std:: cout<< hello world \n return 0; return 0: Simple program in C Simple program in C++
C vs C++ Simple program in C Simple program in C++ #include<stdio.h> int main(void) { printf(“hello world!”); return 0; } #include<iostream> int main(void) { Std::cout<<“hello world \n”; return 0; }
C+t Standard library C+t programs consist of pieces called classes and functions The standard class libraries generally are provided by compiler vendors. Many special purpose class libraries are supplied by independent software vendors
⚫ C++ programs consist of pieces called classes and functions C++ Standard Library ⚫ The standard class libraries generally are provided by compiler vendors. Many specialpurpose class libraries are supplied by independent software vendors
History of java He was born in Canada, i a computer programming genius My doctorate in computer at Carnegie Mellon university, he wrote a multiprocessor version of the unix operating system. He was nI the founder of the java simp⊥ e programs The father of the java James gosling
History of Java The father of the Java -- James gosling He was born in Canada, is a computer programming genius . My doctorate in computer at Carnegie Mellon university, he wrote a multiprocessor version of the Unix operating system . He was the founder of the JAVA simple programs