assignment2 cho moi nguoi, Exercises of C programming

bai moi tai len nho moi nguoi gop y

Typology: Exercises

2020/2021

Uploaded on 09/04/2021

Papayayax
Papayayax 🇻🇳

4.8

(13)

144 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
ASSIGNMENT 1 GUIDE
1 Introduction (P1): Provide an introduction to
procedural programming
- Introduction to computer programming languages
- Introduction abut procedural programming
Discuss (M1): Discuss on characteristics and features
of procedural programming
- Characteristics and Key features of procedural programming
2 Analysis (P2): Identify the program units and data
and file structures required to implement a given
design
Analyse the problem and produce corresponding design.
- Identify the variables and data types required in the program
- Identify and describe selection structures, including the condition(s) to check; state
why they are needed and where they can be used in the context of the scenario.
- Identify and describe any iteration constructs that needed in the problem
3 Design (P3): Design a procedural programming
solution for a given problem
You need to use a drawing tool to draw design diagram for your program, includes:
- Split the program into functions (sub-functions) and draw a hierarchy diagram to
illustrate the structure of your program. Example:
A use case diagram for actions required
Flow chart diagrams for: menu operation, printing IDs and grades, finding max grade
and finding min grade.
pf2

Partial preview of the text

Download assignment2 cho moi nguoi and more Exercises C programming in PDF only on Docsity!

ASSIGNMENT 1 GUIDE

1 Introduction (P1): Provide an introduction to

procedural programming

  • Introduction to computer programming languages
  • Introduction abut procedural programming

Discuss (M1): Discuss on characteristics and features

of procedural programming

  • Characteristics and Key features of procedural programming

2 Analysis (P2): Identify the program units and data

and file structures required to implement a given

design

Analyse the problem and produce corresponding design.

  • Identify the variables and data types required in the program
  • Identify and describe selection structures, including the condition(s) to check; state why they are needed and where they can be used in the context of the scenario.
  • Identify and describe any iteration constructs that needed in the problem

3 Design (P3): Design a procedural programming

solution for a given problem

You need to use a drawing tool to draw design diagram for your program, includes:

  • Split the program into functions (sub-functions) and draw a hierarchy diagram to illustrate the structure of your program. Example:  A use case diagram for actions required  Flow chart diagrams for: menu operation, printing IDs and grades, finding max grade and finding min grade.

4 Review (M2): Review the design of a procedural

programming solution

 Review flowcharts, discuss alternative solution if possible.

5 Evaluate (D1): Critically evaluate the design of your

solution against the characteristics and features of

procedural programming.

 Review / evaluate your design, state clearly pros vs cons and which needs to improve, using characteristics of procedural programming as bases to discuss.