JJAAVVAASSCCRRIIPPTT MMOOCCKK TTEESSTT IIIIII

JAVASCRIPT MOCK TEST

Copyright ?



This section presents you various set of Mock Tests related to Javascript Framework. You can

download these sample mock tests at your local machine and solve offline at your convenience.

Every mock test is supplied with a mock test key to let you verify the final score and grade yourself.

JAVASCRIPT MOCK TEST III

Q 1 - Which of the following function of String object returns the index within the

calling String object of the first occurrence of the specified value?

A - substr

B - search

C - lastIndexOf

D - indexOf

Q 2 - Which of the following function of String object returns the index within the

calling String object of the last occurrence of the specified value?

A - lastIndexOf

B - search

C - substr

D - indexOf

Q 3 - Which of the following function of String object returns a number indicating

whether a reference string comes before or after or is the same as the given string in

sort order?

A - localeCompare

B - search

C - substr

D - concat

Q 4 - Which of the following function of String object is used to match a regular

expression against a string?

A - concat

B - match

C - search

D - replace

Q 5 - Which of the following function of String object is used to find a match between

a regular expression and a string, and to replace the matched substring with a new

substring?

A - concat

B - match

C - replace

D - search

Q 6 - Which of the following function of String object executes the search for a match

between a regular expression and a specified string?

A - concat

B - match

C - replace

D - search

Q 7 - Which of the following function of String object extracts a section of a string and

returns a new string?

A - slice

B - split

C - replace

D - search

Q 8 - Which of the following function of String object splits a String object into an

array of strings by separating the string into substrings?

A - slice

B - split

C - replace

D - search

Q 9 - Which of the following function of String object returns the characters in a string

beginning at the specified location through the specified number of characters?

A - slice

B - split

C - substr

D - search

Q 10 - Which of the following function of String object returns the characters in a

string between two indexes into the string?

A - slice

B - split

C - substr

D - substring

Q 11 - Which of the following function of String object returns the calling string value

converted to lower case while respecting the current locale?

A - toLocaleLowerCase

B - toLowerCase

C - toString

D - substring

Q 12 - Which of the following function of String object returns the calling string value

converted to lower case?

A - toLocaleLowerCase

B - toLowerCase

C - toString

D - substring

Q 13 - Which of the following function of String object returns the calling string value

converted to upper case while respecting the current locale?

A - toLocaleUpperCase

B - toUpperCase

C - toString

D - substring

Q 14 - Which of the following function of String object returns the calling string value

converted to upper case?

A - toLocaleUpperCase

B - toUpperCase

C - toString

D - substring

Q 15 - Which of the following function of String object returns a string representing

the specified object?

A - toLocaleUpperCase

B - toUpperCase

C - toString

D - substring

Q 16 - Which of the following function of String object returns the primitive value of

the specified object.

A - toLocaleUpperCase

B - toUpperCase

C - toString

D - valueOf

Q 17 - Which of the following function of String object creates an HTML anchor that is

used as a hypertext target?

A - anchor

B - link

C - blink

D - big

Q 18 - Which of the following function of String object creates a string to be displayed

in a big font as if it were in a tag?

A - anchor

B - big

C - blink

D - italics

Q 19 - Which of the following function of String object creates a string to blink as if it

were in a tag?

A - anchor

B - big

C - blink

D - italics

Q 20 - Which of the following function of String object creates a string to be displayed

as bold as if it were in a tag?

A - anchor

B - big

C - blink

D - bold

Q 21 - Which of the following function of String object causes a string to be displayed

in fixed-pitch font as if it were in a tag?

A - fixed

B - big

C - blink

D - bold

Q 22 - Which of the following function of String object causes a string to be displayed

in the specified color as if it were in a tag?

A - fixed

B - fontcolor

C - blink

D - bold

Q 23 - Which of the following function of String object causes a string to be displayed

in the specified size as if it were in a tag?

A - fixed

B - fontcolor

C - fontsize

D - bold

Q 24 - Which of the following function of String object causes a string to be italic, as if

it were in an tag?

A - fixed

B - fontcolor

C - fontsize

D - italics

Q 25 - Which of the following function of String object creates an HTML hypertext link

that requests another URL?

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download