English

State True or False. In ‘if.. else’, all types of data can be used.

Advertisements
Advertisements

Question

State True or False.

In ‘if.. else’, all types of data can be used.

True or False
Advertisements

Solution

This statement is true.

Explanation:

An if..else statement requires a logical condition (true/false). You cannot directly use complex data types like whole objects or entire lists as the condition itself

shaalaa.com
  Is there an error in this question or solution?
Chapter 1: Revision of Class 9 Syllabus - Exercises [Page 44]

APPEARS IN

Rupa Pandit Computer Applications [English] Class 10 ICSE
Chapter 1 Revision of Class 9 Syllabus
Exercises | Q 2. (vi) | Page 44
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×