Вы находитесь на странице: 1из 8

1 Function used to convert a string to integer

A) Str2Int()
B) strToInt()
C) parseInt()
D) parseStrInt()

2/ Attributes _____of the Window object reference to the current window or


frame

A) Name
B) Self
C) Status

3/ atribute_____ Of the object properties window shows the HTML document in


a browser window
A) event
B) document
C) history

4/ Three features of DHTML is: (choose three)

A) DHTML allows users to define the style of writing.

D) DHTML allows users to define the HTML elements

E) In DHTML, the operation mode of an object

B) In the DHTML user can not write the script to change the style and
content of a site

C) DHTML allows the user to capture events generated by user or system


and change the style or content of the pages on the fly

5/ _____ Is the event is generated when the user clicks on an element of form
or a hyperlink

A) onFocus
B) onChange
C) onLoad
D) onClick
6)
In function space, with the following code:

For (var i=0; i<space.length; i++)


If (check == space.charAt(i) ){ return true;}

Which of the following may be used to replace the above paragraph?

A) return (space.indexOf(check, 0) <=0 ? false : true);


B) if (space.indexOf( check, 0) >=0) {return true;}
return false;
C) if (space.lastIndexOf(check, check.length) > 0) { return true; }
return false;
D) return (space.LastIndexOf(check, check.Length ) == 0 ? false:true);

7/ _____ Is an application used to display the contents of an HTML page

A) Subjects

C) Browser

B) Object Browser

8 /Statment ______ Be used to run uniserial that commands, all of those


commands correlate come to a objects definitely.

A) Switch

B) With
C) If
D) For

9)

How can open a browser window in a statement Monday JavaScript?

A) document.open("http://www.thedomain.com/")
B) window.open("http://www.thedomain.com/")
C) openWindow("http://www.thedomain.com/")
D) document.openWin("http://www.thedomain.com/")

10/ Xem đoạn mã sau:

<HTML>
<HEAD>
<TITLE> Page one</TITLE>
<SCRIPT LANGUAGE= "javascript">
var d=-7
var e=-9
alert ("The value of d and e = " + (d && e))
alert ("The value of d or e = " + (e || d))
</script>
</HEAD>
</HTML>

Kết quả của đoạn trên là

A) -7
-9
B) -9
-9
C) -7
-7

11/ Method _____ Use the same story's left-hand vầ name position to determine
coordinates X And medicine correspond..

A) slideTo()
B) moveTo()
C) animate()

12) Variables distinguishing Case


A)False

B/Yes
13/ Semicolon is used in JavaScript?

A) To end a command

B) To end a command inside a block (block).

C) When necessary to distinguish the commands together

D) To make the code easier to read

14_____ Tags for the browser does not support JavaScript.

A) <CONFIRM>
B) <NOSCRIPT>
C) <WRITE>

15/ A Java browser is running, a browser is automatically run JavaScript.

B) A) True

C) False

16 / Find command error


A) JavaScript can be used to write the script to run both the client and server
B) The browser does not support JavaScript JavaScript in order to read the cards

NOSCRIPT
C) can be inserted directly into the JavaScript commands in an HTML page

17/ JavaScript can be used to build applications that run independently

A ) true
b) False

18/ Find results for the following program:


<HTML>
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
str = "Reversal of Fortunes";
re = /(\w+)\s(\w+)\s(\w+)/;
newstr = str.replace(re, "$3 $2 $1");
document.write(newstr)
</SCRIPT>
</HTML>

A) senutroF fo lasreveR
B) Fortunes of Reversal
C) REVERSAL OF FORTUNES
D) Reversal of Fortunes

19/ Binary string of the expression 15 <<3 is


A) 0001111
B) 1111000
C) 1110001

20/ Exact syntax of the attribute is RowDelim: (Choose two)

A) Filename.Text.Row.Delim=rowdelimiter
B) <PARAM NAME = “RowDelim” VALUE = rowdelimiter>
C) Filename.RowDelim = rowdelimiter
D) <PARAM NAME= rowdelimiter VALUE=”RowDelim.Text”

21/________ Represents the HTML document in a browser window, used to get


information about the document, check and change the HTML elements, text and
document processing events
A)Subject location
B) Subject Document
c) Subject window

22 / Object method ______của Cửa sổ Some a work exec is definitely a duration


later.
A) setTimeout
B) confirm
C) setInterval

23/ HTML stands by:


A) Hyper Terminal Manuscript Language
B) Hyper Text Markup Language
C) Hyper Transfer Modify Language
24/

Attribute _____ Decide if user can change element's contents or not..


A) Disabled
B) Readonly
C) Options

25/ See the following code:


<input type=radio value="" name="b3" size="40">
The result is the following code:
A) Create a textbox
B) Create a radio button
C) Creates a checkbox

26/ Card _____ Be used to insert Image into a pages HTML

A) PASTE
B) IMG
C) BODY

27/ Card _____ Of side Image map Khách hàng Be used to port image areas with
URL recpectively.

A) AREA
B) MAP
C) USEMAP
28
Attribute _______ Of card IMG used who is to snub Image's margin radical with
text on all sides..
A) SRC
B) ALIGN
C) ALT

29/ Consider the path C: \ MyFiles \ favorites \ forever.htm. These are:


A) relative URL
B) B) absolute path
C) C) The relative path
D) D) Absolute Links

30/ To create a hyperlink, the components required are (choose two)


A) Card anchor
B) B) hot spots (hotspots)
C) C) Full address or URL of the file is associated
D) D) HREF tag

31/ Data elements _____chứa or element in streams differ and who isn't initiated
on newline..
A) The block (Block level)
B) The text (Text level)
C) The document (Document level)

32/ See the following code:


<HTML>
<HEAD>
<TITLE>Welcome</TITLE>
<BODY>
<H3>Create A Document</H3>
</BODY>
</HTML>
Which of the following statements is correct? (Choose two)
A) The text "Create A Document" appears in the title bar of the window.
B) The text "Create A Document" is displayed in the HTML page.
C) The text "Welcome" is displayed in the HTML page.
D) The text "Welcome" appears in the title bar of the window.

33/ Mechanism _____ That amenably monoplastic WWW names unifcation to


access resources source on Web..
A) Protocol
B) Address
C) HTML

34/ GET method for sending user data as a block of data to the server?
A/ true
B/ False

35/_____ List of elements to be placed before the bullet.


A) Ordered list
B) )unordered list
C) List of definitions

36/ Element _____ Be be used to determine contents be in stream..


A) STYLE
B) SPAN
C) DIV

37/ FONT attributes can be set for the entire document by placing the element in
the tag Body.
A/ True
B/ False

38/Card ______ Be used to affix heading give FIELDSET element to a..


A) FIELDSET
B) DISABLED
C) LEGEND

39/ Factors to consider when designing the layout of the site: (Choose four)
A) The hyperlink should be clear on the site.
B) user can select a link and move to a site identified.
C) Organization of links between pages
D) The child must have a menu page
E) Presentation of the visual image is not necessary
F) It is necessary to have tables of contents (table of contents)

Вам также может понравиться