wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Computer Science Annual Revision

Total questions: 20

Worksheet time: 3mins

Name
Class
Date
1.

How many attributes we have for <FRAME> tag?

a)

5

b)

6

c)

7

d)

8

2.

Which attribute specifies a margin between the top and bottom edges of the frame and frame contents?

a)

Frameborder

b)

Marginheight

c)

Marginwidth

d)

margin

3.

(a)   specifies the name of the frame.

4.

The _______ tag must be used withinin a <FRAMESET> tag.

a)

<Body>

b)

<HTML>

c)

<FRAME>

d)

<HEAD>

5.

The default value of Border attribute is ______.

a)

Yes

b)

auto

c)

5

d)

2

6.

The default value of scrolling attribute is _______.

a)

YES

b)

NO

c)

AUTO

d)

NONE OF THE ABOVE

7.

Which of the following is an empty element?

a)

<Javascript>

b)

<frameset>

c)

<frame>

d)

<form>

8.

_______ symbol represents as much space as possible or the space left.

a)

+

b)

" "

c)

*

d)

_

9.

_______ specifies the URL for the document to be displayed in the frame.

a)

name

b)

language

c)

cols

d)

src

10.

Javascript is not a case sensitive language.

a)

True

b)

False

11.

in window.alert, alert is the ______.

a)

language

b)

object

c)

method

d)

Javascript

12.

___________ contains information used by the script.

a)

method

b)

language

c)

object

d)

script

13.

A ______ is nothing but a program written within the <head> tag.

a)

frame

b)

frameset

c)

script

d)

language

14.

In Javascript , if uppercase and lowercase letters are not used properly, then the syntax error might occur.

a)

yes

b)

no

15.

The use of _____ causes the text written after it to shift to a new line, in the document.writeln statement.

a)

/n

b)

\n

c)

<br>

16.

The use of _____ causes the text written after it to shift to a new line, in the window.alert statement.

a)

/n

b)

\n

c)

<br>

17.

(a)   keyword is used to declare a variable.

18.

Identify the correct variable name.

a)

my name

b)

my_name

c)

my-name

d)

1name

19.

Every javascript statement should end with a (a)   .

20.

The default value contained inside window.prompt dialog box is _______.

a)

0

b)

abc

c)

identified

d)

undefined