How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask LogicPro Your Own Question

LogicPro
LogicPro, Engineer
Category: Homework
Satisfied Customers: 9350
Experience:  Expert in Java C++ C C# VB Javascript Design SQL HTML
Type Your Homework Question Here...
LogicPro is online now
A new question is answered every 9 seconds

Create an html document that includes a JavaScript program

Customer Question

Create an html document that includes a JavaScript program that creates a new constructor function named Automobile in the document head. Include at least five properties in the object definition, such as make, model, color, engine, seats, and so forth. Then assign the values of your car to each of the Automobile properties. Print the properties to the screen.
Submitted: 10 months ago.
Category: Homework
Expert:  LogicPro replied 10 months ago.
Hi,
Welcome back
Thank you for asking me
What is the deadline?
Expert:  LogicPro replied 10 months ago.
THIS ANSWER IS LOCKED!
You can view this answer by clicking here to Register or Login and paying $3.
If you've already paid for this answer, simply Login.
LogicPro, Engineer
Category: Homework
Satisfied Customers: 9350
Experience: Expert in Java C++ C C# VB Javascript Design SQL HTML
LogicPro and 9 other Homework Specialists are ready to help you
Expert:  LogicPro replied 9 months ago.
Hi again,
Just following up with you to see how everything is going and if you have more questions for me.
You can ask me again using "For LogicPro only" at the start of your questions like you do to get instant answers.
It will ensure that question is for me.
Please bookmark my profile page:
http://www.justanswer.com/homework/expert-logicpro/
so you can come back and ask me a question anytime.
If you need any additional information on this answer, please don't hesitate to ask by clicking on 'Reply to Expert', and I will reply as soon as possible.
I hope you found the information in my answer helpful, and if so, please let me know, here. Thank you!
Thanks very much for using Just Answer!
Best wishes
LogicPro
Customer: replied 9 months ago.


I need assistance with the following questions.


 












A method of locating bugs in a JavaScript program is to transform lines that you think may be causing problems into:



 


















trace routes



write( ) or writeln( ) modules



comments



functions




 

















Question 2



2 points



Save



Which of the following if statements is logically incorrect?



 


















if (number1 < 5)
document.write(number1);



if (number2 <= 5) ;
document.write(number2);



if (number3 > 5)
document.write(number3);



if (number4 < 5) {
document.write(number4);}




 

















Question 3



2 points



Save



In Script Debugger, what command allows you to skip function calls?



 


















Step Into



Step Over



Break Out



Skip Over




 

















Question 4



2 points



Save



In Script Debugger, a breakpoint is a statement in the code at which program execution enters what mode?



 


















pause



step out



break



debugging




 

















Question 5



2 points



Save



In JavaScript, what is the examination of individual statements in an executing program called?



 


















commenting



tracing



debugging



trace.route




 

















Question 6



2 points



Save



The creation of an infinite loop is an example of a(n) _____ error.



 


















syntax



logic



run-time



scripting




 

















Question 7



2 points



Save



In Script Debugger, what command can end a debugging session without executing the rest of the program?



 


















Step Out



Run



Stop Debugging



Break




 

















Question 8



2 points



Save



In JavaScript, _____ errors are problems in the design of a program that prevent it from running as you anticipate it will run.



 


















syntax



logic



run-time



scripting




 

















Question 9



2 points



Save



In Script Debugger, what command ends the debugging session and executes the rest of the program normally?



 


















Break



Run



Stop Debugging



Step Out




 

















Question 10



2 points



Save



In Script Debugger, what command executes an individual line of code and then pauses until you instruct the debugger to continue?



 


















Run



Step Over



Step Into



Step Pause




 

















Question 11



2 points



Save



The cause of an error in a particular statement is often the result of an error in _____ of code.



 


















the preceding line



the next module



a preceding module



the next line




 

















Question 12



2 points



Save



Which of the following statements causes a syntax error?



 


















myDate = new Date( ) ;



return true;



document.writln("this is a test") ;



window.alert("this is a test") ;




 

















Question 13



2 points



Save



In Script Debugger, what command executes all remaining code in the current function?



 


















Step Out



Run



Step Into



Step Over




 

















Question 14



2 points



Save



Consider the following function, which causes an error because it is missing both the opening and the closing braces ({ }) . What type of error is this?
function missingClosingBrace()
var message = "A missing closing brace.";
window.alert(message) ;



 


















syntax



debugging



logic



run-time




 

















Question 15



2 points



Save



In the following line of code the writeln( ) method attempts to print the contents of a variable named messageVar. If the messageVar variable is not declared what type of error will occur?
document.writeln(messageVar);



 


















