हिंदी

Java, like all other programming languages uses some statements that allow us to check a condition and execute certain parts of a code depending on whether the condition is true or false. - Computer Applications

Advertisements
Advertisements

प्रश्न

Java, like all other programming languages uses some statements that allow us to check a condition and execute certain parts of a code depending on whether the condition is true or false. Such statements are called conditional statements. We can also use a conditional statement within another conditional statement. The inner conditional statement is executed only when the outer condition is true. The conditional statement can also be a multiple branching statement. 

Based on the above discussion, answer the following questions:

  1. Which of the following is not a decision making statement?
    1. if-else
    2. if
    3. break
    4. if-else-if 
  2. A conditional statement used within another conditional statement is known as ______.
    1. nested conditional statement
    2. embedded conditional statement
    3. accumulated conditional statement
    4. None of the above
  3. Which of the following is called as multiple branching statement?
    1. if and only if
    2. switch
    3. case
    4. pause
  4. Which of the following is not a component of multiple branching statement?
    1. break
    2. default
    3. case
    4. pause
संक्षेप में उत्तर

उत्तर

  1. iii. break
  2. i. nested conditional statement
  3. ii. switch
  4. iv. pause
shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 1.1: Nested Loop - EXERCISES [पृष्ठ १५१]

APPEARS IN

अविचल Computer Applications [English] Class 10 ICSE
अध्याय 1.1 Nested Loop
EXERCISES | Q II. 4. | पृष्ठ १५१
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×