-
CBSE Important Questions›
-
CBSE Previous Year Question Papers›
- CBSE Previous Year Question Papers
- CBSE Previous Year Question Papers Class 12
- CBSE Previous Year Question Papers Class 10
-
CBSE Revision Notes›
-
CBSE Syllabus›
-
CBSE Extra Questions›
-
CBSE Sample Papers›
- CBSE Sample Papers
- CBSE Sample Question Papers For Class 5
- CBSE Sample Question Papers For Class 4
- CBSE Sample Question Papers For Class 3
- CBSE Sample Question Papers For Class 2
- CBSE Sample Question Papers For Class 1
- CBSE Sample Question Papers For Class 12
- CBSE Sample Question Papers For Class 11
- CBSE Sample Question Papers For Class 10
- CBSE Sample Question Papers For Class 9
- CBSE Sample Question Papers For Class 8
- CBSE Sample Question Papers For Class 7
- CBSE Sample Question Papers For Class 6
-
ISC & ICSE Syllabus›
-
ICSE Question Paper›
- ICSE Question Paper
- ISC Class 12 Question Paper
- ICSE Class 10 Question Paper
-
ICSE Sample Question Papers›
- ICSE Sample Question Papers
- ISC Sample Question Papers For Class 12
- ISC Sample Question Papers For Class 11
- ICSE Sample Question Papers For Class 10
- ICSE Sample Question Papers For Class 9
- ICSE Sample Question Papers For Class 8
- ICSE Sample Question Papers For Class 7
- ICSE Sample Question Papers For Class 6
-
ICSE Revision Notes›
- ICSE Revision Notes
- ICSE Class 9 Revision Notes
- ICSE Class 10 Revision Notes
-
ICSE Important Questions›
-
Maharashtra board›
-
Rajasthan-Board›
- Rajasthan-Board
-
Andhrapradesh Board›
- Andhrapradesh Board
- AP Board Sample Question Paper
- AP Board syllabus
- AP Board Previous Year Question Paper
-
Telangana Board›
-
Tamilnadu Board›
-
NCERT Solutions Class 12›
- NCERT Solutions Class 12
- NCERT Solutions Class 12 Economics
- NCERT Solutions Class 12 English
- NCERT Solutions Class 12 Hindi
- NCERT Solutions Class 12 Maths
- NCERT Solutions Class 12 Physics
- NCERT Solutions Class 12 Accountancy
- NCERT Solutions Class 12 Biology
- NCERT Solutions Class 12 Chemistry
- NCERT Solutions Class 12 Commerce
-
NCERT Solutions Class 10›
-
NCERT Solutions Class 11›
- NCERT Solutions Class 11
- NCERT Solutions Class 11 Statistics
- NCERT Solutions Class 11 Accountancy
- NCERT Solutions Class 11 Biology
- NCERT Solutions Class 11 Chemistry
- NCERT Solutions Class 11 Commerce
- NCERT Solutions Class 11 English
- NCERT Solutions Class 11 Hindi
- NCERT Solutions Class 11 Maths
- NCERT Solutions Class 11 Physics
-
NCERT Solutions Class 9›
-
NCERT Solutions Class 8›
-
NCERT Solutions Class 7›
-
NCERT Solutions Class 6›
-
NCERT Solutions Class 5›
- NCERT Solutions Class 5
- NCERT Solutions Class 5 EVS
- NCERT Solutions Class 5 English
- NCERT Solutions Class 5 Maths
-
NCERT Solutions Class 4›
-
NCERT Solutions Class 3›
-
NCERT Solutions Class 2›
- NCERT Solutions Class 2
- NCERT Solutions Class 2 Hindi
- NCERT Solutions Class 2 Maths
- NCERT Solutions Class 2 English
-
NCERT Solutions Class 1›
- NCERT Solutions Class 1
- NCERT Solutions Class 1 English
- NCERT Solutions Class 1 Hindi
- NCERT Solutions Class 1 Maths
-
JEE Main Question Papers›
-
JEE Main Syllabus›
- JEE Main Syllabus
- JEE Main Chemistry Syllabus
- JEE Main Maths Syllabus
- JEE Main Physics Syllabus
-
JEE Main Questions›
- JEE Main Questions
- JEE Main Maths Questions
- JEE Main Physics Questions
- JEE Main Chemistry Questions
-
JEE Main Mock Test›
- JEE Main Mock Test
-
JEE Main Revision Notes›
- JEE Main Revision Notes
-
JEE Main Sample Papers›
- JEE Main Sample Papers
-
JEE Advanced Question Papers›
-
JEE Advanced Syllabus›
- JEE Advanced Syllabus
-
JEE Advanced Mock Test›
- JEE Advanced Mock Test
-
JEE Advanced Questions›
- JEE Advanced Questions
- JEE Advanced Chemistry Questions
- JEE Advanced Maths Questions
- JEE Advanced Physics Questions
-
JEE Advanced Sample Papers›
- JEE Advanced Sample Papers
-
NEET Eligibility Criteria›
- NEET Eligibility Criteria
-
NEET Question Papers›
-
NEET Sample Papers›
- NEET Sample Papers
-
NEET Syllabus›
-
NEET Mock Test›
- NEET Mock Test
-
NCERT Books Class 9›
- NCERT Books Class 9
-
NCERT Books Class 8›
- NCERT Books Class 8
-
NCERT Books Class 7›
- NCERT Books Class 7
-
NCERT Books Class 6›
- NCERT Books Class 6
-
NCERT Books Class 5›
- NCERT Books Class 5
-
NCERT Books Class 4›
- NCERT Books Class 4
-
NCERT Books Class 3›
- NCERT Books Class 3
-
NCERT Books Class 2›
- NCERT Books Class 2
-
NCERT Books Class 1›
- NCERT Books Class 1
-
NCERT Books Class 12›
- NCERT Books Class 12
-
NCERT Books Class 11›
- NCERT Books Class 11
-
NCERT Books Class 10›
- NCERT Books Class 10
-
Chemistry Full Forms›
- Chemistry Full Forms
-
Biology Full Forms›
- Biology Full Forms
-
Physics Full Forms›
- Physics Full Forms
-
Educational Full Form›
- Educational Full Form
-
Examination Full Forms›
- Examination Full Forms
-
Algebra Formulas›
- Algebra Formulas
-
Chemistry Formulas›
- Chemistry Formulas
-
Geometry Formulas›
- Geometry Formulas
-
Math Formulas›
- Math Formulas
-
Physics Formulas›
- Physics Formulas
-
Trigonometry Formulas›
- Trigonometry Formulas
-
CUET Admit Card›
- CUET Admit Card
-
CUET Application Form›
- CUET Application Form
-
CUET Counselling›
- CUET Counselling
-
CUET Cutoff›
- CUET Cutoff
-
CUET Previous Year Question Papers›
- CUET Previous Year Question Papers
-
CUET Results›
- CUET Results
-
CUET Sample Papers›
- CUET Sample Papers
-
CUET Syllabus›
- CUET Syllabus
-
CUET Eligibility Criteria›
- CUET Eligibility Criteria
-
CUET Exam Centers›
- CUET Exam Centers
-
CUET Exam Dates›
- CUET Exam Dates
-
CUET Exam Pattern›
- CUET Exam Pattern
CBSE Class VII Computer Science Chapter 19 – Graphics in QBASIC
The elements required to construct a QBASIC program consists of a set of characters, keywords, constants, variables, operators and expressions. A constant is a value that does not change during execution of a program. A variable is the name of a location in the computer memory where a number or a string is stored.
The commonly used QBASIC statements are LET, PRINT, INPUT, CLS, END, GOTO, IF. THEN and REM. The statements used for creating graphics on the screen are SCREEN, LINE, CIRCLE etc. In QBASIC, LET statement is used to assign a value to a variable. PRINT statement is used to display any message or value on the screen. INPUT statement in QBASIC is used to accept the data item from the user. GOTO statement is used to transfer the program control from one statement to another. IF…THEN statement is used for making decisions based on comparisons.
The statement tests a particular condition. QBASIC is used to display graphics by using special graphic statements that allow a variety of graphics to be created. The screen is made up of hundreds of pixels. The number of pixels determines the resolution of the monitor. SCREEN statement is used to set the screen resolution.
COLOR statement is used to change the background and foreground colours of the screen. LINE statement is used to draw a straight line between any two points on the screen. CIRCLE statement is used to draw a circle, an ellipse or an arc of a circle. Play statement is used to generate musical notes.