programming Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What are these data types?

  • integer
  • real
  • Boolean
  • character
  • string
A

Integers are whole numbers.

Real is used to represent numbers with a decimal point.

Boolean is used to represent true or false values.

Character is used to represent a single character.

Strings are used to store represent characters.

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

What is assignment?

A

It sets or re-sets a value in a storage location.

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

What is definite iteration?

A

It repeats a set a number of times.

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

What is selection?

A

Selection is a decision within a program.

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

What is a subroutine?

A

They are pre-written programs which perform specific operations.

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

What is indefinite iteration?

A

It repeats a set until a condition is met.

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

What is nested iteration?

A

It is an iteration statement that appears inside of another iteration statement.

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

What is a data structure?

A

A data structure is a way of storing multiple items of data under one identifier.

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

What is an array?

A

An array is a data structure with a fixed number of elements (spaces) for storing items of data.

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

What is a substring?

A

It is a string of characters inside of a string.

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

What is concatenation?

A

It is when you combine two or more strings.

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

What is string conversion / casting?

A

It is when you change the data type of a variable.

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