Deck 10: Algorithmic Thinking

Full screen (f)
exit full mode
Question
Algorithms are only used in the field of computers; there is no use for algorithms anywhere else .
Use Space or
up arrow
down arrow
to flip the card.
Question
The type of data, the amount of data, and the form of the data must all be specified when creating an algorithm .
Question
The sequence of commands is important in an algorithm .
Question
To be effective, an algorithm relies on outside help to provide further input .
Question
Algorithms use functions (operations that the agent already knows how to perform) to simplify the algorithmic description .
Question
Replacing nouns with pronouns in a natural language algorithm will make the algorithm more understandable .
Question
An algorithm is a systematic method to produce a specified result .
Question
All algorithms contain loops .
Question
A loop in an algorithm must include a test which can end the repetition .
Question
It is possible for the output of an algorithm to be a statement that says there is no possible solution .
Question
The way to know that an algorithm works is to know what properties the computation has that cause it to produce the right result every time and to be able to explain how those properties do the job .
Question
A heuristic process is an example of an algorithm .
Question
Anyone who creates an algorithm needs to know why it works .
Question
The value of an algorithm depends on its use of resources, such as space and time .
Question
There is only one possible algorithm that can be developed to solve each problem .
Question
Which of the following is a good example of the effectiveness property of algorithms?

A) Enter the test score you may get on the next test .
B) Subtract the amount spilled from a glass of juice .
C) Add 1 to the total number of students registered .
D) Any of these are good examples .
Question
Algorithms should

A) use resources efficiently
B) only be clear to the algorithm designer
C) be ambiguous to allow creativity
D) be written to solve one specific case
Question
Which of the following is an example of definiteness?

A) Add and multiply values A, B, and C .
B) Divide the result of values A and B by D .
C) Use multiplication and addition to find the result of three values .
D) Add values A and B, then divide by C . If C = 0, solution is "undefined . "
Question
Instruction sequences that repeat are called

A) loops
B) tests
C) sorts
D) assumptions
Question
A heuristic process

A) provides guidelines for finding a solution
B) is guaranteed to work 100% of the time
C) yields the specified answer or reports back that no such answer exists
D) All of these
Question
Which of the following statements is NOT true about algorithms?

A) Problems can be solved by different algorithms in different ways .
B) Algorithms can be given at different levels of detail, depending on the abilities of the agent .
C) Algorithms always work .
D) All of these are true .
Question
Algorithms are used by

A) only web searches
B) no one, they are just imagined solutions
C) various agents
D) only computers
Question
If an algorithm is run at different times but with the same data the output will be

A) different
B) sometimes the same but not often
C) the same
D) impossible to tell
Question
Select all that apply . Which of the following is(are) required of an algorithm?

A) It must, eventually, end .
B) Input and output must be specified .
C) It must be executable without further external support .
D) It must specify every step and the order the steps must be performed .
Question
Select all that apply . Which of the following lacks finiteness?

A) Add 2 to a number five times .
B) Find the value of pi .
C) Read Chapter 10 .
D) Bake until the top of the cake appears brown .
Question
Select all that apply . Which of the following can complete the statement below?Different algorithms for the same problem can

A) solve the problem differently
B) never come up with exactly the same outcome
C) have different running times
D) require different inputs where the outcome is the same but depends on the differences in the input characteristics
Question
Select all that apply . Which of the following can complete the statement below?The intersect of an alphabetized list (IAL) and a No Alphabetized List (NAL) are different solutions because they

A) have different running times
B) require different forms of the input
C) look for different outcomes
D) rely on the characteristics of the input
Question
Select all that apply . Which property(ies) of a valid algorithm is(are) violated by the instruction seen so often on hair shampoo bottles: "lather, rinse, repeat"?

A) definiteness
B) finiteness
C) effectiveness
D) None of these
Question
A precise, systematic method for producing a specified result is a(n) ________ .
Question
English is an example of a(n) ________ language .
Question
A(n) ________, such as C or Java, is a formal notation used to precisely define an algorithm .
Question
An algorithm that has no successful end violates the ________ property .
Question
The intended result (that is, the data resulting from a computation) is the ________ .
Question
A(n) ________ is an idea or concept extracted from a specific situation .
Question
Specifying the sequence of operations of an algorithm is part of the property of ________ .
Question
A web search process is not an algorithm; rather, it is a(n) ________ process .
Question
The data to be transformed during the computation in order to produce the output is the ________ .
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/37
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 10: Algorithmic Thinking
1
Algorithms are only used in the field of computers; there is no use for algorithms anywhere else .
False
2
The type of data, the amount of data, and the form of the data must all be specified when creating an algorithm .
True
3
The sequence of commands is important in an algorithm .
True
4
To be effective, an algorithm relies on outside help to provide further input .
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
5
Algorithms use functions (operations that the agent already knows how to perform) to simplify the algorithmic description .
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
6
Replacing nouns with pronouns in a natural language algorithm will make the algorithm more understandable .
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
7
An algorithm is a systematic method to produce a specified result .
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
8
All algorithms contain loops .
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
9
A loop in an algorithm must include a test which can end the repetition .
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
10
It is possible for the output of an algorithm to be a statement that says there is no possible solution .
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
11
The way to know that an algorithm works is to know what properties the computation has that cause it to produce the right result every time and to be able to explain how those properties do the job .
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
12
A heuristic process is an example of an algorithm .
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
13
Anyone who creates an algorithm needs to know why it works .
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
14
The value of an algorithm depends on its use of resources, such as space and time .
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
15
There is only one possible algorithm that can be developed to solve each problem .
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
16
Which of the following is a good example of the effectiveness property of algorithms?

A) Enter the test score you may get on the next test .
B) Subtract the amount spilled from a glass of juice .
C) Add 1 to the total number of students registered .
D) Any of these are good examples .
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
17
Algorithms should

A) use resources efficiently
B) only be clear to the algorithm designer
C) be ambiguous to allow creativity
D) be written to solve one specific case
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
18
Which of the following is an example of definiteness?

A) Add and multiply values A, B, and C .
B) Divide the result of values A and B by D .
C) Use multiplication and addition to find the result of three values .
D) Add values A and B, then divide by C . If C = 0, solution is "undefined . "
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
19
Instruction sequences that repeat are called

A) loops
B) tests
C) sorts
D) assumptions
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
20
A heuristic process

A) provides guidelines for finding a solution
B) is guaranteed to work 100% of the time
C) yields the specified answer or reports back that no such answer exists
D) All of these
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
21
Which of the following statements is NOT true about algorithms?

A) Problems can be solved by different algorithms in different ways .
B) Algorithms can be given at different levels of detail, depending on the abilities of the agent .
C) Algorithms always work .
D) All of these are true .
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
22
Algorithms are used by

A) only web searches
B) no one, they are just imagined solutions
C) various agents
D) only computers
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
23
If an algorithm is run at different times but with the same data the output will be

A) different
B) sometimes the same but not often
C) the same
D) impossible to tell
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
24
Select all that apply . Which of the following is(are) required of an algorithm?

A) It must, eventually, end .
B) Input and output must be specified .
C) It must be executable without further external support .
D) It must specify every step and the order the steps must be performed .
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
25
Select all that apply . Which of the following lacks finiteness?

A) Add 2 to a number five times .
B) Find the value of pi .
C) Read Chapter 10 .
D) Bake until the top of the cake appears brown .
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
26
Select all that apply . Which of the following can complete the statement below?Different algorithms for the same problem can

A) solve the problem differently
B) never come up with exactly the same outcome
C) have different running times
D) require different inputs where the outcome is the same but depends on the differences in the input characteristics
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
27
Select all that apply . Which of the following can complete the statement below?The intersect of an alphabetized list (IAL) and a No Alphabetized List (NAL) are different solutions because they

A) have different running times
B) require different forms of the input
C) look for different outcomes
D) rely on the characteristics of the input
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
28
Select all that apply . Which property(ies) of a valid algorithm is(are) violated by the instruction seen so often on hair shampoo bottles: "lather, rinse, repeat"?

A) definiteness
B) finiteness
C) effectiveness
D) None of these
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
29
A precise, systematic method for producing a specified result is a(n) ________ .
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
30
English is an example of a(n) ________ language .
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
31
A(n) ________, such as C or Java, is a formal notation used to precisely define an algorithm .
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
32
An algorithm that has no successful end violates the ________ property .
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
33
The intended result (that is, the data resulting from a computation) is the ________ .
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
34
A(n) ________ is an idea or concept extracted from a specific situation .
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
35
Specifying the sequence of operations of an algorithm is part of the property of ________ .
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
36
A web search process is not an algorithm; rather, it is a(n) ________ process .
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
37
The data to be transformed during the computation in order to produce the output is the ________ .
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 37 flashcards in this deck.