Download as pdf or txt
Download as pdf or txt
You are on page 1of 8

Re

AACHI GLOBAL SCHOOL


Revision Worksheet

Name: ____________________ GRADE - 8


Class: 8 DIGITAL LITERACY
Date: ____________________

1. Fill in the Blanks

Jj
Alt , <img> , <OL> , <SOURCE> , GUI , CUI , IDLE

a) Using the ……………………………………………. attribute it displays the alternative text if


the image is not displayed.

b) The ………………………………………… tag is used to create a list.

c) The ……………………………………………… tag is used to insert simple or animated images


in a webpage.

d) The …………………………………………………... tag is used as a child element within the


<picture> tag to specify the different versions of an image origin.

e) Python presents the user with decision points that are easy to find , understand

and use easily using …………………………………………………………

AGS/GR8/Re/DL Page 1 of 8 AY 23-24


2. Identify any 5 HTML 5 tags used in this webpage and write its purpose
For designing this webpage

1.………………………………………………………………………………………………………………………………………
…………………………………………………………………………………………………………………………………………
2.………………………………………………………………………………………………………………………………………
…………………………………………………………………………………………………………………………………………
3.………………………………………………………………………………………………………………………………………
…………………………………………………………………………………………………………………………………………
4.………………………………………………………………………………………………………………………………………
…………………………………………………………………………………………………………………………………………
5.……………………………………………………………………………………………………………………………………..
………………………………………………………………………………………………………………………………………..

AGS/GR8/Re/DL Page 2 of 8 AY 23-24


3. State True or False

a) HTML 5 is not backward compatible

b) Attributes can be created with or without values

c) We can write HTML code only in Notepad

d) Python is a programming language that needs to be purchased

e) When commands are entered directly in IDLE from the keyboard

, the IDLE is said to be in interactive mode.

4. Match the following tag to its attributes

a) <audio> i) Poster

b) <video> ii) bgcolor

c) <img> iii) Autoplay

d) <body> iv) src

AGS/GR8/Re/DL Page 3 of 8 AY 23-24


5. Read the scenario and answer the following

a) Python is often used as a support language for software developers to build


control, management and for test products so why is python widely used by
programmers compared to other programming language like C ,C++, Java.
A simple python program is given below :

………………………………………………………………………………………………………………………………..
………………………………………………………………………………………………………………………………..
…………………………………………………………………………………………………………………………………
…………………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………………..
………………………………………………………………………………………………………………………………..
…………………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………………..
………………………………………………………………………………………………………………………………..
…………………………………………………………………………………………………………………………………

AGS/GR8/Re/DL Page 4 of 8 AY 23-24


b) In HTML 5 we could create tables which helps web developers to arrange data in the
form of rows and columns , could you give the code for creating the table and the data
inside them for the given output by using <tr>, <th>,<td> tags. The basic structure of
the code is done for you.

<HTML>
<HEAD>
<TITLE> Table EXAMPLE 1 </TITLE>
</HEAD>
<BODY>
<TABLE>

AGS/GR8/Re/DL Page 5 of 8 AY 23-24


c) In Python Programming, Operators in general are used to perform operations on
values and variables. These are standard symbols used for the purpose of basic
calculative operations , write the syntax and Description or Example for the given
operators.

Operators Syntax Description / Example

+=

>=

or

AGS/GR8/Re/DL Page 6 of 8 AY 23-24


d) Spot the error in the code and write the correct code below
Program to implement the WHILE loop with continue statement

while i>5
Program Output
i+=1 In rage (2,18,2):
For Count 2,4,6,8,10,12,14,16,18,All done
ifPrint
i==3:( Count, start=,)

Else: Continue
Print(I)
Print (All done)
Print( The End )

1.………………………………………………………………………………………………………………………………………
…………………………………………………………………………………………………………………………………………
2.………………………………………………………………………………………………………………………………………
…………………………………………………………………………………………………………………………………………
1. State True or False [5X1=5]
3.………………………………………………………………………………………………………………………………………
…………………………………………………………………………………………………………………………………………
4.………………………………………………………………………………………………………………………………………
…………………………………………………………………………………………………………………………………………
5.……………………………………………………………………………………………………………………………………..
………………………………………………………………………………………………………………………………………..

AGS/GR8/Re/DL Page 7 of 8 AY 23-24


e) Write the program using while loop to print the first five natural numbers for the
given output

Output :
1,2,3,4,5,

Count =

AGS/GR8/Re/DL Page 8 of 8 AY 23-24

You might also like