2.2) Programing Fundamentals Flashcards

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

What are variables?

A
  • Used to store data in programs. Can be changed as run
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are local variable advantages?

A
  • Saves memory
  • Easier to debug local memories
  • You can reuse subroutine variables
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Global variable disadvantages?

A
  • Can be used anywhere in local program
  • Makes maintenance easier
  • Can be used for constants
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Whats a character?

A

Letter,number or punctuation

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

Whats a string?

A

Sequence of characters including letters,numbers and punctuation

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

Whats a real?

A

Decimal number

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

Whats a boolean?

A

Two possible values

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

Whats casting?

A

Converting the value of variables from one data type to another

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