0% found this document useful (0 votes)
32 views7 pages

Computer Ws

Uploaded by

vihanrajkassivrk
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views7 pages

Computer Ws

Uploaded by

vihanrajkassivrk
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

REVISION WORKSHEET

CLASS 8
COMPUTER SCIENCE

Q1) This feature allows us to divide the whole image into


different parts.

Q2) _______ refers to the spaces at the beginning of a code


line.

Q3) ______ is India's first 3D printed house which was


created in ______.

Q4) Which function is used to generate a list of numbers?

Q5) This tool is used when we want a blend of two or more


colours in our background image.

Q6)The _______ app allows you to envision furniture in


your own home, by overlaying a 3D representation in
your room.

Q7) Rakesh is on his way to his relative’s place, but


somehow he lost his way in between.To get back on the
right path,which AI-based application should he use?

Q8) Differentiate between the break and continue


statement.

Q9)What is robotics ? Describe any five robots.


Q10) How can we add text to our image in Photoshop?

Q11) Differentiate between Pattern Stamp tool and Clone


Stamp tool.

Q12) Explain Eraser tool and Burn tool.

Q13) Write a Python program to print the multiplication


table of 10.

Q14) Write a Python program to print all the days of a week.

Q15) Write a Python program to add the first 10 natural


numbers.

Q16) Write a Python program to print individual letters


from a string.

Q17) Write a Python program to compute the factorial of a


given number.
Answers
Q1) This feature allows us to divide the whole image into
different parts.
(Ans) Slicing

Q2) Indented refers to the spaces at the beginning of a code


line.

Q3) Tvasta is India's first 3D printed house which was created


in 2020.

Q4) Which function is used to generate a list of numbers?


(Ans) range()

Q5)This tool is used when we want a blend of two or more


colours in our background image.
(Ans) Gradient tool

Q6) The Ikea Place app allows you to envision furniture in your
own home, by overlaying a 3D representation in your room.

Q7) Rakesh is on his way to his relative’s place, but somehow he


lost his way in between.To get back on the right path, which
AI-based application should he use?
(Ans) Google Maps
Q8) Differentiate between the break and continue statement.
(Ans)

break continue
The break statement is used The continue statement
in the for and while loops to causes the program to skip
terminate the loop and the rest of the statements in
completely transfer the the current block and move
control from the loop to the to the next iteration of the
next statement after the body loop.
of the loop.

Q9)What is robotics? Describe any five robots.


(Ans) Robotics is a branch of engineering that uses
technologies such as Artificial Intelligence and machine
learning.

1) Atlas robot provides emergency services in rescue


operations. It is also called a disaster-response robot.

2) Nao is a small humanoid robot, packed with sensors. It


can walk, dance, speak and recognise faces and objects.

3) Pepper is a friendly humanoid designed to be a


companion at home and help customers at retail stores.

4) Sophia is considered the most advanced humanoid


robot. It is the world’s first robot citizen.

5) ASIMO travels all around the world as a brand


ambassador for robots, making people aware how
robots can make life easier.
Q10) How can we add text to our image in Photoshop?
(Ans) To use the Text tool, follow the given steps:
1) Open an image and click on the Horizontal Text Tool.
2) Select the desired text tool.
3) Set the font name, size and colour from the Options
bar.
4) Click on the image and start typing.

Q11) Differentiate between Pattern Stamp tool and Clone


Stamp tool.
(Ans)

Pattern Stamp tool Clone Stamp tool


1. The Pattern Stamp tool 1. The Clone Stamp tool lets
allows us to paint a style us duplicate a part of an
pattern to an image. image.
2. We can use the brush stroke 2. This tool uses a portion of
technique to draw our the image as a sample
patterns. which is used as a
reference to create
another image.
Q12) Explain Eraser tool and Burn tool.
(Ans)
Eraser tool- This tool is used to remove any unwanted
elements from an image by changing the pixel to either the
background color or turning it transparent.

Burn tool- This tool darkens the pixels without affecting the
colors. By using this tool, we can create greater contrast by
deepening the shadows in certain areas of a photo.
Q13) Write a Python program to print the multiplication table
of 10.
(Ans)#USING WHILE LOOP
a=1
while(a<11):
print(“10”,“*”,a,“=”,a*10)
a=a+1
OR
#USING FOR LOOP
for a in range(1,11):
print(“10”,“*”,a,“=”,10*a)
Q14) Write a Python program to print all the days of a week.
(Ans)

str1=(“MONDAY”,“TUESDAY”,“WEDNESDAY”,“THURSDAY”,
“FRIDAY”, “SATURDAY”,“SUNDAY”)
for i in str1:
print(i)

Q15) Write a Python program to add the first 10 natural


numbers.
(Ans) #USING WHILE LOOP
s=0
i=1
while(i<=10):
s=s+i
i=i+1
print(s)
OR

#USING FOR LOOP


s=0
for i in range(1,11):
s=s+i
print(s)
Q16) Write a Python program to print individual letters from a
string.
(Ans) text=“dps”
for i in text:
print(i)

Q17) Write a Python program to compute the factorial of a


given number.
(Ans) #USING WHILE LOOP
f=int(input("Enter any number: "))
m=1
i=1
while(i<=f):
m=m*i
i=i+1
print(m)

OR

#USING FOR LOOP


f=int(input("Enter any number: "))
m=1
for i in range(1,f+1):
m=m*i
print(m)

You might also like