Lesson 1 & 2 Flashcards
Is a collection of instructions you’re
giving to the computer.
PROGRAM
It is capable of creating all types of programs.
GENERAL-PURPOSE PROGRAMMING LANGUAGE
It is a step-wise procedures or step by step. Or it is about writing procedures or
functions that perform operations on the data.
PROCEDURAL PROGRAMMING
FIRST PROGRAM / BASIC STRUCTURE OF C++
include <iostream></iostream>
using namespace std;
int main()
{
cout «_space;“Hello
World!”;
return 0;
}
OUTPUT:
Hello World!
It is about creating objects that contain
both data and functions.
OBJECT ORIENTED PROGRAMMING
It is creating pure functions, it is specifically designed to handle symbolic computation and list processing applications. It is a based on mathematical functions.
FUNCTIONAL PROGRAMMING
It means that it is generally translated into machine language that can be understood directly by the system, making the generated program highly efficient.
COMPILED LANGUAGE
the source code is not directly translated by
the target machine. Instead, a different
program, AKA the interpreter, reads and
executes the code.
INTERPRETED LANGUAGE
It is a program that turns bytecode (computer object code that is processed by program) into instructions that can be sent directly to a computer’s processor (CPU).
JIT compiler can be used for performance optimization to improve application run time.
OBJECT ORIENTED PROGRAMMING (OOP)
focuses more on concepts that are easy to
understand by the human mind, such as objects or mathematical functions.
HIGH LEVEL LANGUAGE
is generally quite similar to machine code, and thus is more suitable for programs like device drivers or very high-performance programs that really need access to the hardware.
LOW LEVEL LANGUAGE
It is the first language to support
object-oriented programming paradigm.
The Simula 67
He developed Simula language. (Which means Simulation)
BJARNE STROUSTRUP
The first C with classes compiler was called _______ and derived from a C compiler called ______
Cfront
Cpre
provides basic input and output services for C++ programs. Iostream uses the objects cin, cout, cerr, and clog for sending data to and from standard streams input, output, error, and log respectively.
IOSTREAM