0% found this document useful (0 votes)
419 views1 page

Test Chapter # 2

This document contains a test for a 10th grade computer science class at Daanish School in Fazilpur, Punjab, Pakistan. The test has two parts: [1] A 10 question multiple choice section testing knowledge of GW-Basic concepts like modes of operation, data types, commands, and syntax rules. [2] An open response section asking students to briefly discuss GW-Basic's modes of operation, write a program to sum values from a DATA statement, describe variable naming rules, explain operator types and uses, and define type declaration characters with examples. The test is out of 25 total marks and has a time limit.

Uploaded by

Sikandar Aman
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
419 views1 page

Test Chapter # 2

This document contains a test for a 10th grade computer science class at Daanish School in Fazilpur, Punjab, Pakistan. The test has two parts: [1] A 10 question multiple choice section testing knowledge of GW-Basic concepts like modes of operation, data types, commands, and syntax rules. [2] An open response section asking students to briefly discuss GW-Basic's modes of operation, write a program to sum values from a DATA statement, describe variable naming rules, explain operator types and uses, and define type declaration characters with examples. The test is out of 25 total marks and has a time limit.

Uploaded by

Sikandar Aman
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

GOVT.

OF PUNJAB
Punjab Daanish Schools &Centers of Excellence Authority

DAANISHSCHOOL (BOYS) FAZILPUR


Test 2nd Chapter
Subject: COMPUTER SCIENCE ` Class: 10th

Max Marks: Time Allowed:

Name: Date:

DBR: Section:

Objective
Note: You have four choices for each objective type question as A. B, C and D. The choice which you think is correct; fill that
circle infront of that question number. Use Marker or pen to fill the circle cutting or filling two or more circles will result
in zero mark in that question.
Total Marks: 10
1. GW-Basic can operate in ___________________?
(A) One mode (B) Two modes (C) Three modes (D) Several modes

2. When a floating-point value is converted to an integer, the fractional part.


(A) Truncated (B) Rounded off
(C) May be truncated or rounded off (D) Conversion is impossible

3. Which of the following statement temporarily stops the execution of a program?


(A) BREAK (B) END (C) PAUSE (D) STOP

4. Which of the following command continuous the program whose execution was terminated temporarily?
(A) CONTINUE (B) CONT (C) RESTART (D) START

5. Which of the following operators has the highest precedence?


(A) ^ (B) * (C) + (D) =

6. The maximum length of a variable name in GW-Basic is.


(A) 31 (B) 32 (C) 40 (D) 45
7. Which of the following is a short key to rum a program in GW-Basic?
(A) F4 (B) F3 (C) F2 (D) F1
8. Which of the following is a type declaration character for integer variables?
(A) ! (B) % (C) # (D) $
9. A variable name must start with a(n).
(A) Alphabet (B) Underscore (C) Digit (D) Alphabet & underscore

10. If two or more statements are written on a line, they must be separated by a.
(A) Colon (B) Semi colon (C) comma (D) Hypen

2. Attempt any five Parts: [5x3=15]

1. In how many modes, GW-BASIC can operate? Discuss briefly .


2. Write a program to read ten values specified in DATA statement, and display the sum of these values
on the screen.
3. Describe rules of naming variable in GW-Basic.
4. Briefly describe the uses of arithmetic, logical, and relational operators.
5. What are type declaration characters? Explain their uses with examples.

You might also like