Class 7 Exam  >  Class 7 Questions  >  Identify the number of row which has an arrow... Start Learning for Free
Identify the number of row which has an arrow.
10 REM A program to find the even and odd numbers
20 CLS
30 INPUT “Enter number”, a
40 IF A%2= 0 THEN
50 PRINT A;”is even number”
60 ELSE
70 PRINT A; “is odd numbers’
80 END
  • a)
    40
  • b)
    30
  • c)
    80
  • d)
    10
Correct answer is option 'C'. Can you explain this answer?
Most Upvoted Answer
Identify the number of row which has an arrow.10 REM A program to find...
Explanation:

Identifying the row with an arrow:
- The arrow symbol (→) is pointing to row 80 in the given program.

Explanation of the code:
- The program takes an input number from the user.
- It checks if the input number is even or odd.
- If the number is divisible by 2 (A%2=0), then it is considered an even number and the program prints that the number is even.
- If the number is not divisible by 2, it is considered an odd number and the program prints that the number is odd.

Explanation of the arrowed row:
- Row 80 contains the statement to end the program after printing whether the input number is even or odd.
- The "END" statement in row 80 signifies the end of the program execution.
Therefore, the row with the arrow is row 80 in the given program.
Attention Class 7 Students!
To make sure you are not studying endlessly, EduRev has designed Class 7 study material, with Structured Courses, Videos, & Test Series. Plus get personalized analysis, doubt solving and improvement plans to achieve a great score in Class 7.
Explore Courses for Class 7 exam

Top Courses for Class 7

Identify the number of row which has an arrow.10 REM A program to find the even and odd numbers20 CLS30 INPUT “Enter number”, a40 IF A%2= 0 THEN50 PRINT A;”is even number”60 ELSE70 PRINT A; “is odd numbers’80 ENDa)40b)30c)80d)10Correct answer is option 'C'. Can you explain this answer?
Question Description
Identify the number of row which has an arrow.10 REM A program to find the even and odd numbers20 CLS30 INPUT “Enter number”, a40 IF A%2= 0 THEN50 PRINT A;”is even number”60 ELSE70 PRINT A; “is odd numbers’80 ENDa)40b)30c)80d)10Correct answer is option 'C'. Can you explain this answer? for Class 7 2024 is part of Class 7 preparation. The Question and answers have been prepared according to the Class 7 exam syllabus. Information about Identify the number of row which has an arrow.10 REM A program to find the even and odd numbers20 CLS30 INPUT “Enter number”, a40 IF A%2= 0 THEN50 PRINT A;”is even number”60 ELSE70 PRINT A; “is odd numbers’80 ENDa)40b)30c)80d)10Correct answer is option 'C'. Can you explain this answer? covers all topics & solutions for Class 7 2024 Exam. Find important definitions, questions, meanings, examples, exercises and tests below for Identify the number of row which has an arrow.10 REM A program to find the even and odd numbers20 CLS30 INPUT “Enter number”, a40 IF A%2= 0 THEN50 PRINT A;”is even number”60 ELSE70 PRINT A; “is odd numbers’80 ENDa)40b)30c)80d)10Correct answer is option 'C'. Can you explain this answer?.
Solutions for Identify the number of row which has an arrow.10 REM A program to find the even and odd numbers20 CLS30 INPUT “Enter number”, a40 IF A%2= 0 THEN50 PRINT A;”is even number”60 ELSE70 PRINT A; “is odd numbers’80 ENDa)40b)30c)80d)10Correct answer is option 'C'. Can you explain this answer? in English & in Hindi are available as part of our courses for Class 7. Download more important topics, notes, lectures and mock test series for Class 7 Exam by signing up for free.
Here you can find the meaning of Identify the number of row which has an arrow.10 REM A program to find the even and odd numbers20 CLS30 INPUT “Enter number”, a40 IF A%2= 0 THEN50 PRINT A;”is even number”60 ELSE70 PRINT A; “is odd numbers’80 ENDa)40b)30c)80d)10Correct answer is option 'C'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of Identify the number of row which has an arrow.10 REM A program to find the even and odd numbers20 CLS30 INPUT “Enter number”, a40 IF A%2= 0 THEN50 PRINT A;”is even number”60 ELSE70 PRINT A; “is odd numbers’80 ENDa)40b)30c)80d)10Correct answer is option 'C'. Can you explain this answer?, a detailed solution for Identify the number of row which has an arrow.10 REM A program to find the even and odd numbers20 CLS30 INPUT “Enter number”, a40 IF A%2= 0 THEN50 PRINT A;”is even number”60 ELSE70 PRINT A; “is odd numbers’80 ENDa)40b)30c)80d)10Correct answer is option 'C'. Can you explain this answer? has been provided alongside types of Identify the number of row which has an arrow.10 REM A program to find the even and odd numbers20 CLS30 INPUT “Enter number”, a40 IF A%2= 0 THEN50 PRINT A;”is even number”60 ELSE70 PRINT A; “is odd numbers’80 ENDa)40b)30c)80d)10Correct answer is option 'C'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice Identify the number of row which has an arrow.10 REM A program to find the even and odd numbers20 CLS30 INPUT “Enter number”, a40 IF A%2= 0 THEN50 PRINT A;”is even number”60 ELSE70 PRINT A; “is odd numbers’80 ENDa)40b)30c)80d)10Correct answer is option 'C'. Can you explain this answer? tests, examples and also practice Class 7 tests.
Explore Courses for Class 7 exam

Top Courses for Class 7

Explore Courses
Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev