Code planning Flashcards

1
Q

When we create a C program, we follow a sequence of steps called…?

A

Program Development Cycle

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

What are the steps of the Program Development Cycle?

A
  1. Problem Analysis
  2. Algorithms or flowcharting
  3. Implementation of the code
  4. Testing and Debugging
  5. Documentation and Maintenance
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is problem analysis?

A

Analysis of the problem given

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

What is Algorithm and flowcharting?

A

Planning the flow of the program through algorithm trace or flowchart

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

What is algorithm?

A

A sequence of steps that will solve the problem or program

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

What are the basic flowchart symbols?

A
  1. Stadium
  2. Arrow
  3. Parallelogram
  4. Rectangle
  5. Diamond
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

This flowchart symbol signifies the start and end of program

A

Stadium

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

This flowchart represents and input and output of the program

A

Parallelogram

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

This flowchart shows the assignments or statements executed

A

Rectangle

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

This flowchart symbol points to the next activity.

A

Arrow

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

This flowchart symbol represents a comparison or decision activity like if - else statements.

A

Diamond

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

What is testing?

A

Identifying the output of the program through a series of test cases

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

What is debugging

A

Identifying the errors found in the program

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

What are the two types of errors?

A
  1. Syntactical or Logical errors

2. Compile or run- time errors

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

This is an error where the program has a syntax error such as a missing semicolon or a misspelled identifier

A

Syntactical error

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

This is an error where the program shows an output that is not what you expect

A

Logical error

17
Q

This is an error where it appears during a program is running like an infinite loop

A

Run - time errors

18
Q

This is an error that halts the compilation of the program and appears after a syntax error is found.

A

Compile error or Compile - time error

19
Q

What is documentation?

A

They maintain the relevance and validity of the program

20
Q

What are the 3 types of documentation?

A
  1. User - defined manual
  2. Technical manual
  3. Internal documentation
21
Q

This type of documentation contains information on the software and hardware requirements, installation procedures, and step by step instructions on how to use the system.

A

User - defined manual

22
Q

This type of documentation is a printed copy of the information regarding how the program was designed and how it was created. This includes the data types or structures used and the algorithm and flowchart presented.

A

Technical manual

23
Q

This type of documentation is explains the program through the use of comments.

A

Internal documentation