syntax



debugging



logic



run-time




 

















Question 16



2 points



Save



What is the term that refers to the order in which procedures, such as functions, methods, or event handlers, execute in a program?



 


















stack call



stack window



window script stack



call stack




 

















Question 17



2 points



Save



In JavaScript, _____ errors occur when the interpreter fails to recognize code.



 


















logic



syntax



compiling



debugging




 

















Question 18



2 points



Save



Form text fields only store data in the form of _____.



 


















text strings and numeric values



text strings



numeric values



Boolean values




 

















Question 19



2 points



Save



Which statement correctly appends a query string stored in savedData to a URL?



 


















top.location.href = RegistrationForm.html + "?" + savedData;



top.location.href = "RegistrationForm.html" + "?" + savedData;



top.location.href = "RegistrationForm.html" + savedData;



top.location.href = "RegistrationForm.html + ? + savedData";




 

















Question 20



2 points



Save



Each individual server or domain can store a maximum of _____ cookies on a user's computer.



 


















30



20



300



200




 

















Question 21



2 points



Save



Which function best handles reading special characters that are included in a cookie?



 


















encodeURI( )



decodeURI( )



escape( )



unescape( )




 

















Question 22



2 points



Save



All of the following are attributes of the cookie property except:



 


















expires



path



domain



href




 

















Question 23



2 points



Save



The secure attribute of the cookie property holds :



 


















a value of 0 or 1



a value of "Yes" or "No"



a Boolean value of true or false



a value of "HTTP" or "HTTPS"




 

















Question 24



2 points



Save



Assigning a new value to the cookie property:



 


















replaces the last value



replaces the last value only if the browser cookie limit will be exceeded



builds a list of cookies



None of the above




 

















Question 25



2 points



Save



All literal strings and string variables in JavaScript are represented by the _____ object.



 


















Text



Data



Char



String




 

















Question 26



2 points



Save



Which of the following is a method of the String object that will return the position number in a string of the first character in the text argument?



 


















lastIndexOf( )



firstIndexOf( )



index( )



indexOf( )




 

















Question 27



2 points



Save



When a query string is passed from one Web page to another, it is assigned to the _____ property of the Location object.



 


















search



history



URL



link




 

















Question 28



2 points



Save



By default, a cookie is available to all Web pages _____.



 


















in the same directory



on the same computer



on the same server



on the same network




 

















Question 29



2 points



Save



To remove the question mark at the start of the query string use the:



 


















substring( ) method



string( ) method



charAt( ) method



toString( ) method




 

















Question 30



2 points



Save



You have stored data that will be needed in a calculation in a form text field. What do you need to do before the data can be used in a calculation?



 


















Use the parseInt( ) function to convert the text field to an integer.



Use the parseNum( ) function to convert the text field to an integer.



Use the ConvertInt( ) function to convert the text field to an integer.



It is not necessary to convert the data. JavaScript handles this automatically.




 

















Question 31



2 points



Save



Which of the following are reasons for maintaining state information between different visits to a Web site with cookies?



 


















Web page customization based on user preferences



Shopping carts that store order information for commercial Web sites



Counters to keep track of how many times a user has visited a site



All of the above




 

















Question 32



2 points



Save



Which of the following attributes should best be omitted when working with client-side JavaScript?



 


















name



path



domain



secure




 

















Question 33



2 points



Save



Netscape developed _____ to encrypt data and transfer it across a secure connection.



 


















HTTPS



Secure Sockets Layer



Secure Information Transfer



Secure Data Encryption




 

















Question 34



2 points



Save



Cookies can be temporary or:



 


















static



permanent



persistent



nonvolatile




 

















Question 35



2 points



Save



The most important part of the DOM is the Document object.



 












True



False




 

















Question 36



2 points



Save



DHTML 4.0 is the current standard approved by W3C.



 












True



False




 

















Question 37



2 points



Save



Which of the following is a method that will allow you to create simple animations?



 


















setTime( )



setInterval( )



setAnimate( )



setTimeInterval( )




 

















Question 38



2 points



Save



Through the _____ object, you can access other objects that represent elements on a Web page.



 


















Document



Window



Image



Link




 

















Question 39



2 points



Save



The _____ property of the Image Object is described as a name assigned to an element.



 


















href



URL



src



name




 

















Question 40



2 points



Save



Which of the following is a property that has a Boolean value?



 


















border



complete



vspace



lowsrc




 

















Question 41



2 points



Save



You can simulate dynamism with:



 


















hypertext links



