Saturday, April 1, 2017

DLE Computer Science 2073 Solved

DLE 2073
Subject: Computer Science
Group A
Computer Fundamental [25 Marks]

1. Answer the following questions: [10]

a) What is computer software?
Ans: Computer software is an organized collection of programs written for a computer to perform a particular task.

b) What is cyber law?
Ans: The rules and regulations related to internet or cyber space is known as cyber law.

c) List any two symptoms of computer virus.
Ans: Any two symptoms of computer virus are:
       i) Frequently display unnecessary error messages or images.
       ii) Changes the size of disk and files.

d) Write any two advantage of computer network.
Ans: The two advantages of computer network are:
       i) It makes communication easy and fast between different users.
       ii) It allows sharing same software among different users at the same time.

e) Write any two importance of multimedia in education.
Ans: The two importance of multimedia in education are:
            i) It makes easy to share views, ideas and thoughts among students.
ii) It makes presentation of related subject matter attractive.

2. Choose the best answer: [2]

a) ________ is a type of software that manages and controls the overall operation of computer.
i) Word Processing            ii) Operating system               iii) Excel                     iv) Virus
Ans: Operating System

b) ________ should be used to avoid accessing by unauthorized users.
i) Password                        ii) UPS                                    iii) Antivirus               iv) None of these
Ans: Password

c) The computer which contains __________ is called microprocessor.
i) biochip                            ii) microprocessor                  iii) vacuum tube         iv) All of this
Ans: microprocessor

d) When a computer is turned off, the contents of RAM get ________.
i) saved                               ii) printed                    iii) erased                    iv) both (i) and (ii)
Ans: earsed

3. State true or false. [2]

a) Charles Babbage is considered as the father of computer science.
Ans: True

b) MS Word is a word processing software.
Ans: True

c) ICT is not used in e-banking.
Ans: False

d) A hub provides physical connection between all computers.
Ans: True

4. Write appropriate technical term for the following: [2]

a) The calculating device developed by William Oughtred.
Ans: Slide Rule

b) Selling of goods and services online.
Ans: E-Commerce

c) The artificial environment created by the computer to entertain user.
Ans: Virtual Reality

d) A main computer in the computer network.
Ans: Server

5. Match the following: [2]
            Group A                                  Group B
a) Making Correction                    - Electronic Spreadsheet
b) To add cells                               - Document Security
c) EXCEL                                       - SUM ( )
d) Password                                    - Editing
                                                       - Formatting

Answer:
Group A                                  Group B
a) Making Correction                    - Editing
b) To add cells                               - Formatting
c) EXCEL                                       - Electronic Spreadsheet
d) Password                                    - Document Security
                                                      

6. Write the full forms of the following: [2]

a) HTML
Ans:  Hyper Text Markup Language

b) UPS
Ans: Uninterruptible Power Supply

c) WAN
Ans: Wide Area Network

d) CPU
Ans: Central Processing Network

7. Convert the following numbers as indicated: [2]
a) (1011)2 into Decimal
Soln:
=1×23 + 0×22 + 1×21 + 1×20
=1×8 + 0 + 1×2 + 1×1
=8 + 0 + 2 + 1
=11
Ans:  (1011)2 = (11)10






b) (125)10 into Binary
2
125
R
2
62
1
2
31
0
2
15
1
2
7
1
2
3
1
2
1
1
2
0
1

Ans: (125)10 = (1111101)2


8. Perform the following binary operations: [2]
a) (1001)2 + (1011)2
Soln:

1
0
0
1
+
1
0
1
1

1
1
0
0

Ans: (1001)2 + (1011)2  = (1100)2

b) (1100)2 × (11)2
Soln:


1
1
0
0



×
1
1


1
1
0
0

1
1
0
0
×
1
0
0
1
0
0

Ans: (1100)2 × (11)2 = (100100)2

Group B
HTML [10 Marks]

9. Answer the following questions: [4]

a) What is HTML? Who invented ?
Ans: HTML is a hypertext markup language which is used to create web pages for presenting information on the internet. Tim Berners Lee invented it.


b) Define web browser with any two examples.
Ans: The web browser is a software which helps to view the web pages. Any two examples of web browsers are Google Chrome and Internet Explorer.

10. Select the correct answer: [3]
a) _____ tag is used to make a text bold.
i) <OL>                  ii) <B>                        iii) <DL>                    iv) None of these
Ans: <B>

b) Which format of image files can be inserted in HTML?
i) .DOC                   ii) .GIF                        iii) .PSD                      iv) All of these
Ans: .GIF

c) _____ tag is used to break the line.
i) <OL>                  ii) <BR>                      iii) <BL>                     iv) None of these
Ans: <BR>

d) _____ is a software that is used to see the information in the web.
i) Browser              ii) Tag             iii) MS Word              iv) All of these
Ans: Browser

e) The extension of HTML document is _____.
i) .html                   ii) .doc            iii) .exe                       iv) .ppt
Ans: .html

f) Which attribute can be used with BODY tag to set background colour green?
i) <background=”green”>              ii) <bgcolor=”green”>                        iii) <vlink=”green”>       
iv) None of these
Ans: <bgcolor=”green”>

11. Write the HTML tag for the following: [3]
a) School Name [use Heading tag]
Ans: <H1> Jagat Mandir Secondary School </H1>

b) Insert horizontal line
Ans: <HR>

c) Insert image of your school
Ans: <IMG SRC=”jagat.jpg”>

d) Scroll your name
Ans: <MARQUEE> RAM PRASAD SHRESTHA </MARQUEE>

e) Link your page with http://deokathmandu.gov.np
Ans: <A Href=”http://deokathmandu.gov.np”> Click Here to visit DEO KATHMANDU Website </A>

f) Write H20 [use subscript tag]
Ans: H <SUB> 2 </SUB> O

Group C
QBasic [15 Marks]

12. Answer the following questions: [3]

a) What is variable?
Ans: The data item whose value changes during the execution of a program is called variable.

b) Define flowchart.
Ans: The pictorial representation of getting a solution of a problem is called flowchart.

13. Identify the error in the following program and correct it. [2]
REM To Accept two numbers and find their sum
CLI
PRINT “Enter 1st number”; num1
INPUT “Enter 2nd number”; num2
PRINT SUM = num1 + num2
PRINT “Sum”
END

Debugged Program

CLS
INPUT “Enter 1st number”; num1
INPUT “Enter 2nd number”; num2
SUM = num1 + num2
PRINT SUM
END


14. Find the output of the following program: [2]
CLS
LET R = 10
LET AREA = 3.14 * R ^ 2
PRINT “The area of circle is:”; AREA
END

Output
The area of circle is: 314

15. Read the following program and answer the following questions: [2]
CLS
LET L = 10
LET B = 6
LET H = 2
LET Volume = L*B*H
PRINT “Volume=”;Volume
END

a) Write the variables used in the above program.
Ans: The variables used in the above program are L, B, H and Volume

b) What is the output of the above program?
Ans: The output of the above program is:
Volume = 120

16. Write QBasic program for the following: [6]

a) To accept three different numbers and print the average of numbers.
CLS
INPUT “Enter first number”; A
INPUT “Enter second number”; B
INPUT “Enter third number”; C
AVE=(A+B+C)/3
PRINT “Average of three numbers”; AVE
END


b) To find the area of rectangle. [A = L × B]
CLS
INPUT “Enter Length”; L
INPUT “Enter Breadth”; B
A = L * B
PRINT “Area of rectangle”; A
END




1 comment: