# The decision structure that has two possible paths of execution is known as?

396 views

## Problems:

Can anyone give the right solution

The decision structure that has two possible paths of execution is known as _____?
a. Single alternative
b. Double alternative
c. Dual alternative
d. Two alternative

## Solutions:

The correct answer is: Dual alternative.

## Solution:

### Explanation:

decision structure is a construct in a computer program that allows the program to make a decision and change its behavior based on that decision. The decision is made based on the outcome of a logical test. A logical test is a calculation whose outcome is either true or false.

For Further readings go to https://en.wikiversity.org/wiki/Learning_Java/Decision_Structures

## Related questions

254 views
Problem : I have below doubts regarding sorting: What is the smallest possible depth of a leaf in a decision tree for a comparison sort? Does it change depending on the algorithm? Can anybody clear my doubts?
372 views
Problem: I am new and learning, I need help, can anyone help by filling in the blanks? The ability for a protocol or program to determine that something went wrong is known as ________?
5 views
Problem: I am unable to "Print all possible paths from top left to bottom right of a mXn matrix" by using Dynamic Programming . In mostly site i saw it was done by recursion with give exponential time complexity. Can any provide me any reference or any link to create a c++ ... right or down in matrix at any step. As i said i am unable to understand means i am not started any thing in this.Thanks.
2 views
Problem: I was going through this leetcode problem for going from top left to bottom right. How many possible unique paths are there?
65 views
Problem: Can anyone help it was actually asked in exam as following and I need to know whether my answer was right or not? A file that data is written to is known as a(n)? a. input file. b. output file. c. sequential access file. d. binary file.
546 views
Problem: Can anyone guide me with the right solution by filling in the blanks? Fractional numeric variables that contain a decimal point are known as ____ variables? a. partial b. string c. integer d. floating-point
5 views
Problem: I need a function like this: // return true iff 'n' is a power of 2, e.g. // is_power_of_2(16) => true is_power_of_2(3) => false bool is_power_of_2(int n); Can anyone suggest how I could write this? Can you tell me a good web site where this sort of algorithm can be found?