Programming - Assignment 3 - Bkc18368
Programming - Assignment 3 - Bkc18368
ASSIGNMENT NUMBER: 3
Internal verification:
A. Introduction
Nowadays, Technology becomes one of the most necessary things for human life and can not be
replaced. And people in a 4.0 Society have to live fast to adapt to the changes every day. When
that happened, people usually spending more time on their work instead of doing other things
like shopping, cooking,... Base on that, we’re developing an order application – where people
can deal with their simple needs with some simple click. We’re accept ordering food through our
app, helping people saving their time for importantness.
B. Content
1. Evidence of how the IDE was used to manage the development of my code.
In previous assignment, i’ve learned about IDE. In this assignment, i’m choosing Visual
Studio Code to develop my program. VSC help me a lot in developing process.
Visual Studio includes a lot of flexible tools to build modern web applications and
websites.
It has a lot of programming language, such as JavaScript, Node.js, Python, etc.
Not only programming language, VSC also support many others framework like Django,
Laravel, SASS, SCSS,...
Tons of extension made by other user, it helps me develop this program easily with less
mistakes in coding process.
With good-looking interface and many helpful snippet, my code look clearly and easy to
distinguish lines by its color.
2. An evaluation of developing applications using an IDE versus developing an application
without using an IDE.
VSCode Notepad++
Advantages Build and debug modern Free source code editor
web and cloud and Notepad replacement.
applications, by Microsoft. Notepad++ is a free source
Build and debug modern code editor and Notepad
web and cloud applications. replacement that supports
Code is free and available several languages.
on your favorite platform - Syntax for all languages
Linux, Mac OSX, and that i use.
Windows. Great code editor
Lots of extensions. Application is free, and
Easy to use and learn. plugins are too.
Faster edit for slow Fast and lightweight.
computer.
Python extension is fast.
Great language support.
Powerful multilanguage
IDE.
Open, cross-platform, fast,
monthly updates.
All Languages Support.
Git integration.
Disadvantages Slow startup. Can't open large files.
Resource hog at times. No default plugin
Poor refactoring. manager.
Can't install more
advanced packets.
No code hints.
In 2019 Stack Overflow Survey, VSCode was ranked the most popular development enviroment
with 50% and become one of the hottest application for programmer. With the Its usefulness, I’m
finally choosing VSCode for my Assignment’s program.
3. An evaluation of the debugging process in the IDE used and how it helped with development.
At its heart, Visual Studio Code features a lightning fast source code editor, perfect for
day-to-day use. With support for hundreds of languages, VS Code helps you be instantly
productive with syntax highlighting, bracket-matching, auto-indentation, box-selection, snippets,
and more. Intuitive keyboard shortcuts, easy customization and community-contributed keyboard
shortcut mappings let you navigate your code with ease.
And when the coding gets tough, the tough get debugging. Debugging is often the one
feature that developers miss most in a leaner coding experience, so we made it happen. Visual
Studio Code includes an interactive debugger, so you can step through source code, inspect
variables, view call stacks, and execute commands in the console.
VS Code also integrates with build and scripting tools to perform common tasks making
everyday workflows faster. VS Code has support for Git so you can work with source control
without leaving the editor including viewing pending changes diffs.
4. An evaluation of coding standards and the benefits to organizations of using them.
4.1. Define
They are a series of procedures that can be defined for a particular programming language
specifying a programming style, the methods, & different procedures. These procedures can be
for various aspects of the program written in that language. They can be considered as essential
attributes of software development.
A coding standard makes sure that all the developers working on the project are following
certain specified guidelines. The code can be easily understood and proper consistency is
maintained.
Consistency has a positive impact on the quality of the program and one should maintain it while
coding
Benefit
4.2.1. Enhanced Efficiency
It is often seen that the software developers spend a larger part of their time in solving
those issues that could have been prevented. Implementing the coding standards would
help the team to detect the problems early or even prevent them completely. This will
increase efficiency throughout the software process.
4.2.2. Risk of project failure is reduced
Many times it happens that IT projects fail due to problems while developing software.
Implementing the coding standards reduces many problems and the risk of project
failures.
4.2.3. Minimal Complexity
If a code is complex, there are higher chances of it being vulnerable to errors. Coding
standards help in the development of software programs that are less complex and
thereby reduce the errors.
4.2.4. Easy to Maintain
If the coding standards are followed, the code is consistent and can be easily maintained.
This is because anyone can understand it and can modify it at any point in time.
4.2.5. Bug Rectification
It becomes really easy to locate and correct bugs in the software if the source code is
written in a consistent manner.
4.2.6. A Comprehensive Look
If the source code maintains consistency, a clear view of how code fits in the larger
application or fits into the company as a whole.
4.2.7. Cost-Efficient
A clear code gives the developers an opportunity to reuse the code whenever required.
This can radically reduce the cost along with the efforts put in the development.
4.2.8. In nutshell, coding standards play a vital role in any successful software development.
C. Software Development
1. Development plan
Login
Logout
3. Test
After finishing code, I’m testing some functions and put it in some situation.
Example:
4. Manage program:
Django uses the MTV model similar to the MVC (Model-View-Controller) model in
other frameworks framework.
Directory structure of a Django project:
5. Pseudocode
#Submit Function:
Check the name is entered else error = true
if the delivery button is checked:
check the address is entered else error = true
check the phone number is entered else error = true
check that no more than 5 total coffee are entered else error = true
if error == true:
display error message in the output box
else:
ungrey out the confirm button
get the coffee from the spinboxes
display the order in the output box
5. Reference
After studying this subject, I have learned more about python code with farework django as well
as understand its advantages and disadvantages.
D. References