Week 2 PRELIMS Flashcards
It is a standardized communication technique for expressing instructions to a computer.
Programming Language
It is a low-level code that relies on a strong relationship between the instructions input using the coding language and how a machine interprets the code instructions
Assembly Language
It uses a more natural and human-readable syntax which makes it easier for humans to understand and write.
High Level Programming Language
It stands as a highly abstracted language designed to simplify computer programming.
High Level Programming Language
user writes code which is almost identical to the one computers understand.
Low Level Programming Language
It is a programming language that provides little or no abstraction from a computer’s instruction set architecture; commands or functions in the language are structurally similar to a processor’s instructions. Generally, this refers to either machine code or assembly language
Low Level Programming Language
It is a general-purpose programming language.
C++
When was C++ invented?
early 1980s
Who invented C++?
Bjarne Stroustrup
Where did Bjarne Stroustrup invented C++?
Bell Labs
This programming language is case - sensitive
C++
It is an extension of the C programming language, or “C with Classes”.
C++
The language has expanded significantly over time, and it now has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
C++
It is one of the world’s most popular programming languages.
C++
It is an object-oriented programming language which gives a clear structure to programs and allows code to be reused, lowering development costs.
C++
2 Categories of Programming Language
High Level Programming Language
Low Level Programming Language
2 Kinds of software that you need to start C++
Text Editor
C++ Compiler
It is portable and can be used to develop applications that can be adapted to multiple platforms.
Text Editor
They are used to compile your source code and translate it into a machine code, a code that a computer can actually understand.
C++ Compiler
It stands for standard input-output stream.
<iostream>
</iostream>
It contains everything we needed for handling input and output.
<iostream>
</iostream>
Is an object-oriented library that provides input and output functionality using streams.
<iostream>
</iostream>
It is a sequence of bytes.
A stream
It is a short form of standard.
std
It tells the compiler to use the standard namespace.
using namespace std;
It is used to organize code into logical groups.
Namespace
It contains the built-in classes and declared functions.
std namespace
It is the main function where program execution begins.
int main ()
defines the entry or the starting point of the C/C++ program code.
int main ()
is a keyword that tells us about the integer data type
int main ()