Comp Apps Exam #2
Comp Apps Exam #2 the agent that runs the algorithm is a - ANSWER-person, not computer declaration v. call - ANSWER--functions are declared once; called many times compound interest rate function on java - ANSWER-c*(M ((1+rate/n), n*t)); cube power function on java - ANSWER-function cubePower(num) {return num*num*num;} volume of pyramid function on java - ANSWER-function volume (bArea, height) {return (bArea*height)/3;} frequency order - ANSWER-list of letters organized by how often they are used algorithm - ANSWER-precise, systematic method for producing a specified result programs - ANSWER--algorithms that have been specialized to a specific set of conditions and assumptions and are written in a specific programming language -allows an agent to follow the instructions and get the correct result example of algorithm - ANSWER--binary to decimal conversion -intersect an alphabetized list (IAL) -programming language (PL) -assembly language (AL) -binary form algorithms always work; they either get the ___ - ANSWER-specified answer or there is no answer at all
Información del documento
- Subido en
- 24 de agosto de 2023
- Número de páginas
- 18
- Escrito en
- 2023/2024
- Tipo
- Examen
- Contiene
- Preguntas y respuestas