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.

A

Cout

21
Q

it indicates the output

A

&laquo_space;(2 lesser than signs)

22
Q

always end with this symbol

A

semicolon

23
Q

to show whether or not the function was successfully executed.

A

Return

24
Q

A value of _ means success

A

0

25
Q

string is for?

A

text

26
Q

is a program that processes a source file before the main complation takes place

A

Preprocessory directive

27
Q

is an c++ feature designed to simplify the writing of large programs.

A

Namespace

28
Q

this is the namespace were the classes, functions, and variables that are standard components to compilers.

A

Std

29
Q

are lines of code that are not executed during the program.

A

Comments

30
Q

2 types of comments

A

single line & and multi line

31
Q

this enables the entire statement

A

single line comment

32
Q

this enables multiple statements

A

multi line comments

33
Q

is an instructional code that commands the computer to do a certain action upon its execution.

A

Statement

34
Q

are reserved words in a programming language that have specific use.

A

Keyboards

35
Q

__ of a variable determines what kind of values it can store.

A

Data type

36
Q

a data type returns either true or false. 1 is true value, while 0 is false

A

Boolean

37
Q

are user defined words used to represent a value

A

Identifiers

38
Q

are identifiers whose valie may change during execution of the program.

A

Variables

39
Q

rules in naming Identifiers

A

— it start with a letter or underscore.
— no special characters except underscore.
— reserved words are not allowed.

40
Q

is a variable declared in the main body of the source code, outside all functions.

A

Global Variable

41
Q

is a variable declared within the body of function or a block.

A

Local Variable

42
Q

2 types of Variables

A

Global and Local

43
Q

are identifiers whose value cannot change during program.

ex. const – const in day = 7

A

Constants

44
Q

statement output what is within the statement.

A

Cout

45
Q

a special c++ notation that causes the screen cursor to move to the beginning of the next line.

A

Endl