Docsity

Research Report on Different Programming Paradigms, Assignments of Programming Languages

Toggle sidebar
bg1
1
Programming 2019
Table of Contents
[Part 1]....................................................................................................................................................7
Introduction:.......................................................................................................................................8
Algorithm:........................................................................................................................................16
Features of an Algorithm:.................................................................................................................16
Advantages of an Algorithm:...........................................................................................................17
Disadvantages of an Algorithm........................................................................................................17
An Algorithm's examples.................................................................................................................18
Outline process of Application:........................................................................................................18
Outline Process of Application Models............................................................................................20
Waterfall Model...............................................................................................................................20
Advantages of Waterfall Model.......................................................................................................22
Disadvantages of waterfall model....................................................................................................22
Development Environment...............................................................................................................23
Why we use Development Environment?........................................................................................23
Programming Language...................................................................................................................24
Reason to use C# Programming Language......................................................................................25
Platform Environment......................................................................................................................25
Architecture Design of Application.................................................................................................26
Data dictionary.................................................................................................................................31
Algorithm and Flowchart of some modules.....................................................................................34
Conclusion:.......................................................................................................................................36
[Part 2]..................................................................................................................................................36
Introduction......................................................................................................................................39
Procedural Language........................................................................................................................39
Features of Procedural Language.....................................................................................................40
SUVAS ALE MAGAR (HND/First Semester)
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e

Partial preview of the text

Download Research Report on Different Programming Paradigms and more Assignments Programming Languages in PDF only on Docsity!

Table of Contents

International School of Management and Technology Tinkune, Kathmandu Affiliated to University of Hertfordshire UH BTEC Approved Centre Research Project on Algorithm with Example Submitted By: Suvas Ale Magar (B. Sc.IT / First Semester) Section: F Submitting Date: 24th^ May 2019 SUVAS ALE MAGAR (HND/First Semester)

Table of Contents

