Programming Paradigms: Procedural, OOP, and Event-Driven Report

Verified

Added on  2021/06/30

|29
|2639
|216
Report
AI Summary
This report explores various programming paradigms, including procedural, object-oriented (OOP), and event-driven programming, detailing their characteristics and relationships. It explains how to implement algorithms using an Integrated Development Environment (IDE), covering the debugging process and the debugging facilities available within the IDE. The report also outlines essential coding standards. The assignment includes a practical application: a library management application developed using Visual Studio, demonstrating features like adding books, readers, and managing information. The report emphasizes the importance of debugging in identifying and fixing errors, along with the significance of coding standards for code maintainability and readability. The report also provides a practical example by implementing a library management application using Visual Studio.
Document Page
ASSIGNMENT 2 FRONT SHEET
Qualification BTEC Level 5 HND Diploma in Computing
Unit number and title Unit 1: Programming
Submission date 10/05/2021 Date Received 1st submission 10/05/2021
Re-submission Date 25/05/2021 Date Received 2nd submission 25/05/2021
Student Name Võ Thanh Liêm Student ID BSAF200005
Class PBIT-16101 Assessor name Đào Ngọc Anh
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
Grading grid
P2 P3 P4 P5 M2 M3 M4 D2 D3 D4
tabler-icon-diamond-filled.svg

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
Summative Feedback: Resubmission Feedback:
Grade: Assessor Signature: Date:
Lecturer Signature:
Document Page
Introduce
As we all know, all efforts and
“intelligence” of the researcher are
clearly shown in the report. The
report aims to help students
consolidate industry knowledge
through research, outreach and
industry
Document Page
insights. The report will give
explanation of what procedural,
object-oriented and event-driven
paradigms; their characteristics and
the relationship between them. In
addition, I will write a program
that implements an algorithm
using an IDE. Then, the report
will provide an explanation of the
debugging process and explanation
the debugging facilities available in
the IDE. Last but not least, the
tabler-icon-diamond-filled.svg

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
report will outline standards that I use
in my code.
|. Programming Paradigm
1. Procedural Programming.
a. Definition: Procedural
programming is a programming
paradigms, which approaches the
problem by dividing the problem into
modules(function), executes the
function calls in the
main program.
Document Page
b. Characteristics:
Procedural Programming focuses on
program
modularization, functions that are
repeated, without inheritance, and
reuse. Only suitable for teaching
and simulating algorithms or logical
thinking. Suitable for simple math
problems, not suitable for complex
multi-user systems, not for building
practical applications.
2. Object Oriented Programming
Document Page
a. Definition: This is a
modern programming model,
approaching the
problem by dividing the problem into
classes (objects) and then solving
the relationships between classes
(objects). Each class (object) will have
a set of combination of methods
(behavior, functions) and attributes.
For
example, student management
finds objects related to the
tabler-icon-diamond-filled.svg

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
problem:
students, classes, subjects, test
scores.
b. Characteristics:
1. Abstraction
2. Encapsulation that Hides
Implementation Details
3. Inheritance as a Type
and as Code Sharing
4. Polymorphism
Document Page
OOP programming is
used to analyze and design large,
highly practical
system, solving real-life problems.
3. Event Driven
Programming
a. Definition: This model
is based on the interaction between
users and the
Document Page
system, the system usually has a
graphical interface (GUI) that allows
Introduce
As we all know, all efforts and “intelligence” of the researcher are clearly shown in the report. The report aims to help studens
consolidate industry knowledge through research, outreach and industry insights. The report will give explanation of what procedural,
object-oriented and event-driven paradigms; their chraacteristics and the relationship between them. In addition, I will write a program
that implements an alforithm using an IDE. Then, report will provide an explanation of the debugging process and explanation the
debugging facilities available in the IDE. Last but not lease, the report will outline standards that I use in my code.
tabler-icon-diamond-filled.svg

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
Contents
Introduce..................................................................................................................................................................................................................... 3
1. Programming Paradigm....................................................................................................................................................................................... 5
1. Procedural Programming:................................................................................................................................................................................ 5
2. Implement basic algorithms in code using an IDE................................................................................................................................................7
1. Introduce the problem:.................................................................................................................................................................................... 7
2. Program description............................................................................................................................................................................................ 8
3. Determine the debugging process and explain the importance of a coding standard.......................................................................................13
3.1-a) Definition:.................................................................................................................................................................................................... 13
3.1-b) Description:................................................................................................................................................................................................. 13
3.1-c) Debug process:............................................................................................................................................................................................ 14
3.1-d) Using debugtool in IDE : Set a breakpoint and start the debugger F5 (Debug > Start Debugging).............................................................15
3.2 Code Standard:................................................................................................................................................................................................ 16
3.2-a) Some of the coding standards are given below:..........................................................................................................................................16
3.2-b) Advantages of Coding Guidelines:...............................................................................................................................................................18
References:................................................................................................................................................................................................................ 19
Document Page
1. Programming Paradigm
1. Procedural Programming:
a. Definition: Procdedural programming is a programming paradigms, which approaches the problem by dividing the
problem into modules(function), executes the function calls in the main program.
b. Characeristics : Procedural programming focuses on program modularization, functions that are repeated, without
inhertance, and reuse. Only suitable for teaching and simulating algorithms or logical thinking. Suitable for simple
math problems, not suitable for complex multi-user systems, not for building practical applications.
chevron_up_icon
1 out of 29
circle_padding
hide_on_mobile
zoom_out_icon
[object Object]