QUESTION 19 Which one of the following statements is NOT TRUE regarding pseudocode? 1. Pseudocode is...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
QUESTION 19 Which one of the following statements is NOT TRUE regarding pseudocode? 1. Pseudocode is an English-like representation of an algorithm. 2. A syntax like Pascal is often used in pseudocode. 3. Pseudocode is a pictorial representation of an algorithm. 4. There is no standard for pseudocode-some people use a lot of detail, others use less. QUESTION 20 Which one of the following statements is FALSE regarding the requirements for an algorithm? 1. An algorithm must be a well-defined, ordered set of instructions. 2. Each step in an algorithm must be clear and unambiguous. 3. An algorithm must terminate in finite time. 4. An algorithm need not necessarily produce a result. QUESTION 21 Which one of the following statements is TRUE regarding searching algorithms? 1. Binary search should be used if the list to be searched is unsorted. 2. The bigger the list to be sorted, the more efficient sequential search becomes. 3. A binary search starts by examining the element in the beginning of the list. 4. Binary search is quicker than sequential search. QUESTION 22 An assembler is used to translate code from (i) language. 1. (1) symbolic 2. (1) machine 3. (1) the English 4. () assembly (ii) assembly (ii) assembly (i) machine (ii) machine language into (ii) QUESTION 19 Which one of the following statements is NOT TRUE regarding pseudocode? 1. Pseudocode is an English-like representation of an algorithm. 2. A syntax like Pascal is often used in pseudocode. 3. Pseudocode is a pictorial representation of an algorithm. 4. There is no standard for pseudocode-some people use a lot of detail, others use less. QUESTION 20 Which one of the following statements is FALSE regarding the requirements for an algorithm? 1. An algorithm must be a well-defined, ordered set of instructions. 2. Each step in an algorithm must be clear and unambiguous. 3. An algorithm must terminate in finite time. 4. An algorithm need not necessarily produce a result. QUESTION 21 Which one of the following statements is TRUE regarding searching algorithms? 1. Binary search should be used if the list to be searched is unsorted. 2. The bigger the list to be sorted, the more efficient sequential search becomes. 3. A binary search starts by examining the element in the beginning of the list. 4. Binary search is quicker than sequential search. QUESTION 22 An assembler is used to translate code from (i) language. 1. (1) symbolic 2. (1) machine 3. (1) the English 4. () assembly (ii) assembly (ii) assembly (i) machine (ii) machine language into (ii)
Expert Answer:
Related Book For
Posted Date:
Students also viewed these programming questions
-
Which one of the following statements is not true for a defined benefit plan? a. Favors older participants. b. Arbitrary annual contribution. c. Requires an actuary. d. Maximum retirement benefit of...
-
Which one of the following statements is NOT true of apprenticeships? Most apprenticeship programs are in the skilled trades. A major advantage of apprenticeships is the ability to earn an income...
-
Which one of the following statements is not accepted as a part of the current picture of the universe? (a) The universe is expanding. (b) Early in the history of the universe, there was only one...
-
9. Write a program to solve function given below, with the x and y value proposed by the user. And, based on the result, show "imaginary result" response for the case of the result of the function is...
-
Which forms do most companies file with the SEC on a periodic basis? Explain the purpose of each form and its primary contents.
-
How do you think they did planning for the bad weather?
-
A company is considering two alternatives, one of which must be implemented. Of the two projects, A has the higher maintenance cost, but B has the higher investment cost. The appropriate (and...
-
Refer to Exhibit 6.5 to identify the nine types of audit procedures used as part of the audit evidence-gathering process. Following is a list of audit procedures performed. For each procedure (listed...
-
Netflix estimates that North American demand for its streaming service has an elasticity of approximately -1.5. In 2022, 74 million subscribers generated revenues of just over $14 billion at an...
-
The phone at Mermans Costume Rentals rings, and Annie Oaklea, head of costume inventory, picks it up and answers a query by saying, Let me take a look at my inventory cards. Sorry, it looks as if...
-
f. Average collection period. P18.3A (LO 3) Writing Condensed balance sheet and income statement data for Jergan Corporation are presented here. Jergan Corporation Balance Sheets December 31 2020...
-
Describe the components of the new growth theory perpetual motion machine and explain the role played by incentives in keeping the machine in motion.
-
Annie runs a fitness center. On December 31, 2021, she bought an existing business with exercise equipment and a building worth $300,000. During 2022, business improved and she bought some new...
-
What makes the demand for U.S. dollars change?
-
On January 1, 2022, Terrys Towing Service owned 4 tow trucks valued at $300,000. During 2022, Terrys bought 2 new trucks for a total of $180,000. At the end of 2022, the market value of all of the...
-
Calculate U.S. net investment and gross investment during 2018. The Bureau of Economic Analysis reported that the U.S. capital stock was $64.8 trillion at the end of 2017, $68.2 trillion at the end...
-
The Lopez family is driving to the state fair. First, they drove 32 kilometers to stop for a snack. Then, they drove another 35 kilometers and stop for gas. There were 17 kilometers left to drive....
-
How does health insurance risk differ from other types of insurance risk (e.g., automobile or homeowners insurance)? What is the difference between cost sharing and cost shifting? Is retiree health...
-
Explain regular annuity versus annuity due and give examples?
-
When would a mutual fund be more attractive than an annuity?
-
How would you decide whether to transfer risk or share risk?
-
True or False: Engineers seldom have an opportunity to influence the recovery period for expenditures.
-
A lumber company purchases and installs a wood chipper for \(\$ 200,000\). The chipper is classified as MACRS 7-year property. Its useful life is 10 years. The estimated salvage value at the end of...
-
True or False: Straight-line depreciation is the most popular depreciation method used in financial reporting.
Study smarter with the SolutionInn App