[Part 1]

  • [Part 1]....................................................................................................................................................
    • Introduction:.......................................................................................................................................
    • Algorithm:........................................................................................................................................
    • Features of an Algorithm:.................................................................................................................
    • Advantages of an Algorithm:...........................................................................................................
    • Disadvantages of an Algorithm........................................................................................................
    • An Algorithm's examples.................................................................................................................
    • Outline process of Application:........................................................................................................
    • Outline Process of Application Models............................................................................................
    • Waterfall Model...............................................................................................................................
    • Advantages of Waterfall Model.......................................................................................................
    • Disadvantages of waterfall model....................................................................................................
    • Development Environment...............................................................................................................
    • Why we use Development Environment?........................................................................................
    • Programming Language...................................................................................................................
    • Reason to use C# Programming Language......................................................................................
    • Platform Environment......................................................................................................................
    • Architecture Design of Application.................................................................................................
    • Data dictionary.................................................................................................................................
    • Algorithm and Flowchart of some modules.....................................................................................
    • Conclusion:.......................................................................................................................................
  • [Part 2]..................................................................................................................................................
    • Introduction......................................................................................................................................
    • Procedural Language........................................................................................................................
    • Features of Procedural Language.....................................................................................................
  • Example Coding Using Procedural Language.................................................................................
  • Control Statement:............................................................................................................................
  • Looping:...........................................................................................................................................
  • Initialization:....................................................................................................................................
  • Test Expression:...............................................................................................................................
  • Increment and Decrement:...............................................................................................................
  • Array:...............................................................................................................................................
  • Structure:..........................................................................................................................................
  • Pointer:.............................................................................................................................................
  • Function:...........................................................................................................................................
  • Function Name:................................................................................................................................
  • Parameter:.........................................................................................................................................
  • Function Body:.................................................................................................................................
  • String:...............................................................................................................................................
  • File Handling:...................................................................................................................................
  • Limitation of Procedural Language:.................................................................................................
  • Object Oriented Programming language..........................................................................................
  • Features of Object-oriented Programming Language......................................................................
  • Class and Object...............................................................................................................................
  • Data Encapsulation...........................................................................................................................
  • Inheritance........................................................................................................................................
  • Single Inheritance:............................................................................................................................
  • Hierarchical Inheritance:..................................................................................................................
  • Multi-Level Inheritance....................................................................................................................
  • Multiple Inheritance.........................................................................................................................
  • Polymorphism..................................................................................................................................
  • Static/Compile Time Polymorphism................................................................................................
    • Dynamic/Runtime Polymorphism....................................................................................................
    • Limitation of Object-Oriented Programming Language..................................................................
    • Even Driven Programming Language..............................................................................................
    • Key Features and Characteristics of Even Driven Programming Language....................................
    • Limitation of Even driven Programming Language.........................................................................
    • Language and Event Driven Programming Language..................................................................... Relationship and Difference between Procedural language, Object-Oriented Programming
    • Conclusion:.......................................................................................................................................
  • [Part 3]..................................................................................................................................................
    • Implementation of Application (Development Document)..............................................................
    • Conclusion:.......................................................................................................................................
    • Debugging evaluation.......................................................................................................................
    • Debugging Process...........................................................................................................................
    • Debugging Facilities in IDE.............................................................................................................
    • Coding Standard...............................................................................................................................
    • Benefit of coding standards..............................................................................................................
    • Used coding standard.......................................................................................................................
    • Indentation:.......................................................................................................................................
    • Commenting Code............................................................................................................................
    • Variable Declaration.........................................................................................................................
    • Naming Convention.........................................................................................................................
    • Conclusion:.......................................................................................................................................
  • Bibliography.........................................................................................................................................
  • [Part 1]....................................................................................................................................................
    • Introduction:.......................................................................................................................................
    • Algorithm:........................................................................................................................................
    • Features of an Algorithm:.................................................................................................................
    • Advantages of an Algorithm:...........................................................................................................
    • Disadvantages of an Algorithm........................................................................................................
    • An Algorithm's examples.................................................................................................................
    • Outline process of Application:........................................................................................................
    • Outline Process of Application Models............................................................................................
    • Waterfall Model...............................................................................................................................
    • Advantages of Waterfall Model.......................................................................................................
    • Disadvantages of waterfall model....................................................................................................
    • Development Environment...............................................................................................................
    • Why we use Development Environment?........................................................................................
    • Programming Language...................................................................................................................
    • Reason to use C# Programming Language......................................................................................
    • Platform Environment......................................................................................................................
    • Architecture Design of Application.................................................................................................
    • Data dictionary.................................................................................................................................
    • Algorithm and Flowchart of some modules.....................................................................................
    • Conclusion:.......................................................................................................................................
  • [Part 2]..................................................................................................................................................
    • Introduction......................................................................................................................................
    • Procedural Language........................................................................................................................
    • Features of Procedural Language.....................................................................................................
    • Example Coding Using Procedural Language.................................................................................
  • Control Statement:............................................................................................................................
  • Looping:...........................................................................................................................................
  • Initialization:....................................................................................................................................
  • Test Expression:...............................................................................................................................
  • Increment and Decrement:...............................................................................................................
  • Array:...............................................................................................................................................
  • Structure:..........................................................................................................................................
  • Pointer:.............................................................................................................................................
  • Function:...........................................................................................................................................
  • Function Name:................................................................................................................................
  • Parameter:.........................................................................................................................................
  • Function Body:.................................................................................................................................
  • String:...............................................................................................................................................
  • File Handling:...................................................................................................................................
  • Limitation of Procedural Language:.................................................................................................
  • Object Oriented Programming language..........................................................................................
  • Features of Object-oriented Programming Language......................................................................
  • Class and Object...............................................................................................................................
  • Data Encapsulation...........................................................................................................................
  • Inheritance........................................................................................................................................
  • Single Inheritance:............................................................................................................................
  • Hierarchical Inheritance:..................................................................................................................
  • Multi-Level Inheritance....................................................................................................................
  • Multiple Inheritance.........................................................................................................................
  • Polymorphism..................................................................................................................................
  • Static/Compile Time Polymorphism................................................................................................
  • Dynamic/Runtime Polymorphism....................................................................................................
    • Limitation of Object-Oriented Programming Language..................................................................
    • Even Driven Programming Language..............................................................................................
    • Key Features and Characteristics of Even Driven Programming Language....................................
    • Limitation of Even driven Programming Language.........................................................................
    • Language and Event Driven Programming Language..................................................................... Relationship and Difference between Procedural language, Object-Oriented Programming
    • Conclusion:.......................................................................................................................................
  • [Part 3]..................................................................................................................................................
    • Implementation of Application (Development Document)..............................................................
    • Conclusion:.......................................................................................................................................
    • Debugging evaluation.......................................................................................................................
    • Debugging Process...........................................................................................................................
    • Debugging Facilities in IDE.............................................................................................................
    • Coding Standard...............................................................................................................................
    • Benefit of coding standards..............................................................................................................
    • Used coding standard.......................................................................................................................
    • Indentation:.......................................................................................................................................
    • Commenting Code............................................................................................................................
    • Variable Declaration.........................................................................................................................
    • Naming Convention.........................................................................................................................
    • Conclusion:.......................................................................................................................................
  • Bibliography.........................................................................................................................................

1. Present a mini research project both in the form of a report and as a presentation. You will need to explain what is algorithm is, with example 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 requested to make effective use of heading, bullet points and subsections as appropriate. Introduction: This document deals with the application building algorithm and outline process determining the steps taken to write the executable code in addition to implementing an algorithm in the appropriate language, comparison of its viability against brute forcing and its relationship with the correct language in the application development process. Below are the slides used to deliver a 10-minute lecture on the "Algorithm" subject with the suitable bullet points. SUVAS ALE MAGAR (HND/First Semester)

