INTRODUCTION TO PROGRAMMING Flashcards

1
Q

Computer Programming

A

This provides control, is also a software and is a structured combination of data and instructions used to operate a computer to produce a specific result.

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

Programming

A

Process of writing a computer program in a language that the computer can respond to and other programmers can understand.

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

Programming Language

A

Set of instructions, data and/or rules used to construct a program.

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

CLASSIFICATIONS OF PROGRAMMING LANGUAGES

A

BY:

a. LEVEL
b. ORIENTATION

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

A level of programming language in which it resembles written languages such as english

A

HIGH LEVEL LANGUAGES

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

Use instructions that are tied to one computer.

A

LOW-LEVEL LANGUAGES

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

ALGORITHM

A

Step by step sequence of instructions that describe how to perform a task/computation.

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

Pseudocode

A

English-like phrases that are used to describe the steps in algorithm.

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

FLOWCHART

A

a visual representation of the sequence of steps and decisions needed to perform a process.

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

FLOWCHART SYMBOLS ( 6 )

A

terminal, loop, process, decision, flow lunes, connector

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

Variables

A

reserved memory locations to store values

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

DATA TYPES (7)

A
boolean
character
integer
floating point
double floating point
valueless
string
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Keyword for VALUELESS

A

void

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

Operator

A

Is a symbol that tells the computer to perform specific mathematical or logical manipulation.

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

Operand

A

can be a literal value or an identifier with an associate value.

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

combination of operators and operands that can be evaluated to yield a value.

A

Expression

17
Q

TYPES OF EXPRESSION

A

Integer Expression
Floating Expression
Mixed-Mode Expression

18
Q

increases integer value by one

A

Increment operator

19
Q

Decreases integer value by one

A

Decrement Operator

20
Q

What do you call “&&”

A

logical AND operator

21
Q

|| < what do you call that logical operator?

A

Logical OR Operator

22
Q

!

A

Logical NOT Operator

23
Q

what is the header file of a program?

A
#include  
using namespace std;
24
Q

what is the Main() or where the program execution begin

A

int main()

25
Q

return 0; where is it used? when?

A

To terminate or end main() function

26
Q

Program Comments

A

explanatory statements that you can include in the C++ code.