Qualification - Higher National Diploma in Computing (Application Development)
Unit Name - Programming
Unit Number - Unit 1
Unit Reference Number - D/615/1618
Assignment Title: Programming Algorithms
Learning Outcome 1: Define basic algorithms to carry out an operation and outline the process of Programming an application.
Learning Outcome 2: Explain the characteristics of procedural, object-orientated and event-driven programming, conduct an analysis of a suitable Integrated Development Environment (IDE).
Learning Outcome 3: Implement basic algorithms in code using an IDE.
Learning Outcome 4: Determine the debugging process and explain the importance of a coding Standard.
Assignment Brief
You are employed as a software engineer for the Department of the Environment. You create programs/ application for making calculations and predictions on data concerning environmental issues.
Hire Best Higher National Diploma in Computing Assignment Help Service for Getting Academic Excellence!!
Scenario A (Sort and Search Algorithm).
The company has received a number of issues from the beta testers of their latest administration software released in early January 2018, the testers have been stress testing the system and outlined that when adding in data files contain statistics the program is slowing and making it difficult to import large amounts of data.
You have been tasked with creating an application which can read in large amounts of data maximum 1 million entries contained within a CSV file.
The software should sort the data into ascending order and displayed for users to analyse. Then allow for the data to be searched to look for specific data entries if required.
This software algorithm designed and developed needs to be explained by you. This will aid the programmers within the company to analyse your solution to provide a patch for their application recently released.
Solution:
P1.
Pseudo code
I have used pseudo code is visual studio 2012. I have created the program of bubble sort in the visual studio 2012.
Flowchart
The flowchart for the programming language .net, that is provides charting and professional languages diagramming capability on any software in C #, and VB.net. Integrating controls is easy.
You need professional chart elements to remove a quick and easy drawing of complex flowchart diagrams and plans in your application. FlowCart.NET Pro deals you many unique graphs and figures layout methods and built-in numerical control configurations with the general FlowChart.NET version. Multifunctional, convenient to use and extremely reliable, FlowChart.NET Pro features that you can find commonly in combination with other programming elements. FlowChart.NET 5.3.2 Download the trial version and prove the various abilities of the product.
Class diagram
The class diagram is an example of the relationships between the classes in the Unified Modeling Language (UML) and the dependencies of source code. In this class diagram, a range of class describes the methods in the object and the variable; this is the entity including in program also the entity representing the unit of that element.
In this class diagram, classes generally share to manage the group. A class diagram is similar to a flowchart, the box is displayed as a square box, and each box has three rectangles.
The upper rectangle has the class name; contains the properties of the middle rectangle; in the lower rectangular section, there are methods named by the class operation. This is Lines, which have arrows at both the end, add boxes. The arrows lines also address relationships between classes
Class diagram
Bubble sort source code
D1:
Evaluate the relationship between the written algorithm and the code variant.
The written algorithm offers a common overview of an issue that often ignores the implementation details. It is said that "developed" the written algorithm as we say "pseudo-code", the programming languages are imitated to the other language, but the algorithm is created by the writer. Also, to explain the "written algorithm" encapsulate (wrong for OO encapsulation), see the algorithm of Ford-Fulkerson.
Algorithm:
1. Start with initial flow as
2. While there is an augmenting path from source to sink.
3. Add this path-flow to flow.
4. Return flow.
As per we can see that, "Written algorithms" present only a common approach to the problem. This solution does not require how it was created. Programmer's discretion gives information about this. They should consider the solution or the things just like memory management, data manipulation, data types etc. to write code types, as well as algorithms and program in data structures. In this way, code type is more difficult as compared to "written algorithm".
Get our affordable Unit 17 Work-based Experience Assignment Help service for Level 4 in business!
2. Evaluate the relationship between the written algorithm and the code variant
In the written code I have followed the algorithm and write code in C#.net language. In this section, I have convert algorithm into the functionality .C#.net is an object-oriented programming language. They should consider the solution or the things just like memory management, data manipulation, data types etc. to write code types, as well as algorithms and program in data structures. In this way, code type is more difficult as compared to the algorithm. The very first important concept in OOPs is Inheritance. Inheritance helps for reusability of code. There is a different type of inheritance in C#.net .C#, the net is case sensitive programming language so we have to keep in mind use proper naming and declaration because it makes difference in small and capital letters. Inheritance is widely used and there is a different type of object-oriented programming language and inheritance help to reusability of code and it also helps to reduce writing and the testing code of programming
P2
Procedural
The potential programming method of learning new programmers is procedural or necessary programming. The basic procedural or compulsory code is something that directs you to the computer directly on how to complete the tasks that we want to that the reasonable steps. I have a problem with procedural reflection, then I have a certain process and the data is extremely predictable. Looking at objects oriented artists and they are making things to represent artists. For example, the emulator is used for the movie queue line. If you have a public, line and a ticket booth, you create objects about those artists.
The Event operated used automatic moments; we can insert the events handler object-oriented paradigms. This is a paradigm. For instance, your mainframe report may have an effect on paper. And the object-oriented program is likely to handle an event when someone creates an electric film for the person standing.
Procedural programming you define the program and its sub programmed phase series. On the other hand, the program that tries to describe the consequences of the stages taken on the computer, but describes the intended result.
Object orientated
This programming is used for the managing code on infractions, warrants, substitutions, programming to programming etc. Object-oriented programs are usually processed.
We have new $ message object instead, which is usually a part of the message class. This object must have the properties that people can read publicly, such as $ message-> read and message-> delete (). It is useful because we are used to thinking about things like humans. We can understand the concept of things arising from the anarchy of the world and make the world easier for us to understand.
Event-driven
It is about looping events based programming handling process and the main event provided through the original system. We can write the event loop and save event loop trouble is also the benefits of the different libraries this is work to provide the loop by the system.
It is used extensively. If you have a phone, microwave, toaster, fire alarms or a PC, then you have used this route. The code will appear for an event that will either, click the mouse button, start the engine, find the smoke, find heat on the food or the program that performs certain actions created on that the EVENT.
Explain what OOP, event-driven and procedural. Explain the advantages and disadvantages of each paradigm and show examples by explaining what the code does in each example
In the field of software programming, the main challenge is writing the logic not only data defining. The key concept of object-oriented programming is to handle object not the object manipulation logic. We can take the example of humans as an object so the object can be a name, address etc and functionalities or we can say properties are building which we have to manage. The very first step in the OOPs is data modeling. This term related to the idea that a programmer has to identify all objects in the entire program and also the relationships among them. After recognizing the objects it should be converted or generalized into object class. In this class of objects includes the type of data that the object is carrying. It also includes the object manipulation logic. The term method if often defines as the various logic sequences. With the help of messages which is nothing but interfaces object can communicate with each other.
Following are the rules and advantages of object-oriented programming:-
• . The very first important concept in OOPs is Inheritance. Inheritance helps for reusability of code. There is a different type of inheritance in C#.net .C#, the net is case sensitive programming language so we have to keep in mind use proper naming and declaration because it makes difference in small and capital letters. Inheritance is widely used and there is a different type of object-oriented programming language and inheritance help to reusability of code and it also helps to reduce writing and the testing code of programming. It also helps reduce the budget of a project due to reusability of the coder
• Another concept is Data Encapsulation. This is nothing but data hiding. This data hiding functionality provides data security. This concept also avoids data loss. It also prohibits unauthorized access.
• The concept of making the class is reusability of code. Once the code has been written in class then we can easily do modification in future as per clients requirement with very fewer efforts. It minimizes time duration, writing cost etc.
• The very first object-oriented programming language is "Simula". Another most popular oops languages are Java, VB etc. for the distributed application most appropriate language is Java. It is platform independent. It runs over the internet. Ruby is another OOPS language which is used in web application.
Disadvantages of t OPPS
As all the things in the world have both advantages and disadvantages. The main disadvantage is the lie concept of objects. This is a virtual concept. As the computer is the machine it doesn't understand the concept of an object. The programmer who deals with the object can use the object as a powerful weapon in programming but its impact is very poor on the machine. According to the programmer, the object can make database queries from 0 to 4000.
Poor execution of the object is the thing that frustrated me the most. Since 20 yrs the oops is the dominant concept in the programming. But we can't ignore the fact that the most awful programs can also be makes by making use of OOPs.
Get the best assistance for Unit 11 Financial Systems and Auditing assignments, along with Level 5 assessment help, from top UK tutors!
ADVANTAGE OBJECT-ORIENTED SYSTEMS It provides the reusability of code. It is platform independent, makes code flexible which reduces writing cost. It also reduces the testing cost. Object-oriented programming makes code robust and reliable and readable. It provides strong security by data encapsulation concept. It minimizes the time duration. Abstraction and polymorphism are the key concepts of OOPs which help to reduce code overhead. It also provides functionality with one thing many forms. Object-oriented programming helps to break down complex code into small unit and module and help to resolve complex problems. It also helps with testing each module easily and also helps to integrate testing. OOPs, allow you to increase program efficiency and increase execution speed.
The concept of class in object-oriented programming is used to write code in one container so that we can do future modifications easily as the requirement of the user change with time. Data hiding also did in Oops which avoids data loss. We can make many classes in oops program and making the object of the class we can do communication in the classes. Inheritance is also the main concept of OOPs. In this concept the functionality of the parent class can be inherent in the child class hence we need not write all the functionality again and again for the same program.
Functional Programming
This term is related to the functions. The procedure is another name for the functions if we talk in terms of maths. In the procedural part of the programmed, I have simply written the functions. Which make it functional programming. Same the concept we have seen the subject math algebra. There also many predefined functions. By making use of these functions we can solve complex problems. Same in the programming it is the true statements. And we can manipulate one function with the help of other function and is objects. Hence the program should be functional.
There is a different type of inheritance in C#.net .C#, the net is case sensitive programming language so we have to keep in mind use proper naming and declaration because it makes difference in small and capital letters. Inheritance is widely used and there is a different type of object-oriented programming language and inheritance help to reusability of code and it also helps to reduce writing and the testing code of programming. It also helps reduce the budget of a project due to reusability of the coder.
No perfect logic of programming is there. Various developers can write the logic in various ways. Just the condition is that the logic the developer writes should minimize the complexity so that if the developer is working with the software then the code should be understandable. It should be modified easily. It should fulfill all the requirement of the client. It should be user-friendly.
Facing challenges with your assessments? Choose Level 5 Unit 14 Working With Leading People assignment help in business!
Create a report which explains the paradigms.
M2.When the user is using IDE he can use M2 which supports a format which is in the word common feature analysis.
IDE which is the abbreviation of the integrated development environment where the developer gives his all times. For the application which is developed in visual basic uses the Visual Studio 2012 IDE.
Before developing an application in VB you must need to know the tools you will be using for the same. Then you can go deep for the selection of developing languages. As we all know the Visual Basic studio 2012 is complex one but in this assignment, we will see the most common and very useful tools that you can make use of for developing the complex applications easily. Many advanced features have been added to the new recent version of IDE. Many of the IDE features of Visual basic IDE are depends upon Windows Presentation Foundation frameworks such as floating windows, editor and menus. Previous structure again used in the VB studio 2012 with advanced features. The presentation looks of the new Visual Basic IDE 2012 is totally different. This design depends on the Microsoft design style. It has a simple way for commands tools. The main aim of the IDE is providing support to the developer to concentrate on code writing and designing not on the infrastructure of IDE. So the colors are less in the new IDE but the icons are similar. We can identify the old icons easily. Code writing editor is still the same in functionality and recognizes easily. The improvement in the new IDE is important but still, you will not face any difficulty for using this new one. The reason is that the instrumentation is the same as the old one.
D2
The sorting algorithm is used in this assignment. It is the most useful and common sorting type which is the most famous. The concept of this algorithm is based on the compare and swap technique. The working of this sort is that it compares the pair of elements with the adjacent one if it is in order leaves it if not swap it. Again compare and swap till all the elements will be in order. One disadvantage of this sorting technique is that it is not very useful for big data set. Its formula is O(n2) where the number of items is n.
Working of Bubble Sort:-
This example contains array which is not in order. This sort use Ο(n2) times.
It starts with the very first elements and the adjacent one. Compare them for the greater one.
It compares 14 with 33, in this situation 33 is greater than 14 so it is sorted. Next comparisonis between 33 and 27.
In this case, 33 are greater than 27. Hence swapping done.
After swapping:-
Next 33 compared with 35. It is sorted.
Then 33 compares wit 10.
10 is smaller than 35 hence swapped.
After one iteration of comparison, our array looks like:-
We then do next iteration and after completion of the second iteration our array will be:-
Hereafter each and every iteration one value moves towards the end.
In the situation where no swapping needed our sorting has been done and the complete array is sorted.
Practical approach:-
Algorithm
We will consider an array with n elements. We are using swap function for swapping.
Pseudo code for bubble sort:-
procedure bubbleSort(list: array of items )
loop = list.count;
for i = 0 to loop-1 do:
swapped = false
for j = 0 to loop-1 do:
/* compare the adjacent elements */
if list[j] > list[j+1] then
/* swap them */
swap( list[j], list[j+1] )
swapped = true
end if
end for
/*if no number was swapped that means
an array is sorted now, break the loop.*/
if(not swapped) then
break
endif
end for
end procedure return list
Implementation
Here we noticed that the greatest elements go to the end after each and every iteration.so in the next iteration no need to swap sorted elements. In our execution, we do not use the inner loop for avoiding swapping of already swapped elements.
P3,M3, and D3
Coding
coding
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BubbleSort
{
public class CollectionList
{
public List<int> BubbleSortingAlgorithm(List<int> ArrLst)
{
int vtemp;
for (int i = 1; i <= ArrLst .Count; i++)
for (int j = 0; j < ArrLst .Count - i; j++)
if (ArrLst[j] > ArrLst[j + 1])
{
vtemp = ArrLst[j];
ArrLst[j] = ArrLst[j + 1];
ArrLst[j + 1] = vtemp;
}
return ArrLst;
}
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BubbleSort
{
public class ViewSort : CollectionList
{
public void DisplaySort(List<int> Outcome,System.Windows .Forms .ListBox lstSort)
{
foreach (int i in Outcome)
{
lstSort.Items.Add(i.ToString());
}
}
}
}
Main Function
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
namespace BubbleSort
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new frmbuubleSort());
}
}
}
frmBubbleSort
using BubbleSort;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace BubbleSort
{
public partial class frmbuubleSort : Form
{
List<int> ArrLst = new List<int>();
public frmbuubleSort()
{
InitializeComponent();
foreach (int x in ArrLst)
{
txtItemAdd.Text = txtItemAdd.Text + x.ToString() + ",";
}
}
public List<int> concat(List<int> less, int pivot, List<int> greater)
{
List<int> sorted = new List<int>(less);
sorted.Add(pivot);
foreach (int i in greater)
{
sorted.Add(i);
}
return sorted;
}
private void button2_Click(object sender, EventArgs e)
{
lstSort.Items.Clear();
ViewSort oViewSort = new ViewSort();
List<int> Outcome = new List<int>();
Outcome= oViewSort.BubbleSortingAlgorithm(ArrLst);
oViewSort.DisplaySort(Outcome,lstSort );
progressBar1.Value = 100;
}
private void btnAdd_Click(object sender, EventArgs e)
{
if (txtItemAdd.Text != "")
{
lstItem.Items.Add(txtItemAdd.Text.Trim());
ArrLst.Add(Convert.ToInt32(txtItemAdd.Text.Trim()));
txtItemAdd.Clear();
txtItemAdd.Focus();
}
else
{
MessageBox.Show("Please enter element");
}
}
private void button1_Click_1(object sender, EventArgs e)
{
lstItem.Items.Clear();
}
private void Form1_Load(object sender, EventArgs e)
{
}
}
}
P3 Include in your report the screenshots and annotations as evidence for writing a program that implements the algorithm that has been developed based on the selected scenario using a suitable IDE.
M3 provide in a word format the screenshots and annotations as evidence, showing how the IDE was used to manage the development process of the program in P3.
The annotation evidence may include among many others evidence of debugging, Error corrections and /or using many features of the IDE in the development processes such as the pre-generated code, use of the forms, use of the properties, etc. (at least 4 different IDE support features offered to programmers).
You can see build success
No error
D3 provides in a word format a written evaluation of the usefulness of an IDE for the development of applications contrasted with not using an IDE.
In this section, we have used visual studio IDE.This IDE is more flexible and it helps to the rapid development of the code. It increases the user-friendly environment for the development of the application and also provides business intelligence.
In below figure you can see business intelligent.
Business intelligent help to develop and easy to reduce and manage error. It also helps to provide a user-friendly environment for debugging and write error-free code and It also helps to debug the code.
In below fig, you can see debugging which also help to understand the code flow and easy to find an error and fixed it
P4, P5, M4, and D4
P4
coding
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BubbleSort
{
public class CollectionList
{
public List<int> BubbleSortingAlgorithm(List<int> ArrLst)
{
int vtemp;
for (int i = 1; i <= ArrLst .Count; i++)
for (int j = 0; j < ArrLst .Count - i; j++)
if (ArrLst[j] > ArrLst[j + 1])
{
vtemp = ArrLst[j];
ArrLst[j] = ArrLst[j + 1];
ArrLst[j + 1] = vtemp;
}
return ArrLst;
}
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BubbleSort
{
public class ViewSort : CollectionList
{
public void DisplaySort(List<int> Outcome,System.Windows .Forms .ListBox lstSort)
{
foreach (int i in Outcome)
{
lstSort.Items.Add(i.ToString());
}
}
}
}
Main Function
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
namespace BubbleSort
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new frmbuubleSort());
}
}
}
frmBubbleSort
using BubbleSort;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace BubbleSort
{
public partial class frmbuubleSort : Form
{
List<int> ArrLst = new List<int>();
public frmbuubleSort()
{
InitializeComponent();
foreach (int x in ArrLst)
{
txtItemAdd.Text = txtItemAdd.Text + x.ToString() + ",";
}
}
public List<int> concat(List<int> less, int pivot, List<int> greater)
{
List<int> sorted = new List<int>(less);
sorted.Add(pivot);
foreach (int i in greater)
{
sorted.Add(i);
}
return sorted;
}
private void button2_Click(object sender, EventArgs e)
{
lstSort.Items.Clear();
ViewSort oViewSort = new ViewSort();
List<int> Outcome = new List<int>();
Outcome= oViewSort.BubbleSortingAlgorithm(ArrLst);
oViewSort.DisplaySort(Outcome,lstSort );
progressBar1.Value = 100;
}
private void label2_Click(object sender, EventArgs e)
{
}
private void textBox1_TextChanged(object sender, EventArgs e)
{
}
private void listBox2_SelectedIndexChanged(object sender, EventArgs e)
{
}
private void btnAdd_Click(object sender, EventArgs e)
{
if (txtItemAdd.Text != "")
{
lstItem.Items.Add(txtItemAdd.Text.Trim());
ArrLst.Add(Convert.ToInt32(txtItemAdd.Text.Trim()));
txtItemAdd.Clear();
txtItemAdd.Focus();
}
else
{
MessageBox.Show("Please enter element");
}
}
private void button1_Click_1(object sender, EventArgs e)
{
lstItem.Items.Clear();
}
private void Form1_Load(object sender, EventArgs e)
{
}
}
}
P4 provides in a word format a written explanation with screenshots and annotations evidence of the debugging process, the explanations should show the steps of the debugging facilities available in the IDE you have used.
Project Content
Main IDE
View class
FrmbubbleSort
Add item
Sort Element
Debugging
Build Application
P5 Produce a report with explanations that outline the coding standard you have used in your code while developing the application, evidenced this with screenshots and annotations.
Add item
Sort Element
M4 provide in a word format an evaluation which includes how the debugging process has been used and was helpful in developing a more secure, robust application to solve the problem outlined in your chosen scenario.
Debugging
Obtain top-quality assistance with Unit 3 Working in Partnership and Health Social Care assignments, along with Level 5 assessment support.
Build Application
D4 provides in a word format a critical evaluation of why a coding standard is necessary for a team as well as for the individuals.
In this section, we have used a proper naming convention for writing code. In this section we have written the soft code it will make the code more readable and flexible in the future. Proper coding format makes the code more readable and flexible. In this section, we have used the object-oriented programming which makes code reusable and divides hard code into a small unit module which also helps to make code easy for testing and debugging. In the program, we have used proper naming convention and used more classes instead of writing hard code. This application is used for sorting element using bubble sort.
Here I have used the proper naming convention in which I have to keep in mind variable name should not start with number and keyword and I have also not used any special keyword. If there is space in variable declaration then I used underscore for blank spaces. I have to give meaningful naming convention and this is helpful in understanding which variable is used for what. I have also chosen proper data type as per input element and identify which identifier should be used for which element. This makes our code memory management and it also helps to increase the execution speed.
Here I have used classes which break down complex code into the small module. Here I have used an object-oriented concept like inheritance. Inheritance helps for reusability of code. There is a different type of inheritance in C#.net .C#, the net is case sensitive programming language so we have to keep in mind use proper naming and declaration because it makes difference in small and capital letters. Inheritance is widely used and there is a different type of object-oriented programming language and inheritance help to reusability of code and it also helps to reduce writing and the testing code of programming. It also helps reduce the budget of a project due to reusability of the coder.
We have developed bubbles programming in windows application and here we have used C#.net code. It is an advanced programming language which also provides advanced concept like single inheritance and multiple and multilevel but multiple inheritances directly cannot be used in C#.net so to overcome this problem .net provide interfacing concept. I have used different controls in the windows application like list box and text box, label button. For naming textbox, I have used text tag with textbox example txtadditem. For a label I have used LBL naming convention and list box I have used .lst naming convention. For a button, I have used the btn naming convention. I have used a different collection like array and list and used arr naming convention for array and list collection I have used lst naming convention. I have also write code for validation for item ads. I have to write code for clear textbox item and used focused method for a focus cursor on the textbox after clear and add an item into the list box. Listbox we used for add multiple items into the list box.Listbox help to view multiple 8item into list box control. Textbox control help to accept the inputs from the user at runtime and label help guideline to a user what user has to enter. Button used to add the sorting code on click and it will show the result after clicking the buttons and bubble sorting code we have written on the click event. This naming connection helps to make the code more readable and understandable and flexible. I have used naming convention as per company standard.
Get Higher National Diploma Assignment Help By Miracleskills.Com
Scenario B (Fuel efficiency calculator).
According to studies backed by the department of energy, the average car will be at its advertised MPG at 55 mph. But as the speed increases:
- 3% less efficient at 60 mph
- 8% less efficient at 65 mph
- 17% less efficient at 70 mph
- 23% less efficient at 75 mph
- 28% less efficient at 80 mph.
Write a program that calculates the fuel consumption of a car at these speeds. The user should be able to input the advertised fuel efficiency in Miles Per Gallon and the program should display fuel efficiency of the car at the speeds indicated above. The Program should allow for the % less efficiency to be increased or decreased for the mile per hour (mph) as well, if required by the user.
Scenario B (Fuel efficiency calculator)
Here I have selected scenario B for calculating fuel efficiency and I have developed a program in C#.net in a Console application.
Algorithm
Step 1: Start
Step 2:Declare variables mpg,miles per day, price of gas
Step 3:
Take inputs for MPG
Take inputs for miles per day
Take inputs for price of gas
Step 4:Calculate
GalUsed = Perday / MPG; //calculate gasolin used
PricePerday = GalUsed * fuel_Price; //Calculate Price per day
Step 5:
//Display result for speed 55
//Display result for speed 60
//Display result for speed 65
//Display result for speed 70
//Display result for speed 75
//Display result for speed 80
Step 6 : End
Access Level 4-Unit 1 The Travel and Tourism Sector Assignment Help along with tutoring services from the UK!
Conclusion
In this assignment, we have don many tasks as per requirement. Here we have studied what is an algorithm and here I have used C#.net programming.C#.net programming is object-oriented programming and It helps to reduce code and increase the flexibility of code. This assignment we have also helped to decrease the complexity of the code and it makes the code more robust and flexible. Here I have written code for console and windows application. In GUI windows application for bubble sort and used event-driven code. Here I have used classes which break down complex code into the small module. Here I have used an object-oriented concept like inheritance. Inheritance helps for reusability of code. There is a different type of inheritance in C#.net .C#, the net is case sensitive programming language so we have to keep in mind use proper naming and declaration because it makes difference in small and capital letters. Inheritance is widely used and there is a different type of object-oriented programming language and inheritance help to reusability of code and it also helps to reduce writing and the testing code of programming. .Here I have used a mouse click event-driven program and also used the different control for accept input and display result. The class diagram is an example of the relationships between the classes in the Unified Modeling Language (UML) and the dependencies of source code. In this class diagram, a range of class describes the methods in the object and the variable; this is the entity including in program also the entity representing the unit of that element. Here I have used object-oriented programming like inheritance for increase code reusability and make code easy to test and increase the execution of the flow. A flow chart is used to understand the flow of the code and control.