Monday, February 17, 2020

Solved Model 7 Computer Science - Grade IX - 2076


Solved Model 7 Computer Science - Grade IX - 2076

1.               Answer the following questions.                         5×2=10
                  a) What is control unit ? State the function of control unit.
               The unit that controls and co-ordinates the entire operation of computer system is called control unit.
                The function of control unit are :-
                i) It decides to set the order of instruction to be carried out.
                ii) It works out what needs to be done to carry out the instruction.
              iii) It has to tell other parts of processor what they should do so that the instruction will be carried out.

                  b) What is utility software ? List any three example of it.
                Utility software is system software designed to help, analyze, configure, optimize or maintain a computer. Any three examples of utility software are :-
               i) Anti-virus
              ii) WinZip
              iii) Register Cleaner

                  c) Differentiate between CD-ROM and CD-RW.
               The difference between CD-ROM and CD-RW are :-

CD-ROM
CD-RW
i) CD-ROM is an optic disk which    
   contains audio or software data     
   whose memory is read only.
i) CD-RW is compact disk that can be written, read arbitrarily many times, Erased, and written again.
ii) It hold more information            
    than CD-RW
ii) It hold less information in comparison to CD-ROM.



 

                  d) Write down the objectives of IT Policy of Nepal, 2057?
                The objective of IT Policy of Nepal 2057 BS are :-
               i) To make information technology accessible to the general public and increase employment through its means.
            ii) To build a knowledge-based society.
           iii) To establish knowledge-based industries.

                  e) What roles do computers play in medicine ?
                Computers play an important role in the growth and improvement of health and medical sectors. Doctors use computer to find out the disease and cure for disease. It is used to keep records of patients medicines and diseases.

2.               a) Perform the following binary calculations:                 2
                        i) 1001001 + (10001 - 1101)
                        ii) 1011001 ÷ 100
                  b) Convert the following number system as indicated:   2
                        i) (151)10=(?)8                       ii) (1100110)2=(?)16

3.               State true or false.                                                            2
                  a) The major technical advantage that characterizes the fourth generation is the tiny integrated circuit.      False
                  ii) Dot matrix printer is a high quality non-impact printer that forms characters by spraying small drops of ink onto the paper. False
                  iii) E-government promotes civic engagement by enabling the public to interact with government officials. True
                  iv) Software directs a computer to perform input operations, process the data and output the results. True

4.               Replace the following definitions with a technical term.           2
                  a) An input device that inserts graphic images of a computer. Graphics Tablet
               
                  b) A specialized computer display that projects and enlarged image on a movie screen.   Projector
                  c) The manufacturing approach of using computers to control the entire production process. Computer Integrated Manufacturing ( CIM )
                  d) The practice of making bank transactions or paying bills via internet. E-Banking

5.               Write the full forms.                                                        2
                  a) CRT – Cathode Ray Tube                   
                b) GIGO – Garbage In Garbage Out
                c) ROM – Read Only Memory
               d) CLI – Command Line Interface

6.               Match the following.                                                        2
                  Joseph-Marie Jacquard                            Mechanical loom
                Blaise Pascal                                              Pascaline
                  Howard Aiken                                        Mark - I
                  Herman Hollerith                               Tabulating Machine

Group B :
Operating System [5 marks]
7.               a) What is an operating system ?                 1
               An operating system is a collection of software that manages computer hardware resources and provides its users with an interface.
                       
                  b) Write the function of following DOS commands:                  2
                        i) C:\>EDIT LAB.TXT
                    it allows to make changes in the file lab.txt of c drive

                       
                  ii)C:\>DIR/A:H
                It displays the hidden files of c drive
    



                  c) Write down MS-DOS commands to do following tasks:        2
                        i) To deletes all the files starting with a having any extension.
                C:\>DEL A*.*

                        ii) To display directories and files of C: drives.
                 DIR Command
