1597084473984-30996-Unit-01 Programming Assignment-Holistic[K.Sathurcigan]
1597084473984-30996-Unit-01 Programming Assignment-Holistic[K.Sathurcigan]
Give details:
Internal Verifier
Date
signature
Programme Leader
Date
signature (if required)
Higher Nationals - Summative Assignment Feedback Form
Student Name/ID Mr. Kamalendran Sathurcigan (BAT/A-006688)
Unit Title Unit 01 - Programming
Assignment Number 1 Assessor Mr. Nuhman
10/08/2020 Date Received 1st
Submission Date
submission
Date Received 2nd
Re-submission Date
submission
Assessor Feedback:
LO1. Define basic algorithms to carry out an operation and outline the process of programming an application.
LO2. Explain the characteristics of procedural, object-orientated and event-driven programming, conduct an analysis of a suita
Integrated Development Environment (IDE).
LO4. Determine the debugging process and explain the importance of a coding standard.
Pass, Merit & Distinction Descripts P4 P5 M4 D4
* Please note that grade decisions are provisional. They are only confirmed once internal and external moderation has taken place and
grades decisions have been agreed at the assessment board.
Assignment Feedback
Formative Feedback: Assessor to Student
Action Plan
Summative feedback
Mr.Nuhman sir was help me to do this assignment, very friendly and he taught us very well.
Through his lecturing I could understand lot of coding related parts.
Assessor Date
signature
Important Points:
1. Check carefully the hand in date and the instructions given with the assignment. Late
submissions will not be accepted.
2. Ensure that you give yourself enough time to complete the assignment by the due date.
3. Don’t leave things such as printing to the last minute – excuses of this nature will not be
accepted for failure to hand in the work on time.
4. You must take responsibility for managing your own time effectively.
5. If you are unable to hand in your assignment on time and have valid reasons such as illness,
you may apply (in writing) for an extension.
6. Failure to achieve at least a PASS grade will result in a REFERRAL grade being given.
7. Non-submission of work without valid reasons will lead to an automatic REFERRAL. You will
then be asked to complete an alternative assignment.
8. Take great care that if you use other people’s work or ideas in your assignment, you properly
reference them, using the HARVARD referencing system, in you text and any bibliography,
otherwise you may be guilty of plagiarism.
9. If you are caught plagiarising you could have your grade reduced to A REFERRAL or at worst
you could be excluded from the course.
Student Declaration
I hereby, declare that I know what plagiarism entails, namely to use another’s work and to present
it as my own without attributing the sources in the correct way. I further understand what it means
to copy another’s work.
Assignment Title Design & Implement a GUI based system using a suitable
Integrated Development Environment
Submission Format
1. Written Report
This submission is in the form of an individual written report. This should be written in a concise, formal
business style using single spacing and font size 12. You are required to make use of headings, paragraphs
and subsections as appropriate, and all work must be supported with research and referenced using the
Harvard referencing system. Please also provide a bibliography using the Harvard referencing system. (The
recommended word count is 1,500–2,000 words for the report excluding annexures)
3. Presentation
With the submitted system student should do a presentation to demonstrate the system that was
developed. Time allocated is 10 to 15 min. Student may use 5 to 10 PowerPoint slides while doing the
presentation, but live demonstration of the system is required. Evaluator will also check the ability to modify
and debug the system using the IDE.
Unit Learning Outcomes:
LO1. Define basic algorithms to carry out an operation and outline the process of
programming an application.
LO4. Determine the debugging process and explain the importance of a coding
standard
Assignment Brief and Guidance:
Activity 1
Searching on an array/list is to find a given element on the array and return whether it is found
or not and return its position if found. Linear search and binary search are two popular
searching algorithms on arrays.
1.1 Define what an algorithm is and outline the characteristics of a good algorithm. Develop
algorithms for linear search and binary search using Pseudo code.
1.2 Describe the steps involved in the process of writing and executing a program. Take an
array of 10 or more elements and dry run the above two algorithms. Show the outputs at
the end of each iteration and the final output.
1.3 Define what Big-O notation is and explain its role in evaluating efficiencies of algorithms.
Write the Python program code for the above two algorithms and critically evaluate their
efficiencies using Big-O notation.
Activity 2
2.1 Define what is meant by a Programming Paradigm. Explain the main characteristics of
Procedural, Object oriented and Event-driven paradigms and the relationships among
them.
2.2 Write small snippets of code as example for the above three programming paradigms using
a suitable programming language(s).
2.3 Critically evaluate the code samples that you have above in relation to their structure and
the unique characteristics.
Activity 3 and Activity 4 are based on the following Scenario.
Ayubo Drive is the transport arm of Ayubo Leisure (Pvt) Ltd, an emerging travel & tour
company in Sri Lanka. It owns a fleet of vehicles ranging from cars, SUVs to vans.
The vehicles that it owns are hired or rented with or without a driver. The tariffs are based on
the vehicle type. Some of the vehicle types that it operates are, small car, sedan car, SVUs, Jeep
(WD), 7-seater van and Commuter van. New vehicle types are to be added in the future.
1. Rent (With or without driver) – For each type of vehicle rates are given per day, per week
and per month. Rate for a driver also given per day. Depending on the rent period the total
rent amount needs to be calculated. For example: if a vehicle is rented for 10 days with a
driver, total amount to be calculated as follows:
2. Hire (with driver only) – These are based on packages such as airport drop, airport pickup,
100km per day package, 200km per day package etc. Standard rates are defined for a
package type of a vehicle type if that is applicable for that type of vehicle. For each package
maximum km limit and maximum number of hours are also defined. Extra km rate is also
defined which is applicable if they run beyond the allocated km limit for the tour. For day
tours if they exceed max hour limit, a waiting charge is applicable for extra hours. Driver
overnight rate and vehicle night park rate also defined which is applicable for each night
when the vehicle is hired for 2 or more days.
Activity 3
3.1 Design suable algorithms for vehicle tariff calculation for rents and hires.
Ideally 3 functions should be developed for this purpose as follows:
3.2 Implement the above algorithms using visual studio IDE (using C#.net) and design the
suitable database structure for keeping the tariffs for vehicle types and different packages
which must be used for implementing the above functions.
3.3 Analyze the features of an Integrated Development Environment (IDE) and explain how
those features help in application development. Evaluate the use of the Visual Studio IDE
for your application development contrasted with not using an IDE.
Activity 4
4.1 Design and build a small system to calculate vehicle hire amounts and record them in a
database for customer billing and management reporting for Ayubo drive. This includes the
completing the database design started in 3.2 and implementing one or more GUIs for
vehicle, vehicle type, and package add/edit/delete functions. It essentially requires an
interface for hire calculation and recording function described above. Generating customer
reports and customer invoices are not required for this course work.
4.2 What is debugging an application? Explain the features available in Visual studio IDE for
debugging your code more easily. Evaluate how you used the debugging process to develop
more secure, robust application with examples.
4.3 Explain the coding standards you have used in your application development. Critically
evaluate why a coding standard is necessary for the team as well as for the individual.
Grading Rubric
As specially taught the Programming course and helped to solve all doubts in relation to the
lesson of the students also helped to make the programming assignment systematic through his
help, and he helped what he can also, for Nuhman sir I extend my sincere gratitude.
Table of Content......................................................................................................................... 2
Table of Tables......................................................................................................................... 10
Activity 01................................................................................................................................ 11
1.1 Define the algorithm, outline the characteristics of a good algorithm and develop
algorithms for Linear search and Binary search using Pseudo code. .................................. 11
1.2.1.1 Explanation for the Dry run table of Linear search, through run time of Python
...................................................................................................................................... 18
1.2.2.1 Explanation for the Dry run table of Linear search, through run time of Python
...................................................................................................................................... 21
Activity 02................................................................................................................................ 25
Activity 03................................................................................................................................ 32
3.2 Code for Rent & Hire payments calculations with database structure .......................... 37
Activity 04................................................................................................................................ 51
4.3.2.2 Team................................................................................................................. 73
Conclusion ............................................................................................................................... 74
Self-criticism ............................................................................................................................ 75
References ................................................................................................................................ 77
1.1 Define the algorithm, outline the characteristics of a good algorithm and
develop algorithms for Linear search and Binary search using Pseudo code.
1.1.1 Algorithm
An algorithm is a Collection of organized plans to play out a particular task. This can be simple
process of adding two numbers, or complex operation like control a huge database. In computer
programming, algorithms are regularly made as functions. These functions work in as little
programs that can be referenced by a bigger program.
(Algorithm, 2013)
1. Input One or more inputs required for just run the algorithm.
2. Output After the process the algorithm must provide one or more outputs.
3. Definiteness Algorithm's each step must be defined without any doubts.
4. Effectiveness If human can able to guess the Exact value of the step-in algorithm,
the meaning of this, which works correctly.
5. Termination After finite number of steps, algorithm can be stop.
If which has algorithm these characteristics, that will Considered as perfect algorithm in the
programming.
2. This has a time problem of O (n), i.e. that the number of time elements depends linearly,
which is not bad, at the same time this is not good.
Two parameters passed here for run this program those are ‘mylist’ and ‘choice’. Mylist is the
list for this program and choice is get value from user answering question in this program
running time. After get this value following action will run.
3. If the mid element doesn't match with searched element, check the search element value is
less or greater than mid elements value.
4. If the search element value greater than mid element value, then consider the right-side
elements in the mid element. After this, find the mid element of right side then compare
mid element value to search element value. Likewise re-do the first step.
5. If the search element value less than mid element value, then consider the left-side elements
in the mid element. After this, find the mid element of left side then compare mid element
value to search element value. Likewise re-do the first step.
If large number of elements in sorted or ordered list, Binary search is useful to find search
element. Main condition for utilize the binary search, the list/array must sort or ordered.
The algorithm is simple structure of the code. But that’s not an actual code. Because when
developing a function the code need to satisfy the scope of the function. So the code little
bit change from the algorithm but basically, the code will be developed from the
algorithm.
Len value
Length
Steps Length Search data = Result Mylist
value
Search data
Step 1 Len[0] USD KWD False -
Step 2 Len[1] CAD KWD False -
Step 3 Len[2] AUD KWD False -
Step 4 Len[3] INR KWD False -
Step 5 Len[4] EUR KWD False -
Step 6 Len[5] JPY KWD False -
Step 7 Len[6] SGD KWD False -
Step 8 Len[7] CHF KWD False -
Step 9 Len[8] KWD KWD True True
1.2.1.1 Explanation for the Dry run table of Linear search, through run time of Python
Step 03 - User insert the specific data of what does the user want
mylist = [101,195,113,224,345,116,207,115,196,240,145,342,242,234,123]
Search data - 145
Table 3 Dry run Table Binary Search
According to this dry run table of binary search, when the user enter the data into the provided
area, that data will assign as searching data. Firstly, the list’ data will arrange into the
Ascending order. Then the function find the mid data of the list, after the function will compare
if the mid data is equal to searching data. If the data are equal, the function will print the data’
course detail. If the both data not equal, the function will check if the mid data is bigger than
searching data or lower than searching data.
1.2.2.1 Explanation for the Dry run table of Linear search, through run time of Python
Final step - The function provide the output based on the input
Linear search is relatively slow than binary search. Linear search like a traditional method.
Because the searching will happen in any kind of data stored lists. But one of advantages of
this method is which can use for unordered list also.
This is picture show on of the examples for list of linear search. This is used for above currency
converting function. When the user enter the currency type, the function will check with this
list’ data, which has inserted in any order. The function will check continually till the data
should be same. That’s why this method takes much time for find the data.
This picture shows graph of the problem handling, using linear search.
Binary search is better than linear search while think about the time complexity. Because in
linear search the data will compare between each data but binary search can easy to reduce the
data count through compare with the mid value data.
Below picture shows the one of list which is used for above binary search function.
According this picture, the comparing will execute by function between the searching data and
mid data. Thorough this method, the function count of executions of comparing is lower than
linear search that’s why this searching method is faster than linear search.
This picture shows the details of the how is the binary search will work in proper manner
through the graph.
1. Procedural:
Procedural Programming might be the principal programming paradigm that a new
programmer will learn. Basically, procedural code is the logical steps for give instruction
to the device about how to finish a task. This paradigm utilizes a linear methodology top to
down and treats data and procedures as two unique entities.
3. Event-Driven:
Event-driven programming is a type of programming paradigm. This mainly based on
events. i.e., After pressing the button, the program will run, these type programs, written
by utilizing this method.
This picture is one of the evidence for the relationship between the programming paradigms.
In above picture shows, how the procedural programming, object-oriented programming and
event-driven programming methods were work altogether in the same function.
In here, firstly, the 'con' created as object which means the SqlConnection is created as object
which name is 'con'. This an example for object-oriented programming. After this
loadTableFun function creation this function will be called in form_load function. I.e. when
the form will run, this loadTableFun function will be executed. This is an example for event-
driven programming. When the function will run, each line of code will executed in order. This
is an example for procedural-programming. Likewise each programming paradigms work for
one function in altogether. This the one of the example to show the relationship between the
programming paradigms.
This picture shows how the class was called in one of the event-driven function. Through this,
when the form will run, the called function also will run.
This programming paradigm is But this is used for creating object, This is the main for visualized
work as code written order. and call another function to work application functions. Because
at called area. through this the programmer
decides how the application going
to run.
The programming paradigms has differences between there. However, when create function,
these things are need to add collaborate. Because one programming paradigm can’t work in
proper without others help.
Rent payment basically depends on Rent type. Which means, if the customer select rent type
is with driver, rent payment will include the diver charge, otherwise only vehicle rent will
consider here. This activity how will be done by the system, is given below as algorithm.
According to this picture, if the system needs to run, vehicle_no, rented_date, return_date,
with_driver data should be passed to here. After passing these data, total_days can calculate
through the difference between return_date and rented_date. This total_days value assign to
the days variable. After these activities, the number of rented months, weeks, days calculation
need do. That’s why if condition used above.
Based on this pseudocode, if this function needs to work correctly, need to pass the vehicle_no,
package_type, start_time, end_time, start_km_reading, end_km_reading data. Through these
data base_hire_charge, waiting_charge, extra_km_charge will calculate. Additionally
hire_other_charges calculation showed on this picture. That calculation depends on the hire
days. This condition used for calculate the other charges which means overNight,
night_parking charges. Basic data for this calculation is retrieve from database. The explained
pseudocode is given below.
The database of the Ayubo Company is shown on above picture. This is main resource of the
company. Because this company fully depended this database for their business. There are the
privileges of storing the data of vehicle, vehicle types, hire packages, rent payment, driver, tour
types, hire other charges and rates, will gave to the specific forms. Through this, the rent
calculations and hire calculations will be executed. Once the data was inserted to this database,
when the user need that data can retrieve from here.
How the rent payment will calculate through this application is show on below picture.
This is interface for the rent payment calculation, the user only can see this design of this
interface. After the user fill this form, the calculation code of rent is executed in the background
of this form. In here, Customer name, rent type, number of days and rent id will come from
tables of customer, rent type and rent. I.e. this data will automatically fill here. But the basic
amount, driver charge and total rent charge will fill here based on the calculation codes. In this
form, the user needs to select the rent id, after just press the button then the data should
automatically fill here. The user switches the payment type based on how the customer going
to pay. Only these activities the user will do here.
This picture shows the data assign to the variables, by get that from other tables.
This picture shows how the total number of days convert into day, week and month. After the
converting, that data should be multiplied by the rate (charge) of month, week and day. Through
this, the basic charge of rent will be calculated. In last of this picture, the yellow boxes show
the day, week and month counts assigned variables and blue boxes show the assigned variables
of rate (charge) of day, week and month.
Here, the option of rent is show on the above picture. I.e. if the customer get vehicle for rent
with driver, when returned the vehicle, who need to pay for vehicle and driver. But, if the
customer chose without driver for get vehicle, the customer needs to pay only for vehicle.
Information of this condition how handled here is shown here. So, if the customer chose with-
driver option, the driver charge will be calculated like (charge per day × number of days). The
total rent payment is calculated through addition between basic charge and driver charge. If the
customer chose without driver, his total rent charge will equal to basic charge.
If the customer chooses the day tour for take vehicle to hire, according this picture the
calculation will done in the background of the interface. If the customer exceeds the hire
package time limitations, will charge for extra hours and which add into the hire payment.
According to the above picture, the day tour extra km charge, over-night charge and night
parking charges are how to calculate and how to add the charges into hire payment can
understand. Here, the condition for charge the customer for extra km charge is, the customer
need to exceed the km limit, which is based on the hire package. And, the over-night and night
parking charge is based on the hire days. I.e. if the customer take vehicle for hire over 2 days,
these charges will add into the hire payment.
3.3.1 IDE
IDE means Integrated Development Environment, which is an application to through this the
developer utilized for develop application. IDE is designed as each programming tasks
included. So, IDEs offer a central interface highlighting all the tools a programmer needs,
included the follows.
(Veracode, 2020)
The important part of programming is writing code. For this some of the following features are
help to do this easy.
Syntax highlighting
Autocomplete
Building executable
Debugging
3.3.2.2 Autocomplete
IDE knows more programming languages. So, which will identify what will the programmer
going to type when begin of writing and suggest that to programmer. For an example the
programmer going write a code for create a new function in C#. That is 'public void
clean_fun()'. So, when the programmer going to start writing code, IDEs autocomplete function
will be activated and help the programmer to write. These details show on below picture.
When run the C# code, how that action will be executed by the visual studio is shown on above
picture.
Above picture shows the debugging feature of IDE is how to using in C#. This feature is help
for finding where the errors is. When the programmer or user run the program, these codes
automatically debug. In that case, if the code has any errors, system automatically find out the
errors and show an error message otherwise the programmer can manually check the error in
line wise. These details show on above picture.
Table 6 Differences between the IDE programming language and non-IDE programming language
IDE Features If the programming Language has IDE If the programming Language hasn’t IDE
Syntax Highlighting When see the code again this is help for In here, difficult to identify the keywords
identify the keyword from other words. from the other words.
Autocomplete Programmer easy to find the key words But here, programmer need to know what
in programming language through this is actual keyword for the function.
feature. So, this is help to write the Because some programming languages
code. has case sensitive (upper case / lower
case). So, this is complex than that.
Debugging When run the code this s help to find In here, the error finding is difficult than
the errors and short out. that programming languages. This can
make hatred on programming to the
programmer.
Through this table can identify the IDEs benefits and importance. Other benefits of IDE are
given below.
Faster setup - Without IDE interface, the developers need to spend much more time for
inbuilt the multiple development tools. If the developers continually working on the same
area, same type of skills used for that and same type of development tool is used here
with IDE application integration. So, there is no requirement for switching the
development tools.
Faster development tasks - More tight incorporation of all development tasks improves
developer productivity. For instance, code can be parsed and syntax checked while being
altered, giving instant solution when syntax mistakes will present. There is no
requirement for switching the developers between the applications for finishing the tasks.
Basically, the IDEs tools and features help the developers to organize the resources, get
shortcuts and reduce the mistakes.
Standardization - IDE standardize the development process of interface. So, this help
the developer to smoothly work accomplish with applications and finish the tasks
quickly.
NetBeans - Cares Java, JavaScript, PHP, Python, Ruby, C, C++ and etc. This choice is
additionally free and open source. All the functions of the IDE are given by modules that
each give a well-defined function. Support for other programming languages can be
included by installing extra modules.
Komodo IDE - Supports Perl, Python, Tcl, PHP, Ruby, Javascript and etc. This
enterprise-level tool has a more top price point.
Aptana - Supports HTML, CSS, JavaScript, AJAX and others via plugins. This is a well-
known decision for web application development.
Geany - Supports C, Java, PHP, HTML, Python, Perl, Pascal and some more. This is an
exceptionally adjustable environment with a huge arrangement of plugins.
(Veracode, 2020)
Xcode - Cares the Objective-C and Swift languages, and Cocoa and Cocoa Touch APIs.
This IDE is just for making iOS and Mac applications and contains an iPhone/iPad
simulator and GUI builder.
Espresso - Cares HTML, CSS, JavaScript, XML and PHP. This is a tool for Mac web
developers.
4.1.1 Customer
This picture shows the interface for the customer. Through this, customer can register his
details in the specific database of customer. When the customer gets hire a vehicle from this
company these details used for creating a payment bill. According to this picture, the customer
can save his details through click the insert button after finish the data filling.
Above picture show the table for storing the customer details in the Ayubo company database.
This table connected with the customer form. Through the customer form, can insert the
customers' details into the customer table. First chart shows the customer table columns and
their data types. Second chart shows how the already inserted data stored into the table does.
The customer form was designed based on this customer table. There is no 'Allow Null' option
assign to any columns in customer table. So, through the customer form, all columns related
details should pass to here.
Already finish the registered persons can access this form. Only already registered persons
have the username and password. After fill the password and Username, through click the login
button can reach the menu form.
If the customer put his correct username and Password, firstly, that person receive this popup
message. After this, customer can visit the menu form.
As well as the user can visit all forms through this menu form. Because every form
interconnected with this menu form.
4.1.4 Driver
Above picture show the table for storing the driver details in the Ayubo company database.
This table connected with the driver form. Through the driver form, can insert the drivers'
details into the driver table. First chart shows the driver table columns and their data types.
Second chart shows how the already inserted data stored into the table does. The driver form
was designed based on this driver table. There is no 'Allow Null' option assign to any columns
in driver table. So, through the customer form, all columns related details should pass to here.
Each table connected with their related tables for data transfer. Because some of the calculation
parts need different table details.
There are three kind of forms show on same picture altogether. First is vehicle type, through
this form, the user can store what kind of vehicles does the company has. Second, vehicle this
form is used to save each vehicle unique information like vehicle no. Third, vehicle service this
form is important for manage the vehicle condition. So, these kinds of methods are used for
storing the vehicle's information here.
These are the vehicle related data storing tables in database. These tables designed based on
the company instruction. In here, each table shows their design structure and how the data does
store here. Same like customer table and driver table these tables connected with their forms.
Above picture shows the rent, rent type, rent payment interfaces. Through these forms, can
store whole rent activity related information of the company. When the user wants these details
can retrieved from here and also can update or delete the information.
These are the rent related tables of the database for store the rent’ details. The form can insert
the details into the table and also retrieve details from here for update, delete and other purposes
through the connection. Here one of the columns of rent payment table has ‘Allow Null’ option.
Because of the customer can choose without driver for rent a vehicle that’s why this option
enabled for driver charge column.
In the above picture, four kind of interfaces are shown. First hire, through this form, the user
can save the hire duration and which hire package was chose by the customer also stored into
the database through this. Second other charges, if the customer cross the package limitations,
how to charge the customer to for that, and related details can save through this. Third hire
package, if the company need to add a special hire package, this form used for that. Fourth hire
payment, this form is used in when the customer returns the vehicle. So, these forms used to
control the whole hire activity.
These are the hire related tables. These are connected with their forms, through this can modify
this data and also retrieve when the user needs this data.
Above picture shows the interfaces of tour type and rate. These forms are used to store details
related how much of km can travel and how much charged for a km. through these details, can
calculate the hire payment.
These are tables of rate and Tour, these used to store the new tour types and also data of how
to allocate the charge details. Through the forms can modify or insert the details to here.
Purpose of this application is Ayubo Company to do their activity through this application. So,
this application needs to run without any mistakes. This application was designed as, the hire
and rent calculations automatically in a doable way by this application. Most important
activities of this company are data insert, update and delete. These functions how will done by
this application, details are given below.
The main function (Common_fun) is shown on above picture. According this code, the insert,
update and delete functions will work. I.e. the enum function (fun_type) will change based on
the user pressing button. If the user press insert button, that detail will pass as parameter to the
main function. That help to show proper message to the user. Another parameter is passing to
the main function. That is SQL. This SQL has information of what kind of function going to
execute inside. So, the main function will react based the SQL. Then the SQL parameter assign
into sql. After that database connection will get into assign to the ’con’ variable. Then the data
transmission can do between the interfaces and database through open the connection. While
the connection open, the sql sent to the database as Sql Command. Through this the query will
executed. If any rows affected by that query, messagebox shows the success message,
Above picture shows one of the examples for the insert function. Other forms also will work
like this. If the user need insert any this, firstly need fill all text boxes on the form, after through
pressing the insert button, can save the data into the specific form’ table. In here, one of the
vehicle type insertion is shown. How this function is run in background is show on below
picture.
According this picture, how the insert function will work on the background of the application
is shown on above picture. The insert function is one of the parts of this main function
(common_fun). Because the same main function is used for insert, update and delete functions
through the ‘enum’ function. The enum function will switch the main function to do insert or
update or delete function, which is based on user action. If the user press insert button, what
function was written in the background of the insert button which will run. In that case, the
vehicleType_class was called here. Through this function, the vehicleType_class functions can
be access here. But specifically, the Save_fun function access was provided to this button.
Inside of this Save_fun function, the query for insert data to the vehicle type table was written.
That query passed to the main code’ parameter ‘sql’. Through this, insert function will work.
This picture shows, how the user will feel the data update. Through this the user can see the
data changed. But the background function is shown on following picture.
This picture shows the delete function how will work. Can see here the selected data’ row
totally deleted.
This picture shows when the user press delete button, how the function travel to another
function.
4.2 Debug
Debug is the feature of handle the system errors when run the application, through this can find
the errors and solve that easily.
When develop an application of Ayubo car service company digitized information system how
the debugging was helped proofs is given below.
After the error message shown by IDE, easy to find the error and also as well as can fix that.
Following picture shows how this problem was fixed.
The table name was in incorrected, that’s why system block the application going to run. After
fix this issue, the application can run without any errors. If the application has any errors, that
will point out the errors like that. Some of the examples for errors checking are given below.
No one can write code without any errors in this world but sometimes can reduced. But ordinary
persons will make mistakes in writing codes, for that reason this debug feature is used in visual
studio. Through this can find the errors and solve those easily. This make the good experienced
persons as. If this feature was not in visual studio, the error finding will be in difficult. This is
the major benefit of this debug feature of IDE.
Through the debugging feature can identify where the error has placed.
Can identify why is that should be an error.
Can identify how solve that specific error.
So, this an opportunity to find the error and grow the skill of error solving. This is major part
in programming. The developer when do a biggest project can’t find errors without this
features. Sometimes the system never shows the accurate error. At that time following method
is helpful for the developer.
According to these steps, the programmer can manually find where the error is in.
For instance, in vehicle class, the common_code class function calling details show on below
picture.
4.3.1.2 Guidelines
This is like take reference. Example is shown below.
Figure 73 Guidelines
According to this picture, the function was mentioned by using this Guidelines technique. If
the programmer use like this techniques, other programmers also can understand his codes
through this. And also, can update.
4.3.2.1 Individual
If one programmer didn’t use these techniques for developing an application, after few months
the same person also can’t understand his code or takes too much time for understand. But if
the programmer used these methods, easy to understand in any time.
4.3.2.2 Team
Mostly the applications will be developed by several developers. Every developer develops
each part of the application. Finally, the parts will merge by another developer. If any developer
of this group didn’t use these techniques, other developers difficult to understand the codes.
This makes the black mark to the programmer. And if there any doubts in that code, the specific
developer only can give explanation, because others difficult to identify the codes.
For these reasons, the code standard method is used by the program developers.
In here, need to implement a software for one of the car service company Ayubo. That company
has hire and rent services. Each service has special limitations. For an example, in rent service,
there two choices available for the customer. First, get the car for rent with driver. Another, get
car only. Like this hire service also has some limitations. Based on these limitations, the Ayubo
Company continually was run their service. So, if any software developer will implement a
software for this company, Should aware about these limitations and the payment calculations.
While developing a system for this company, the Object-Oriented Programming concept was
used in many places. Kind of these procedural programming paradigms could learn through
this assignment. And got knowledge about how to make standardize interfaces, how to use
algorithms and flowchart also through this.
After finish the implementation of the system for this company, can got data analyzing skills,
how to make connection between to hiddenly related entities and can get more familiar with
C# language. So, this assignment more helpful for my future job environment.
So this is a good opportunity for get more knowledge about programming and this is seen as
way for invent more interesting and important things in IT society.
Mar 2020 Apr 2020 May 2020 Jun 2020 Jul 2020
ID Task Name Start Finish Duration
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30