Model Question set -1
Group A: “Computer Fundamentals” [20 Marks]
1. Answer the
following questions:
a. Write down the four
characters of computer and explain them in short.
The four characteristics of computer are speed,
accuracy, diligence and storage.
·
SPEED : In general, no human being
can compete to solving the complex computation, faster than computer.
·
ACCURACY : Since Computer is
programmed, so whatever input we give it gives result with accurately.
·
STORAGE :
Computer can store mass storage of data with appropriate format.
·
DILIGENCE :
Computer can work for hours without any break and creating error.
·
VERSATILITY :
We can use computer to perform completely different type of work at the same
time.
b. Why RAM is called
volatile memory? Justify your answer.
RAM is called 'volatile' memory by
analogy because if the computer loses power, all the data stored
in RAM (or other volatile memory) is lost or 'evaporates'.
c. What is printer?
Write down the types of printer.
A printer is a device that accepts text and graphic output from a
computer and transfers the information to paper, usually to standard size
sheets of paper.
The types of printer are:
Impact printer and Non-impact printer.
d. What is programming
language? Name any two high level programming languages.
A programming language is a formal language, which comprises a set of instructions that produce various
kinds of output.
Any two high level programming languages are
python and C.
2. Fill in the
blanks with suitable words:
a.
Linux operating
system was developed in 1991.
b.
The three section
of CPU are ALU , CU and MU.
c.
Cache Memory is a small high speed memory located between
main memory and micro processor.
d.
Hard disk is a Secondary Storage device.
3. Write down the full
form for the followings:
a. CD-ROM : Compact
Disk – Read Only Memory
b.
DVD : Digital Versatile Disk
c.
EDVAC : Electronic Discrete Variable Automatic
Computer
d.
VLSI: Very Large Scale Integrated Circuit.
4. Match the
followings:
a)
Hard Disk d) Hard copy output
b)
Floppy c) Soft copy output
c)
Monitor b) Small storage device
d)
Printer a) Large storage device
Processing
unit
5. Write down the
single technical term for the following:
a.
It is volatile
primary memory of computer. RAM
b.
A program that can
translate assembly language into machine code. Assembler
c.
It gives continuous
power to the computer even at the time of power cut. UPS (Uninterruptible Power Supply
d.
The output that can
be changed easily. Softcopy Output
6. a. Convert
the following as indicated:
i.
(101010)2
into hexadecimal
Soln:
Converting Binary to Hexadecimal
0010 = 2
1010 = A
(101010)2 = (2A)16
ii.
(734)8
into decimal
Soln:
Converting Octal to decimal
=7 ×
82 + 3 ×
81 + 4 × 80
=7 × 64 + 3 × 8 + 4 × 1
=448 + 24 + 4
=476
(734)8 = (476)10
e. Perform the
following binary calculation:
i.
|
|
|
1
|
0
|
1
|
1
|
1
|
|
|
|
|
|
1
|
1
|
1
|
|
|
|
1
|
0
|
1
|
1
|
1
|
|
|
1
|
0
|
1
|
1
|
1
|
×
|
+
|
1
|
0
|
1
|
1
|
1
|
×
|
×
|
1
|
0
|
1
|
0
|
0
|
0
|
0
|
1
|
|
|
|
|
-
|
1
|
1
|
0
|
1
|
0
|
0
|
1
|
1
|
0
|
1
|
1
|
i.
1
|
0
|
1
|
1
|
0
|
1
|
|
+
|
1
|
1
|
1
|
0
|
1
|
1
|
1
|
0
|
1
|
1
|
|
|
-
|
1
|
1
|
0
|
1
|
1
|
0
|
1
|
0
|
1
|
7. Define an operating
system.
An operating system (OS) is system software that manages computer hardware, software
resources, and provides common services for computer programs.
8. Write down the
function carried out by the following DOS commands:
a. D:\>DIR*.*
It displays all the files having any extension of D drive.
b. c:\>REN *
.BAS*.TXT
It renames the old file having BAS as extension
to new file name TXT as extension.
9. Answer the given
questions:
a. What is the
function of recycle bin?
The function of recycle bin is to store deleted
items as well as restore the deleted items if necessary.
b. Define taskbar and
icon
A taskbar is an element of a graphical user interface which has various purposes. It typically shows which programs are currently
running.
An icon is a small graphical representation of a program or file.
10. Answer the given
questions:
a. Define web page.
A web page (also written as webpage) is a document
that is suitable to act as a web resource on the World Wide Web.
b. What is a browser?
Name any two browsers.
A browser is an application program that provides a way to look
at and interact with all the information on the World Wide Web. Examples
are Google Chrome and Internet Explorer.
c. What is the
function of <HR> code in HTML?
The <hr> tag in HTML stands for
horizontal rule and is used to insert a horizontal rule or a thematic break in
an HTML page to
divide or separate document sections.
11. Fill in the blanks
with suitable word:
a.
We can use <br> code to break line in
HTML.
b.
The largest heading
size of HTML tag is <h1>
c.
The extension of
HTML tag is .html
d.
URL(Uniform Resource Locator) is an address that identifies the location of
a web page on the Internet.
Group D: “Programming” [20 Marks]
12.
a. What is debug?
Define computer.
Debugging is the process of finding and resolving defects or
problems within a computer program that prevent correct operation of computer software or a system.
A computer is a machine that can be instructed to carry out sequences of arithmetic or logical operations automatically via computer programming.
b. What do you mean by
variable and consonant?
A variable is a value that
can change, depending on conditions or on information passed to the program.
A constant is a value that
never changes.
c. Write down the
syntax and use of LET statement.
The use of LET statement is to assign the value
of an expression to a variable.
Syntax: [LET] variable = expression
13.
a) Draw a flowchart to
calculate the simple interest.
b) Write down the
output of the following program:
CLS
A = 2
B = 1
PRINT A;
PRINT B;
C = 3
WHILE C <= 10
Z = A
+ B
PRINT
Z
S = S
+ Z
A = B
B = Z
C = C
+ 1
WEND
END
Output:
|
2 1
3
4
7
11
18
29
47
76
|
14.
Read the following
program and answer the given questions:
CLS
PRINT "Input
any string";
INPUT N$
L = LEN(N$)
R$ = " "
FOR X = L TO 1 STEP
-1
R$ = R$ + MID$(N$, X, 1)
NEXT X
PRINT "The
reverse order is "; R$
END
a) What is the use of
the above program?
The use of the above program is to reverse the
given string.
b) Write down the
function of MID$ and LEN function.
The MID$ function returns part of a string (a substring). The MID$ statement
replaces part of a string variable with another string.
The LEN Function returns the number of characters in a string or the number
of bytes required to store a variable.
c) Name the string
variables used in the above program.
The string variables are: N$ and R$
d) What is the
function of NEXT X in the above program?
The function of NEXT X is to terminate the definition
of the FOR loop
15.
a) Write a program to
input a word and count total number of alphabet “A” in the input word.
CLS
INPUT
"ENTER ANY STRING"; S$
C
= 0
FOR
I = 1 TO LEN(S$)
B$
= MID$(S$, I, 1)
C$
= UCASE$(B$)
IF
C$ = "A" THEN VC = VC + 1
NEXT
I
PRINT
"TOTAL NO. OF A= "; C
END
b) Write a program to
sort numbers in ascending order.
CLS
DIM N(10)
FOR I = 1 TO 10
INPUT "ENTER THE NUMBERS"; 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 "NUMBERS ARRANGED IN ASCENDING ORDER"
FOR I = 1 TO 10
PRINT N(I)
NEXT I
END
c)
Write a program to input any ten different
numbers in separate lines and find the highest by using array.
REM
CLS
DIM N(10)
FOR I = 1 TO 10
INPUT "ENTER THE NUMBERS"; N(I)
NEXT I
G = N(1)
FOR I = 2 TO 10
IF N(I) > G THEN G = N(I)
NEXT I
PRINT “THE HIGHEST NUMBER IS”; G
END
Kun publication ko model set ho sir yo
ReplyDeleteThis is the Readmore publication model set
ReplyDelete