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

SET 4 - Computer Virus ----SEE Computer Science 2076 --- Practice Day 4 --- 50 Questions




Computer Virus ----SEE Computer Science 2076  --- Practice Day 4   --- 50 Questions


Computer Virus

Questions and Answers

1.      Computer virus [SLC 2064] [SLC 2068 S] [SLC 2069] [SEE 2074] [SQE 2074K]
2.      Spreading computer virus [SLC 2071]
3.      Symptoms of computer virus [SLC 2067] [SLC 2068] [SLC 2070 S] [SEE 2072] [SEE 2074] [SEE 2074 U]
4.      Preventive ways to protect computer system form virus [SLC 2066] [SEE 2066 S] [SEE 2073] [SEE 2075] [SEE 2075 U] [SQE 2075K] [U1]
5.      Types of viruses [SLC 2064]
6.      Antivirus software [SEE 2073 U, 2071 S, 2065, 2065 S, 2067 S, 2069 S]

MCQ (Multiple Choice Questions)

1.      Computer virus is ………. [SLC 2068 S]
i) dust particle            ii) computer programs      iii) useful program            iv) none
2.      Virus is a [SLC 2071]
i. Utility program   ii. Destructive program                iii. System program            iv. None
3.      Which one of the following is harmed by computer virus? [SEE 2074 U]
(i) Monitor          (ii) Mouse            (iii) Printer                         (iv) Hard Disk
4.      Which is not a virus? [SLC 2064]
i. Worm ii. Logic bomb                    iii. Trojan Horse iv. Win-zip
5.      Which one is not a type of virus? [SLC 2067 S, 2070, 2071 S, 2074K]
i) Message Carrying virus                              ii) Boot sector virus         
iii)System virus                                iv)Special Purpose Application Infector
6.      Route of virus transmission. [SLC 2065] [PMT 2075]
a) Mouse              b) Printer             c) Microphone    d) Pen drive/Flash drive
7.      Which is not a computer virus ? [SEE 2075]
 (i) kaspersky                     (ii) message carrying virus            
(iii) Boot sector virus       (iv) Program virus
8.      Which of the following is an anti-virus program? [SLC 2068 S]
i) NAV                 ii) Windows        iii) Photoshop                    iv) All of the above
9.      A program that is used to detect and remove virus. [SEE 2075 U]
i) C- Brain                 ii) Worm         iii) Trojan Horse               iv) Kaspersky
10.   Which virus infects boot sector files? [SLC 2069]
i) Macro virus   ii) Multipartite virus   iii) Boot sector virus         iv) Program virus
11.   Boot sector virus infects [SLC 2066]
i. System files  ii. Master boot record    iii. Application software    iv. Document file

Fill in the Blanks

1.      _____ are used to detect and remove computer virus from infected file or memory. [SLC 2064]

True / False

1.      System infectors usually enter to the system as a device driver and get loaded into memory. [SLC 2064].
2.      Boot sector virus infects the program files. [SEE 2075 S2]

 

Technical Terms

1.      A program that destroys other program. [SLC 2065]
2.      A program that effect the normal functioning of computer. [SLC 2068]
3.      The software that protects computer virus.[SLC 2069].
4.      A program that can disinfect a file from virus. [SLC 2070] [SLC 2072].
5.      Program used to detect and eliminate computer virus. [SLC 2066 S] [SQE 2075K]
6.      A virus that corrupts system files of operating system. [SLC 2066]
7.      A computer virus that damages the documents created in MS-Word & MS-Excel. [SLC 2068 S] [PMT 2075]