Lesson 1 & 2 Flashcards

1
Q

Is a collection of instructions you’re
giving to the computer.

A

PROGRAM

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

It is capable of creating all types of programs.

A

GENERAL-PURPOSE PROGRAMMING LANGUAGE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

It is a step-wise procedures or step by step. Or it is about writing procedures or
functions that perform operations on the data.

A

PROCEDURAL PROGRAMMING

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

FIRST PROGRAM / BASIC STRUCTURE OF C++

A

include <iostream></iostream>

using namespace std;
int main()
{
cout &laquo_space;“Hello
World!”;
return 0;
}
OUTPUT:
Hello World!

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

It is about creating objects that contain
both data and functions.

A

OBJECT ORIENTED PROGRAMMING

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

It is creating pure functions, it is specifically designed to handle symbolic computation and list processing applications. It is a based on mathematical functions.

A

FUNCTIONAL PROGRAMMING

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

It means that it is generally translated into machine language that can be understood directly by the system, making the generated program highly efficient.

A

COMPILED LANGUAGE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

the source code is not directly translated by
the target machine. Instead, a different
program, AKA the interpreter, reads and
executes the code.

A

INTERPRETED LANGUAGE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

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.

A

OBJECT ORIENTED PROGRAMMING (OOP)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

focuses more on concepts that are easy to
understand by the human mind, such as objects or mathematical functions.

A

HIGH LEVEL LANGUAGE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

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.

A

LOW LEVEL LANGUAGE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

It is the first language to support
object-oriented programming paradigm.

A

The Simula 67

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

He developed Simula language. (Which means Simulation)

A

BJARNE STROUSTRUP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

The first C with classes compiler was called _______ and derived from a C compiler called ______

A

Cfront

Cpre

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

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.

A

IOSTREAM

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

languages are languages that are quickly
compiled when programs written in them need to be run (usually with very little optimization), offering a balance between performance and portability.

A

JIT Compiled (just-in-time) languages

14
Q

Refers to the logic of a program and a step-by-step description of how to arrive at the solution of a given problem

A

ALGORITHM

15
Q

A diagram which uses a set of standard graphic symbols to represent the sequence of coded instructions fed into a computer, enabling it to perform specified logical and
arithmetical operations. It is a great tool to improve work efficiency. There are four basic symbols in program flowchart,
start, process, decision and end. Each symbol represents a piece of the code written for the program.

A

FLOWCHART

16
Q

What does the Oval symbol in flowchart Called

A

Terminal

17
Q

What does the Arrows in flowchart Called

A

Flow Lines

18
Q

What does the Parallelogram in flowchart Called

A

Input/Output

19
Q

What does the Diamond in flowchart Called

A

Decision

20
Q

What does the Rectangle in flowchart Called

A

Processing

21
Q

is the standard output stream object, defined in iostream, and it prints to the standard output

A

cout

21
Q

A powerful general-purpose
programming language. It can be
used to develop operating systems,
browsers, games, and so on.

A

C++

22
Q

it is the stream insertion operator. It inserts an object to the stream object.

A

«

23
Q

extraction operator (yung naka quote)

A

CIN “&raquo_space; “

23
Q

STANDARD INPUT STREAM

A

CIN

24
Q

notifies the compiler that a statement
has ended. All C++ statements/ definitions require an ending/terminating ________.

A

semicolon (;)

25
Q

means exit status or Success status like
“the program worked fine”

A

RETURN 0;

26
Q

insertion operator (yung naka quote)

A

COUT “ &laquo_space;”

27
Q

STANDARD OUTPUT STREAM

A

COUT

28
Q

STANDARD (OUTPUT) ERROR STREAM

A

CERR

29
Q

STANDARD (OUTPUT) LOGGING STREAM

A

CLOG

30
Q

an alternative function to break lines

A

endl or end-of-line

31
Q

this is the insertion function of a line break. A new-line character shall be inserted at the exact position the line should be broken.

A

\n or new-line