Course Hero Logo

RAD - A .docx - Task 1 Explain the use of the word...

Course Hero uses AI to attempt to automatically extract content from documents to surface to you and others so you can study better, e.g., in search results, to enrich docs, and more. This preview shows page 1 - 4 out of 15 pages.

Task 1Explain the use of the worddynamicin the following code anddefine the output.Task 2Explain some reasons why C# is a preferred programming language todevelop medium-size applications.Task 3The first step in writing instructions to carry out a task is to determinewhat the output should bethat is, what the task should produce. Thesecond step is to identify the data, or input, necessary to obtain theoutput. The last step is to determine how to process the input toobtain the desired output. The general processof writing a program is to analyse the problem, design and plan the
solution, coding which is to translate the algorithm into aprogramming language and finally testing and debugging. You usealgorithms every day to make decisions or perform tasks. Forexample, consider a 30% discount sale at a supermarket.Write a C# program that calculates and displays the price of anitem after discount according to the price displayed to theconsumer.Show the discount algorithm in the form of a flowchartWrite the discount algorithm in the form of pseudocodeTask 4Explain user-defined data types in C#, providing an illustrativeexample.Task 5Explain the benefits of using an asynchronous programming pattern inan application's source code.Task 6Explain programming language development by contrasting C#versions 8.0 and 7.3 and explaining the new feature / enhancementcalled pattern matching.Pattern matching gives tools to provide shape-dependent functionality acrossrelated but different kinds of
data. C# 7.0 introduced syntax for type patterns and constant patterns byusing the is expression and theswitch statement. These features represented the first tentative steps towardsupporting programmingparadigms where data and functionality live apart. As the industry movestoward more microservices andother cloud-based architectures, other language tools are needed.C# 8.0 expands this vocabulary so you can use more pattern expressions inmore places in your code. Considerthese features when your data and functionality are separate. Consider patternmatching when youralgorithms depend on a fact other than the runtime type of an object. Thesetechniques provide another wayto express designs.In addition to new patterns in new places, C# 8.0 adds recursive patterns. Theresult of any pattern expressionis an expression. A recursive pattern is simply a pattern expression applied tothe output of another patternexpressionTask 7Vibrant Books is a new bookstore targeting the college market. Theywant a customised inventory management system in place that canseparate the books into separate categories of subject matter studies,supporting material, and non-college books. They also want toimplement a membership system that would enable their members tomaintain their reading list through the store's website. The membersshould also be able to see new editions relevant to their areas ofinterest and can interact with each other on topics of interest. They

Upload your study docs or become a

Course Hero member to access this document

Upload your study docs or become a

Course Hero member to access this document

End of preview. Want to read all 15 pages?

Upload your study docs or become a

Course Hero member to access this document

Term
Three
Professor
NoProfessor
Tags
Software development process, Rapid application development, Philip Crosby

Newly uploaded documents

Show More

Newly uploaded documents

Show More

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture