Functional Programming Answers

Questions: 109

Answers by our Experts: 81

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

Suppose that you are the data analyst on the project team building a data warehouse for an insurance company. List at least three data sources from which you will bring the data into your data warehouse?

 



A. Explain how cryptographic mechanisms can be used to guarantee the following basic security services. a. Confidentiality b. Authentication c. Integrity d. Non-repudiation e. Non-replay 


The difference between the representation of a decision structure and a loop in a flowchart.



b) Sir Richards of Bishop Herman College has taught his students quadrilaterals. He explained that trapezium is an example of a quadrilateral. You are an intern at the school. Teacher Ziggy has asked you to write a generic C++ program that will enable students to calculate the area and volume of a trapezium. The program should prompt a student to enter the values for the length of the parallel sides and is perpendicular distance between the parallel sides respectively. The program should calculate and display the area and volume of the trapezium. The program should allow a student to try other values for the length of parallel sides and is perpendicular distance between the parallel sides without exiting the program.


Write a program to using the principle of control structures (if /else statements) determine which the students grade, based on the marks numbers entered by the user (Using the table below). (10pts)


From

To

Grade

90

100

A

80

89

B

70

79

C

0

69

F


Identify two problems in each category of the following time complexities and derive the complexity of these identified problems.

O(n log n), and O(n2).

  1. The difference between the representation of a decision structure and a loop in a flowchart.

Write a program that will enable management to compute and display the commission earned by sales personnel based on their annual sales.


b) Sir Richards of Bishop Herman College has taught his students quadrilaterals. He explained that trapezium is an example of a quadrilateral. You are an intern at the school. Teacher Ziggy has asked you to write a generic C++ program that will enable students to calculate the area and volume of a trapezium. The program should prompt a student to enter the values for the length of the parallel sides and is perpendicular distance between the parallel sides respectively. The program should calculate and display the area and volume of the trapezium. The program should allow a student to try other values for the length of parallel sides and is perpendicular distance between the parallel sides without exiting the program. 

[15Marks]

 

​  


The difference between the representation of a decision structure and a loop in a flowchart


LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS