QUESTION IMAGE
Question
question 6
1 pts
many tasks, large and small, can be solved by performing a specific set of actions and making a particular set of decisions in very precise ways. these sets of actions and decisions are known as what?
- algorithms
- processes
- building blocks
- abstraction
question 7
1 pts
which of the following could be represented by a boolean variable?
- whether a guest at a wedding is allergic to peanuts
- the number of tech support requests made in a day
- the weight of a truck as recorded at a weigh-station
- the direction a car proceeds in at a 4-way intersection
Question 6
An algorithm is a precise set of actions and decisions to solve a task. Processes are more general workflows, building blocks are components, and abstraction simplifies complexity. So the correct option is the one matching the definition of an algorithm.
A boolean variable has two values (true/false). "Whether a guest is allergic to peanuts" is a yes/no (true/false) situation. The other options are numerical or have multiple non - boolean states (number of requests, weight, direction).
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
A. Algorithms