Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

PUNJAB GROUP OF COLLEGES th

(GOJRA CAMPUS)
Marks: 10 Computer 10 (Objective Part) Time: 15 min.
Test Series: T-II 2021
Name: ________ Roll No: ________ Section: _________
Q# 1. Choose suitable answer. 10
No. Questions A B C D
Which of the following statement temporarily stops the execution of a
1 program? BREAK END PAUSE STOP
‫دنمرہجذلیوکیسنٹنمٹیٹسرپورگاموکےنلچےساعریضوطررپرویتکےہ؟‬
Which of the following operator has highest precedence?
2 ^ * + =

A variable name must start with a(n):


3 Alphabet Underscore Digit A&B
‫اکیریغتماکانمالزیمرشوعوہاناچےئہ؟‬
Which of the following is not a logical operator? AND OR NEITHER NOT
4
‫انںیموکاسنوللکیجآرپرٹیںیہنےہ؟‬
How many types of control statements are in GW-BASIC?
5 1 5 7 3
‫ںیمرٹنکولٹنمٹیٹسیکینتکااسقمںیہ؟‬GW-BASIC
A loop within a loop is called. Complex loop Infinite loop Inner loop
6 Nested loop
‫ولپےکادنرولپالہکیتےہ۔‬
Which is a loop statement?
7 FOR….NEXT WHILE… WEND IF..THEN..ELSE A&B
‫وکیسنولپٹنمٹیٹسےہ؟‬
ON ERROR GOTO statement is used to detect..
8 Logical errors Syntax errors Runtime Errors Output errors
‫ ٹنمٹیٹسیطلغاکنےنلےکےیلاامعتسلوہیتےہ۔‬ON ERROR GOTO
How many types of loop statements in GW-BASIC?
9 2 4 5 6
‫ںیمولپٹنمٹیٹسیکینتکااسقمںیہ؟‬GW-BASIC
Which of the following control structure is used in BASIC for decision
10 making? Sequence Selection Loop Iteration
‫کسیبںیموکاسنرٹنکولرٹسرچکیہلصیفاسزیےکےیلاامعتسلوہاتےہ؟‬
-------------------------------------------------------------------------------------------------------------------------------
Marks: 40 Computer 10th (Subjective Part) Time: 1:45 Hrs.
Test Series: T-II 2021 Roll No: _____
Q # 2. Write short answers. 12 x 2=24
No. Questions ‫وساالت‬
‫نٹ‬
1 Define SAVE command and write its syntax. ‫ویسامکڈنیکیرع ف ںیھکاورا اک کس ںیھک۔‬
2 In BASIC, what is the function of LOAD command? ‫کسیبںیمولڈامکڈناکایکاامعتسلےہ؟‬
3 What is use of PRINT statement? ‫رپٹنٹنمٹیٹساکایکاامعتسلےہ؟‬
4 What is logical expression? ‫وللکیجارپسکینشیایکےہ؟‬
5 Define operator. ‫آرپرٹییکیرع ف ںیھک۔‬
6 What is meant by control structure? ‫رٹنکولرٹسرچکیےکایکینعمںیہ؟‬
‫نٹ‬
7 Write purpose and syntax of WHILE.. WEND LOOP. ‫ اکدصقماور کس ںیھک۔‬WHILE.. WEND LOOP.
8 Define loop. ‫ولپایکیرع ف ںیھک۔‬
‫س‬ ‫ک‬‫نٹ‬
9 Write down the syntax of FOR…NEXT loop. ‫ ںیھک۔‬ ‫اک‬FOR…NEXT loop
10 Define infinite loop. ‫الدحمودولپیکیرع ف ںیھک۔‬
11 Why is loop control structure used in BASIC? ‫کسیبںیمولپرٹنکولرٹسرچکویکںاامعتسلوہاتےہ؟‬
12 What is transfer of control? ‫اکؤرٹنریغتمایکےہ؟‬
Q # 3 Write detail answers. 16
1 Write a program to print first ten odd numbers using WHILE..WEND ‫ اکاامعتسلرکےتوہےئےلہپدساطقادعاداکرپورگام‬WHILE..WEND loop
loop. ‫ ںیھک۔‬
2 Define control structure. How many control structures are available in ‫رٹنکولرٹسرچکیکیرع فرکںی۔کسیبںیمےنتکرٹنکولرٹسرچکںیہ؟‬
BASIC?

You might also like