Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 126 - 2505_CoreGPT(Podar)_Flipbook_C7
P. 126

    Mind Boggler

                                                                                                      21 st   #Technology Literacy
                          Competency-based questions.                                               Century   #Critical Thinking
                                                                                                      Skills
                         1.   You want to draw a circle in the graphics window using the CIRCLE statement in BASIC-256. The
                            circle needs to have a center at coordinates (100, 150) and a radius of 50. What is the correct syntax
                            to draw the circle with the given coordinates and radius using the CIRCLE statement?

                         2.   Anjali wants to set the drawing colour to purple in BASIC-256, using the RGB values for red (255),
                            green (0) and blue (255). What is the COLOR command Anjali should use to set the drawing colour
                            to purple?

                                                                                                      21 st
                        Lab Session                                                                 Century   #Technology Literacy
                                                                                                          #Critical Thinking
                                                                                                      Skills
                            Using the CIRCLE statement, how would you draw a circle with the center at (150, 150) and a
                            radius of 50?

                            If you wanted to create a rectangle with a red border and a yellow fill in BASIC-256, how would
                            you do it using the COLOR command?
                            Using the LINE statement, how would you draw a vertical line at x=100 from y=50 to y=200 in
                            BASIC-256?

                      Teacher's Note

                        1.  Discuss about graphics statements of BASIC-256 with the students.
                        2.  Go through all the topics covered in this chapter.

                    124     Premium Edition-VII

| 121 122 123 124 125 126 127 128 129 130 131 |