wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Revision Second Preparatory

Total questions: 28

Worksheet time: 14mins

Name
Class
Date
1.

You can create a function and execute it without calling.

a)

True

b)

False

2.

When you write HTML codes, the Notepad file must be saved with the extension .html

a)

True

b)

False

3.

The JavaScript language is written in a separated file from the HTML file.

a)

True

b)

False

4.

1. document.write statement is used to display a message via a dialogue box.

a)

Ttue

b)

False

5.

1. JavaScript statement is written inside <script> </script> .

a)

True

b)

False

6.

We use a Submit button to clear all data from all input fields .

a)

True

b)

False

7.

Radio button is used to write a password of a student in it .

a)

True

b)

False

8.

We add checkboxes to give an ability to the user to select more than one choice at the same time.

a)

True

b)

False

9.

To select one language or more, you have to put Radio button into the webpage .

a)

True

b)

False

10.

The code ……………. is used to display a Reset button

a)

<input type="reset">

b)

<input type="button" value="reset">

c)

<input type="submit">

11.

In HTML, the ……………symbol is used to close the tags

a)

/

b)

*

c)

\

12.

To display a message "Hi" in a web page.

a)

<Script> alert ("Hi") </Script>

b)

<input type="text" >

c)

<Script> document.write("Hi"); </Script>

13.

To cancel the possibility of selecting two radio buttons at the same time ,we use a ……………property with the same value.

a)

value

b)

name

c)

action

14.

………………………. is JavaScript statements grouped together in a named block and performed according to call it

a)

HTML

b)

Command

c)

Function

15.

The …………… event occurs when the user clicks on a button

a)

onclick

b)

howclick

c)

noclicks

16.

You can use the ………… property to send all data to another webpage

a)

action

b)

Delete

c)

reset

17.

JavaScript statements are written between …………tags

a)

body

b)

font

c)

title

18.

When writing HTML codes, the Notepad file must be saved with the extension …………..

a)

script

b)

html

c)

xls

19.

You can't add a form to a webpage to record the data and send it.

a)

True

b)

False

20.

In JavaScript language, each Statement must be ended by ……

a)

/ slash

b)

;semicolon

c)

submit

21.

The command …………… is used to create a Radio Button in the form.

a)

<input= radio>

b)

<input type="text">

c)

<input type="radio">

22.

The tag…………… is used to leave a line in the web page.

a)

<br>

b)

<break>

c)

<newline>

23.

In ………….,you can add buttons and fields that are used for data entry to send them to be stored

a)

The form

b)

the textbox

c)

the radio button

24.

To display a message "Egypt" in the web page, we type <script>……………………….</script>

a)

alert ("Egypt")

b)

<input type="text">

c)

document.write("Egypt");

25.

In JavaScript language, each Statement must be ended with ……………

a)

< >

b)

</ >

c)

; semicolon

26.

To display "prep2" in a message box, we use <script> ……………………</script>

a)

document.write("prep2");

b)

alert("prep2");

c)

<input type="text" >

27.

The code <Form action="process.php"> <input type="submit"> is used to add………….. button

a)

Reset

b)

Submit

c)

clear

28.

The language …………… used to make your registration webpage interactive

a)

HTML

b)

JavaScript

c)

Script