The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Jul 2017 |
| Last Sign in: | 313 Weeks Ago, 6 Days Ago |
| Questions Answered: | 15833 |
| Tutorials Posted: | 15827 |
MBA,PHD, Juris Doctor
Strayer,Devery,Harvard University
Mar-1995 - Mar-2002
Manager Planning
WalMart
Mar-2001 - Feb-2009
I'm seeking assistance with the following JavaScript Questions. There are eight questions. Can you provide assistance with a brief solution.
Q2. JavaScript must be written in uppercase
   a. true
   b. false
Â
Q3.
/*
This is a test
This is only a test!
/
   a. Is a valid HTML comment
   b. Is a valid JavaScript comment
   c. Is a valid comment in both HTML and JavaScript
   d. Is not a valid comment in HTML or JavaScript.
Â
Q8. The following is a legal variable name:
biGdoG
   a. true
   b. false
Q10. The following is a legal variable name:
This is a test
   a. true
   b. false
Â
Q13. Given:
City:
State:
Which will move the cursor to the state textbox when the page loads
   a. vars_box = document.getElementById('state');
       s_box.focus();
<b
</b
   b. vars_box = document.getElementById(state);
       s_box.focus();
<b
</b
   c. state.focus();
   d. set focus on state
Q14. Javascript provides _____ predefined functions.
   a. many
   b. a few
   c. no
Q22. A mouseout event happens when a user releases a mouse button after clicking a button on a page.
   a. true
   b. false
Q25. Given:
function test(x) {
 var out;
 if (x < 5) {
 out = 'Less Than 5';
 }
 else if (x > 10) {
 out = 'Greater than 10';
 }
 else {
 out = 'Between 5 and 10, inclusive!';
 }
 document.write(out+'<br />');
}
test(3);
test(6);
test(11);
What will be displayed in the browser window?
   a. Greater than 10
       Between 5 and 10, inclusive!
       Less Than 5
<b
</b
   b. Less Than 5
       Between 5 and 10, inclusive!
       Greater than 10
<b
</b
   c. Nothing, it has errors
   d. Nothing, it will display in a popup.
----------- Â ----------- H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly