You are not logged in.

#1 2017-10-17 06:51:23

hamidoon123
Moderator
Registered: 2017-09-21
Posts: 50,766

Study the following program and predict the output on execution:...

10th Class Federal Board Exams Quizzes MCQs Quizzes Federal Board Class 10th Computer Chapter No 4

Question:
Study the following program and predict the output on execution:
10    FOR K = 1 TO 20
20    READ M (K)
30    NEXT K
40    DATA 20,1,8,12,13,6,19,23
50    DATA 17,5,28,14,25,11
60    END

Option A):
DATA OUT OF BOUND IN 40
Option B):
DATA OUT OF BOUND IN 50
Option C):
BAD SUBSCRIPT ERROR IN 20
Option D):
OK

Correct Answer is Option C):
BAD SUBSCRIPT ERROR IN 20

2017-10-17 06:51:23

Advertisement
Ads By Google

Re: Study the following program and predict the output on execution:...



Board footer