The words you are searching are inside this book. To get more targeted content, please make full-text search by clicking here.

Vedanta Let's Log in Computer Science Book - 9.indd

Discover the best professional documents and content resources in AnyFlip Document Base.
Search
Published by PHILOMATH Contextualizing Mathematics, 2021-07-14 10:05:36

Vedanta Let's Log in Computer Science Book - 9.indd

Vedanta Let's Log in Computer Science Book - 9.indd

Vedanta Let’s Log in Computer Science | Book 9

Model Question (Theory Exam)
Grade IX

Computer Science

Students are required to give their answers as far as practicable.

Time: 1 Hour 30 Minutest Full Marks: 50

(Group 'A' Very Short Questions - 10 Marks )

1. Answer the following questions in one sentence: 6x1=6
a) List any two characteristics of computer.
b) What are the two most common input and output devices?
c) What is the open-source software (OSS)?
d) Mention the list of any two graphical software.
e) What is CSS?
f) Give any two examples of HTML editor.

2. Write appropriate technical term for the following: 2x1=2
a) A device that converts a normal picture into a digital picture.
b) A number of pixels in an image.

3. Write the full form of the following: 2x1=2

a) ICT b) PNG

(Group 'B' Short Questions – 24 Marks)

4. Answer the following questions: 9x2=18

a) Differentiate between general-purpose computers and special-purpose computers.

b) Draw a block diagram of a computer system.

c) Why is a computer known as a versatile machine?

d) What are the supercomputers and where are they used?

e) How is cache memory different from a primary memory?

f) What is the role of a backing storage device in a computer system?

g) Differentiate between a compiler and an interpreter.

301 Approved by Curriculum Development Centre, Sanothimi, Bhaktapur

Vedanta Let’s Log in Computer Science | Book 9

h) Differentiate between Raster format and vector format.

i) Write the purposes and syntaxes of the following HTML tags.

i) <CENTER> ii) <HR>

5. Write down the output of the given program. Show with dry run in table. 2
CLS
S=3
FOR Z = 10 TO 5 STEP -1
X=Z^2
S=S+X
NEXT Z
PRINT S
END

6. Re-write the given program after correcting the bugs: 2

CLS
INPUT "Type any number "; n
FOR x = 2 TO n - 1
r= x MOD n
IF r = 0 THEN c = c + 1
NEXT x
IF c = 0 THEN
PRINT "Prime"
ELSE
PRINT "Composite"
END

7. Study the following program and answer the given questions: 2x1=2
CLS
a = 97
FOR i = 5 TO 1 STEP -1
c$ = CHR$(a)

Approved by Curriculum Development Centre, Sanothimi, Bhaktapur 302

Vedanta Let’s Log in Computer Science | Book 9

d$ = CHR$(a - 32)
PRINT ASC(c$); TAB(10); c$
PRINT ASC(d$); TAB(10); d$
a=a+2
NEXT i
END
a) Mention the list of library functions used in the above program.
b) How many times is the loop executed in the above program?

(Group 'C' Long Questions – 16 Marks)

8. Mention the different types of CSS with suitable examples. 4

9. Create the following timetable using HTML: 4

Days Sun Mon Time Table Wed Thu Fri
Subjects English Maths Tue Arts Music Lab
Maths Nepali Science Social Economics English
Computer
Nepali Computer Lunch Maths Science
Economics Science English English Maths
Maths

10. Write a program in QBASIC that asks for any string value and checks whether it is

palindrome. 4

11. Write a program that asks for 15 numbers and stores into an array, and displays only

the odd item from them. 4

303 Approved by Curriculum Development Centre, Sanothimi, Bhaktapur

Vedanta Let’s Log in Computer Science | Book 9

Model Question (Practical Exam)

Students are required to give their answers as far as practicable.

Time: 1 hour Full Marks: 25

Working with Graphics

1. Design a New Year Card by inserting five images on it. Use the various tools you [5]
have learnt to make it beautiful and save it in JPG format.

Internet and Web technology

2. Create the following table using HTML tags and save under “table.html”. [5]

Gender Average Maximum Age
height weight

Male 5'6" 62 17

Female 5'2" 47 15

3. Create a CSS class selector with the following features:

• Text alignment – right

• Text format – bold, italic, and dotted yellow underline

• Font size – 40px

• font color – white

• background color – brown

Use the above CSS class selector in the above HTML file “table.html”. [5]

QBASIC

4. Write programs to display the following string patterns: [2×2.5=5]

a) N b) 1

NE 1 2

NEP 1 2 3

NEPA 1234

NEPAL 12345

5. Write a program that asks for any 10 numbers and stores into an array, and finds their sum

and average. [5]

Project Work – 25 Marks

1. Project 1 from Working with Graphics & Internet and Web technology [15 Marks]
2. Project 2 from Computer Programming [10 Marks]

Approved by Curriculum Development Centre, Sanothimi, Bhaktapur 304


Click to View FlipBook Version