You are on page 1of 1

FEDERAL SCIENCE COLLEGE, Boys Wing, Gujranwala

Class : 10 th
COMPUTER SCIENCE ASSIGNMENT # 3 From ch#1,2 Marks: 30

Name : _______________________________ Roll # ____________ Section ____________

Q1. Choose the correct answer.


(i) BASIC is a:
(a) High Level Lange (b) Low level Language
(c) Assembly Language (d) Machine language
(ii) How many possible solutions are there for a problem?
(a) One (b) Two
(c) three (d) Multiple
(iii) Gw-Basic can operate in:
(a) One Mode (b) Two Modes
(c) Three modes (d) several modes
(iv) The maximum length of a variable name in GW-BASIC is:
(a) 31 (b) 32
(c) 40 (d) 45
(v) if two or more statements are written on a line, they must be separated by a:
(a) Colon (b) Semi colon
(c) Comma (d) Hyphen
Q2. Answer the following Short questions.
(a) Write the purpose of the function keys i.e; from F1 to F9.
(b) What are type declaration characters? Explain their uses with examples.
(c) Describe structure of GW-BASIC language.
(d) What do you mean by problem solving? Briefly describe the problem solving process.
(e) Define algorithm. Write a step-form algorithm for making a telephone call to your friend.

FEDERAL SCIENCE COLLEGE, Boys Wing, Gujranwala


Class : 10 th
COMPUTER SCIENCE ASSIGNMENT # 4 From ch#3,4 Marks: 30

Name : _______________________________ Roll # ____________ Section ____________

Q1. Choose the correct answer.


(ii) Which of the following is not a logical operator:
(b) AND (b) OR
(c) NRITHER (d) NOT
(ii) Which of the following cannot be used to exit from an error handling routine?
(b) Resume (b) Resume next
(c) END (d) Stop
(iii) FOR….NEXT is used to implement:
(b) Iteration (b) Selection
(c) Sequence (d) All of the above
(iv) Which one is a multiple branching statement?
(b) IF……ELSE (b) GOTO
(c) ON…….GOTO (d) ON ERROR GOTO line number
(v) There are ______ types of array.
(b) 1 (b) 2
(c) 3 (d) 4
Q2. Answer the following Short questions.
(a) What is meant by DIM statement?
(b) Describe the use of subscript variable in array.
(c) Differentiate between1-D and 2-D Array.
(d) Define control structure. How many control structures are available in BASIC, Discuss
(e) Differentiate WHILE…WEND and FOR….Next loop. Which one is better?

You might also like