Friday 13 March 2020

SET 12 Solution Class Nine


MODEL QUESTIONS SET- 12 By (Santosh Sir)

Group A : “Computer Fundamentals” [20 marks]
1.              Answer the following questions.                              2×5=10
                 a) What is Hardware ?
                 Sol:
                        Hardware is defined as the physical components that build the entire computer system.it includes input and output devices, CPU, and other electronic components like resistors, capacitors, ICs etc.      
                 b) What is language translator ? List its types.
                 Sol:
                        Language translator is a program that converts high level data (user language data) into machine code (computer code).
                 Types of language translator are:
·         Compilers
·         Interpreters
·         Asembelers
                 c) What is e-governance ?
                 Sol:
                        E-governance is defined as the application  of electronic means in the interaction between government and citizens and government and businesses, to simplify and improve democratic, government and business aspects of governmance.
                 d) What are the objective of IT Policy 2057 BS?
                 Sol:
                        The objective of IT Policy 2057 BS are:
§  To make information technology accessible to the general public and increase employment through this means.
·         To builtd knowledge based society.
·         To establish knowledge based industries.
                 e) Write any four negative impact of computer on society.
                 Sol:
                        Any four negative impact of computer on society are:
§  It encourage and facilities for data piracy.
§  It facilities the computer crime and cyber theft.
§  It is fast changing technology so it is required to update timely.
§  It has bad impact on job market. It may increase unemployment.
                
2.              a) Convert as indicated.                                                       2
                        i) (111011)2 into Octal
                        Sol:
                        111      011
                        111 = 7
                        011 = 3
                                    =(73)8
b) Perform binary calculation.                                      2
                        i) 110101 + 10101       ii) 11101 × 1001
                       
                        Sol:
i)                   110101            ii) 11101
        + 10101                × 1001
                                                1001010              1 1 1 o 1
                                                                          00000 ×
                                                                        00000××
                                                                    1 1 1 01×××
                                                                    100000101
3.              Match the following pairs.                                       2
                 a) Dot Matrix Printer                      i) Input Device
                 b) Laser Printer                    ii) Output Device
                 c) Light Pen                         iii) Impact Printer
                 d) Speaker                            iv) Non-Impact Printer
                                                                        v) Storage device
                 Sol:
a) Dot Matrix Printer        i) Impact Printer
                 b) Laser Printer                  ii) Non-Impact Printer
                 c) Light Pen                                   iii) Input Device
                 d) Speaker                          iv) Output Device
                       
4.              State true or false.                                                    2
                 a) Information technology is a technology that is used to store, communicate and process the information.
                        True
                 b) Application software controls and manage all the internal operations of the computer.
                        False
                 c) Thermometer and speedometer are the example of digital devices.
                        False
                 d) Computer’s capability to perform a variety of tasks at a time.
                        True
5.              Give the technical term of folowing.                                   2
                 a) Software designed to perform maintenance work on the computer system.
                       
                 b) The section of CPU that perform all arithmetic and logical calculation on data.
                        ALU(Arithmetic Logical Unit).
                 c) The main components of fifth generation of computer.
                        Artificial Intelligence
                 d) Computer’s capability to perform a variety of tasks at a time.
                        Multitasking
6.              Give the full form : ABC, ICT, CPU, ROM                       2
                 Sol:
                        ABC = Atanasoff-Berry Computer
                 ICT = Information and Communication Technology
                         CPU = Central Processing Unit
                         ROM = Read Only Memory

Group B
DOS + Windows [5 Marks]
7.              a) What is MS-DOS ?                                                                     1
                 Sol:
                        MS-DOS stands for Microsoft disk operating system, which is traditional OS that has Command User Interface.
                 b) What is taskbar ?                                                             1
                 Sol:
                 The taskbar is the small blue bar we see at the bottom of our desktop, which contains the atart menu and the quick lunch bar.
                 c) What is dialog box ?                                                        1
                 Sol:
            A small area on a screen in which the user is prompted to provide information or select commands is known as dialog box.

                 d) Write the function of the following DOS commands.
                        i) D:\> DIR*.TXT
