Class Nine [Computer Solution]
MODEL QUESTIONS SET- 9
Group A :
“Computer Fundamentals” [20 marks]
1. Answer
the following questions. 4×2=8
a)
Why Charles Babbage dknown as fathe rof computer science ? Justify your answer.
Ans: Charles
Babbage is known as father of computer science because he developed the concept
of Input-Output-Process-Storage which is the fundamental working principle of today digital computer.
b)
How much E-Government concept is aplicable in our country Nepal ? Put yor
views.
Ans: Put
your own views.
c)
What is computer number system ? Write down teh types of number system.
Ans: In computers, Number
System is defined as a writing system to represent
the numbers in different ways.The types of computer number
system are :
a.
Binary number system
b.
Octal
Number System
c.
Decimal Number System
d.
Hexadecimal Number System
a)
Explain why computer is important
for entertainmenct
Ans: We can listen to music,watch videos play games so
computer is importanat for entertainment.
2. Fill
in the blanks. 2
a)
A measure of machine cycle time; equals one thousandth of a second is caked
millisecond
b)
Compiler, Interpreter and ..........assembler are examples of language
translator.
c)
Computer errors caused due to incorrect input data programs are often referred
to as .............GIGO
d)
...........G2C.. is the online non-commercial interaction between government
organzation and the government employees.
3. Write
down the full form for the following. 2
a)
PDP=programmed data processor b)
EDSAC= Electronic delay storage automatic
calculator c)
CAM=computer-aided manufacturing d) GIGO=garbage
in garbage out
4. Match
he following. 2
Vacuum
tube second
generation
Integrated
circuit first generation
Microprocessor third generation
Transistors fifth generation
-------------------------------------------------------------------
Vacuum
tube first
generation
Integrated
circuit third generation
Microprocessor fourth generation
Transistors second generation
5. Write
down the single technical term for the following. 2
a)
A computer capable of solving problems by processing information in discrete
form.=digital computer
b)
A pathway or connection the electronic impulses travel along within the
microprocessor and system unit.=bus
c)
The part of CPU where mathematical and logical operations are performed.=ALU
d)
A representation of an element in windows desktop.=icons
6. a)
Convert the follwing as indicated : 2
i)
(10101110001)2 into hexadecimal.
ii)
(10AD)16 into decimal
b)
Perform the following binay calculation : 2
i) (11100)2 + (111)2
ii) (1001101)2 + (1001011)2 × (111)2
Group B: “Operating System” 5 marks
7. What
are wild card characters ? Write any two examples of wildcard.
Ans; a wildcard is a symbol used to replace or represent one or
more characters
.The asterisk (*) and question mark (?) are
used as wildcard characters, as they are in MS-DOS and Windows
8. Write
down the effects of the following DOS commands. 2
a.
c:\COPY A:\REPORT\*TXT C:
b.
C:\>FORMAT A:/S
9. Answer
the given questions: 2
a)
What is Drop-down list boxes and option buttons ?
ans= A drop-down list (abbreviated drop-down; also
known as a drop-down menu, drop menu, pull-down
list, picklist) is a graphical control element,
similar to a list box, that allows the user to choose one value from a list. .
b)
Write down a coe to apply text color red and size 20. (use single code)
<font size=20 color= “red”></font>
c)
Define web site and web pages.
Ans= Website is the collection of web pages and webpage
is the document that is written using HTML.
Group C : “HTML” 5 marks
10. Answer
the given questions : 3
a)
What is tag ? Define in sort.
Ans’ An HTML
tag is commonly defined as a set of characters
constituting a formatted command for a Web page.
b)
Write down a code to apply text color red and size 20. (use single code)
c)
Define web site and web pages.
11. State
True or False. 2
a)
The property of tag is called attribute
b)
The ............ attribute is used with <OL> tag to change the numbering
style in lists.
c)
Unordered lists items are prepared by....<ul>........tag.
d)
We can apply.....<hn>......types of heading style in HTML.
Group D: “Programming” [20 Marks]
12. a)
What is user define function ? 1
Ans: The
function that is define by user according
to his/her wish is called user define fucnrion.
b)
Define an array with DIM statement. 1
ans: Array
is the way of storing a huge number of related data in a single name. Dim is
used to allocated array and size.
c)
Define variable. What are the types of variable ? 1
ans; The
location where value are stores are called variables. The types are; Numeric
and String.
13. a)
Ujwal entered 4 digits long number through the keyboard. He wants to get the
sum of the individual digits along with the display of the number in reserve.
Now draw a flowchart to solve this problem. 2
b)
Write down the output of the following program. 2
CLS
N#=11111111
WHILE
N#<>0
PRINT
N#2
N#
= FIX (N#/10)
WEND
11111111
1111111
111111
11111
1111
111
11
1
14. a)
Re-write the given program using Do.....................LOOP. 2
CLS
FOR
K = 1 TO 5
FOR
M = 1 TO K
PRINT
M;
NEXT
M
PRINT
NEXT
K
END
-------------------------------------------------------------
CLS
K=1
M=1
DO
DO
PRINT M;
M=M+1
WHILE M<=K
PRINT
K=K+1
WHILE K<=5
END
b)
Debug the following program. 2
CLS
INPUT
“Enter a word”; W$
L=
LEN(W$)
FOR
R = L TO 1 STEP - 1
R$
= RIGHT$9W$,P)
M$=m$+R$
NEXT
P
IF
W$ = M$ THEN
PRINT
“It is Palindrome”
ELSE
PRINT
“It is nto palindrome”
END
IF
END
CLS
INPUT
“Enter a word”; W$
L=
LEN(W$)
FOR
R = L TO 1 STEP - 1
R$
= MID$(W$,R,1)
M$=m$+R$
NEXT
P
IF
W$ = M$ THEN
PRINT
“It is Palindrome”
ELSE
PRINT
“It is nto palindrome”
END
IF
END
15. a)
Write a program to accept a decimal integer and print its equivalent binary
number. 3
CLS
INPUT
"ENTER DECIMAL NUMBER"; D
WHILE D <
> 0
R = D MOD 2
S$ = STR$(R)
+ S$
D = D \ 2
WEND
PRINT
"BINARY EQUIVALENT VALUE="; S$
END
b)
Write a BASIC program to find the prime factors of a number. 3
CLS
INPUT
"ENTER ANY NUMBER"; N
PRINT
"FACTORS OF"; N; "=";
FOR I = 1 TO
N
IF N MOD I =
0 THEN PRINT I;
NEXT I
END
c)
Write a program which will return the unique digit integers between 100 and
120. 3
End
No comments:
Post a Comment