Computational Constructs Flashcards

1
Q

What is assignment

A

It is when you assign a value to a variable or a series of variables.

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

Sequence

A

When receiving information in a sequence one after the other.

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

Repitition

A

Use of a loop to repeat Code a certain number of times (fixed loop) or until a condition is met (conditional loop).

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

Sequence

A

When receiving information in a sequence one after the other.

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

Repitition

A

Use of a loop to repeat Code a certain number of times (fixed loop) or until a condition is met (conditional loop).

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

To the power of

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

Not equal to

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

Define Unconditional loops

A

It is a loop that would repeat code a set number of times.

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

Conditional loop

A

Loop that repeats code till a condition is met

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

Nested loop

A

A loop that is completely contained in another loop

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

Nested loop

A

A loop that is completely contained in another loop

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

Logical operators

A

They allow the program to make a decision based on what the user has entered and use AND and OR

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

Pre-defined functions

A

Exist within high level programming. Are functions that are there to carry out a specific calculation. The programmer doesn’t need to spend time thinking of a code to make a program do the calculation.

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

What is string concatenation

A

The joining together of strings to make one string variable. The variables are joined together by the & operator.

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

Name things text editors do and what it is

A

Text editors are used by programmers to produce the program code.
They :
- highlight variables
- Automatic indentation
- highlight codes that are possibly incorrect

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