Programmer Apptitude Test

1. A "rowspan=6" attribute is used with the tag...
1. <table>
2. <td>
3. <tr>
4. <th>
5. <header>

2. A <nobr> tag is used to ...
1. never break a line
2. prevent line breaks
3. not allow object reset
4. prevent brown
5. not allow blue or red

3. The rnd function in VBScript produces numbers...
1. >= 0 and <= 1
2. 0 or 1
3. >0 and <1
4. 0 to 100
5. 0 to 1000

4. Math.Abs is ...
1. VBscript for absolute value
2. Javascript for absolute value
3. Pascal for absolute value
4. Invalid
5. Javascript for all but seven

5. SNG is...
1. VBScript for single precision
2. VBscript for sign
3. Javascript for single precision
4. Javascript for sign
5. Vbscript for signal

6. for i= 4 to 0 by -1 produces the index sequence...
1. 4,3,2,1
2. 4,3,2,1,0
3. 4,3,2,1,0,-1
4. 4,2,0
5. none of the above

7. if ( 16 == Math.power(2,4) ) is ...
1. true
2. false
3. invalid (one error)
4. invalid (two errors)
5. invalid (three errors)

8. document.submit is ...
1. a VBScript method
2. a VBscript property
3. a Javascript method
4. a Javascript property
5. none of the above

9. window.document.forms(2).elements(3).value is ...
1. the 6th element on the page
2. the 4th element of the third form
3. the 3rd element of the second form
4. the 4th element of the second form
5. none of the above

10. 14 mod 5 is...
1. 70
2. 2.8
3. 3
4. -1
5. 4

Click "VIEW", then "SOURCE" to see the code