You are on page 1of 2

RYAN INTERNATIONAL SCHOOL, SHARJAH

ACADEMIC YEAR 2017-2018


COMPUTER WEEKLY TEST-(JUNE)
REVISION WORKSHEET
GRADE: 5

I. Fill in the blanks:


1. Every statement in BASIC should be terminated by … return or enter---.
key.
2. To clear the screen the command is ……cls……………...
3. Line numbers that we give should be ……whole………………. numbers.
4. When we RUN the program we will get an ……………………. message if you
do not follow the SYNTAX of the student.
5. The rule that we follow to write the commands and a statement is called
……………………....

II. Identify errors and write the correct program:

10 PRINT “COMPUTER” “SCIENCE”

20 PRINT 33+55=

30 PRINT WELCOME

40 PRINT “70“

III. Write the QBASIC code for printing the following:

a. Hi! How are you? ……………………………………………………..

b. A B C D ……………………………………………………….
c. 6667 …………………………………………………………………..

d. ** * ** ………………………………………………………….

IV. Write the output of the following:

a. PRINT TAB(5); “### ### ###”

b. PRINT 79+50

c. PRINT “55-12”

d. PRINT TAB(10); “ FOOTBALL”, “TENNIS”

IV. Write a QBASIC PROGRAM to print your name , age and date of birth.

You might also like