Computer for SEE and NEB

It is a complete SEE and NEB solution for computer science. It includes Computer Fundamentals, Database (SQL), Programming in C QBASIC, CSS, JavaScript, and PHP for beginners.

Breaking

Post Top Ad

Your Ad Spot

Thursday, March 3, 2022

Class 9 computer question model

 

Model Questions Paper (Solved)

SET – 1

Time: 1:30 Hrs

Full Marks: 50

 

Pass Marks: 20

 

                                                                                   

Candidates are required to answer in their own words as far as practicable. Credit shall be given to celerity and originality, not rote learning.

 

Group “A”

Computer Fundamentals (20 Marks)

 

1. Answer the following questions: (4×2=8)

  a) What is computer? Write its features.

Ans: Computer is an electronic device designed to accept data (input), perform the prescribed mathematical and logical operations at high speed (processing) and supply the desired result (output).

Following are the features of computer.

i) Speed

ii) Accuracy

iii) Automatic

iv) Diligence   etc..

 

 b) Why control unit acts as a nervous system?

Ans: The control unit acts as a nervous system because it maintains the order and directs the operations of entire system by selecting, interpreting and seeing to the execution of program instruction.

 

c) Write the difference between Primary and secondary memory.

Following are the difference between primary and secondary memory:

Primary memory

Secondary memory

It is Internal memory

It is external memory

High speed

Low speed

Small size

Large size

Small storage capacity

Large storage capacity

Directly access by CPU

CPU does not directly access

Example: RAM, ROM

Example: Floppy, Hard disk, Zip disk, CD-ROM

 

 d) Write any five IT policy of Nepal 2057.

Ans: Following are the IT policy of Nepal 2057.

·        To declare IT sectors a priority sector.

·        To provide internet facility gradually to all VDC of the country.

·        To encourage the use of computers in private sectors.

·        To establish National Information Technology Centre.

 

2.a) Convert as indicated:            (2×1=2)

     i) ) (11010101)2 into Octal

 

Binary no=

11010101

Grouped 3 bits of binary digits=

011

010

101

Equivalent Octal No.=

3

2

5

 

Therefore,  (11010101)2 = (325)8

 

  ii) ) (23)10 into Binary    

Remainder

2

23


1

2

11

1

2

5

1

2

2

0

2

1

1

 

0

 

                                                           

 

 




Therefore, (23)10= (10111)2

 

b) Perform the following binary calculations: (2×1=2)

 



3. Choose the best answer from the following: (4×0.5=2)

a) ……includes non-commercial transactions between government

       organization and government employee.

       i) G2G    ii) G2E     iii) G2C    iv) G2B

  Ans: G2E

 

b) Which of the following is used for learning purpose?

     i) CAL     ii) PAL     iii) ATM    iv) CAD

Ans: CAL

 

c) Which of the following is open source software?

     i) Windows    ii) Word     iii) Linux    iv) All

Ans: Linux

 

d) Objectives types of questions can be examined by

     i)OCP     ii) DCU   iii) OCR   iv) VDU

Ans: OCR

 

4. Match the following pairs: (4×0.5=2)

Group A

Group B

Magnetic tape

Optical storage device

Hard disk

Sequential storage device

DVD

MS-Word

DBMS

Random storage device

 

Oracle

 

Answer:

Group A

Group B

Magnetic tape

Sequential storage device

Hard disk

Random storage device

DVD

Optical storage device

DBMS

Oracle

 

                  

5. Name the technical term for the following statements. (4×0.5=2)

a) A type of symbol or code used in assembly language.

Ans: Mnemonics

 

b) A security mechanism used on the internet that relies on two keys, one public and one private

Ans: Digital Signature

 

c) Software embedded in ROM chip.

Ans: ROM

 

d) A mixture of analog and digital computer.

Ans: Hybrid

 

6. Give the full forms: (4×0.5=2)

    i) EPROM   ii) CRT   iii) BITS    iv) EDSAC

Ans:

   i) EPROM: Erasable Programmable Read Only Memory

  ii) CRT: Cathode Ray Tube

  iii) BITS: Binary Digits

  iv) EDSAC: Electronic Delay Storage Automatic Calculator

 

Group “B”

Operating System (5 Marks)

7. Answer the following questions: (3×1=3)

a) What is operating system?

Ans: Operating system is the set of programs that is responsible for the management and coordination of overall operation of the computer system

 

b) Define Desktop and Icon.

Ans: Desktop: Overall working area of the windows is known as desktop.

Icon: Icons are small pictures or symbols that represent document, application and folder with its own individual name under it.

 

c) What is the use of Windows Explorer?

