Monday, February 17, 2020

Solved Model Set 6 - Grade IX - Computer Science


1.               Answer the following questions.                         5×2=10
                  a) Define computer. List any two characteristics of computer.
                  A computer is an electronic machine that accepts the data and instructions from the user, process the data and instructions from the given set of instructions, stores and gives the information.
                              Any two characteristics of computer
High speed
 Accuracy

                  b) Why do computer need primary memory ?
                        computer need primary memory to store data that the CPU needs imminently so that it does not have to wait for it to be delivered
                  c) What is system software ? Write its types.
                        System software is a set of programs that manages and supports the computer resources and operations of a computer system.
                  Its Types are: Operating System, Language Processor, Utility Software
                  d) List any four positive impacts of computer in our society.
                  Any four positive impacts of computer in our society are:
1.     It creates new and interesting fields of employments.
2.     It helps to do work in very less time.
3.     It provides faster communication.
4.    It provides greater access to resources.

                  e) Computers are used on entertainment, Justify your answer.
                  Yes, computers are used on entertainment. Computers use multimedia technology to entertain the user. It provides variety of multimedia products to the several developers. It too facilitates graphics, sound and animation to make audio and video effective.

2.               a) Convert as instructed :                                     2
                        i) (450)8 into Binary  ii) (10111)2 into Hexadecimal
                  b) Perform binary calculations:                                       2
                        i) (111 + 11) × 101     ii) 10101 divided by 11
3.               Match the following.                                                        2
                  Group ‘A’                         Group ‘B’
a.      Data                            c) Error due to the wrong input
b.     Information                 -)Storage device
c.      GIGO                          d) Error in the program
d.     Bug                             a) Raw facts or symbol
                                                            b) Processed data
4.               Choose the correct answers:                                            2
                  a) Vaccum tube was developed by ...............
                        i) Lee de Forest         ii) Jack Killby            
iii) Pascal                    iv) Dr. Marcian
                  b) Source program is written in ...............language.
                        i) English                    ii) Machine    
iii) High level             iv) Symbolic
                  c) Cyber law was introduced in Nepal in .............BS.
                        i) 206              ii) 2061           iii) 2057          iv) 2059
                  d) Which of the following is volatile memory ?
                        i) Hard disk                 ii) Floppy disk                       
iii) RAM                     iv) ROM
5.               Give the appropriate technical of the following: 2
                  a) A block of CPU that is used to do logical operations. ALU
                  b) The basic program stored in ROM chip. Firmware
                  c) An input device which converts text or images into digital form. Scanner
                  d) The physical components of computer system. Hardware
6.               Write full form of :                                                          2
                  i) IT – Information Technology
                  ii) VLSI – Very large Scale Integrated Circuit
                  iii) GIS - Geographic Information System                      
iv) OCR – Optical Character Reader
Group B :
DOS + Windows [5 marks]
7.               Answer the following questions.                         5
                  a) List any two icons available on desktop.
                  Any two icons available on desktop are:
1.     My Computer
2.     My Documents
                  b) Write down the steps to create a new folder.
                  The steps to create new folder are:
Ø  Right click on the empty area. A shortcut menu will appear.
Ø  Select New and then Folder. A new folder icon will appear with the text New Folder highlighted, which indicates that it can be changed.
Ø  Type a new name for the folder and press  Enter key.
                  c) Write the difference between copying and moving.
The main difference between copying and moving is that the copying makes a duplicate of a file or directory in another location without affecting the original content while moving transfers the original file or directory to another location.
                 
Group C :
Programming [23 marks]
8.               Answer the following questions.                                     3
                  a) What is Library function ?
                  Library function  is pre-defined program which is provided by QBASIC to perform some task easily.

                  b) What is looping ?
                  Looping is the process of repeating the execution of a statement or a block of statements guided by a condition.

                  c) Write the function of the following statement.          
                        a) LEN            : It returns the number of characters in a string.      
                        b) SGN: It returns the sign of a number.

9.               Re-write the following program with correcting the bus:                       2
                  CLS
                  REM to generate series 1, 9, 25............upt to 10th term.
                  a= 1
                  x = 1
                  DO WHILE x > - 10
                  PRINT a2;
                  a = a+ 1
                  x = x + 1
                  WEND
                  END
                  Debugged Program
CLS
REM to generate series 1, 9, 25............upt to 10th term.
a = 1
x = 1
DO WHILE x <= 10
    PRINT a ^ 2;
    a = a + 2
    x = x + 1
LOOP
END

10.             Write the output of the following program :                               2
                  CLS
                  n$ = “SARBAJANIK”
                  FOR i = LEN (N$) TO 1 STEP - 1
                  b$=RIGHT$(N$, I)
                  PRINT b$
                  NEXT i
                  END
                  Output
                  SARBAJANIK
                  ARBAJANIK
                  RBAJANIK
                  BAJANIK
                  AJANIK
                  JANIK
                  ANIK
                  NIK
                  IK
                  K

11.             Re-write the following program using WHILE..........WEND loop: 2
                  CLS
                  FOR x = 1 TO 10 STEP 2
                  PRINT x
                  s = s + x
                  NEXT x
                  PRINT “Sum =”;S
                  END
CLS
                  X=1
WHILE X<= 10
                  PRINT X
                  S = S + X
                  X=X+2
                  WEND
                  PRINT “Sum =”;S
                  END
12.             Study the following program and answer the questions: 2
                  CLS
                  INPUT “Enter any string=”;n$
                  FOR x = 1 TO LEN (n$)
                  v$=LCASE$(n$)
                  m$=MID$(v$, X 1)
                  IF m$=”a” OR m$ = “e” OR m$ = “i” OR m$ = “o” OR m$=”u”
                  THEN
                  v = v + 1
                  ELSE
                  c = c + 1
                  END IF
                  NEXT x
                  PRINT “Total no of Vowel letters=”;V
                  PRINT “Total no of consonant letters=”;c
                  END
a)     List the library function used in the above program ?
Ans: LEN( ), LCASE$( ), MID$( )
b)     What will be the value of V if we input n$ = “submission”?
Ans: 4
13.             Write a program:                                                  4×3=12
                  a) To calculate area of four walls of room.
                        REM PROGRAM TO DISPLAY AREA OF 4 WALLS
CLS
INPUT “ENTER LENGTH”; L
INPUT “ENTER BREADTH”; B
INPUT “ENTER HEIGHT”; H
A = 2 * H * (L + B)
PRINT “AREA OF FOUR WALLS“; A
END

                  b) To input any number test whether input number is perfect square or not.

                        CLS
INPUT "ENTER ANY NUMBER"; N
S = SQR(N)
IF S = INT(S) THEN
PRINT "PERFECT SQUARE"
ELSE
PRINT "NOT PERFECT SQUARE"
END IF
END
c)     To input any number and display the multiplication table of that number.

CLS
INPUT "ENTER ANY NUMBER"; N
FOR I = 1 TO 10
PRINT N; "X"; I; "="; N * I
NEXT I
END


                  d) To print the letters ne in uppercase and next in lowercase.
                        [Hints = MiCrOtEk]

CLS
INPUT "ENTER ANY WORD"; S$
FOR I = 1 TO LEN(S$)
B$ = MID$(S$, I, 1)
IF I MOD 2 = 1 THEN
W$ = W$ + UCASE$(B$)
ELSE
W$ = W$ + LCASE$(B$)
END IF
NEXT I
PRINT W$
END SUB





End

No comments:

Post a Comment