Lecture I Flashcards
Who developed C++
Bjarne Stroustrup
When did he develop it
1983
C++ was improved on C by adding a number of new features. What was the most important feature?
Classes
Who were the people who created Java
JP - MEC
James Gosling
Patrick Naughton
Mike Sheridan
Ed Frank
Chris Warth
Where the creators of Java work at
Sun Microsystems
When did they create Java initially, when was it renamed and what name was it before
Initially: 1991
Old name : Oak
Renamed in : 1995
Why was Java necessary?
Because java was necessary C and C++ were not platform independent as their programs have to be compiled for particular hardware before execution.
Mention some application of C++
Apple OS
Windows 95, 98, XP, ME, 200 are written in C++
Visual Stuido code
Microsoft Office.
Google search engine
What is Obeject Oriented Programming
OOP is a programming approach based on objects
Classifications of Data types in C++
Built-in types
User-defined types
Derived-types
Classifications of Data types in C++
Built-in types
User-defined types
Derived-types
Mention some character types
Char
char16_t
char32_t
What is a statement
A statement is an executable line of code
What is a compound/block statement
This is a group of zero or more statements that is treated by the compiler as if it were a single statement. it begins with a ‘{‘ and ends with a ‘}’
What is a global variable
A global variable is a variable that is declared outside the main or any function and can be accessed from anywhere in the code or program.