Ans: The Windows Explorer is an important tool that is used to organize and control the files and folders of different locations.

 

8. Write the command for the following tasks             2×1=2

a) To format a disk of drive A: and to transfer system files.

Ans: C:\> FORMAT A:/S

 

b) ) Delete all the files with extension .DOC belonging to the WORD directory of the drive C:

Ans: C:\> DEL C:\WORD\*.DOC

 

Group “C”

HTML (5 Marks)

9.  Answer the following questions:                                3×1=3

a) What is HTML?

Ans: It is a language for describing how pages of text, graphics and other information organized, formatted and linked together

 

b) Write the difference between container tags and empty tags.

Ans: The difference between container tags and empty tags are as follows:

Container tags

Paired tags

Container tags has both beginning and ending tag

It has no ending tag.

 

Example: <HTML>, <BODY>, <B>, <U> etc.

Examples: <BR> , <IMG>, <HR> etc.

 

c) What is internet?

Ans: Word wide connection of computers is known as internet. It is also known as network of network.

 

10.  State whether the following statements are true or false:(4×0.5=2)

a)     Pair tag must have a closing tag.

b)     There are four levels of heading in HTML.

c)     URL is used to identify the location of the WebPages.

d)     The unordered list starts with <OL>

Ans:  a) True     b) False     c) True     d) False

 

Group “D”

Programming (20 Marks)

11.  a) Write the features of QBASIC.                                       1

Ans: Following are the features of QBASIC:

·   It is easy to use and learn.

·   It supports structure programming.

·   It checks syntax error automatically.

·   It has full screen editor.

 

b) What is variable? List the different types of variables.               1

Ans: The variable is an entity whose value changes during a program execution.

Following are the different types of variables.

i) Numeric variable    ii) String variable

 

c) Write down the use and syntax of PRINT statement.                    1

Ans: PRINT statement is used to display the data on the screen or in the data file.

Syntax: PRINT [#filenumber], [Expression] separator [expression] separator

 

12. Draw the flowchart displays the natural number 1 to 10 and their sum.   2

 


 13. Write the output of the given program.                              2

CLS

x = 1

y = 1

FOR z = 1 TO 4

PRINT x;

y = y + 1

x = x * 10 + y

NEXT z

END

 

Output:


1   12    123     1234

 

 

14.  Rewrite the following program with correcting the bugs.            2

CLS

REM program to display the input string in reverse order

INPUT "enter any string"; w

FOR x = LENGTH(w$) TO 1 STEP 1

PRINT MID$(w$, 1, x);

NEXT x

END

Ans: Debugged program:

CLS

REM program to display the input string in reverse order

INPUT "enter any string"; w$

FOR x = LEN(w$) TO 1 STEP -1

PRINT MID$(w$, x, 1);

NEXT x

END

 

15. Read the following program and answer the given below:     2×1=2

CLS

INPUT "Enter any string="; w$

l = LEN(w$)

FOR x = 1 TO l

m$ = MID$(w$, x, 1)

m$ = UCASE$(m$)

SELECT CASE m$

CASE "A", "E", "I", "O", "U"

v = v + 1

END SELECT

NEXT x

PRINT "Total no of vowels="; v

END

a) How many time loops execute if input string is “Virus”?

Ans: 5

 

b) List the different string library function available in above program?

Ans: LEN, MID$, UCASE$

 

 

16.  Write the program for the following:

a) To calculate principal amount. (3)

Answer:

CLS
INPUT " Enter Rate of interest="; r

INPUT "Enter time="; t

INPUT "Enter simple interest"; si

pa = (si * 100) / (r * t)

PRINT "Principal amount"; pa

END

 

b) To input any string and display how many “R” characters are available in that string. (3)

Answer:

CLS

INPUT "Enter any string="; n$

FOR x = 1 TO LEN(n$)

m$ = MID$(n$, x, 1)

IF m$ = "r" OR m$ = "R" THEN c = c + 1

NEXT x

PRINT "Total no of 'R' characters="; c

END

 

c) Program to input any 10 numbers and display them by sorting in ascending order. (3)

Answer:

CLS 1

DIM num(10)

FOR i = 1 TO 10

INPUT num(i)

NEXT i

FOR j = 1 TO 10

FOR k = 1 TO 10 - j

IF num(k) > num(k + 1) THEN SWAP num(k), num(k + 1)

NEXT k

NEXT j

PRINT "*********Sorted Data***********"

FOR z = 1 TO 10

PRINT num(z)

NEXT z

END


You may also Read:

Qbasic program to find the sum of input digits

QBASIC program to enter any three numbers and display the greatest number





No comments:

Post a Comment

Post Top Ad

Your Ad Spot

Pages