Answer: 2)Fishbone/lshikawa
Explanation: Fishbone diagrams are those diagrams which help in the identification of the problem causing factors and reasons behind.This diagrams find the roots of the problem to solve it. Fishbone diagram is also known as the Ishikawa diagram.
The other given options are incorrect because they are not any technique for finding the roots of the problem.Thus, the correct option is option(2).
Explanation:
Data structure is a way of gathering and organizing the data in such a way that we can perform operation on the data very efficiently.There are different types of data structures such as :-
- Arrays
- Linked list
- Stacks
- Queues
- Trees
- Graphs
These are the basic data structures.
Algorithm:-It is a finite set of instructions written to accomplish a certain task.An algorithm's performance is measured on the basis of two properties:-
- Time complexity.
- Space complexity.
Software developers need to know data structures and algorithms because all the computers rely on data structures and algorithms so if you know data structures and algorithms better you will know the computer better.
Answer:
int main()
{
int speed = 25, time = 15;
int distance = speed * time;
cout<<"The distance is: " << distance <<endl;
return 0;
}
Explanation:
- Initialize the variable <em>speed</em> as 25 and <em>time</em> as 15
- Calculate the <em>distance</em> by multiplying <em>speed</em> and <em>time</em>
- Print the <em>distance</em>
Answer:
Explanation:
The following code is written in Python and it is a very simple function/program that takes in an array of strings as a parameter called names. This array is then passed the built-in sort function which automatically sorts it in ascending alphabetical order. Finally, the print method is called on the names array to print all of its elements out.
def sort_strings(names):
names.sort()
print(names)