COMPUTER 9 by umar (all lessons) Flashcards

1
Q

is an object-oriented programming language

A

C++

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

origin of C++

A

C

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

Who created C++?

A

Bells Lab by Bjorne Stroustrup

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

In what year was C++ made?

A

1979

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

models real world objects

A

Object-Oriented Program (OOP)

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

concrete and abstract objects

A

Objects

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

template or blueprint from which objects are created

A

Class

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

process of combining data and function to form a class or object
(e.g students, teacher.)

A

Encapsulation

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

process wherein an object acquires the characteristicss of one or more objects
(e.g mother, son. windows 7, windows 10)

A

Inheritance

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

ability of a variable, function, or object to take on multiple forms
(e.g laptop, desktop. phone, android)

A

Polymorphism

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

a free open source, cross platform IDE that supports multiple compilers

A

Code Blocks IDE

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

IDE stands for?

A

Integrated Development Environment

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

4 panels of Code Blocks

A

Management
Editor
Logs and Others
Status Bar

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

This panel contains project tab which displays all open project.

A

Management

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

this panel is where you type your code.

A

Editor

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

This window is used to search the results and message.

A

Logs and Others

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

Current state of the file

A

Management

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

turns the code that you have written to an executable program

A

Compiler

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

Parts of C++ Program

A

objects, functions, variables, expressions, constants, and a host of other components.

20
Q

used to output something on the console.

21
Q

it indicates the output

A

&laquo_space;(2 lesser than signs)

22
Q

always end with this symbol

23
Q

to show whether or not the function was successfully executed.

24
Q

A value of _ means success

25
string is for?
text
26
is a program that processes a source file before the main complation takes place
Preprocessory directive
27
is an c++ feature designed to simplify the writing of large programs.
Namespace
28
this is the namespace were the classes, functions, and variables that are standard components to compilers.
Std
29
are lines of code that are not executed during the program.
Comments
30
2 types of comments
single line & and multi line
31
this enables the entire statement
single line comment
32
this enables multiple statements
multi line comments
33
is an instructional code that commands the computer to do a certain action upon its execution.
Statement
34
are reserved words in a programming language that have specific use.
Keyboards
35
__ of a variable determines what kind of values it can store.
Data type
36
a data type returns either true or false. 1 is true value, while 0 is false
Boolean
37
are user defined words used to represent a value
Identifiers
38
are identifiers whose valie may change during execution of the program.
Variables
39
rules in naming Identifiers
— it start with a letter or underscore. — no special characters except underscore. — reserved words are not allowed.
40
is a variable declared in the main body of the source code, outside all functions.
Global Variable
41
is a variable declared within the body of function or a block.
Local Variable
42
2 types of Variables
Global and Local
43
are identifiers whose value cannot change during program. ex. const -- const in day = 7
Constants
44
statement output what is within the statement.
Cout
45
a special c++ notation that causes the screen cursor to move to the beginning of the next line.
Endl