1st Term Computer-9 [2077]

ROSEBUD SCHOOL
FIRST TERM EXAMINATION - 2077

Subject : Computer Science Full Marks: 50
Class: IX (Nine) Time: 1 hr 30 min Pass Marks: 20
    Group “A” [10 Marks]
  1. Answer the following questions in one sentence: (6*1=6)
    1. State different units of storage in computer.
    2. Define the term “GIGO”.
    3. c. What do you mean by HTML? d. Mention any two empty tags. e. What is Internet of Things? f. Give any two examples of markup languages.
  2. Write appropriate technical term for the following: (2*1=2)
    1. Law that governs the legal issues of cyber space
    2. The smallest unit to represent information on quantum computer
  3. Write the full forms of following: (2*1=2)
    1. STP
    2. WAP
    Group “B” [24 Marks]
  4. Answer the following questions: (9*2=18)
    1. What is computer network? Enlist any two advantages of it.
    2. What is computer ethics? Write any two of them.
    3. What is software security? Write any two measures of hardware security.
    4. What is m-commerce? Write its two important services.
    5. What is IoT? Write any two importance of it.
    6. What is database? Give any two examples.
    7. What is primary key? List any two advantages of it.
    8. What is data sorting? List any two advantages of using it.
    9. What types of work is done in MS Access using form and query object?
  5. Write down the output of the given program. Show with dry run in table.(2)
  6. DECLARE SUB SHOW(A)
    CLS
    N=87
    CALL SHOW(N)
    END
    SUB SHOW (A)
    DO
    B= A MOD 6 + 3
    IF B MOD 4 = 0 THEN GOTO AA
    PRINT B;
    AA:
    A=A-10
    LOOP WHILE A>=50
    END SUB
  7. Re-write the given program after correcting the bugs: (2)
  8. REM to add record in an existing file.
    CLS
    Open “Record.dat” for output as #1
    AA:
    Input “Enter Name, Class and Roll No” ; Nm$, Cl, Rn
    Input #2, Nm$, Cl , Rn
    Input “more records”; y$
    If ucase$(y$)= “Y” then goto AA:
    Close “Record.dat”
    End
  9. Study the following program and answer the given questions: (2*1=2)
  10. Open “Detail.dat” for input as #1
    Open “Temp.dat” for output as #2
    Input “Enter name of the students”; SN$ For I = 1 to 10
    Input #1, Nm$, Cl, A
    If SN$ < > Nm$ then
    Write #2, Nm$, Cl , A
    End If
    Next I
    Close #1, #2
    Kill “Detail.dat”
    Name “Temp.dat” As “Detail.dat”
    End
    1. What is the main objective of the program given above?
    2. Do you get any problem in the above program if “kill” statement is removed? Give reason.
    Group “C” [16 Marks]
  11. Number System (Conversion / Calculation) - 4*1=4
    1. (11001101)2 = (?)16
    2. (524)10 = (?)2
    3. (1010)2 x (110)2 - (1011) 2 = (?)2
    4. (10110)2 ÷ (101)2
    1. Write a program in QBASIC that asks length, breadth and height of room and calculates its area and volume. Create a user-defined function to calculate area and sub-program to calculate volume.
      Hint: [A=L x B], [V=L x B x H]. (4)
    2. A sequential data file called “Record.txt” has stored data under the field heading Roll No, Name, Gender, English, Nepali, Maths and Computer. Write a program to display all the information of those students whose gender are “F” and obtained marks in computer is more than 90. (4)
  12. Write a program in C language that asks a number and check whether it is odd or even. (4)
    OR
    Write a program in C language to display the series with their sum 1, 2, 3, 4… up to 10th terms. (4)
  13. The End