You are on page 1of 2

UNITED ACADEMY NETWORKS

Tariq Road Main NarrWala Road, FAISALABAD


E-Mail: unitedfaisalabad@gmail.com

Name:____________________ Fortnightly TestSubject: Computer(T5) Time: 40


minutes Class: 10th Total Marks: 05
Dated: 12-10-2018

D C B A Question ‫سوال‬
Which of the following is a control
All Loop Selection Sequence 1.
structure in GW-BASIC?
Which of the following control
Iteration Loop Selection Sequence structure in GW-BASIC is used for 2.
decision:
Which keyword is used to specify
WHILE If Else THEN two different choices with IF 3.
statement?
An expression that uses a
Relation Series Decision Condition 4.
relational operator is know as a:
Which option must follow the
Else Then End End If condition in an If… Then 5.
statement?
In “if statement” true is
A and b 2 0 1 6.
represented by a:
ALL NOT OR AND Logical operators are: 7.
How many types of loop statement
6 5 4 2 8.
in GW-BASIC?
Iteration Duration Test cycle One execution of a loop is called: 9.
If the programmer knows in
advance how many times the loop
GOTO Both a and b WHILE…WEND FOR…NEXT 10.
will be executed the suitable
control structure is:
If STEP keyword is not used in
5 10 0 1 For…Next loop, counter variable 11.
is incremented by:
The increment in a For…Next loop
0 Both a and b Negative only Positive only 12.
can be:
Runtime Logical ON ERROR GOTO statement is
Output errors Syntax errors 13.
error errors used to detect:
Which of the following control
Iteration Loop Selection Sequence structure in GW-BASIC is used for 14.
decision making:
Which of the following control
Iteration Loop Selection Sequence structure in GW-BASIC is used to 15.
execute statement in order?
UNITED ACADEMY NETWORKS
Tariq Road Main NarrWala Road, FAISALABAD
E-Mail: unitedfaisalabad@gmail.com
Name:____________________ Fortnightly Test Subject: Computer (T5)
Time: 40 minutes Class: 10th Total Marks: 05
Dated: 12-10-2018

SUBJECTIVE PART
Q2. Give short answer of these following questions: [2x5=10]
What is meant by control structure? 1.
What is the transfer of control? 2.
Write the purpose and syntax of GOTO statement? 3.
Differentiate between GOTO and ON GOTO ? 4.
How does IF…THEN statement in BASIC? 5.
What is the use of GOTO statement in BASIC? 6.
What does BASIC handle error? 7.
What is the use of RESUME statement? 8.
Define loop? 9.
What is counter variable? 10.
Differentiate between FOR…NEXT and
11.
WHILE…WEND loop?
Write down the syntax of FOR…NEXT loop? 12.
Write purpose and syntax of FOR…NEXT loop? 13.
Define nested loop? 14.
Define infinite loop? 15.
Q3. Give Detailed Answer of these Following Questions [5+5=10]
Define control structure. How many control
structure are available in BASIC? Describe 1.
briefly.
Describe the use of ON ERROR GOTO
2.
statement in BASIC with examples.
What is FOR…NEXT loop? Explain with
3.
example?
Explain the use of RESUME statement in BASIC
4.
with examples?

You might also like