GOVT.
OF PUNJAB
Punjab Daanish Schools &Centers of Excellence Authority
DAANISHSCHOOL (BOYS) FAZILPUR
Test 6thChapter
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. A Line can be draw with the following statement.
(A) LIne (B)Draw (C)Both a and b (D)None of them
2. In Medium resolution screen mode colors for foreground are:
(A) 1 (B) 2 (C)4 (D) 16
3. The Set of colors Red, Green, and Brown is given in :
(A) Palette 0 (B) Palette 1 (C) Both A and B (D) None of them
4. Which of following is not a valid graphic mode command?
(A) line (B) PSET (C)Color (D) None of them
5. Which Function change the way of displaying output in BASIC?
(A) SCREEN
(B) PRINT
(C)LEFT$ (D) ABC
6. The Number background colors available in Basic are.
(A) 4 (B) 8 (C) 12 (D) 16
7. Normally the computer monitor screen is in.
(A) Graphic mode (B) Text (C)Both a and b (D)None of them
8. On color monitor screen mode of.
(A) 2 type (B)3 type (C) 4 type (D) 5 type
9. The prefix “B” in draw statement is used for:
(A) Draw a block (B) Move with (C) Both a and b (D) move with blue mark black mar
10. The circle statement can also be used to draw a/an:
(A) line (B) Box (C)Ellipse (D)pset
2. Attempt any five Parts: [5x3=15]
1. Write a program to draw a star.
2. Define the Palette.
3. Write a program to draw a parallelogram by using draw statement.
4. Describe the screen statement.
5. Compare differentiate line and draw statements.