Friday 13 March 2020

Solution of Computer Class Nine [St. Mary Higher Secondary School (2074)]


St. Mary Higher Secondary School (2074)

1.       Answer the following questions:
a)       What is computer? Write any for characteristics of a modern computer.
Ans: Computer is an electronic device which is used to input the raw data and instruction by input device, process the data by processing device and produce the information by output devices. Any four characteristics of modern computer are as follows
1. Speed 2. Accuracy 3.Dilligence 4. Storage
b)      Write any four features of 1st generation computer.
Ans: Any four features of 1st generation computer are as follows
1. Huge Size
2. Use of Vaccume Tube
3. Slow processing
4. Produce heat and consume lots of electricity
c)       Draw a Tree structure of the classification of computer. Explain Micro computer.
Classification of computer

d)      Define output device. Write any two differences between CRT and LCD.
Ans: The devices which are used to produce the information after processing raw data are called output devices
The difference between CRT and LCD are as follows
1. CRT uses Cathod ray tube whereas LCD uses Liquid crystal technology to produce output
2. CRT are the heavy size monitor whereas LCD are light and small size monitors.
e)       Why is ROM called non- volatile memory? Name its types.
Ans: ROM is called non-volatile memory because the data and instruction in ROM stored permanently. It's types are as follows
PROM
EPROM
EEPROM
2.       Convert the following as indicated below:
3.       Perform the following binary calculations:
4.       Write the full forms of:
a)       SRAM                       b) EDVAC       c) POST           d) VLSIC
a. Static Random Access Memory
b. Electronic Discrete Variable Automatic Computer
c. Power On Self Test
d. Very Large Scale Integrated Circuit
5.       Fill in the blanks:
a)       The first microprocessor was INTEL 4004
b)      Earth and Heaven are the two sections of an Abacus.
c)       Slide Rule was developed by William Oughtourd
d)      Printer is an example of Hard Copy output device.
6.       Supply an appropriate technical terms:
a)       The basic program stored in ROM chip. BIOS
b)      A part of computer where all the processing tasks are done. CPU
c)       Collection of eight bits.1 BYTE
d)      The physical components of a computer. Hardware
7.       Match the following:
Group “A”                                   Group “B”
a. Data                             (c)error due to the wrong input
b. Information                  (d)error due to the fault in device or program
c. GIGO                           (a)raw facts
d. Bug                             (b) processed data
                                       Capability of doing variety of tasks
Group “B”  Programming
8.       Answer the following questions:
a)       Define string concatenation with suitable example.
Ans: Merging or combing two or more than two string data using + operator is called concatenation of string.
eg.     cls
         a$="see"
         b$="exam"
         c$=a$+b$
         Print c$
here the output is seeexam where the both string variable a$ and b$ values are combine and stored in c$
b)      Write the function and syntax of SWAP statement.
ans: The function of swap statement is to exchange the values of two variables.
syntax: SWAP A,B
c)       Define operators. Name its types.
            Ans: Operators are the special symbols used to perform calculations in qbasic. its types are Arithmetic operator, relational operator, logical operators and string operators.
d)      Define Flowchart.
Flow chart is the pictorial or graphical representation of a program.
9.       Predict the output of:
CLS
A$ = "FLUORESCENT"
FOR J = 1 TO 5
    READ N
    PRINT MID$(A$, N, 1)
NEXT J
DATA 10,6,3,5,4
END
The output is                    N
                                       E
                                       U
                                       R
                                       O
10.   Re-write the following program after correcting the bugs:
11.   Rewrite by SELECT CASE statement:

12.   WAP for the following:
a)       WAP to calculate volume of cylinder.
                        CLS
                        INPUT "ENTER THE RADIUS";R
                        INPUT "ENTER THE HEIGHT";H
                        V=22/7*R^2*H
                        PRINT "VOLUME";V
                        END

b)      WAP to input three different words and find the longest word.
CLS
INPUT "ENTER THREE WORDS";A$,B$,C$
IF LEN(A$)>LEN(B$) AND LEN(A$)>LEN(C$) THEN
PRINT "LONGEST WORD";A$
ELSEIF LEN(B$)>LEN(A$) AND LEN(B$)>LEN(C$) THEN
PRINT "LONGEST WORD";B$
ELSE
PRINT "LONGEST WORD";C$
ENDIF
END
c)       WAP to input any number and check whether the supplied number is Prime or Composite.
CLS
INPUT "ENTER A NUMBER";A
FOR I=1 TO A
IF A MOD I=0 THEN C=C+1
NEXT I
IF C=2 THEN PRINT "PRIME" ELSE PRINT "COMPOSITE"
END
d)      WAP to input any word to remove all the vowels and make a new words with consonants only. Suppose input word is NEPAL output should ne NPL.
CLS
INPUT "ENTER A WORD";A$
FOR I=1 TO LEN(A$)
M$=MID$(A$,I,1)
SELECT CASE UCASE$(M$)
CASE "A","E","I","O","U"
CASE ELSE
N$=N$+M$
END SELECT
NEXT I
PRINT "WORD WITHOUT VOWELS";N$
END
e)       WAP to generate 20 , 10, 5 , 16 , 8 ….. up to 10th terms.
CLS
A=40
FOR I=1 TO 10
IF A MOD 2=0 THEN
A= A/2
ELSE
A= (A*3)+1
ENDIF
PRINT A
NEXT I
END

No comments:

Post a Comment

MCQ Question Bank Microsoft PowerPoint