Thursday, September 25, 2025

Solved PABSON Kathmandu MID TERMINAL EXAMINATION 2082 – COMPUTER SCIENCE – Grade IX

 

Solved PABSON Kathmandu

MID TERMINAL EXAMINATION 2082 – COMPUTER SCIENCE – Grade IX








Attempt all questions.

Group ‘A'(10 Marks)

Choose the correct answer.                                                      (10x1=10)

1.   A set of instructions that performs a particular task is called………..

      i) data         ii) information              iii) program     iv) hardware

 

2.   Which type of memory is volatile and loses data when power is turned off?

      i) RAM      ii) ROM            iii) Flash Memory         iv) Hard disk

 

3.   A………printer is a popular type of personal computer printer that uses a non-impact, photocopier technology.

      i) laser                   ii) dot matrix                 iii) drum           iv) ink jet

 

4.   .…….refers to the process of copying files from remote server computers to users computer.

i) Download           ii) Upload         iii) FTP             iv) None of these

 

5.   Which of the following programming languages is considered a Low-Level Language?

i) Python    ii) C++             iii) JAVA          iv) Assembly Language

 

6.   Which of the following is not a valid hexadecimal digit?

i) A            ii) E                  iii) F                 iv) G

 

7.   Which of the following is the first step in the Program Development Cycle?

      i) Coding                ii) Analyzing the problem

      iii) Maintenance      iv) Design

 

8.   In scratch, what term is used for the visual elements that users can control?

i) Characters           ii) Sprites         iii) Objects        iv) Blocks

 

9.   Which software environment is used for programming Arduino boards?

i) Scratch    ii) Arduino IDE           iii) Visual studio           iv) Eclipse

10. The color attribute is of ………….tag.

      i) <FONT>                                     ii) < HR > 

      iii) <FONT> and <HR>                 iv) None

Group ‘B' (20 Marks)

Answer the following questions in one sentence:                      (10X2=20)

11. Explain the working principles of computers with a block diagram.

Ans: The working of a computer is explained by the IPOS cycle. Data is first entered into the computer using input devices such as a keyboard or mouse. This data is processed by the CPU, which follows the instructions stored in memory. The processed data is then displayed as output through devices such as a monitor or printer. At the same time, data and results can be stored in devices such as a hard disk or pen drive for future use. This sequence of input, process, output, and storage explains how raw data is transformed into meaningful information.

 

 




12. What is an input devices? Write down appropriate input device for data 'audio' and 'video'?

Ans: Input devices are hardware components that allow users to enter data and instructions into a computer system, enabling communication between the user and the computer for processing.

      The appropriate input device for audio is microphone and video is webcam.

 

13. Convert (315)10 into binary and (A4B)16 into octal.

Division
by 2

Quotient

Remainder

(Digit)

(315)/2

157

1

(157)/2

78

1

(78)/2

39

0

(39)/2

19

1

(19)/2

9

1

(9)/2

4

1

(4)/2

2

0

(2)/2

1

0

(1)/2

0

1

= (100111011)2

(315)10 = (100111011)2

 

(A4B)16 into octal.

Convert each hex digit to 4 binary digits and then convert each 3 binary digits to octal digits (see conversion tables below):

Converting hexadecimal to binary

= A 4 B

A = 1010

4 = 0100

B = 1011

= 101 001 001 011

Again,

Converting binary to octal

101 = 5

001 = 1

001 = 1

011 = 3

= 5113

(A4B)16 = (5113)8

 

14. Perform (1011 X 101)2 + (1001)2 and (10111)2 ÷(101)2 binary operations.

 

 

 

1

0

1

1

 

 

 

x

1

0

1

 

 

 

1

0

1

1

 

 

0

0

0

0

x

 

1

0

1

1

x

X

 

1

1

0

1

1

1

Now,

 

1

1

0

1

1

1

 

 

+

1

0

0

1

1

0

0

0

0

0

0

(1011 X 101)2 + (1001)2 = (1000000)2

 

(10111)2 ÷(101)2

101)

1

0

1

1

1

