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...
-
Discuss the strategies available to market leaders.
-
Renda is really confused. Ive got three different numbers here and I dont know what is right. My records show that I have $35,463 in the bank, but the bank statement says $37,428. When I called the...
-
Worldview Magazine, Inc., issued \(\$ 700,000\) of 15 -year, \(81 / 2 \%\) convertible bonds payable on July 31,2006 , at a price of 98 . Each \(\$ 1,000\) maturity amount of the bonds is convertible...
-
In 2004, Frank made an installment sale of real property to Stu, his son, for $1 million. Payments are due over a 10-year period. Frank did not file a gift tax return. For 2011, Frank reported...
-
For the compound epicyclic gear train shown in Fig. 15.17, z = 60, z= 40, and z = 25. Find z, and the speed of shaft connected to arm E,if the speed of shaft connected to sun gear is 120 rpm ccw and...
-
In the book Foundations of Financial Management ( 7th ed.), Stanley B. Block and Geoffrey A. Hirt discuss risk measurement for investments. Block and Hirt present an investment with the possible...
-
Q1 The following are all independent situations: (a) Weldon Ltd has recently purchased new computer software that will allow improved financial management analysis and quality management reporting....
-
A company purchased a limited - life intangible asset for $ 1 , 1 6 2 , 5 0 0 on January 1 of Year 1 . It has a useful life of 1 5 years. Which amount should the balance sheet reflect for the limited...
-
Graham Potato Company has projected sales of $ 1 1 , 4 0 0 in September, $ 1 4 , 5 0 0 in October, $ 2 1 , 4 0 0 in November, and $ 1 7 , 4 0 0 in December. Of the company\'s sales, 3 0 percent are...
-
object to fall back down from max height. 2. A book falls straight down off a 3.2m shelf. How long it takes the book to reach the ground. 3. A rock is dropped straight down off a 7.5m building. How...
-
8) As shown in figure, a thin uniform rod AB of mass M-10 kg and length L-120 cm is hinged at end A to the flat floor. It initially stands vertically. If it is allowed to fall to the floor as shown...
-
Simplify these Boolean expressions as much as possible: a) ((A+D)'(C'+B')'+C)' b) A'B+CA'D+B'+D' c) (A+(AB)'+C(AB)')(A+BA'+B')
-
3. Find the constant term in the expansion of (a) (z + ) * 5 (c) (3x 7x 4 9 2 5x (b) (3x 5) (d) (1 - 2 +2) (32-7953) 7x - 6
-
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?
-
What is unearned revenue? a. Receivable b. Current asset c. Revenue d. Current liability
-
The foundation of internal control over payroll is a. Paying the correct amount of payroll tax b. Separating payroll duties c. Filing government tax forms on time d. Accurately computing gross pay,...
-
What is the most that an employee paid the federal government for old age, survivors', and disability insurance (FICA tax) during 2008? a. \(\$ 5,580\). b. \(\$ 90,000\). c. Nothing. The employer...
Study smarter with the SolutionInn App