Course Hero Logo

Assessment 1.docx - 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 - 3 out of 7 pages.

1.Explain the use of the word ‘dynamic’ in the following code and define the output.
2.Explain some reasons why C# is a preferred programming language to develop medium-size applications.
3.The first step in writing instructions to carry out a task is to determine what the outputshould be – that is, what the task should produce. The second step is to identify the data,or input, necessary to obtain the output. The last step is to determine how to process theinput to obtain the desired output. The general process of writing a program is to analysethe problem, design and plan the solution, coding which is to translate the algorithm into aprogramming language and finally testing and debugging. You use algorithms every day tomake decisions or perform tasks. For example, consider a 30% discount sale at asupermarket.a.Write a C# program that calculates and displays the price of an item after discountaccording to the price displayed to the consumer.
}}
New Price is 7b.Show the discount algorithm in the form of a flowchart.c.Write thediscount algorithm in the form ofpseudocode.
4.Explain user-defined data types in C#, providing an illustrative example.

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 7 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

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