PABSON (Morang) 2074
Group “A”
[Fundamentals – 20 Marks]
1.
Answer the
following questions:
a)
What is a computer
system? Enlist two output devices of a computer system.
Ans: A computer system is the combination of
hardware , software, and user. Two output devices are keyboard and mouse.
b)
Define generation
of computer. List any two features of the first generation of computers.
Ans: The classification of the computer
according to their technology used to operate into five distinct categories is
called generation of computer. The two features of 1st generations are as
follows
1. They are in big size
2. They used vaccume tube as main components.
c)
What is e-Government?
Mention advantages of e-Government.
Ans: : e-government or electronic government is
the governement that uses information and communication technology (ICT) to
provide and improve government services to the citizens, businessmen and the
government offices. The main advantages of e-government are
1. To support and simplify the governance to
citizen, business, employee and government.
2. To provide the online services to citizen.
3. To improve the working system of
bureaucracy.
4. To make a paperless working system.
d)
Define software.
Name the different types of system software.
Ans: The collection of program to perform a
specific task is called software. Different types of system software are as
follows
1. Operating system software
2. Language processors
3. Utility Software
2.
Mention true or
false or against the following statements:
a)
The secondary
memory is the long- term memory used to store programs and data for future
reference.(T)
b)
1 MB (mega byte) is
a unit of computer memory equals to 1,024 kb.(T)
c)
All digital
computers are special purpose computer. (F)
d)
E-commerce allows
people to buy an sell different products and services online.(T)
Mention the
full-form of the following abbreviations:
a) ATM -Automated Tailor Machine
b) PDA-Portable Document Format
c) GIGO- Garbage In Garbage Out
d) TB- Tera Byte
3.
Choose the correct
answer from the given option:
a)
The first
integrated circuit was developed by:
4.
Mention the
technical term of the following definition:
a.
The main circuit of
the computer where different components are installed. Mother board
b.
The main information
processor in digital computer capable of executing a program. Microprocessor
c.
A pointing device
which is just like an inverted mouse. Trackball
d.
The founder of IBM.
Herman Hollerith
5.
A
a)
Perform the
following binary calculations:
a.
(1011101)2
+ (1110111)2 b.
(11101)2 * (111)2
b)
Convert the
following as indicated:
a.
(CAD)16
into Octal b. (564)8
into Decimal
6.
Name any two system
files required for booting a computer.
1. io.sys 2. msdos.sys
7.
Mention the
function of the following commands:
a)
C:\>DATE
11-11-2018
To change the date as 11th Nov 2018
b)
D:\COPY CON
REKO.TXT
To create a file as REKO.TXT in D drive.
8.
Answer the
following questions:
a)
Define recycle bin.
Ans: Recycle bin is a program to store the
deleted files and folders in Windows operating system.
b)
What is desktop?
Ans: Desktop is the first screen of Windows
where icons and the other graphical option are display.
9.
Answer the
following questions:
a)
Why is <BR>
tag used?
Ans: It is used to break the line in html.
b)
Which attribute of
BODY tag is used to change the text color?
Ans: text attribute is used to change the text
color.
c)
Mention any two
tags for formatting text.
Ans: Two formatting tages are <p> and
<b>
10.
State true or false
or against the following statements:
a)
<HR> tag is
used for drawing vertical line.(F)
b)
<P> tag is an
empty element.(F)
c)
<Table> tag
is used for creating table in HTML.(T)
d)
<H1> is the
smallest heading level.(F)
11.
Answer the
following questions:
a)
What is keyword?
Ans: Keyword is the predefined word in
programming language which perform specific function.
b)
Define nested loop.
Ans: A loop inside another loop is called
nested loop. In nested loop two loops are used together.
c)
List any two naming
conversation of a variable.
Ans: 1. A variable must start with an
alphabets.
2. We can not used special symbol in variable
name.
12.
a)
Draw a flowchart to
enter an integer and check whether it is even or odd.
b)
Mention the
function of the following functions with syntax.
i. LEFT$()- It is used to display the specifice
characters from left side
syntax: LEFT$(sting variable,n)
ii. SIN() - It is used to display the sin value
of any angle
syntax : SIN(angle in degree)
13.
Mention the output
of the given program.
a)
CLS
FOR i = 12 TO 7 STEP -2
PRINT
(i ^ 2) + 2
NEXT i
END
The output is
b)
Debug the given
program.
REM TO DISPLAY SUM OF NUMBERS FROM 1 TO 100
CLS
LET S = 0
I= 1 TO 100
S=S+I
NEXT I
DISPLAY S
END
14.
Analyze the program
and answer the following questions:
CLS
INPUT "ENTER A
NUMBER"; N
IF N < 0 THEN
PRINT "NEGATIVE NUMBER"
ELSE IF N > 0
THEN
PRINT "POSITIVE NUMBER"
ELSE
PRINT "ZERO NUMBER"
END IF
END
A)
What would be the
output, if the user’s input is -8?
NEGATIVE NUMBER
B)
How many variables
are used in the program?
ONE variable i.e. N
C)
How many operators
are used in the program?
One Operator i.e. relational operator >
15.
a)
WAP to display the Fibonacci
series:
0, 1 , 1, 2 , 3 ,
5, 8, 13 , ….. up to 10th terms.
CLS
A=0
B=1
FOR I=1 TO 5
PRINT A;B
A=A+B
B=A+B
NEXT I
END
b)
WAP to input three
different names and display the longest name.
CLS
INPUT "ENTER THREE WORDS";A$,B$,C$
IF LEN(A$)>LEN(B$) AND LEN(A$)>LEN(C$)
THEN
PRINT "LONGEST WORD";A$
ELSEIF LEN(B$)>LEN(A$) AND LEN(B$)>LEN(C$)
THEN
PRINT "LONGEST WORD";B$
ELSE
PRINT
"LONGEST WORD";C$
ENDIF
END
No comments:
Post a Comment