CH2 Flashcards

1
Q

What does a professional programmer usually do first to gain an understanding of a problem?

A

A1.
Programmers will conduct an initial interview with their customer to understand what exactly the customer wants out of the program and how it should function. The programmer can also conduct follow-up interviews if they come up with additional questions.

A2.
In order to develop a program that meets the customer’s needs, programmers will conduct an initial interview with the customer/client to determine that exactly the customer/client wants from the program.

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

What is pseudocode?

A

A1.
Pseudocode is fake code that uses an informal language and has no syntax rules. It is not meant to be compiled or executed

A2.
A pseudocode is a fake code or a type of code that uses an informal language and does not adhere to any syntax rules. It s not intended to be compiled or executed.

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

Computer programs typically perform what three steps?

A
  1. Receive Input
  2. Perform process on input
  3. Produce output
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does the term user-friendly mean?

A

A1.
It is used to describe software/programs that are easy to use

A2.
The term “user-friendly” refers to software/ programs that are easily accessed and operated. Simple and easy to use in other words.

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

What two things must you normally specify in a variable declaration?

A

A1.
Variable declaration statements have a variable’s name and it’s data type.

A2.
Declaration statements for variables specify the name and date type of the variable.

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

What value is stored in uninitialized variables?

A

A1.
Uninitialized variables do not hold any value

A2.
There is no value associated with uninitialized variables.

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