Tuesday 10 March 2020

PROPOSED MODEL QUESTION Solution Class Nine

Computer Science (Optional Science)
PROPOSED MODEL QUESTION
Group A
“Computer Fundamentals” [22 marks]
1.               Answer the following questions.                          5×2=10
                  a) What is hardware ?
                   The physical components that make up the entire computer system is called hardware.

                  b) What is language translator ? List its types.
                  Language translator is a type of system software that translates programs prepared by programmer in any other languages into machine language. Its types are :-
i)                   Assembler
ii)                 Interpreter
iii)               Compiler

                  c) What is e-governance ?
                  E-governance is the use of range of modern information and technologies by government to improve efficiency of services.

                  d) What are the objective of IT Police 2057 BS ?
                  The objective of IT Policy of 2057 BS are :-
i)                   To make information technology accessible to the general public and increase employment through this means.
ii)                 To build a knowledge-based society.
iii)               To establish a knowledge-based industry.

                  e) Write any four negative impacts of computer on society.
                  Any four negative impacts of computer in society are :-
i)                   It has increase the unemployment.
ii)                 It is highly expensive.
iii)               It increase computer crime.
iv)               It upgrades frequently.

2.               a) Convert the following:                                      2
                        i) (111011)2 into Octal
                        ii) (634)10 into Hexadecimal
                  b) Perform the binary calculation:                                    2
                        i) 110101 + 10101
                        ii) 11101 × 1001
3.               Match the following pairs:                                                2
                  a) Dot matrix printer         c) input device
                  b) Laser printer                 d) output device
                  c) Light pen                             a) impact printer
                  d) Speaker                         b) non-impact printer
                                   
4.               Fill in the blanks with suitable words:                             2
                  a) Information technology is a technology that is used to store , communicate and process the information.
                  b) System software controls and manages all the internal operation of the commuter. 
                  c) Thermometer and speedmeter are the examples of Analog devices.
                  d) IC was the main devices used in third generation of computer.
5.               Give the appropriate technical term of following:            2
                  a) Software is designed to perform maintenance work on the computer system.
                  - Utility software
                  b) The section of CPU that perform all arithmetic and logical calculation on data.
                  - ALU
                  c) The main components of fifth generation of computer.
                  - Biochips
                  d) Comuter’s capability to perform a variety of tasks at a time.
                  - Versatile
6.               Give the full form:                                                            2
                  i) ABC – Atanasoff Berry Computer       
ii) ICT – Information and Communications Technology                  
iii) CPU    - Central Processing Unit
iv) ROM – Read Only Memory
Group B :
DOS + Windows [5 marks]
7.               a) What is MS-DOS?
                  MS-DOS is a single use, single tasking operating system developed by Microsoft for the IBM range of personal computers.
                                                                        1
                  b) What is taskbar ?         
                  Taskbar is a horizontal bar located on the bottom of the desktop.
                                                            1
                  c) What is dialog box ?    
                  Dialog box is a type of window in a graphical user interface, which is used for special purposes.
                                                1
                  d) Write the function of the following DOS commands. 2
                        i) D:\>DIR*.TXT       
                        Displays all the files having txt as extension of d drive.
ii) C:\>CHKDSK
check a specified disk and repair or recover data on the drive if necessary
Group C :
HTML [5 marks]
8.               a) What is tag ?
                  Tag is the code and command that define the structures and behaviors of the different parts of a web document.
                                                                        1
b) Write the basic structure of HTML.                                   1

                  The basic structure of HTML :-
<HTML>
<HEAD>
<TITLE>………..</TITLE>
</HEAD>
<BODY>
…..
….
</BODY>
</HTML>
                 
                 
                  c) Wrie the HTML codes to display the following.                      3
                        S.N.     Name               Address
                        1.         Ravindra         Bhaktapur
                        2.         Manohar          Kathmandu
                 
                  <TABLE BORDER=1>
                  <TR>
                  <TH> S.N. </TH>
                  <TH> Name </TH>
                  <TH> Address </TH>
                  </TR>
                  <TR>
                  <TD> 1. </TD>
                  <TD> Ravindra </TD>
                  <TD> Bhaktapur </TD>
                  </TR>
                  <TR>
                  <TD> 2. </TD>
                  <TD> Manohar </TD>
                  <TD> Kathmandu </TD>
                  </TR>
</TABLE>









Group D :
Programming [18 marks]
9.               a) What is an array ?
                  Array is a set of similar data elements, which are stored in consecutive memory locations under a common variable name.

                  b) Write down the syntax of the following statements.
                        i) STR$ ()       
                        - STR$[N]

ii) STRING$()
- STRING$ [(Length %), ASCII code l sting   expression]

10.             Draw a flow chart to display the even numbers fro 2 to 100.      2
11.             a) Write the output of the following program.                              2
                        CLS
                        X = 1
                        FOR I = 1 TO 5
                                    PRINT X
                                    X = X*10+1
                        NEXT I
                        END
Output
1
11
111
1111
11111

                  b) Debug the following program.                                     2
                        REM to display the given number in reverse.
                        CLS
                        INPUT “ENTER A NUMBER”;n$
                        WHILE N<> ZERO
                                    R=A MODE 10
                                    S=S*10+R
                                    N=FIX(N/10)
                        LOOP
                        PRINT S
                        END
                  Debugged Program
                  REM to display the given numbers in reverse.
                  CLS
INPUT “Enter a number”;N
                  S = 0
                  WHILE N<>0
                  R = N MOD 10
                  S = S*10+R
                  N = FIX(N/10)
                  WEND
                  PRINT S
                  END
                 
                 
12.             Read the following program and answer the questions:               2
                        CLS
                        LETA$=”BHAKTAPUR”
                        FOR I = 1 TO LEN(A$)
                                    B$=MID$(A$, I, 1)
                                    C$=LCASE$(B$)
                                    IF INSTR (“aeiour”, C$) <> 0 THEN V = V + 1
                        NEXT I
                        PRINT V
                        END
a)      Make a list of built in function used in the program.
i)                   INSTR ( )
ii)                 MID$ ( )
iii)               LCASE$ ( )
iv)               LEN ( )

b)      Make a list of variables used in this program with their types.
i)                   A$ - String variable
ii)                 B$ - String variable
iii)               C$ - String variable
iv)               I – Numeric variable
v)                  V – Numeric variable

13.             a) Write a program to calculate the circumference of a circle.     2
                  CLS
INPUT “Enter the radius”; r
                  C = 2*22/7*r
                  PRINT “Circumference of circle=”; C
                  END

c)      Write a program to ask to enter a string then find out whether it is palindrome or not. 3
CLS
INPUT “Enter any word”; A$
FOR I = LEN(A$) TO 1 STEP -1
B$ = MID$(A$,I,1)
C$ = C$+B$
NEXT I
IF C$ = A$ THEN
PRINT “The given word is palindrome”
ELSE
PRINT “The given word is not palindrome”
END IF
END
                                                                       
d)      Write a program to ask to enter 10 diffeentanems from teh users then arrange is descending order.   3

CLS
DIM N(10) AS STRING
FOR I = 1 TO 10
INPUT “Enter the names’: N(I)
NEXT I
FOR I = 1 TO 10
FOR J = 1 TO 10 – I
IF N(J) < N (J+1) THEN SWAP N(J), N(J+1)
NEXT J
NEXT I
PRINT “The sorted names in descending order”
FOR K = 1 TO 10
PRINT N(K)
NEXT K
END




End

No comments:

Post a Comment

MCQ Question Bank Microsoft PowerPoint