Which is used when a single block of statements is to be executed if the condition is true?
اگر حالت سچ ہے تو بیانات کے ایک ہی بلاک کو عملی جامہ پہنانے کے لئے کون سا استعمال کیا جاتا ہے؟
- While loop
- Do-while loop
- If statement
- None of these
Explanation
An if statement executes a single block of code only if the given condition is true.
It is a conditional control structure.
Related MCQs
ڈی ایم اے کا مطلب کیا ہے؟
- Direct Memory Access
- Direct Module Access
- Direct Memory Allocation
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
ڈی او ایس کا مطلب کیا ہے؟
- Digital operating system
- Disk operation system
- Disk operating system
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
کسی مخصوص کام کو انجام دینے کے لیے کمپیوٹر کو دی گئی ہدایات کس کا مجموعہ ہے۔
- Monitor
- Hardware
- software
- Printer
اس سوال کو وضاحت کے ساتھ پڑھیں
لائٹ قلم کیا ہے؟
- Mechanical Input device
- Optical input device
- Electronic input device
- Optical output device
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
ایک (1) بائٹ کس کے برابر ہے؟
- 4 bits
- 8 bits
- 12 bits
- None of these