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, 21.06.2019 16:50
3(c). is the following command correct? if not, correct the syntax and explain your answers. you can just rewrite/correct only the wrong parts. (4) select p#, city, zipcode, count(*) from client c, property p, viewing v where c.c# = v.c# and v.p# = p.p# group by p#, city having count(*) > 3;
Answers: 1
question
Computers and Technology, 22.06.2019 18:40
Mariah was working on a multimedia presentation that included both video and audio files. the file was huge, and she wanted to send it to her coworker in another office. she needed to reduce the size of the file so that it could be transmitted faster. the utility she used to do this was
Answers: 2
question
Computers and Technology, 23.06.2019 13:00
Donnie does not have powerpoint. which method would be best for elana to save and share her presentation as is? a pdf a doc an rtf a ppt
Answers: 3
question
Computers and Technology, 23.06.2019 22:00
Technician a says engine assemblies can be mounted longitudinally in a chassis. technician b says engine assemblies can be mounted transversely in a chassis. who 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, 09.03.2021 04:30
question
Mathematics, 09.03.2021 04:30
question
Mathematics, 09.03.2021 04:30
Questions on the website: 13722362