Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Multiple Choice Question 1 part a) The \"state\" of an algorithm describes: -a f

ID: 3603029 • Letter: M

Question

Multiple Choice Question 1

part a) The "state" of an algorithm describes:

-a function of the algorithm

-a variable of a algorithm

-Both functions and variables

-Neither functions or variables

part b) Parameters are

-The placeholder for what you are passing to the function

-The actual data you are passing to the function

-Actual values

part c) A Tree is:

-A type of graph intended to model hierarchal data

-A large fiberous bush that grows out of the ground

-a type of graph

-all of the above

-a function of the algorithm

-a variable of a algorithm

-Both functions and variables

-Neither functions or variables

Explanation / Answer

a. The state of the algorithm describes the variables at that time
So, ans is b) - a variable of a algorithm

b. Parameters are :

- Parameters are placeholders for what we are passing to the function during its invocation. So, ans is (a)

c. Tree is :

- Tree is a graph intended to model hierchial data. If tree contains n vertices, it will contain n-1 edges exactly. So, ans is a)