Conditional Statement | MCQs
-
A. Would have purchased
-
B. Would purchase
-
C. Would have
-
D. Will purchase
Explanation
This is a conditional sentence.
We use subject + past tense in first clause, subject + would + first form of verb in such type of sentences.
If I had money, I would purchase it now.
اف فنکشن ایکسل میں کس لیے استعمال ہوتا ہے؟
-
A. Performing logical comparisons
-
B. None of these
-
C. Formatting text
-
D. Creating charts
Explanation
- The IF function checks a condition and returns different values based on TRUE or FALSE.
- Example:
=IF(A1>50, "Pass", "Fail")
(Returns "Pass" if A1 is greater than 50, otherwise "Fail").
اف، اف ایلس، سوئیچ اف بیانات کس بیان میں آتے ہیں؟
-
A. None of these
-
B. Structure
-
C. Conditional
-
D. Control
Explanation
If, If-Else, and Switch are used to make decisions based on conditions in programming.
These are known as Conditional Statements because they execute code only if certain conditions are met.
-
A. He said that if he worked hard, he would pass the exam.
-
B. He said that if I worked hard, I would pass the exam.
-
C. He said that if he works hard, he would pass the exam
-
D. He said that if I work hard, I will pass the exam.
Explanation
Corrected narration:
"He said that if he worked hard, he would pass the exam."
In indirect speech, we change the present tense to the past tense. "Will" becomes "would," and "I" becomes "he."
مطلوبہ الفاظ _____ "اگر" بیان کے ساتھ دو مختلف انتخاب کی وضاحت کرنے کے لئے استعمال ہوتا ہے۔
-
A. None of these
-
B. Else
-
C. If
-
D. Switch
Explanation
The else keyword is used to provide an alternative block of code if the if condition is false.
It works with if to handle two different choices in decision-making.
-
A. If he had worked hard, he would have pass
-
B. None of these
-
C. If he worked hard, he would have passed
-
D. If he had worked hard, he will pass
Explanation
محنت کرتا تو پاس ہو جاتا
If he had worked hard, he would have pass
-
A. started
-
B. starting
-
C. has started
-
D. start
Explanation
"Started" is used in this context because it's the correct past tense form of the verb "start."
The sentence expresses a hypothetical situation in the past:
"If my car started..." This means if the car had begun to function or had been operational at that time in the past.
✅ Correct: 0 |
❌ Wrong: 0 |
📊 Total Attempted: 0