SUVAS ALE MAGAR (HND/First Semester)

SUVAS ALE MAGAR (HND/First Semester)

SUVAS ALE MAGAR (HND/First Semester)

SUVAS ALE MAGAR (HND/First Semester)

Algorithm: Algorithm is described as a problem-solving method based on a step-by-step problem-solving representation where an algorithm is used as a definite method. The programming algorithm can basically be explained as the food recipe where distinct ingredients are listed step-by-step to make a meal described. Well, the term recipe is called procedure in computer lingo, ingredient as input and output as result. A programming algorithm is used to help us comprehend. Calculation, information processing and other associated computer activities are most frequently used. It is essential to remember, however, that it is not a computer code. It is written in English, where it includes a beginning, a middle and an end. Features of an Algorithm:Easy to understand An algorithm has a number of characteristics that are simple to comprehend when it helps people comprehend the solution of issue.  Correctness An algorithm is most needed feature and functions. Since the algorithm only carries the job entered by the user, the right algorithm is required. Whereas, if we entered the wrong algorithm, the result would be undesirable. SUVAS ALE MAGAR (HND/First Semester)

Precision: Algorithm is a step-wise answer to issue. Therefore, each step should be described exactly.  Finiteness: It includes a beginning, a middle and an end as an algorithm. Thus, at a finite amount of steps it stops.  Independent: Each algorithm should be gradually written. With any programming code, each step should be autonomous. Advantages of an Algorithm: An algorithm is often said to address the issue as well-defined tools in sequence. Writing an algorithm has different advantages. Writing an algorithm discusses the solution method in a rational manner to define method and decision-making objectives in order to decrease the job in various smaller steps. In a sequence of tiny solvable sub problems, the issues that are hard to discover can be addressed. While using the decision-making algorithm it will become rational. In addition, using an algorithm will make the method more effective and coherent. Finally, the algorithm issue can be efficiently evaluated. There may be many methods to write a problem-solving algorithm. Disadvantages of an Algorithm The primary disadvantages of an algorithm which time-consuming and required resources are created first as an algorithm that is transformed into a flowchart then to a computer program. The flowchart becomes complicated for complicated logic. Another major drawback of an algorithm is that we can't detect the mistakes. Only when we enter our code into the compiler where the mistakes would be detected can error be discovered. It would therefore also be incorrect to use computer program based on error algorithm. SUVAS ALE MAGAR (HND/First Semester)

Planning: Planning is perhaps the most significant process in the creation of software. In this sentence, it needs customer/client collections that are generally accomplished from the most qualified and experienced developer of software and that need to be documented. After collecting the necessary data from the customer, different techniques are strategy that can be effectively applied with minimal danger to the project.  Defining Requirement: When the data is collected, the next stage is to evaluate and identify the item requirement and obtain customer / client approval. This step is produced through the Software Requirement Specification composed of all the specifications of the item to be designed and created during an application's outline phase.  Designing the Product Architecture: This phase is the sentence of the project construction where the real construction begins and the item is constructed. This sentence has two High Level Design (HDL) and Low Level Design (LLD) measures. HDL offers software product architecture to be created and is achieved by designers of architecture or seniors. Whereas, LLD defines how the senior designer should function with each and every function in the product and every part of the project. Finally, here is only the design and not the code that reviews all the significant parameters such as budget and time limitations, product robustness, and selects the best design strategy for the end product.  Building or Developing the Product: Developer from every situation at this point. We begin to build the software at this point and write the code. If the design is ready in particulars detail and organized, the building will make the code more efficient and can be done without much trouble. Developer should always follow various rules and use suitable programming instruments such as compiler / interpreter, text editor, debugger, etc. Developer can use distinct programming languages such as C, C++, C #, Pascal, Java etc while constructing or creating a product developer. In terms of product development, this programming language is selected. SUVAS ALE MAGAR (HND/First Semester)

Testing the Product: Once the software has been created, it is sent to the testing team where it guarantees that the product defects are reported, monitored and corrected until the product meets the requirements set out in the Software Requirement Specification and reaches the next execution stage. The result of this phase is therefore the result of quality.  Deployment in the market and maintenance: After the developed has been tested effectively and is prepared for use, it is officially published on the market for its use. Once the clients begin using the developed software, the real issue begins to arise and needs to be resolved over and over again. Outline Process of Application Models The procedure for identifying and developing a variety of outline processes are followed during the software development process. Each model takes its own distinctive measures to make the software successful. Waterfall Model The various models are used to develop the software. The first process model to be implemented was the Waterfall Model. It's very easy to comprehend and use. Each phase must be completed in a waterfall model before the next process can begin and the process do not overlap. The model of the Waterfall is the oldest SDLC method used to develop software. The waterfall model shows a linear sequential flow of the software development process. This implies that any stage in the process of growth starts only when the SUVAS ALE MAGAR (HND/First Semester)