Lesson 2- Introduction to C++ Programming Flashcards
-is a general purpose programming language that includes features of numerous computer programming models like object-oriented, imperative, generic programming and many more.
-is a middle-level programming language (include features of both low-level and high-level programmig languages) .
C++
An enhancement of the C language, C++ includes an object oriented paradigm. Correct?
Yes, it’s TRUE
____ invented C++ in 1979, as an extension to C, and it was originally called _____?
remember the year
Bjarne Stroustrup
and the
C with Classes
What is C++ used for? (6)
- Software Engineering
- Operating System Development
- Graphical User Interface
- Virtual Reality
- Blockchain Technology
- Game Development!!!
Features of C++? (5)
- Simple
- Object Oriented
- Case Sensitive
- Rich Library
- Powerful and Fast
Sample Syntax of C++
#include < iostream > //Header File Library
using namespace std; //Standard Library
int main[]{ //Main Function
cout «“Hello World”; //to output/print
return 0; //ends the Main Function
}
oh my
Variables in C++? (5)
- int
- double
- char
- string
- bool
Operators in C++? (5)
- Addition +
- Subtraction -
- Multiplication *****
- Division /
- Modulus %
are used to assign values to variables.
Assigment Operators
are used to compare two values (or variables).
Comparison Operators
are used to detemine the logic between variables or values.
Logical Operators
____ is used to output or display values,
while ____ is used to read or input data
cout
and
cin
C++ is one of the most simple programming languages.
…and C++ provides a structured approach and allows you to design a modular solution by dividing the problem into parts.
Both are TRUE!
Simple
OOPs are the most important feature of C++ since they enable easier development and maintenance.
TRUE!
Object Oriented
C++ is a case sensitive, which means that it treats