1. Answer the following questions in one sentence. [6×1=6]
(a) What is bit?
(b) List any two examples of analog computer.
(c) What is firmware?
(d) Mention any two singular tags.
(e) List any two advantages of CSS.
(f) What is hyperlink or hotspot?
2.Write appropriate technical terms for the following: [2×1=2]
(a) The nervous system of the computer that controls and coordinates the other components of the computer.
(b) The collection of related webpage.
Q3. Write the full forms of the following: [2×1=2]
(a) URL (b) QBASIC
Ans: 2Na + H<sub>2</sub>SO<sub>4</sub> → Na<sub>2</sub>SO<sub>4</sub> + H<sub>2</sub>↑ (i) Write HTML code to display:
Answer:
<table border="1">
<tr>
<th colspan="4">Students Detail</th>
</tr>
<tr>
<th>Roll No</th>
<th>Name</th>
<th>Address</th>
<th>Contact Number</th>
</tr>
<tr>
<td>1</td>
<td>Amrita Shrestha</td>
<td>Buddhanagar</td>
<td>9841000</td>
</tr>
<tr>
<td>2</td>
<td>Smriti Sharma</td>
<td>Balaju</td>
<td>98496000</td>
</tr>
<tr>
<td>3</td>
<td>Asmita Yadav</td>
<td>Jawalakhel</td>
<td>98000100</td>
</tr>
</table>
5. Write down the output of the given program. Show with dry run in table. [2] CLS LET X=5 PRINT X^3 PRINT X MOD 3 PRINT X/3 PRINT X\3 END 6. Re-write the given program after correcting the bugs. [2] REM QBASIC PROGRAM TO CONVERT MINUTES INTO HOURS AND MINUTES. CLS MIN=“138” HR$=MIN\60 MIN1=MIN MOD 60 DISPLAY HR; " HOUR ";MIN1 ; " MINUTE " STOP 7. Study the following program and answer the given questions. [2*1=2] CLS INPUT X, Y, Z W=(X+Y)/Z PRINT “Ans”; W END a) List all the numerical variables used in above program. b) Write the mathematical operator. 8. Write whether the given variable is valid or invalid, give reason. [4×1=4]
9. (a) Write a QBASIC program to find volume of cylinder.[Hint: Volume of cylinder= πr2h] [4]
(b) Write a QBASIC program to find sum of cube of two numbers. [4]
10. Write a QBASIC program to input the number of days and convert it into years, months and days. [4]
The End
Group B
4. Answer the following questions. [9×2=18]
(a) Draw block diagram of computer.
(b) Define a mainframe computer. List its typical applications.
(c) Explain ports of computer system. List any two commonly used ports of computer system.
(d) Explain any four function of ALU.
(e) Differentiate between an analog computer and a digital computer.
(f) What do you mean by web browser? Also, list two examples.
(g) What is IoT? Give one example of it.
(h) Write HTML code to display:
(i) a3−b3 = (a−b)(a2 + b2 + ab)
Ans:
a<sup>3</sup> - b<sup>3</sup> = (a - b)(a<sup>2</sup> + b<sup>2</sup> + ab)
(ii) 2Na+H2So4→Na2 So4 +H2↑Ans: 2Na + H<sub>2</sub>SO<sub>4</sub> → Na<sub>2</sub>SO<sub>4</sub> + H<sub>2</sub>↑ (i) Write HTML code to display:
Roll No | Name | Address | Contact Number |
1 | Amrita Shrestha | Buddhanagar | 9841000 |
2 | Smriti Sharma | Balaju | 98496000 |
3 | Asmita Yadav | Jawalakhel | 98000100 |
5. Write down the output of the given program. Show with dry run in table. [2] CLS LET X=5 PRINT X^3 PRINT X MOD 3 PRINT X/3 PRINT X\3 END 6. Re-write the given program after correcting the bugs. [2] REM QBASIC PROGRAM TO CONVERT MINUTES INTO HOURS AND MINUTES. CLS MIN=“138” HR$=MIN\60 MIN1=MIN MOD 60 DISPLAY HR; " HOUR ";MIN1 ; " MINUTE " STOP 7. Study the following program and answer the given questions. [2*1=2] CLS INPUT X, Y, Z W=(X+Y)/Z PRINT “Ans”; W END a) List all the numerical variables used in above program. b) Write the mathematical operator. 8. Write whether the given variable is valid or invalid, give reason. [4×1=4]
SN | Variables | Reason |
---|---|---|
a | N! | |
b | LET | |
c | A$="Rosebud" | |
d | S=2,000 |