Computer -9
Computer -9
a. What is looping statement? What are three loop statement? b. How many times the looping occurs in above program?
b. What is a conditional branching statement? Give two examples of
conditional branching statement. 14. Write the program. [3x3=9]
c. Define SELCT CASE. a. WAP to display product and average of any given three numbers.
11. Find the output of the given program. b. WAP to find either profit of loss amount if selling and cost price are
[2] given.
CLS c. WAP to display multiplication table of any numbers by using GOTO
Num = 5 Statement.
FOR I = 1 TO 7
PRINT Num
IF Num MOD 2 = 1 THEN
Num = (Num * 3) + 1
ELSE ***THE END***
Num = Num/2
END IF
NEXT I
END
12. Re-write the following program using WHILE….WEND:[1x2=2]
CLS
S=0
FOR I =1 TO 10 STEP 2
S=S+N*N
NEXT
PRINT S
END
13. Read the program and answer the following questions. [1x2=2]
CLS
Y=2
Z=1
WHILE Z =< 5
Ac = Ac + Y
PRINT Ac
Y=Y+2
Z=Z+1
WEND
END
a. What will be the output of the above program?
– Computer 9 – – Page 2 – – Computer 9 – – Page 3 –
***THE END***
5. Write the full form of the following abbreviations. [1×2=2] Nav Pratibha English Boarding School
a) EEPROM b) POST Aithpur-6 Kanchnpur
b) What is Software? List the types of software that you have learned.
c) What is a computer?
***THE END***