Computer Programming and Fundamentals Flashcards

1
Q

C Programming Language was developed in early

1970s by

A

Dennis Ritchie

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

C++ was based on

A

C programming language

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

Developed in early 1980s by

A

Bjarne Stroustrup

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

is a Danish
computer scientist.

He is currently Professor and holder of the College of
Engineering Chair in Computer Science at Texas A&M
University.

A

Bjarne Stroustrup (Be-ar-neh or By-ar-ne Strov-stroop)

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

the file that contains the program you

prepared in the editor after you save it. (.cpp)

A

Source file

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

header files such as iostream.h

A

Header file

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

performs preliminary operations on

files before they are passed to the compiler.

A

Pre-processor

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

translates the source code to machine

language.

A

Compiler

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

Anatomy of C++

A

Include Directives

Header Files

Function main

Body

Statement

Return statement

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

are the reserved words in any language
which have a special pre-defined meaning and cannot
be used for any other purpose.

A

Keywords

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

C++ Data Types

A

Integer Values

Floating Point Numbers

Text Data Type

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
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

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

is a pictorial representation of an algorithm

A

Flowchart

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

FLOWCHART BASIC

SYMBOLS

A

Terminal

Input/Output

Processing

Decision

Flow lines

Connectors

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q
includes all the possible
characters that can be utilized in a
programming language. A character set
denotes any alphabet, digit or symbols to
represent information.
A

character set

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

in
programming languages is a set of values and the
operations on those values.

A

A data type (or datatype)

17
Q

is a type of data

that holds whole numbers

A

Integer

18
Q

number comes from the fact that there is no
fixed number of digits before and after the
decimal point; that is, the decimal point can
float.

A

Floating-point

19
Q

usually is 1 byte, and can
represent any single character, including a letter, a
digit, a punctuation mark, or a space. The second text
data type is string.

A

Character

20
Q

data type may store a
sequence of characters, including this sentence, or
paragraph, or page.

A

String.

21
Q

are location in your computer’s memory in
which you can store a value and from which you can later
retrieve that value.

A

Variables

22
Q

is a quantity or value that does not

change.

A

Constant

23
Q

is a symbol that is used to perform
mathematical or logical manipulations. C++ language is
rich with built-in operators.

A

C++ operator

24
Q

C++ OPERATORS

A
Arithmetic Operators
Relational Operators
Assignment Operators
Increment And Decrement Operators
Bitwise Operators
Logical Operators
25
Q

+

Addition

-

Subtraction

*

Multiplication

/

Division

%

Modulus

A

ARITHMETIC OPERATORS

26
Q

==

Is equal to

!=

Is not equal to

>

Greater than

<

Less than

> =

Greater than or equal to

<=

Less than or equal to

A

RELATIONAL OPERATORS

27
Q

++

Increment

Decrement

A

Increment and Decrement

OPERATORS

28
Q

&&

And operator. Performs a logical conjunction of two
expressions.

(if both expressions evaluate to True, result is True. If either
expression evaluates to False, result is False)

||

Or operator. Performs a logical disjunction on two
expressions.

(if either or both expressions evaluate to True, result is
True)

!

Not operator. Performs logical negation on an expression.

A

LOGICAL OPERATORS