Sol:
List any files whose name has the file extension ".txt" of drive D.


Group C
(HTML - 5 marks)
8.              a) What is tag ?                                                                    1
                        Sol:
                        Commands like phrases used to instruct the web contents on the web pages are called tags.
                 b) Write the basic structure of HTML.                               1
                 Sol:
                        <HTML>
                        <HEAD>
<TITLE>This is first page.</TITLE>
</HEAD>
<BODY> This is body.</BODY></HTML>
                 c) Write the HTML codes to display the following. 3
                        S.N.     Name               Address
                        1.         Ravindra           Bhaktapur       
                        2.         Manohar          Kathmandu
Group D
(Programming - 18 marks)
9.              Answer the following questions.                                          2
                 a) What is an array ?
sol:
An Array is a collection of elements (variables) of the same data type. When there are large lists of variables and data, it is easier to contain the data in an array than have large amounts of separate variables to hold the data.

                 b) Write down the syntax of the following statements.                    2
                        i) STR$()         ii) STRING$()
11. a)        Write the output of the following program.                         2
                        CLS
                        X = I
                        FOR I = 1 TO 10
                        PRINT X
                        X = X*10+1
                        NEXT
                        END
                 Sol:
                        0
                        1
                        11
                        111
                         1111
                        11111
                        111111
                        1111111
                        11111111
                        111111111


     b) Debug the folloowing program.
                 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
Sol:
REM to display the given number in reverse
CLS
INPUT "Enter A NUMBER"; N
WHILE N <> ZERO
    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
                 LET A$ = “BHAKTAPUR”
                 FOR I = 1 TO TEN(A$)
                        B$=MID$(A$, I, 1)
                        C$=LCAE$(B$)
                        IF INSTR (“aeiou”, C$)<> 0 THEN V = V+1
                 NEXT I
                 PRINT V
                 END
a)       Make a list of built in function used in the program.
Sol:
Built in function used in the above program are:
·         INSTR$ function
·         MID$ function
·         LCASES$ function
b)       Make a list of variables used in this programme with their types.
Sol:

Variable
Types
A$
String
B$
String
C$
String
I
Numeric
V
Numeric

13             a) Write a programme to calculate the circumference of a circle. 2
                 Sol:
REM to calculate the circumference of the circle
CLS
LET pie = 3.14
INPUT "Enter radius of circle"; r
c = 2 * pie * r
PRINT "The circumference of the circle is"; c
END
b)      Write a programme to ask to enter a string then find out whether it is palindron or not.                                                            3
Sol:
CLS
INPUT "ENTER ANY STRING"; S$
FOR I = LEN(S$) TO 1 STEP -1
    B$ = MID$(S$, I, 1)
    W$ = W$ + B$
NEXT I

IF S$ = W$ THEN
    PRINT S$; "IS PALINDROME"
ELSE
    PRINT S$; "IS NOT PALINDROME"
END IF
END

                 c) Write a programme to ask to enter 10 different names from the users then arrange in descending order.                                            3
                 sol:
DECLARE FUNCTION SOR$(N$())
CLS
DIM N$(10)
PRINT "ENTER NAME OF TEN USER"
FOR I = 1 TO 10
    INPUT N$(I)
NEXT
X$ = SOR$(N$())
END

FUNCTION SOR$ (N$())
    FOR I = 1 TO 10
        FOR J = 1 TO 10
            IF N$(I) > N$(J) THEN SWAP N$(I), N$(J)
        NEXT
    NEXT
    FOR I = 1 TO 10
        PRINT N$(I)
    NEXT
END FUNCTION



End

No comments:

Post a Comment

MCQ Question Bank Microsoft PowerPoint