Professional Documents
Culture Documents
PRABIN POUDEL
1|Page
INTERNATIONAL SCHOOL OF MANAGEMENT AND TECHNOLOGY GAIRIGAUN,
TINKUNE, KATHMANDU
NEPAL
Each student must submit their assignment as guided in the assignment brief. The students are guided
what sort of information is to produce to meet the criteria targeted. Some tasks might require group
work, but the student must produce individual assignment.
Scenario
The P.K college of Kathmandu has been teaching the course of Information Technology, Hotel
Management and Bachelor in Business Administration. The students of this college have to submit an
2|Page
assignment at the end of the semester. The assignment is given to the respective subject teacher. He/she
will check the assignment and provide the feedback or result. There is an assignment department to
receive an assignment from the student and dispatch to the teacher after checking. After this the
assignment department contact student for the redoing the assignment including the lagging requirement.
Till now the department performs it manually by keeping a record at the register. But with an increase in
the number of students, the department is facing the problem to manage the flow of work. So the College
3|Page
administration has decided to build a desktop application to handle all these records. The name of the
project would be "Assignment Management System”.
In order to meet the prerequisite requirements, you have to demonstrate certain knowledge and skills,
which the management will judge on the basis of the application, you have developed.
Part 1
1. Present a mini research project both in the form of a report and as a presentation. You will need
to explain what an algorithm is, with examples of their use, comparing their efficiency against
brute forcing, and how it will relate to the application development process, down to the
implementation in a suitable language. Research could be conducted on your choice of
algorithms, including sorting and searching data or encryption/decryption,
compression/decompression.
Note: prepare a presentation for ten-minutes using Microsoft® PowerPoint® style presentation to be
presented to your colleagues. The presentation can include links to performance data and a bibliography
using the Harvard referencing system. You are required to make effective use of headings, bullet points
and subsections as appropriate.
Part 2
The research and development team you work with have been tasked with further investigation into how
best to build more efficient, secure software. You have been asked to look into programming paradigms
and the advantages and disadvantages of using different programming language approaches.
You will need to create a report covering findings from research into the characteristics of
different programming paradigms – procedural, object-orientated and event-driven programming.
Your report should include an explanation of each paradigm, an analysis of suitable IDEs, and
an evaluation of source code that would be generated for an application.
4|Page
Part 3
You are required to make use of appropriate structure, including headings, paragraphs, subsections and
illustrations as appropriate, and all work must be supported with research and referenced using the
Harvard referencing system.
As part of the application process they senior management team want to see that you can implement
algorithms using an IDE as required.
You are asked to create a fully working, secure application that has been developed using an IDE and
adhere to coding standards.
5|Page
Pass Merit Distinction
LO1:Define basic algorithms to carry out an operation and outline the process of programming an
application
P1 Provide the definition of what M1 Determine the steps taken LO1 D1 Examine the
an algorithm is and outline the from writing code to execution. implementation of an algorithm
process in building an in a suitable language. Evaluate
application. the relationship between the
written algorithm and the code
variant.
LO2 Explain the characteristics of procedural, object oriented and event driven programming, conduct
an analysis of a suitable Integrated Development Environment (IDE)
P2 Give explanations of what M2 Analyze the common LO2 D2 Critically evaluates the
procedural, object oriented and features that a developer has source code of an application
event driven paradigms are; their access to in an IDE. which implements the
characteristics and the programming paradigms, in
relationship between them terms of code structure and
characteristics.
LO3: Implement basic algorithms in code using an IDE.
P3 Write a program that M3 Use the IDE to manage the LO3 D3 Evaluate the use of an
implements and algorithm using development process of the IDE for development of
an IDE. program. applications contrasted with not
using an IDE.
LO4: Determine the debugging process and explain the importance of a coding standard.
P4 Explain the debugging M4 Evaluate how the debugging LO4 D4 Critically evaluate why
process and explain the process can be used to help a coding standard is necessary in
debugging facilities available in develop more secure, robust a team as well as for the
an IDE. applications. individual.
6|Page
Programming 2019
Note: Please access HN Global for additional resources support and reading for this unit.
For further guidance and support on report writing please refer to the Study Skills Unit
on HN Global. Link to www.highernationals.com
Other Recommendations:
I declare that all the work submitted for this assignment is my own work or, in the case
of group work, the work of myself and the other members of the group in which I
worked, and that no part of it has been copied from any source. I understand that if any
part of the work submitted for this assignment is found to be plagiarized, none of the
work submitted will be allowed to count towards the assessment of the assignment.
Table of Contents
Prabin poudel(HND/ First Semester) Page 8
Programming 2019
Introduction:.........................................................................................................................1
Algorithm:..............................................................................................................................6
Advantages of algorithm:.......................................................................................................6
Disadvantages of algorithm:..................................................................................................6
Features of algorithm:............................................................................................................6
Characteristics of algorithm:..................................................................................................7
Waterfall model:.....................................................................................................................8
Conclusion:.........................................................................................................................15
Task 2[M1]..........................................................................................................................16
Introduction:.......................................................................................................................16
Code execution:....................................................................................................................18
Preprocessor:........................................................................................................................19
Linker:..................................................................................................................................19
Compiler:..............................................................................................................................20
Interpreter:............................................................................................................................21
Conclusion:.........................................................................................................................23
Task 4[P2]...........................................................................................................................23
Introduction:.......................................................................................................................23
Demerits of pop:...................................................................................................................25
Principal of pop:...................................................................................................................25
Basic IO:...............................................................................................................................25
Control structures:................................................................................................................30
Arrays:..................................................................................................................................31
Array list:.............................................................................................................................32
Structure:..............................................................................................................................33
Union:...................................................................................................................................34
File handling:.......................................................................................................................35
Relationship of procedure oriented program (POP), object oriented program (OOP), event
driven program:....................................................................................................................40
Conclusion:.........................................................................................................................43
Task 5[M2]..........................................................................................................................43
Introduction:.......................................................................................................................43
IDE:......................................................................................................................................43
Toolbox:...............................................................................................................................44
File tool:...............................................................................................................................45
Edit tool:...............................................................................................................................46
Debugging process:..............................................................................................................47
Database connection:...........................................................................................................48
View tool:.............................................................................................................................48
Solution explorer:.................................................................................................................49
Build tool:.............................................................................................................................50
Auto type:.............................................................................................................................51
Conclusion:.........................................................................................................................52
Task 7[P3]...........................................................................................................................52
Introduction:.......................................................................................................................52
Conclusion:.........................................................................................................................77
Task 8[M3]..........................................................................................................................77
Introduction:.......................................................................................................................78
IDE:......................................................................................................................................78
Add form:.............................................................................................................................80
Database connectivity:.........................................................................................................85
Conclusion:.........................................................................................................................88
Task 10[P4].........................................................................................................................88
Introduction:.......................................................................................................................88
Debugging:...........................................................................................................................89
Debugging process:..............................................................................................................89
Conclusion:.........................................................................................................................95
Task 12[P5].........................................................................................................................95
Introduction:.......................................................................................................................95
Coding:.................................................................................................................................95
Coding standard:..................................................................................................................95
Commenting code:...............................................................................................................97
Indentation:..........................................................................................................................98
Intelligence:........................................................................................................................100
Variable declaration:..........................................................................................................100
Conclusion:.......................................................................................................................101
Task 11[M4]......................................................................................................................101
Introduction:.....................................................................................................................102
Commands:........................................................................................................................103
Critical analysis:.................................................................................................................104
Break points:......................................................................................................................105
Conclusion:.......................................................................................................................107
References.........................................................................................................................115
Task 1 [P1]
Provide a definition of what an algorithm is and outline the process in building an
application.
Introduction:
Here in these task I will discuss about algorithm advantages, disadvantages, characteristics
and limitation. Along with the different examples of algorithm. Here in these task as per
requirement I will provide and detail about process of outline to be functioned while using or
building application.
Algorithm:
It is a finite group which operate the formula and set the steps of guidelines to figure out the
solution for a particular program.” An algorithm (pronounced AL-go-rith-um) is a procedure
or formula for solving a problem, based on conducting a sequence of specified actions. A
computer program can be viewed as an elaborate algorithm. In mathematics and computer
science, an algorithm usually means a small procedure that solves a recurrent problem”.
( Margaret Rouse, 2012).According to author algorithm is a procedure which solves a
problem based on conducting a sequence. Never the less in my point of view algorithm is a
set of calculating tools which is used to solve the problem of a program especially in
computer.
Advantages of algorithm:
1. It is very easy to debug.
2. It is more flexibility.
3. Tasks are splits in multiple task leads to solve the problem easily.
4. Easy to understand without programing language.
Disadvantages of algorithm:
1. It is time consuming.
2. Program are step plan or step guides.
Characteristics of algorithm:
1. Clear-cut: algorithm must be clear and each phases/steps of algorithm should be clear
and most lead only to one meaning.
2. Input: an algorithm most be well defined and all its value should have 0 or more.
3. Output: algorithm most have one or more outputs and always should match desired
outputs.
4. Feasibility: algorithm should more used the available resources.
5. Independent: algorithm most have step by step directions and should be independent
of any other codes.
Always algorithm is written in systematic procedure where all the problem is seen in a
program. While writing algorithm users should concern about the knowledge of problems
that are arises.
Following are the most important SDLC model found in software industry:
1. Waterfall model
2. Iterative model
3. Spiral model
4. V-model
5. Big bang model
Waterfall model:
Waterfall model is also known as classic life cycle model. In waterfall model each phase
most be complete in order to start/begin the next phases and there is no overlapping of
phases. Waterfall model is a linear-sequential life cycle model where the progress is seen as
flowing towards downwards like a waterfall. Following are the phases of waterfall model.
Requirements:
It is the first phases of waterfall model in which developer most understand or define what
most be design of software and how does the function and purpose of design actually works,
should be defined in requirements phases. In requirements phase’s inputs and outputs of the
software are studied and marked/plain the software development.
System design:
Implementation:
In implementation phases the system design is studied and the inputs from system design,
codes are first implemented in small programing called units. Which are going to be
integrated in next stages. Then each units are developed and tested for its functionality
known as unit testing. Here in implementation source code, database, user documentation are
tested.
In integration and testing the units developed in implementation phases are integrated in
system after testing each units. Then the software design needs to go through constant
software testing in order verify that the units of codes are free of error or any flaws. Testing
part is done to provide the client/users application free of error or bugs.
Deployment of system:
After the completion of each functional and non-functional testing of software is done, then
the product is deployed over the customer environment or released into the market.
Maintenance:
After the installation of software the maintenance parts evolves as software needs to be
updated and modify the system to alter the individual to improve the performance. These
modification arise due to change request from customers or any detect problem uncovered in
the system. Clients./users are provided with regular maintenance, update and support for the
developed software.
Above definition and phases of waterfall model describes that why it is most essential for
developing software. As it provides wide range of platform to developer while developing
software. It provide all the stages that needs to be implement while developing software. So
for developing cheque management system I have used waterfall model of System
Development Life Cycle.
Step 6: Data is inserted to database or it can be viewed in application in data grid view
Step 7: End
Conclusion:
Here in these task as per requirement I have explain all detail about algorithm and its working
process. As per scenario each and every application functions, algorithm is shown in step
wise.
Linker:
A linker combines one or more object files and all these object files are merged I one
destination file and all the file merged are compile by the program. “Also called link editor
and binder, a linker is a program that combines object modules to form an executable
program. Many programming languages allow you to write different pieces of code, called
modules, separately. This simplifies the programming task because you can break a large
program into small, more manageable pieces. Eventually, though, you need to put all the
modules together”. (Vangie Beal, 2013). According to author linker is editor or blinder
written in different pieces of code called module. Never the less in mine point of view linker
is programing facility provided by IDE where it merged various object and finally compile
the merged file.
Roles of linker:
Compiler:
Compiler is function provided by IDE to users where its main work is to compile the source
code in the form of machine level language i.e. in the binary form 0 and 1.” A compiler is a
software program that transforms high-level source code that is written by a developer in a
high-level programming language into a low level object code (binary code) in machine
language, which can be understood by the processor. The process of converting high-level
programming into machine language is known as compilation.” (tech, 2012). According to
author compiler is software that converts source code into the form of high level language.
Never the less in mine point of view compiler is features of program which helps to change
the code into machine understandable language.
Roles of compiler:
Interpreter:
Interpreter works is to convert each sentence of source code into high level of language. “An
interpreter is a computer program that is used to directly execute program instructions written
using one of the many high-level programming languages. The interpreter transforms the
high-level program into an intermediate language that it then executes, or it could parse the
high-level source code and then performs the commands directly, which is done line by line
or statement by statement.” (tech, 2012). According to author interpreter is programming
language which changes high level language into intermediate language. Never the less in
mine point of view interpreter is features provided by IDE which works similar to compiler
but interpreter converts each source code at a time.
Conclusion:
Here in these task as per the task requirement I have explain how does a code works in mine
and detail explanation of working process of code along with appropriate screenshots and
examples.
Task 4[P2]
Give explanations of what procedural, object oriented and event driven paradigms are
their characteristics and the relationship between them.
Introduction:
Here in these task I will detail explain about programing paradigms, object oriented
programs, event driven paradigms along with their example, features, characteristics,
limitation.
Programing paradigms:
In simple terms programing paradigms can be said as finding a way or style for programing.
Programing paradigms is also known as programing style, programing culture, programing
technique. Programing paradigms is a way of classifying of programs with their function and
features. “A Paradigm can be thought of as a philosophical or theoretical framework. This
framework is then used as the basis of a new way of viewing problems.” (zeus, 2016). For
example it can be function to function calling. Programing paradigms which are used
commonly are listed below.
1. Declarative
2. Procedural
Demerits of pop:
1. It is not related to real objects.
2. Does not suitable to real world.
3. Takes much more time while compiling because it works on systematic process.
4. No data security as data is transfer to function to function.
5. It needs object oriented program.
Principal of pop:
Basic IO:
In computing world I/O is input output devices which helps to communicate between
computer processing systems. Basic I/O is function which performs under input, output
devices. Mouse, keyboard and joystick are the example of input devices whereas monitor
printer are output devices. Through mouse keyboard it takes the inputs and displays the
output with the help of screens. In programing data are taken in abstract form, program needs
data as the variable name which is input operations and display as the output operation. Pop
provides input and output operations in program with header <stdio.h> where combine with
different header like getchar(), putchar(), gets(), puts(), getch(), scanf(), printf(), functions.
Conditionals:
Example of conditionals:
Arithmetic operator:
Logical operator
Relational operator
Equality operator
Bitwise operator
Increment/decrement operator
Assignment operator
Control structures:
In program the main work of control structures is determine the order of program in which
statements is executed along with the base of parameters.” A control structure is a block of
1. selection control
2. sequential control
Example of Array:
Array list:
Array list is a chaining process of data in one location. It is one of the strongest array. It store
as header file in the program and it is mainly used as reference data for programing. It has
included memory plank which allow to stored difference data as the information in single
location. The main issue of array list is fixed in length so addition of element is less if it is
Structure:
Structure are the program with single name where data are included by more variables with
different data types. Structure helps solve the various complex data and organize the data in
very meaning full way. Struct is the keyword which helps to explain/create the structure.
These are the elements which must be added while initializing structure variables while
compiling data.
Example of Structure:
Union:
Union is known as user defined data types. Union has several sizes and types of data. It has
more than one variables at member location so in union only one variables has permission to
access at a time where as other garbage values are stored in others members. In some of the
procedural oriented language union is also used as keyword. The concept of union is similar
to structure so union follows the same structure.
Example of Union:
File handling:
In some function which has the ability to perform the file operations. Here are the some
example of file handling fopen(), putc(), fprintf(), fscanf() and fclose(). In computer system
file handling works as secondary memory of the computer system. File handling helps to
stored data permanently so that the risk of data loss is less. Above mention function are
already define in the pop as Header file <stdio.h> which helps to give simple terms file is the
collection of data and it helps stored the data permanently. In pop there are
i. Data encapsulation:
ii. Inheritance:
It refers to the sharing of properties or behavior from one object to another object. In
inheritance it adds another class to retrieve the class of another object. For example child to
parent relationship is perfect for inheritance. As child inherit properties from its parent.
1. Single inheritance
2. Multilevel inheritance
3. Multiple inheritance
4. Hierarchical inheritance
5. Hybrid inheritance
iii. Polymorphism:
Abstract class is very similar as abstraction of object oriented program OOP. Abstract class
in event driven program only display the necessary operation required by users and hides all
the backend operation of program. Mainly abstract class works for the security purpose in
event driven program. It is very useful for creating hierarchies of forming various other class.
Child inheritance inherits the same class abstraction for the program
Interface:
In simple terms an interface is the collection of behavior which is implemented in class. Class
and interface are interrelated or has similar terms. In interface we have to declare value for
variables. It is an explanation of the actions that what object can do. Interface auto generates
the default keyword and access modifier which is done by the help of modifier.
Generics:
It is the kind of function which is used to declare variables type. Generics helps to know
compiler and computer to avoid repletion of code, except for the data structures. Generics
used to define any types of data integer values in a class and helps to compile computer
without any errors in execution of code. Generics have special role to define the maximum
number of data type, integer values in one class or program.
Delegates:
Delegates is the short form of delegation. Where delegation accept the request of object itself
or in other case it passes to other object for completion of program. Delegate simple a pointer
Events:
It is program which occurs at the time when the signal is send by objects by reflecting work
has taken place. Action is only perform when the user interacts the program. In events class
be can be defined as events. Events is handled with only user interaction or similar sources.
Event handles the code when it gets notification of event.
Relationship of procedure oriented program (POP), object oriented program (OOP), event
driven program:
Relationship between POP, OOP event driven program are characterize with its
characteristics, limitation, function along with appropriate example.
Conclusion:
Here in these task as per the task requirement, I have explain all the function, characteristic,
limitation of each programing language like object oriented programing language (OOP),
procedure oriented programming language (POP), event driven programing language along
with its appropriate examples.
Task 5[M2]
Analyze the common features which the developer has access to in an IDE
Introduction:
Here in these task I will explain detail about mine IDE Microsoft visual studio 2103 along
with its features, roles and tools that are available in mine IDE. For proper development and
error free application, a great and modern tool equipped IDE must be selected.
IDE:
It is software program that helps in development process of an application/software. All those
application/software are develop through the assistance of IDE only. IDE stands for
integrated development environment. In IDE each and every appropriate tool, function, roles
are included in program which are necessary for developer. IDE is a software program
designed, developed to merged more code in a single platform of an application. Function
roles and features are differ according to IDE. In mine project cheque management system
Microsoft visual studio 2013 was used to develop the application. “An Integrated
Development Environment (IDE) is an application that facilitates application development. In
general, an IDE is a graphical user interface (GUI)-based workbench designed to aid a
developer in building software applications with an integrated environment combined with all
the required tools at hand.” (tech, 2012). According to author IDE is and GUI based
application which is designed to develop a program. Never the less in mine point of view IDE
is a software tool which provide visual programming to developer to develop the program.
Different features are found in mine IDE mostly common features found in all types of
modern IDE are compiler, interpreter, debugging and execution of code with the help of
single graphical interface. These roles and features most be posed by all kind of IDE. To
compare and meet the developer needs and IDE must have auto generate code, debugging
process.
Toolbox:
Toolbox is an important part of IDE in visual studio. All the items needed to design
application are found in toolbox. Mainly toolbox is concern about designed development of
application. It top help to proper run of application by providing coding environment to
developer. All the instance of code is written in set of design provide by toolbox.
File tool:
It also plays and important features in developing process of a program. Here in file tool a
developer may find all the appropriate keys like new project can be derived from file tool,
project can be exit, we can save project as well as we can add source to code from file tool.
Whereas file tools have many features in it but its main function is to manage code and save
Edit tool:
It is also one of the key features in visual studio. Where edit tool function the editing role in
visual studio. All kinds of editing option like edit, delete, cut, copy, paste, undo, redo
attributes can be find here on edit tool. We can change delete from code with the help of edit
tool. Once mistakenly delete too can be replaced from edit tool by pressing undo button. So
for editing purpose all kind of buttons are available in visual studio which makes easier to
developer while in developing phase of program.
Debugging process:
For error free of programs debugging plays as important role. It determines whether written
statements of code is error free or not. Debugging maintains the standard of code which
shows the error in code and helps to solve the problem. In mine visual studio debugging
facility help me a lot while developing project. But sometimes debugging process is very
time consuming and it may take longer time to debug than that of writing code. Debugging is
the facility given by IDE to developer to develop a program free of problem and bugs.
View tool:
It is also a tool found in mine IDE visual studio. In view tool all the explorer and details
about code is found in view tool. Here in view tool entire features of IDE is allocated in it.
All the sub options which are important for developing a program is included in view tool
Solution explorer:
In solution explorer all details about project can be found. Server explorer shows all the
information about project. Code, form, resources used by application are allocated in server
explorer. Here class that derived while starting of code can be viewed or edit/changed from
server explorer. I have showed mine project solution explorer i.e. cheque management
system. All the heading resources properties are display in solution explorer where developer
can gets all detail about project from solution explorer.
Build tool:
In build tool a developer may find all the appropriate tools for all kinds of solution which
development may need in developing application. From build tool only developer may
publish a project for functional working of project.
Auto type:
It is also one of the important features of visual studio where IDE itself detects the code
variant that developer is trying to use in development of software.
Conclusion:
Here in these task as per the requirement I have shown all the important features available in
mine IDE visual studio 2013. Each and every IDE has their own features and roles while
developing application.
Task 7[P3]
Write a program that implements an algorithm using an IDE.
Introduction:
In these task I will explain how the algorithms works which I have already discuss on task 1.
These task is all about algorithm used in mine scenario cheque management system. In these
task here I will implement the algorithm that I have explain in task 1. In addition along with
algorithm here I will setup of mine project cheque management system in the form of CD.
Conclusion:
Here in these task as per requirement I have utilizes and shown algorithms used in mine
project in these task all screenshots of form implementation is shown with validate output
along with source code of each form.
Task 8[M3]
Use and IDE to manage the development process of the program
Introduction:
Here in these task I will show the development process of Assignment management system.
In mine project I have used visual studio as IDE to develop program.
Add form:
For adding new form in project we need to click on solution explorer, click on add, windows
from application and name of form. While creating project number of form is needed so in
my IDE it is very easy to add from.
Login form:
Main form:
User ID form:
Cheque entry:
Database connectivity:
It is very essential to be connection between database and application. Without database
application cannot stored or save data. Similarly from server explorer we can bring whole
database in IDE with the help of connection of server.
SQL compete:
One of the important tools of visual studio is compatible of SQL server in visual studio.
Through the SQL server developer may view all the tables of SQL that has been created as
back end data storage. Developer can easily connect a connection between project and SQL.
Object browser:
It is also one of the tools of visual studio where developer may have great platform, where the
object browser helps to manages classes, function, types and controls can be inspected.
Class view:
previously.
Conclusion:
As per the task requirement here I have shown all details steps of working process and
creating project in mine IDE visual studio. All the snapshots of form designed and important
Task 10[P4]
Explain how debugging process can be used to help develop more secure robust
application:
Introduction:
Here in these task as per the requirement of task here I will explain detail about debugging.
How does the debugging works in mine project Assignment management system in visual
studio 2103.
Debugging process:
Debugging is a facility given by IDE to software developers to find out and solve the
bugs/error of software. Debugging is an integral part of software testing. Moreover
debugging is part of whole development process of application/software. In the modern
technology IDE, after start of an application it executes the function of debugging and tries to
figure out the errors in code. After the start of writing code it IDE starts the process of
debugging the code. Unit tests, pair programming and unit tests codes are approaches for easy
process of debugging. After the completion of codes while executing the code debugging
process starts and tries to display the error. While for checking of certain portion of code we
can create a break point for code. As we enter the debug mode we can find the problems.
After the debug mode we can solve the problem/bugs of application. Then only the
debugging process is complete.
Debugging:
The first step in the debugging process starts from the compilation of the program to the
debugging of codes through the debugger. While debugging, it sorts out the bugs or errors
from the codes and present them. Hence, the defects are found at this stage.
Test cases:
At these stage, the process of testing those cases are carried out. Testing is done to make the
changes and executes the codes correctly.
Once the case is tested, we need to evaluate what possible changes can be applied to it.
During the evaluation process, error full codes are applied with the proper correction, which
gives the expected output.
Results:
Here are the following function that Microsoft visual studio (IDE) helps while debugging
process of an application are explain below:
Tracer:
It is function/facility provided by visual studio (IDE). Where tracer is start at the application
process. It is used to logged, note the details of program. Tracer contains data. Data contain in
tracer helps for solving problems/bugs of an application through various sources. The expert
diagnose the problem depending on those data and their data types found in tracer. For better
debugging of application developer can used software application to solve the bugs of
application. In Microsoft visual studio tracing of application is very helpful at the time of
debugging process of application.
Run mode:
Run mode is facility of visual studio (IDE). Here visual studio ropes running of an
application while debugging process is in action. The debug function started without the
debugging process of application is in action. It uses currently launched configuration mode.
All of the launched configuration mode are mostly supported to run mode. In my visual
studio (IDE) it supports the run and debug mode. Visual studio maintains the debugging of
application while running application and after pressing stop buttons it ends the program. In
my IDE visual studio run mode is at top ribbon where which to works as debug mode.
Break points:
Scale bar:
Scale bar is also one of the debugging facilities. Where developer can easily find the scale for
certain portion of coding. Developer can view the scale bar in left hand side which show bar
containing up to the new stage of coding convention.
Here are snapshots for debugging process found in IDE that is Microsoft visual studio 2013.
Command window:
Command window helps to debug testing, editing, building. Not only for debugging facilities
but it is used for unnecessary moussing while using visual studio. By pressing
CTRL+ALT+A command window is open.
Task 12[P5]
Outline the coding standard you have used in your code.
Introduction:
Here in these task I will elaborate briefly on coding standard on used in mine project cheque
management system. In mine project cheque management system Microsoft visual studio
2013 was used as an IDE for developing application.
Coding:
Coding is part of software development process where with the help of coding only
development of software, program and application. Various application like Facebook,
google are the example of top application but without coding these application has no value.
Coding standard:
For better development and free from bugs/problem a standard coding system must be
implement. As coding is an important part of development of program. There are many rules
to follow for maintaining a standard coding. Standard coding may differ according to IDE or
software program. Here are the some rules to follow for standard coding in mine IDE
Microsoft visual studio.
Checking of variuous forms in cheque manaegement system as per the requiremnt of task.
Here in cheque managemnt form like bank entry, cheque entry, party entry, userid.
Commenting code:
It is also part of coding process and important features in development cycle of a program.
Commenting code is placing of description for code so that the other developer who uses the
code understands it properly. It states descriptive explanation of what code is executed and
what code is doing. By the help of commenting code only developer understand the
theoretical explanation of codes. Commenting code can be found in various types as it differs
as IDE. Single line commenting is detonated by // whereas for multiple line */ is used for
commenting code.
Indentation:
It is also an important rule for standard coding, where indentation is a process of providing
space in code by increasing or decreasing the space between the left, right margin from the
code. By indentation it is very easy for developer for knowing the comment of code. If code
is indentation then developer can easily find the starts and end of code. Here by assigning
space or tab while starting the code at the logical line helps to compute the line which in last
is used as gathering/grouping of code.
Variable declaration:
For standardize coding variable declaration also plays and important role. Declaration of data
types and class for using same class for other coding part is known as variable declaration.
Values and data types must be declare at the starting point of coding. Where once declare
variable can be used more often can be used as per its necessity. Variable declaration is used
Conclusion:
As per the task requirement here I have shown the rules to follow for proper standard of
coding. Standard coding determines the work of programmer as well as with these rule one
can develop program free of problem.
Task 11[M4]
Evaluate how the debugging process can be used to help develop more secure robust
application.
Similarly debugging process is step about how does the application perform the debugging
services. Debugging process is step generation of code. After the compilation of code a
programmer makes the code complete and ready to compile. Always programmer should
compile the program. While compiling the program we can figured out that the connection
between application is established or not. So always at first program must be compile and
then users applies for debugging procedures. After debugging a program debugging helps to
Commands:
Following are the points developer must concerned about debugging process before start of
the code:
Before the execution of code or compiling code for debugging. Developer should analyze and
must know basic coding process for developing a program. User having coding knowledge,
helps of too fix the bugs of problem manually. Auto detection of code error helps to
understand the code and makes much easier for developer what codes actually executed.
Developer should try to detect the bugs before debugging the program. As IDE provides
debugging services for detection of code. Therefore Developer most give effort to detect the
problem in application. As debugging process detects the bugs developer most be ready to
solve the problem. Therefore for by knowing coding process help to develop full operational
application.
Before the start of debugging process developer must know the knowledge of procedures.
Developer must be conscious where to apply the trace point in application. They should also
must be curious to find where stack traces are found and why to locate the stack traces at that
point. If the developer poses stack traces knowledge then it help them to know pre debugging
process and builds a secure application.
Problem detection:
Clear idea:
Developer while developing application related to large scale of coding they must use
effective processed for finding a bugs/problem. Developer developing application should be
clear on standard of codes and debugging process. Each and every statement of codes should
be clear and have knowledge that how that programs work and what does it function in
application.
Critical analysis:
We all know that problem arise when there is willing to know something. So we cannot
denied that fact that application code we create are free of bugs and problem. So figuring out
the bugs of application is very challenging but with the help from debugging developer can
deal with the problems/bugs. While developing cheque management system various bugs and
problem were issued but with the help of debugging tool it help me to solve the error. Each
and every developer face the error while developing program in that case they must be well
prepared to dealt with program. Due to numerous amount of code and statements it is very
difficult to find out the bugs so by selecting statements and debugging systematic procedures
of the program. And then after debugging programmer can identified the error and can
manage the error them through system handler.
For the beginners of debugging it is most essential tools for finding error in program and it
helps them to dealt with program. Mostly in modern IDE debugging tool facilities are
included. In mine IDE visual studio debugging process is available. For proper execution of
debugging step, a code execution must be implement. For checking particular lines of code
we can add break points. When we start the debugging process after the completion of code.
Debugging detects all the error/problem and then after completion it must be solved. Hence I
can said that debugging tool is complete weel function tool which helps to build a program
free of bugs/problem. So debugging helps to build secure and robust application assigning the
debugging functions.
Snapshots showing the error code message while running in visual studio
Break points:
One of the main debugging features in visual studio is break points where developer can set a
break points of code by double clicking in scale bar. Break point is denoted by red circle
point. Break point verifies bunch of code needs to be checked whether upper code is free of
error.
Conclusion:
Here in these task as per the requirement I have explain debugging method and how
debugging help me to build a program error/problem free. Debugging is execution of code
where it checks the code, finds error/bugs. There are significant roles that debugging plays
while developing an application.
Introduction:
Here in these task I will elaborate briefly on coding standard on used in mine project cheque
management system. In mine project cheque management system Microsoft visual studio
2013 was used as an IDE for developing application.
Coding:
Coding is part of software development process where with the help of coding only
development of software, program and application. Various application like Facebook,
google are the example of top application but without coding these application has no value.
Coding standard:
For better development and free from bugs/problem a standard coding system must be
implement. As coding is an important part of development of program. There are many rules
to follow for maintaining a standard coding. Standard coding may differ according to IDE or
software program. Here are the some rules to follow for standard coding in mine IDE
Microsoft visual studio.
Checking of variuous forms in cheque manaegement system as per the requiremnt of task.
Here in cheque managemnt form like bank entry, cheque entry, party entry, userid.
Commenting code:
It is also part of coding process and important features in development cycle of a program.
Commenting code is placing of description for code so that the other developer who uses the
code understands it properly. It states descriptive explanation of what code is executed and
what code is doing. By the help of commenting code only developer understand the
theoretical explanation of codes. Commenting code can be found in various types as it differs
as IDE. Single line commenting is detonated by // whereas for multiple line */ is used for
commenting code.
Indentation:
It is also an important rule for standard coding, where indentation is a process of providing
space in code by increasing or decreasing the space between the left, right margin from the
code. By indentation it is very easy for developer for knowing the comment of code. If code
is indentation then developer can easily find the starts and end of code. Here by assigning
space or tab while starting the code at the logical line helps to compute the line which in last
is used as gathering/grouping of code.
Variable declaration:
For standardize coding variable declaration also plays and important role. Declaration of data
types and class for using same class for other coding part is known as variable declaration.
Values and data types must be declare at the starting point of coding. Where once declare
variable can be used more often can be used as per its necessity. Variable declaration is used
Conclusion:
As per the task requirement here I have shown the rules to follow for proper standard of
coding. Standard coding determines the work of programmer as well as with these rule one
can develop program free of problem.