Group C :
HTML [5 marks]
8.               Answer the following questions.                                     2
                  a) What is a web server ?
               A web server is a computer that delivers web pages.

                  b) How would you display text in the title bar browser ?
                We would use the <TITLE> tag in inside <HEAD> tag in HTML document to display text in the title bar browser.

                  c) Write down the function of <A> and <BR> tag?
                 The function of <A> tag is that it defines the hyperlink, which is used to link from one page to another.
                The function of <BR> tag is that it is used to insert a line break in a paragraph.

9.               State true or false.                                                                        2
                  i) HTML is a programming is language like QBASIC, C++. False
                  ii) By default value of BORDER attribute of <TABLE> tag is 1. False
                  iii) A container tag does not have a closing tag. False
                  iv) HREF is an attribute of <A> tag. True
Group D’
Programming [18 marks]
10.             Answer the questions in shirt.                                                      3
                  a) Differentiate between explicit and implicit variable declaration.

Explicit Declaration
Implicit Declaration
The declaration of variable before you use it or before assigning a data to variable by using DIM statement is known as explicit declaration.
The declaration of variable at place of assigning value to a variable by using type declaration symbol is known as implicit declaration.




b) What is the purpose of FOR.....NEXT statement ?
  The purpose of FOR…..NEXT statement is that it is used to                   repeat a sequence of statements for a specific number of occurrences.

c) Write down the function of RIGHT$ function and PRINT statement.
  The function of RIGHT$ is that it returns specified number of characters from right side of supplied string and returns the value.

11.             a) Write the output of the following program.                            2
                  CLS
                  A$=”NEPAL”
                  C=LEN(A$)
                        B=1
                        D=1
                        FOR I = 1 TO C STEP 2
                        PRINT TAB(D); MID$(A$, B, D)
                        B=B+1
                        C=C+2
                        D=D+1
                        NEXT I
                        END

                 OUTPUT
                        N
                          EP
                             PAL


                  b) Rewrite the following program correcting the bugs.              2
                        CLS
                        N$=1
                        COUNT = 1
                        WHILE COUNT = 10
                        PRINT N$ 2
                        N$=N$+1
                        WEND COUNT
                        END

                        Debugged Program
CLS
                        N=1
                        COUNT = 1
                        WHILE COUNT <= 10
                        PRINT N^ 2
                        N=N+1
COUNT=COUNT+1
                        WEND
                        END
12.             Read the following program and answer the questions:              2
                  CLS
                  N=195
                  FOR P = 1 TO 3
                        R = N MOD 10
                       
                        S = S + R ^ 3
                        N = INT (N/10)
                        NEXT P
                        PRINT S
                        END
                  Questions :
                  a) What is the function of MOD ?
                The function of MOD is that it returns the remainder of two numbers after division.

                  b) What will be output of the above program if S = S + R ^ 3 is replaced by S = S + R ?                    
               It will find the sum of digits.

                                               
13.             a) Write a program to find sales tax of an article priced at Rs.   3
                   20,000 with 15% tax rate.          

                CLS
                  LET S = 20000
                  T=15/100*S
                  PRINT “Sales tax=”; T
                  END








                                               
                  b) Write a program to generates a numeric series as :                3
                        2, 4, 8, 14, 22, ............... up to 10th terms.
               
                 CLS
                 A = 2
                  B = 2
                  FOR I = 1 to 10
                  PRINT A
                  A = A + B
                  B = B + 2
                  NEXT I
                  END


                  c) Write a program that stores any five numbers input by a user in an array and display the greatest among the numbers.      3
             
                CLS
                DIM N(5)
                FOR I = 1 TO 5
                INPUT “Enter the number”; N(I)
                NEXT I
                G = N(1)
                FOR I = 2 TO 10
                IF N(I) > G THEN G = N(I)
                NEXT I
                PRINT “Greatest number is”; G
                END




End


No comments:

Post a Comment