Lesson 1 & 2 Flashcards

(36 cards)

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

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.

16
Q

What does the Oval symbol in flowchart Called

17
Q

What does the Arrows in flowchart Called

18
Q

What does the Parallelogram in flowchart Called

19
Q

What does the Diamond in flowchart Called

20
Q

What does the Rectangle in flowchart Called

21
Q

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

21
A powerful general-purpose programming language. It can be used to develop operating systems, browsers, games, and so on.
C++
22
it is the stream insertion operator. It inserts an object to the stream object.
<<
23
extraction operator (yung naka quote)
CIN " >> "
23
STANDARD INPUT STREAM
CIN
24
notifies the compiler that a statement has ended. All C++ statements/ definitions require an ending/terminating ________.
semicolon (;)
25
means exit status or Success status like "the program worked fine"
RETURN 0;
26
insertion operator (yung naka quote)
COUT " << "
27
STANDARD OUTPUT STREAM
COUT
28
STANDARD (OUTPUT) ERROR STREAM
CERR
29
STANDARD (OUTPUT) LOGGING STREAM
CLOG
30
an alternative function to break lines
endl or end-of-line
31
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.
\n or new-line