Conditional Statement Execution
Which is used when a single block of statements is to be executed if the condition is true?
اگر حالت سچ ہے تو بیانات کے ایک ہی بلاک کو عملی جامہ پہنانے کے لئے کون سا استعمال کیا جاتا ہے؟
Answer: If statement
Explanation
An if statement executes a single block of code only if the given condition is true.
It is a conditional control structure.
This question appeared in
Past Papers (7 times)
ETEA 25 Years Past Papers Subject Wise (Solved) (2 times)
KPK Teacher Past Papers SST PST CT TT PET (2 times)
Secondary School Teacher SST Past Papers, Syllabus, Jobs (3 times)
This question appeared in
Subjects (1 times)
COMPUTER (1 times)
Related MCQs
- In C programming, the loop that is executed at least once (even if the condition is false) is called ______ loop.
- When Qc < Kc, which one of the following statements is true?
- Which of the following statements is/are true?
- Which of the following statements is true?
- Which one of the following statements is true about society?
- Which of the following statements is true about the point A(-4, -2), B(1, 4) and C(6, 11)?
- Which of the following statements is true about the points A(5, -2), B(1, 2), and C(-2, 5)?
- Which of the following statements is true about the point A(1, 2), B(3, 4) and C(0, -1)?
- Which of the following statements is true about the point A(-2, 0), B(2, 0), and C(0, √12)?
- Which of the following statements is true about the points A(3, 2), B(9, 10), and C(1, 16)?