subject

(a). A programmer at SoftTribe has declared a three-dimensional array BRUT in a programming language using BRUT[2:11, -4:9, 5:12] (i). Describe (without calculating) how he will:
(α). find the lengths of the three dimensions of BRUT
(β). find the number of elements in BRUT.
(ii). Give and explain a practical example in a university management system where a three-dimensional array could be used.
(b). People often use recursive algorithms. Discuss the difference between direct recursion and indirect
recursion. In which situations would a direct or indirect recursion be a better choice to use?
(c). Two Level 200 IT students, James and Morris, are discussing how to compare two algorithms for solving a given problem. James suggests that they should use the execution times of the algorithms as criterion; but Morris insists that they should use the
number of statements the algorithms execute as criterion.
(i). Explain the reasons why both criteria they are considering are not good for comparing algorithms.
(ii). Recommend an ideal solution/criterion that they should rather use for comparing algorithms.
Give a practical example to illustrate your answer.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 08:40
What are the three parts to physical security standards for various types of army equipment and the risk level
Answers: 2
question
Computers and Technology, 23.06.2019 00:30
If joey was single and his taxable income was $9,500, how much would he pay in taxes each year?
Answers: 1
question
Computers and Technology, 23.06.2019 11:00
Sports and entertainment class, your goal is to increase attendance and make a profit for a game by getting your team on a winning track with total salaries less than $3,000,000
Answers: 3
question
Computers and Technology, 23.06.2019 14:00
Technician a says that with self-adjusting clutch systems, the release bearing constantly rotates. technician b says that the ball bearing portion of the release bearing should be lubricated with high-temperature grease during routine maintenance. which technician is correct?
Answers: 2
You know the right answer?
(a). A programmer at SoftTribe has declared a three-dimensional array BRUT in a programming language...
Questions
question
Mathematics, 02.11.2020 08:00
question
Engineering, 02.11.2020 08:00
question
History, 02.11.2020 08:00
question
Mathematics, 02.11.2020 08:00
question
English, 02.11.2020 08:00
question
Chemistry, 02.11.2020 08:00
Questions on the website: 13722361