You are on page 1of 5

PODAR PEARL SCHOOL

(Under the Supervision of Ministry of education and Higher Education, Qatar)

ACADEMIC YEAR 2023-24


School Vision: To develop a purposeful and resilient institution to meet with the life-goals and
aspirations of our children, parents and staff.

ANNUAL EXAMINATION- REVISION WORKSHEET

Name: ______________________________ Subject: Computer Science

Grade / Div: VII ____________ Month: February

Teacher’s Signature: _______________ Submission Date: To be done in the class

I. Choose the correct answer:


1. Identify the correct attribute of the tag shown below.
<IMG SRC=flowers.jpg _______=top>
a) src b) Align c) border d) Alt

2. Ashish wants to edit an image in GIMP. He wants to fill a mix of two colours in a
particular area of the image. Which paint tool will he use for the same?
a) Ink b) Air brush c) Gradient d) Paintbrush

3. Identify the type of operator highlighted in the Python code given below.
num = int(input('enter the number?'))
if num%2 == 0:
print('Number is even')
a) Relational b) Logical c) Boolean d) both a and b

4. The ‘if’ block can have multiple __________ blocks but only one ___________ block.
a) elif, else b) else, elif c) else, if d) none of these

5.The body of the ‘if’ statement is indicated by ______________ in a Python program.


a) declaration b) Execution c) condition d) Indentation
6. The ____________ tag is used to begin a new line in HTML.
a) <i> b) <br> c)<p> d) <b>

7.____________tool is used to remove imperfections in a picture.


a) eraser tool b) airbrush tool c) clear tool d) clone tool

II. Answer in short: (2 MARKS)


UNIT – IMAGE EDITING IN GIMP

1. Observe the given image. Identify the tools in GIMP that are used to convert the
original image into the following images.

Original image
i.

ii.

2. Observe the original image and the transformed image shown below. Write down the
tool that has been used to convert the original image into the transformed image.

i) ii)

3. Observe the text and images manipulated using GIMP and answer the questions
given below.
i. Name the tool used to get the text as shown below.

ii. Name the tool used to remove wrinkles, blemishes from the original image to get
the transformed image.

4. What are Pixels?


5. List all the paint tools available in the GIMP.
UNIT – PYTHON CONDITIONAL STATEMENTS

1. Explain the difference between the ’if’ and ‘if…else’ statement in Python.
2. Write a simple program to accept a value from the user and display whether it is positive
or negative or a zero number.
3. Write a simple program to accept a value from the user and display whether it is even
or odd.
4. Find the output of the following code:
num=50
if num%3==0 or num%5==0:
print(" The number is divisible by either 3 or 5")
else:
print(" The number is not divisible by both 3 and 5")
5. What are the different modes of executing the programs in Python? Which mode is
preferrable for longer codes and why?

UNIT – MORE ON HTML


1.Differentiate between internal link and external link in HTML.
2. Write HTML code to insert an image with the following attributes in a web page.
URL of the image - angel.png
Alternate Text - Angel
Width of the image - 25
height of the image - 35
width of the border = 4
3.List any 2 attributes of the tag <TD>.
4.Differentiate between cell spacing and cell padding.
5. What is the use of src attribute? Give one example.

III. Answer in brief:


UNIT – IMAGE EDITING IN GIMP

11. 1.
How1 will you do the following in GIMP?
i) Deselect all areas selected in an image.
ii) Change the size of a selected paint tool using the keyboard.
2. Explain the Clone tool and Heal tool in short.
3. Explain the usage of smudge tool and dodge tool.
4. What are the functions of Bucket fill and Gradient tool?
5. What is GIMP? Mention some of its features.

UNIT – PYTHON CONDITIONAL STATEMENTS

1. Write a program to accept three numbers from the user. Find the greatest of the
three numbers and print the same. The sample output for the program is shown below.

2. Write a Python program to check if a number is divisible by both 2 and 7


3. Discuss the usage of the if…elif…else statement.
4. Explain the logical operators used in Python.
5. Write a Python program to check whether a person is eligible to vote or not.
UNIT – MORE ON HTML
1.What is an HTML form? Explain its use.
2. List the attributes of the <IMG> tag.
3. Write a short note on hyper link.
4. Write the HTML code to create the table shown below.

You might also like