(100

 

1

0

1

 

 

 

 

0

0

0

1

1

 

 

 

 

 

 

0

 

 

 

 

 

1

1

 

Q = 100

R = 1

 

15. List different types of ports and explain any one of them.

Ans: The different types of ports are  USB, HDMI, Ethernet, VGA port.

The Type-C port is a modern hardware connector commonly found in smartphones, laptops, and tablets. It is small, reversible (can be plugged in either way), and supports fast charging, high-speed data transfer, and connection with multiple accessories.

 

16. Differentiate between UI and UX design in web development.

Aspect

UI (User Interface)

UX (User Experience)

Definition

The visual elements (buttons, icons, menus).

The overall experience of using the product.

Focus

How the product looks.

How the product works and feels.

Goal

To make the product visually appealing.

To make the product easy to use and enjoyable.

Example

Design of buttons and layout of an app.

Smooth navigation and quick load times of an app.

 

17. Write down the function of following HTML tag:    

i. <TR> - Defines a row in an HTML table.       

ii. <MARQUEE> - Creates a scrolling.  

iii. <P> - Defines a paragraph.  

iv. <IMG> - Inserts an image.

18. Observe the given block and give answer of given question.

 


Question:

a)   What is the function of “When I start as a clone”?

Ans: The function of the "When I start as a clone" block in Scratch is to specify actions that should occur when a clone of the sprite is created. In this script, it makes the cloned sprite move to a random position on the screen.

 

b)   What will be the result of above script when mouse clicked?

Ans: The result of the above script when the mouse is clicked will be as follows:

·        When the green flag is clicked, the program will repeatedly create clones of the sprite as long as the mouse is held down.

·        Each clone will go to a random position on the screen.

·        If the mouse is pressed down, the clone will keep appearing in random positions.

·        When the mouse is released, the clones will be deleted.

 

 

19. Analyze the following flowchart and write the output.      (2)

The output of the flowchart is

1

2

3

4

5

20. Write flowchart to display area of rectangle.


 



 

 

Group ‘C (5X4=20)

 

21. What is programming language? Differentiate between compiler

      and interpreter.                                         (2+2)   

Ans: A programming language is a language consisting of a set of instructions provided by the user that tells a computer what task to do and how to do it.

 

 


     

22. Write the function of the following blocks.                         (4X1=4)

 


1.      Switch backdrop to backdrop1: This block changes the backdrop of the scene to "backdrop1."

2.      Set my variable to 0: This block sets a variable named "my variable" to a value of 0.

3.      If on edge, bounce: This block makes the sprite bounce when it touches the edge of the screen.

4.      Repeat until: This block repeats a set of actions until a specified condition is met. The actions inside the block will run continuously until the condition is satisfied.

 

23. Write HTML code to create the following webpage.                      (4)



<html>

<head>

       <title>Vacancy Announcement</title>

</head>

<body>

    <center><h3><u>Vacancy Announcement</u></h1></center>

    <p>XYZ Software Company requires qualified candidates for the following posts:</p>

     <img src="vac.png" height=300 width=300 align=right>

        <ol>

            <li>Software developer

            <li>Graphics designer

            <li>Website designer

        </ol>

         <b>Qualification required:</b>

        <table border=1>

            <tr>

                <th>POST</th>

                <th>Qualification</th>

            </tr>

            <tr>

                <td>Software developer</td>

                <td>BE (Computer Engineering)</td>

            </tr>

            <tr>

                <td>Graphics developer</td>

                <td>B.Sc. Computer Science</td>

            </tr>

            <tr>

                <td>Website developer</td>

                <td>B.Sc. IT</td>

            </tr>

        </table>

 

</body>

</html>

 

24. List down the components of Scratch interface. Explain any one of them.                                                                   (3+1)

Ans: The components of scratch interface are:

v  Stage

v  Sprites

v  Scripts

v  Blocks Palette

v  Backdrop

Sprites- Sprites are characters or objects that can interact in a Scratch project

25. What is web development life cycle? List all the stages of  it and

      explain any one of them.                                                    (2+1+1)

Ans: The web development life cycle is a systematic process of creating and maintaining a website or web application. The stages of web development life cycle are:

Stages of WDLC

·       Gathering Information

·       Design and Layout

·       Content creation

·       Development

·       Testing

·       Deployment

·        Maintenance and Updating

Gathering Information: This first stage focuses on understanding the project’s goals and collecting all the necessary information to build the website.

 

 

 

?ÿ@

 

No comments:

Post a Comment