ASM1 Programming PhanLamQuocViet
ASM1 Programming PhanLamQuocViet
ASM1 Programming PhanLamQuocViet
INFORMATION TECHNOLOGY
ASSIGNMENT 1
UNIT: PROGRAMMING
Student declaration
I certify that the assignment submission is entirely my own work and I fully understand the
consequences of plagiarism. I understand that making a false declaration is a form of malpractice.
Student’s signature:
Quoc Viet
Grading grid
P1 M1 D1
First of all, I would like to thank my mentor Nguyen Hoang Anh Vu for his constant support in my
studies and research, for his patience, motivation, enthusiasm and rich knowledge. His guidance
has helped me throughout the time of studying and writing this thesis. Without your wonderful
help, I would not have been able to achieve this.
In addition to my mentor, I would like to thank my friends who have helped me improve my
knowledge of my subject. Not only that, they are always there to support me when I need it. And
besides, I would like to thank the school for creating all conditions for me to have adequate
facilities to help me complete my work.
Last but not least, I would like to thank my family: my parents Phan Dinh Quy and Lam Thi Tam,
who gave birth to me from the beginning and supported me spiritually. They are always behind to
care and help me have more motivation to complete the work well.
I declare that this is my work, based on my research, and that I have recognized all
materials and sources utilized in its production, including books, papers, reports,
lecture notes, and any other type of document, electronic or personal
communication. I further declare that I have not previously submitted this
assignment for assessment in any other unit, except where explicit permission has
been granted by all unit coordinators involved, or at any other time in this unit, and
that I have not duplicated or stolen ideas from the work of others in any way.
I verify that the work I've submitted for this assignment is all my own, and that all research
sources have been properly credited.
Signature of the student: Date:
Quoc Viet
REVIEWERS ii
ACKNOWLEDGMENTS iii
ASSURANCE iv
TABLE OF CONTENT v
INTRODUCTION 1
1 Define basic algorithms to carry out an operation and outline the process of
programming
an application 2
1.1 Provide a definition of what an algorithm is and outline the process in building an
application 4
CONCLUSION 9
REFERENCES 10
1. Define basic algorithms to carry out an operation and outline the process of
programming an application. (LO1)
A set of basic algorithm steps for carrying out a
task:
Defining or analyzing the problem
Design (Algorithm)
Coding
Documenting the program
Compiling and running the program
Debugging and testing
Maintenance
Examples of algorithms in real life: Figure 1-1: The Software development cycle
Steps to Cooking Rice:
Step 1: Start by rinsing the rice.
Step 6: Cover the rice and set it aside to rest. Remove the rice from the heat and let it
aside for 10 minutes, covered. The rice will steam during this time for extra fluffy
results.
Figure 1-7: Cover the rice and set it aside to rest
Step 7: Toss the rice with a fork to fluff it up.
Final Documentation:
- The documentation for the software is created once it has been completed. The user
receives the final documentation. It instructs the user on how to get the most out of the
application.
1.2 Determine the steps taken from writing code to execution. (M1)
- If we write a console program and build it, we will get an.exe file. When we construct a
web application,.dll files are generated.
integrates and assembles into a single unit. It also includes pictures (sometimes known as resource
files) and a number of controlled modules.
Figure 1-16: Combining newly created managed module
Loading the CLR:
- Each software is stored on a hard drive. Each file should be loaded into RAM from a hard
disk, converting magnetic address space to electric address space. This is achievable with the
Loader's assistance.
- Garbage collection, code verification, memory management, code access security, and IL
to Native translation are some of the features provided by CLR.
- PE Header, CLR Header, Metadata, and Address Table values are all visible.