Good News: Now View/Read Notes & Lectures anytime, anywhere at your Mobile.

Download 10th Class Computer Science Notes (Unit-14) for Federal Board (FBISE) Islamabad

Download 10th Class Computer Science Notes (Unit-14) for Federal Board (FBISE) Islamabad

Very Easy, Updated & Comprehensive Notes for all types of students i.e. Average / Extra Ordinary

Note: 
  • Please subscribe our SMS Alerts Service, Email Updates and Like our Facebook Page from right sidebar to get latest updates regarding our notes & other material/posts.
  • You can also install our Mobile App to view/read our notes anytime, anywhere on mobile.
  • Please inform us regarding any correction/mistake (if found) by Contacting Us.
  • Please SHARE this page from below, if you like these Notes to support us.

Download 10th Class Computer Science Notes (Unit-14) for Federal Board (FBISE) Islamabad



What is meant by pixel and resolution?
Pixel:
All images on a monitor screen are composed of very fine and small dots or picture elements. These fine dots are called ‘pixels’ or picture elements. The size, color and number of pixels varies from monitor to monitor.
Resolution:
The number of pixels per inch on a monitor screen is the resolution the monitor. Quality graphics can be produced if the resolution is high.

Describe the different modes to display graphics of the screen.
In GW-BASIC, ‘screen’ function is used to set the graphics mode. It can set the screen to any of the following three modes:
Text Mode:
In Text mode, only characters can be displayed on the screen. In this mode the screen is divided in 40 columns and 25 rows (40×25) or 80 columns and 25 rows (80×25).
Medium Resolution Graphics Mode:
In medium resolution graphics mode, the screen is divided into a matrix consisting of 320 columns and 200 rows with 3 colors. Columns are numbered from 0 to 199.
High Resolution Graphics Mode:
In high resolution graphics mode, the screen is divided into 640 columns and 200 rows. Columns are numbered from 0 to 639 and rows are numbered from 0 to 199. The first location can be referred with (0,0) and the last location by (639,199) which is the lower right corner of screen.

What do you mean by the background color and palettes?
In this mode, there are 16 background colors from 0 to 15. There are two palettes (numbered from 0 to 1) available each consisting of 4 colors.
COLOR                                             CODE
Pallette 0   Background                 0
                Green                        1
                Red                           2
                Brown                        3
Pallette     Background                 0
                Cyan                         1

What is the purpose and syntax of the PSET statement? Give examples.
This statement draws a point (dot) on screen specified coordinates (x, y).
Syntax:
Line# PSET (x, y), color
Example:
10     CLS
20     SCREEN 1, 0
30     COLOR 1, 0
40     PSET (40, 10), 2
This program draws a point at (40, 10) in brown color.

What is the purpose and syntax of the LINE statement?
The LINE statement is used to draw a line between two points. The two point are specified in (x, y) coordinate.
Syntax:
Line# LINE (x, y) – (x, y), color
Example:
10     CLS
20     SCREEN 1, 0
30     COLOR 2, 0
40     LINE (80, 50) – (200,110), 2
50     END

Describe the use of ‘screen’ function with example.
Normally the monitor screen is in the text mode. In GW-BASIC, we cannot draw good graphics in text mode. For drawing good graphics (circles, lines, points etc.), the screen must be set to ‘medium’ or ‘high’ resolution mode. This is done with the help of ‘screen’ function.
Syntax:
Line# SCREEN mode
‘Mode’ can be set in any of these three ways:
     Text Mode                                          SCREEN 0
     Medium Resolution Graphics Mode         SCREEN 1
     High Resolution Graphics Mode              SCREEN 2
Example of Screen Function: 10     SCREEN2
In above example, the screen will be set to ‘medium resolution graphics’ mode.

Describe the use of ‘color’ statement with example.
The ‘color’ statement is used to set the color in GW-BASIC. Its function also depends of the screen mode. It does not work in ‘high’ resolution graphics mode.
Syntax:
Line# COLOR [foreground], [background]
The foreground color number must be an integer from 0 to 31. Color from 16 to 31 are blinking versions of the colors fro 0 to 15. The background colors are from 0 to 15.
Example:
10     CLS
20     SCREEN 0
30     COLOR 4, 2
40     PRINT “PAKISTAN”

Syntax of Color Statement in Medium Resolution Graphics Mode is:
Line# COLOR [background], [palette]


What is the purpose and syntax of DRAW statement? Which commands in DRAW statement are used for diagonal movement?
A string consists of single character command followed by a prefix that controls the size, direction etc, of the line. It is enclosed in the quotation marks.
Example:
30     DRAW “E30”
Drawing Commands:
The drawing commands are used with ‘n’ as the prefix to describe the number of points moved by the command.

COMMENTS

Name

10th Class Notes,88,10th Class Old Papers,2,1st Year Notes,11,5th Class Notes,6,6th Class Notes,61,6th Class Old Papers,2,7th Class Notes,55,7th Class Old Papers,2,8th Class Notes,66,8th Class Old Papers,2,9th Class Notes,88,9th Class Old Papers,2,Articles,1,Download Free E-Books on IT,1,Guess Papers,11,Home Tutors,4,Home Tutors in Islamabad & Rawalpindi,15,Home Tutors in Jhang,1,Home Tutors in Karachi,2,Home Tutors in Lahore,4,Home Tutors in Multan,1,Home Tutors in Rahim Yar Khan,1,Home Tutors in Wah Cantt & Taxila,3,Important Questions,11,Information Technology,1,Miscellaneous,10,News & Events,4,Notes & Handouts,377,Old Papers,11,Solved AIOU Assignments,1,Video Lectures,1,
ltr
item
Download Class Notes: Download 10th Class Computer Science Notes (Unit-14) for Federal Board (FBISE) Islamabad
Download 10th Class Computer Science Notes (Unit-14) for Federal Board (FBISE) Islamabad
Download 10th Class Computer Science Notes (Unit-14) for Federal Board (FBISE) Islamabad
https://4.bp.blogspot.com/-2Ha5_UJDAdw/WKKJx2p1qeI/AAAAAAAADZ8/RdeI-n4x1WEvHuYA9Byee_mdd3UeBT7swCLcB/s1600/10th_class_computer_science_notes_fbise_islamabad_by_shahzad_iftikhar.jpg
https://4.bp.blogspot.com/-2Ha5_UJDAdw/WKKJx2p1qeI/AAAAAAAADZ8/RdeI-n4x1WEvHuYA9Byee_mdd3UeBT7swCLcB/s72-c/10th_class_computer_science_notes_fbise_islamabad_by_shahzad_iftikhar.jpg
Download Class Notes
http://www.downloadclassnotes.com/2017/02/unit-14-download-10th-class-x-computer-science-notes-for-federal-board-fbise-islamabad.html
http://www.downloadclassnotes.com/
http://www.downloadclassnotes.com/
http://www.downloadclassnotes.com/2017/02/unit-14-download-10th-class-x-computer-science-notes-for-federal-board-fbise-islamabad.html
true
6576910405746451012
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS CONTENT IS PREMIUM Please share to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy