Question

In: Computer Science

1.Which one of the following statements about refinement and abstraction is TRUE? Select one: Abstraction and...

1.Which one of the following statements about refinement and abstraction is TRUE?

Select one:

Abstraction and refinement are the same.


The process of describing more detail about how an instruction should be carried out is called abstraction.

Abstraction is the hiding of details that are not currently important.

Stepwise refinement is only possible with algorithms and not pseudocode.

Lower level details of how an abstracted algorithm is carried out never have to be written.

2.

What is the data type of the expression ’True’ ?:

Select one:

floating point

floating point

boolean

string

list

3.Which one of the following about data is FALSE?

Select one:


Data can only be in the form of strings.

Data is information.

Computer programs need data to do anything useful.

All input and output is data.

At a low enough level of abstraction, all data is numbers.

Solutions

Expert Solution

1) Third option is the correct answer.

Abstraction is the process of hiding unnecessary details.

First option is incorrect as abstraction and refinement are not the same.

Second option is incorrect as the process of describing more detail about how an instruction should be carried out is not called abstraction. It is the process of hiding unnecessary details.

Fourth option is incorrect as stepwise refinement is possible with both algorithms and pseudocode.

Fifth option is incorrect as lower level details of how an abstracted algorithm is carried out may have to be written.

2) Third option is the correct answer.

Boolean data type can support both the expressions true (1) and false (0).

First option is incorrect as floating point can't be the data type of the expression 'true'.

Second option is incorrect as floating point can't be the data type of the expression 'true'.

Fourth option is incorrect as string can't be the data type of the expression 'true'.

Fifth option is incorrect as list can't be the data type of the expression 'true'.

3) First option is the correct answer.

Data can't only be in the form of strings. It can be in the other forms also.

Second option is incorrect as it is true.

Third option is incorrect as it is true.

Fourth option is incorrect as it is true.

Fifth option is incorrect as it is true.

Please comment in case of any doubt.
Please upvote if this helps.


Related Solutions

1. Which of the following statements about the adrenergic receptors is TRUE? Select one: a. Alpha...
1. Which of the following statements about the adrenergic receptors is TRUE? Select one: a. Alpha 1, alpha 2, and beta 1 receptors have greater affinity (or sensitivity) to norepinephrine than epinephrine. b. Beta 2 receptor has an equal affinity for norepinephrine and epinephrine while beta 3 receptor has a greater affinity for epinephrine than norepinephrine. c. Beta 1, beta 2, and beta 3 receptors increase cAMP but only beta 1 receptor causes an excitatory response in the heart muscle....
Which of the following statements about COBIT 5 is not true? Select one: a. It is...
Which of the following statements about COBIT 5 is not true? Select one: a. It is a framework designed to assist with critical business issues related to the governance and management of information technology b. One of the five principles of COBIT 5 is Enabling a Holistic Approach c. COBIT 5 helps companies only if they use it in addition to following COSO ERM d. All of the above statements are true
Which one of the following statements about insurer profitability is true? Select one: a. Profitability is...
Which one of the following statements about insurer profitability is true? Select one: a. Profitability is not important to insurance companies b. Profitability is the only important goal of insurance companies c. Cooperative insurers should earn a profit, but this is not their primary goal d. Cooperative insurers are prohibited from earning a profit
Which of the following statements about vascular tissues is NOT true? Select one: a. Capillaries are...
Which of the following statements about vascular tissues is NOT true? Select one: a. Capillaries are thin-walled and allow substances to diffuse into and out of tissues. b. Arteries have two layers of tissue and are thick, strong, elastic to accommodate blood pressure pulses. c. Arteries are thinner than veins and have valves to maintain flow in one direction, prevent back flow. d. Veins carry blood to the heart and receive blood from capillaries through venules
3.. 1, Which of the following statements is true? Select one: a. It is possible to...
3.. 1, Which of the following statements is true? Select one: a. It is possible to make conclusions about the value of stock options without making any assumption about the volatility of stock prices. b. The put-call parity also hold for American options c. The value of a call generally increases as current stock price, the time to expiration, the volatility and the risk-free interest rate decrease. d. The value of a put generally decreases as current stock price, the...
1. Which of the following statements are true? Select all that apply. Select one or more:...
1. Which of the following statements are true? Select all that apply. Select one or more: a. Earnings per share is calculated by dividing retained earnings by the number of shares of common stock outstanding. b. The creditors of a firm must be satisfied before any earnings can be distributed to the common shareholders. c. When referring to ratio comparisons, time-series analysis compares a firm to that of an industry leader. d. The operating profit margin must take into account...
Which one of the following general statements about surplus lines insurance is true? Select one: a....
Which one of the following general statements about surplus lines insurance is true? Select one: a. State guaranty funds do not cover the policyholders of surplus lines insurers b. Surplus lines insurers are subject to state form and rate filing regulations c. All non-admitted insurers are surplus lines insurers d. Admitted insurance companies must write insurance in the surplus lines market
Which of the following statements is NOT true about Australian Government Bonds? Select one: a. Government...
Which of the following statements is NOT true about Australian Government Bonds? Select one: a. Government bonds sometimes trade at par in the secondary market. b. Government bonds are less risky than corporate bonds. c. The Government issues more bonds when the budget is in deficit. d. Government bonds are always issued at par.
Which of the following is / are not true about Securitization: - Select one: a. It...
Which of the following is / are not true about Securitization: - Select one: a. It is process by which receivables are converted into securities b. It is process by which collateral securities are given by borrowers to financial institutions for loan c. It is a process by which default risk is transferred to third parties d. It is a process in which SPV plays the vital role.
Which one of the following statements is NOT true? Select one: A. The need for funding...
Which one of the following statements is NOT true? Select one: A. The need for funding does not end when a company goes public. B. Approval is obtained from the board of directors to issue securities. C. The lowest-cost source of external funds is often an open offer to the public. D. The investment bank decides how much money the company needs to raise and what type of security - such as debt, ordinary shares or preference shares - to...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT