Professional Documents
Culture Documents
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
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.
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?
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.
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.