Professional Documents
Culture Documents
". *In+#!** de'ice is used to (eed data into a computer. ). In QBASIC, SCR**N 2 is called **'&,'** resolution 2raphic mode.
Pa2e 1 o( -
$. :rite the (unction o( a C4L4R command. Ans. This command is used to chan2e the colour o( te/t and 2raphics. This command is used (or SCR**N + and SCR**N 1onl&, as SCR**N 2 2raphics are onl& in .lac1 and ,hite. 3. :hat is an Interpreter; Ans. An Interpeter is a computer pro2ram that e/ecutes instructions ,ritten in a pro2rammin2 lan2ua2e. 5. :rite the e/amples o( Primar& and Secondar& Stora2e de'ice. Ans. */amples o( Primar& Stora2e de'ices are @ RAA, R4A */amples o( Secondar& Stora2e de'cies are @ 0ard 9is1, <lopp& 9is1, Aa2netic tapes 6. :rite the main components o( computer. Ans. The main components o( computer are Input Bnit, S&stem Bnit, Stora2e Bnit and 4utput Bnit.
Pa2e 2 o( -
1+. 9e(ine S&stem Bnit. Ans. S&stem Bnit ? Aost parts o( the computer are (ound in a .o/ called S&stem Bnit.
c. Input and 4utput Bnit. Ans. In+#! Un&! ? 9ata and in(ormation need to .e 2i'en to a computer throu2h an INPBT BNIT. This unit ,ill send the data to the s&stem unit. The de'ices used to (eed data or in(ormation are called Input de'ices. */amples@ Ee&.oard, Aouse, Fo&stic1, Scanner etc. O#!+#! Un&! ? :hen data or in(ormation is 2i'en to the S&stem Bnit throu2h the input Bnit, the processed in(ormation is sent to the 4BTPBT BNIT. The de'ices on ,hich processed in(ormation is displa&ed are called 4utput de'ices.
Pa2e 3 o( -
*/amples@ Aonitor, Printer. d. SCR**N 1 and SCR**N 2 command. 7a8 Ans. SCREEN 1 and SCREEN 2
SCREEN 1 1. This screen has 20 colu!ns and 200 rows. 2. #t is a $ediu! Resolution %raphics $ode. . #n SCREEN 1' we can change the colour o( graphics. SCREEN 2 This screen has "40 colu!ns and 200 rows. #t is a &igh Resolution %raphics $ode. #n SCREEN 2' we can not change the colour o( graphics.
1+ CLS 2+ PRINT 1$G) "+ PRINT 6H2#% )+ PRINT TAB72+8D Aonitor% -+ PRINT )!" # $!2% $+ PRINT computer%
() 1+. SCR**N 1
2+. C4L4BR " "+. 9RA: B)+%D%9)+% )+ 9RA: *-$% -+ dra, r$+% $+ end
1+ SCR**N 1 2+ C4L4R " "+ 9RA: B)+D9)+% )+ 9RA: *-$% -+ 9RA: R$+% $+ *N9
Pa2e - o( -