the <img> element



the <animate> element



the image property of the Document object




 

















Question 42



2 points



Save



Some older browsers do not display any content in a new window until you execute the _____ method.



 


















open( )



close( )



write( )



writeln( )




 

















Question 43



2 points



Save



The write( ) and writeln( ) methods cannot be used to change content after a Web page has been rendered.



 












True



False




 

















Question 44



2 points



Save



Which of the following can be used to change content after a Web page has loaded?



 


















write( ) method



writeln( ) method



title property



URL property




 

















Question 45



2 points



Save



A technique for eliminating multiple downloads of the same file is called _____.



 


















image storing



image holding



image caching



image persistency




 

















Question 46



2 points



Save



To be certain that all images are downloaded into the cache at the appropriate time, you should use the _____ event handler of the Image object.



 


















onclick



onopen



onload



onclose




 

















Question 47



2 points



Save



In order to eliminate erratic loading and slow moving animations, use _____.



 


















image holding



image storing



cookies



image caching




 

















Question 48



2 points



Save



The DOM represents the Web page displayed in a window.



 












True



False




 

















Question 49



2 points



Save



Images are cached using the _____ constructor of the Image object.



 


















Src( )



Cache( )



Image( )



URL( )




 

















Question 50



2 points



Save



Image storing temporarily stores image files in memory on a local computer.



 












True



False



Expert:  LogicPro replied 9 months ago.
Post that as a new question with suitable price using only "For logicpro only" as question text. once I reply on that page, you can copy paste the question
Goto following link
http://www.justanswer.com/homework/expert-logicpro/
to create the question under my profile

JustAnswer in the News:

 
 
 
Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
JustAnswer.com...has seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like justanswer.com/legal
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.
 
 
 

What Customers are Saying:

 
 
 
  • Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C. Freshfield, Liverpool, UK
< Last | Next >
  • Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C. Freshfield, Liverpool, UK
  • This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!! Alex Los Angeles, CA
  • Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult. GP Hesperia, CA
  • I couldn't be more satisfied! This is the site I will always come to when I need a second opinion. Justin Kernersville, NC
  • Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around. Esther Woodstock, NY
  • Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know. Robin Elkton, Maryland
  • He answered my question promptly and gave me accurate, detailed information. If all of your experts are half as good, you have a great thing going here. Diane Dallas, TX
 
 
 

Meet The Experts:

 
 
 
  • Manal Elkhoshkhany

    Tutor

    Satisfied Customers:

    4520
    More than 5000 online tutoring sessions.
< Last | Next >
  • http://ww2.justanswer.com/uploads/BU/BusinessTutor/2012-2-2_115741_Kouki2.64x64.jpg Manal Elkhoshkhany's Avatar

    Manal Elkhoshkhany

    Tutor

    Satisfied Customers:

    4520
    More than 5000 online tutoring sessions.
  • http://ww2.justanswer.com/uploads/LI/lindaus/2012-6-10_04811_IMG20120609164157.64x64.jpg Linda_us's Avatar

    Linda_us

    Finance, Accounts & Homework Tutor

    Satisfied Customers:

    3121
    Post Graduate Diploma in Management (MBA)
  • http://ww2.justanswer.com/uploads/ComputersGuru/2010-02-13_051118_Photo41.JPG LogicPro's Avatar

    LogicPro

    Engineer

    Satisfied Customers:

    3035
    Expert in Java C++ C C# VB Javascript Design SQL HTML
  • http://ww2.justanswer.com/uploads/lanis/2009-4-1_233717_phput9xef_c1pm.jpg Lani S.'s Avatar

    Lani S.

    Tutor

    Satisfied Customers:

    2457
    Registered Nurse, Internet Researcher, Private Tutor
  • http://ww2.justanswer.com/uploads/chooser77/2009-08-18_162025_Chris.jpg Chris M.'s Avatar

    Chris M.

    M.S.W. Social Work

    Satisfied Customers:

    2341
    Master's Degree, strong math and writing skills, experience in one-on-one tutoring (college English)
  • http://ww2.justanswer.com/uploads/JawaadAhmed/2009-6-27_12137_SIs_SHadi.jpg F. Naz's Avatar

    F. Naz

    Chartered Accountant

    Satisfied Customers:

    1975
    Experience with chartered accountancy
  • http://ww2.justanswer.com/uploads/JK/jkcpa/2011-1-16_182614_jkcpa.64x64.jpg Bizhelp's Avatar

    Bizhelp

    CPA

    Satisfied Customers:

    1873
    Bachelors Degree and CPA with Accounting work experience