Practice Question and Answer
8Q: Point out the error, if any, in the following program. main() { int ( *p )() = fun; ( *P ) (); } fun () { Printf ( "\nLoud and clear" ); } 1765 05b5cc7dde4d2b419777515f6
5b5cc7dde4d2b419777515f6- Show AnswerHide Answer
- Workspace
- SingleChoice
Answer :
Explanation :
Here we are initalising the function pointer p to the address of the function fun(). But during this initialisation the function has not been defined. Hence an error. To eliminate this error add the prototype of the fun() before declaration of p, as shown below: extern int fun(); or simply int fun();
Q: Who among the following is a famous American thriller and mystery fiction writer? 1765 05b5cc7dfe4d2b4197775164f
5b5cc7dfe4d2b4197775164f- 1Dan Browntrue
- 2Rupert Brookefalse
- 3John Brownfalse
- 4Charlotte Brontefalse
- Show AnswerHide Answer
- Workspace
- SingleChoice
Answer : 1. "Dan Brown"
Explanation :
Answer: A) Dan Brown Explanation:
Q: Direction: In the question figures below, a piece of paper is folded and cut as shown below. Find out from the answer figures how it will appear when opened.
Question figure

1765 05f732ed7b0614b4cd7854569
5f732ed7b0614b4cd7854569Question figure

- 1true

- 2false

- 3false

- 4false

- Show AnswerHide Answer
- Workspace
- SingleChoice
Answer : 1. "
"

Q:Directions: Each of the questions consists of a question followed by three statements. You have to study the questions and the statements and decide which of the statements(s) is/are necessary to answer the question.
What is the population of State ‘A’?
I. After increasing the population of State A by 15% it becomes 1.61 lakhs
II. Ratio of population of State A to that of State B is 7 : 8 respectively
III. Population of State B is 1.6 lakhs
1765 05e4e3c44701cfd31ff688324
5e4e3c44701cfd31ff688324I. After increasing the population of State A by 15% it becomes 1.61 lakhs
II. Ratio of population of State A to that of State B is 7 : 8 respectively
III. Population of State B is 1.6 lakhs
- 1I onlyfalse
- 2II and III onlyfalse
- 3I and II onlyfalse
- 4Either only I or II and IIItrue
- 5All I, II and IIIfalse
- Show AnswerHide Answer
- Workspace
- SingleChoice
Answer : 4. "Either only I or II and III"
Q: Consider the given statement to be true and decide which of the conclusion(s) logically follows from the statement.
Statements:
1. No sweet is biscuit.
2. No biscuit is cake.
Conclusions:
1. Some sweets can be biscuits.
2. All biscuit can be cake.
1765 161a06be14a394508acdb5c21
61a06be14a394508acdb5c21- 1Only conclusion (1) follows.false
- 2Only conclusion (2) follows.false
- 3Both conclusion (1) and conclusion (2) follow.false
- 4Neither conclusion (1) nor conclusion (2) follow.true
- Show AnswerHide Answer
- Workspace
- SingleChoice
Answer : 4. "Neither conclusion (1) nor conclusion (2) follow."
Q: The p wave of a normal Electrocardiogram indicates 1765 05b5cc6aae4d2b4197774cf89
5b5cc6aae4d2b4197774cf89- 1atrial depolarizationtrue
- 2Ventricular repolarizationfalse
- 3atrial repolarizationfalse
- 4Ventricular depolarizationfalse
- Show AnswerHide Answer
- Workspace
- SingleChoice
Answer : 1. "atrial depolarization"
Explanation :
Answer: A) atrial depolarization Explanation: The P wave in the ECG represents atrial depolarization, which results in atrial contraction, or atrial systole. The P wave is a summation wave generated by the depolarization front as it transits the atria.
Q: Which of the following is true about the Grammar-cum-Translation method?
1765 0621648d84e406d5e8a18a113
621648d84e406d5e8a18a113- 1Mother tongue is used while teachingfalse
- 2Form is more important than contentfalse
- 3Rote learning is encouragedfalse
- 4All of thesetrue
- Show AnswerHide Answer
- Workspace
- SingleChoice
Answer : 4. "All of these "
Q: Why do capital expenditures increase assets (PP&E), while other cash outflows, like paying salary, taxes, etc., do not create any asset, and instead instantly create an expense on the income statement that reduces equity via retained earnings ? 1765 05b5cc6fbe4d2b4197774f0af
5b5cc6fbe4d2b4197774f0af- Show AnswerHide Answer
- Workspace
- SingleChoice
Answer :
Explanation :
Capital expenditures are capitalized because of the timing of their estimated benefits – the lemonade stand will benefit the firm for many years. The employees’ work, on the other hand, benefits the period in which the wages are generated only and should be expensed then. This is what differentiates an asset from an expense.

