Homework

Homework Questions? Ask a Tutor for Answers ASAP

Ask an Expert,
Get an Answer ASAP!

Homework
This answer was rated:

Assignment 4 Chapter 13: Exercise 13.1 p.610 Exercise

Assignment 4 Chapter 13: Exercise 13.1...
Assignment 4

Chapter 13:
Exercise 13.1 p.610
Exercise 13.2 p. 610
Exercise 13.3 p. 610
Exercise 13.8 p. 610

13.1 Use MySQL to create a database of information about used trucks for sale, similar to the cars database used in this chapter. Make up equipment that characterizes trucks. Get the raw data from the ad section of your local newspaper. Instead of using the states in the cars database, divide your town into four sections and use them.

13.2 Modify and test the program access_cars.php to handle UPDATE and INSERT SQL commands, as well as SELECT .

13.3 Modify and test the program JDBCServlet.java to handle UPDATE and INSERT SQL commands, as well as SELECT .

13.8 Write and test an ASP.NET source document and code-behind file that together request a name of a table in a database from the user and return the number of rows in the table.

Chapter 14:
Exercise 14.3 p. 653
Exercise 14.6 p. 653

14.3 Write, test, and debug (if necessary) a Ruby program with the following specification:
Input: Three names, on separate lines, from the keyboard.
Output: The input names in alphabetical order. Do not use arrays.

14.6 Write, test, and debug (if necessary) a Ruby program with the following specification
Input: A list of numbers from the keyboard.
Output: The median of the input numbers.

Chapter 15
Exercise 15.4 p. 685
Exercise 15.5 p. 685

**15.4 Build a simple Rails application that returns a static document to a requesting browser, where the static document is a brief description of you.

15.5 Build a Rails application that accepts two integer values, produces the product of the two values, and returns the product to the client.

I also will need to submit screen shots of the working code.
Show More
Show Less
Ask Your Own Homework Question
Answered in 2 hours by:
4/18/2013
TheDoctor
TheDoctor, Professional w/Adv. Degree
Category: Homework
Satisfied Customers: 1,757
Experience: M.S. in Internet Information Systems
Verified
Hello again! Thank you for requesting me.

I will contact you once this is complete.

Thank you
Ask Your Own Homework Question
Hello again!

You can download the completed assignments here:


Most of these are not very straight-forward to run on your system. The 13.1 is simple. It is just a SQL file full of the SQL for that assignment.

The PHP assignment (13.2) is also pretty straight-forward. You run it just like you would a normal PHP program. It connects to the "cars" database. If you do not already have the cars database set up, here is an SQL file to create it:


In the PHP, Java, and ASP assignments, I have the the credentials set up as "localhost" "root" and an empty password. This is the default for WAMP or XAMPP. If your system is set up differently, you will need to change the connection strings in those projects.

For the JDBC project (13.3), if you are using NetBeans, then you should do a project import. Choose to import an existing Eclipse Project. Select the radio button for importing a project rather than a workspace. Then you just select the 13.3 folde ran dimport the project.

Whether you are using Netbeans or Eclipse, you will need to make certain that your web server has access to the MySQL JDBC driver. I have included it in the lib folder, which inside of WebContent -> WEB-INF. If you are using Apache Tomcat, you should copy this JAR file and then paste it into the lib folder of your Apache installation.

If you are using Glassfish as your server, you may not need to copy the JAR file over.

If you do not successfully make the JAR file (driver) available to the web server, you will receive an error about not being able to find a driver. This should not be a concern when turning in the project, as your instructor will already have the server set up correctly. This is just a concern while you are testing on your local system.

For the ASP project, you must have the MySQL ODBC Driver installed on your computer for it to work. You can go here to download the connector. I would recommend that you install both the 64bit and 32bit versions because sometimes the 64bit version does not play well with other software. Make sure you download version 3.51.30, as this is the version used in the code for the ASP project. Once you have successfully installed the ODBC driver, it will run just like any ASP project.

Keep in mind that both the JDBC and the ASP projects are connecting to your MySQL server. So make certain that you keep your WAMP or XAMPP running when testing these, and make sure that the database connection credentials are correct for your system. They are currently set to "localhost", user "root", and no password XXXXX connecting to a database called cars.

Now for the Ruby and Rails projects. You may have attempted to download some stuff based on text book instructions for this. For windows, there is a much easier installation option that will work (whereas the books instructions will likely not work for you).

Go here and download Rails FTW. It is the first download option. When installing, make sure all three checkboxes are checked. One great thing is that this will add ruby and rails to your system path so that you can use it on the command line.

One this is installed, you can test 14.3 and 14.6

You simply go to the folder on the command line (CMD) and type in ruby filename.rb where filename is XXXXX XXXXX of the file. It will run the these two ruby projects.

Rails is more involved. Now that you have Rails FTW installed, you must install the Development Kit. You can download it here.

After you have downloaded the development kit, run it. It will ask you to extract the file to a directory. Select a directory where they have no chance of ever being deleted because you will need them.

After the extraction is done, bo back to command line (type CMD into the search dialog in the start menu or search tool in widows 8, and press enter).

Navigate to the directory where you extracted the dev kit files.

first run this line:

ruby dk.rb init

then run this line:

ruby dk.rb install

Once that is done, you are ready to run rails.

To do that, you need to navigate to the project folder for each project. First, navigate into the 15.4/describeBryant folder. Once you are in that folder, run the command:

bundle install

This command will make sure that all libraries are installed on your system to run this project.

When that process finishes, you will need to run:

rail s

This starts the WebBrick web server, which is the web server for rails. It runs on port 3000. So you can now test this project by going to:

localhost:3000/describe/bryant

Once you have viewed that, go back to the command line and press CTRL-C to stop the rails server. Then navigate to the second project in 15.5/bryant155

Once again, run

bundle install

Just to make certain all requirements are instaleld. Then run:

rails s

Then you can test this one by going to:

localhost:3000/multiply/numbers

Enter numbers and press enter and you will get the product.

Sorry for the tons of instructions. However, running JDBC, ODBC, and Rails is much more involved then simply opening a project. You must get your environment set up correctly. Alternatively, you can simply turn in the code that I have provided you. I assure you that it is all functional and meets the requirements.

Let me know if you have any issues. I'm here to help.

Please remember to rate my answer. Thank you so much!
Ask Your Own Homework Question
Hello again!

I realize that this was a ton of instructions. It was also a ton of work. If you have difficulty testing anything, let me know and I will do my best to help you.

Please remember to rate my answer. Thank you again!
Ask Your Own Homework Question
Customer reply replied 4 years ago


Hey thanks again for all your work great job once again! side note do you do web design like on a website?

Hello again,

I do web development and have worked on many different web sites. I am not permitted to list any of them. However, if you require assistance, you can certainly enter a new question, remembering to start it with **For TheDoctor**

Please remember to rate my answer. Thank you.
Ask Your Own Homework Question
Customer reply replied 4 years ago

ok thanks so if I ask for you to do some website edits I can do it through here? I would just have to give you the server info and what needs to be done?


 

This answer is protected
Would you like to ask this question?
If you've already paid for this answer, simply Login.
TheDoctor
TheDoctor, Professional w/Adv. Degree
Category: Homework
Satisfied Customers: 1,757
Experience: M.S. in Internet Information Systems
Verified
TheDoctor and 87 other Homework Specialists are ready to help you
Ask your own question now
Ask TheDoctor Your Own Question
TheDoctor
TheDoctor
TheDoctor, Professional w/Adv. Degree
Category: Homework
Satisfied Customers: 1,757
1,757 Satisfied Customers
Experience: M.S. in Internet Information Systems

TheDoctor is online now

A new question is answered every 9 seconds

How JustAnswer works:

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

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

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!!!!

AlexLos 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.

GPHesperia, CA

I couldn't be more satisfied! This is the site I will always come to when I need a second opinion.

JustinKernersville, 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.

EstherWoodstock, 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.

RobinElkton, 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.

DianeDallas, TX

< Previous | Next >

Meet the Experts:

LogicPro

LogicPro

Engineer

5,731 satisfied customers

Expert in Java C++ C C# VB Javascript Design SQL HTML

Manal Elkhoshkhany

Manal Elkhoshkhany

Tutor

4,551 satisfied customers

More than 5000 online tutoring sessions.

Linda_us

Linda_us

Finance, Accounts & Homework Tutor

3,138 satisfied customers

Post Graduate Diploma in Management (MBA)

Chris M.

Chris M.

M.S.W. Social Work

2,636 satisfied customers

Master's Degree, strong math and writing skills, experience in one-on-one tutoring (college English)

F. Naz

F. Naz

Chartered Accountant

2,161 satisfied customers

Experience with chartered accountancy

Bizhelp

Bizhelp

CPA

1,887 satisfied customers

Bachelors Degree and CPA with Accounting work experience

Seanna

Seanna

Tutor

1,781 satisfied customers

3,000+ satisfied customers, all topics, A+ work

< Previous | Next >

Related Homework Questions
Case Study #2: Technology & Product Review for Identity
Case Study #2: Technology & Product Review for Identity Governance & Administration Case Scenario: For this case study, our focus shifts to technologies and products used to implement the Identity Gov… read more
F. Naz
F. Naz
Chartered Accountant
CA Finalist & Completed B.com
2,161 satisfied customers
Looking for some help creating this project. This is not due
looking for some help creating this project. This is not due for three weeks. So i am looking for completion byFebruary 9th. I will attach the files need to complete this project. Thanks.… read more
The-PC-Guy
The-PC-Guy
Bachelor\u0027s Degree
629 satisfied customers
Thank you for the last answer! It was great. Are you able to
Hello David! Thank you for the last answer! It was great. Are you able to do this one by next Tuesday evening by 12 midnight? Thanks again! Matthew… read more
David L.
David L.
Bachelor\u0027s Degree
6 satisfied customers
For LogicPro only Implement the Singly linked list interface
For LogicPro onlyImplement the Singly linked list interface to store the data from Words.txt (used in lab0). Demonstrate that the list of words does print in reverse using the 'prev' node (rather than… read more
LogicPro
LogicPro
Engineer
Bachelor of Technology
5,731 satisfied customers
Looking for some help writing these python codes. I have
Looking for some help writing these python codes. I have attached the code layout and what needs to be included as well as documentation as to how the code was created.Each program must have its own e… read more
LogicPro
LogicPro
Engineer
Bachelor of Technology
5,731 satisfied customers
I need help writing 2 poems in spanish, The listening
The listening passage for this examination consists of two poems. You'll hear the poems three times. These poems are to be written in Spanish as you hear them spoken on the tape. The listening passage for this examination consists of two poems. You'll hear the poems three times. These poems are to be written in Spanish as you hear them spoken on the tape. http://lessons.pennfoster.com/vid/Listening-Comprehension_Side-A_EQ0850.mp3 … read more
Cher
Cher
JustAnswer Expert & Mentor;Teacher/Tutor
Masters Degree
1,381 satisfied customers
Answer, I am a paid member for service from Just Answer.I am
Dear Just Answer,I am a paid member for service from Just Answer.I am working in Excel. I need assistance in providing me a formula for totaling the number of similar numbers in a column of data (900+… read more
NPVAdvisor
NPVAdvisor
CFP Licensee and Practitioner
Master's Degree
180 satisfied customers
In an industrial setting, a pipe is plugged with fats, oils
In an industrial setting, a pipe is plugged with fats, oils and greases. Can you use steam, inside the pipe, to clear the plug? One coworker says yes, another says no. The reasoning behind the no is t… read more
David L.
David L.
Bachelor\u0027s Degree
6 satisfied customers
For LogicPro only: Design a C++ program in which a class
For LogicPro only: Design a C++ program in which a class should manage the free and allocated space. You should use a dynamic node implementation of link list to implement both lists for this assignme… read more
LogicPro
LogicPro
Engineer
Bachelor of Technology
5,731 satisfied customers
You can apply several different worksheets themes from which
You can apply several different worksheets themes from which tab? A.Insert, B. Home, C.File, or D. Page layout! Its not B What would be a situations in which you could use an excel chart to present yo… read more
GLENN
GLENN
Master of Mathematics
345 satisfied customers
6. How many worksheets display in the Excel window when you
6. How many worksheets display in the Excel window when you create a new blank workbook? A. 3 B. 2 C. 4 D. 1 Student Answer: A Answer: Incorrect Reference: Objective 2.17. What would be a situation in… read more
AnswersByEric
AnswersByEric
Software Developer
Associate Degree
38 satisfied customers
Question 18 of 20: Select the best answer for the question.
Question 18 of 20 : Select the best answer for the question. 18. What size paper should you use for a legal document? A. 3″ × 5″ B. 8½″ × 11″ C. 7¼″ × 10½″ D. 8½″ × 14″… read more
JA Engineer
JA Engineer
Broadcast Engineer
Diploma (Honors)
163 satisfied customers
I need help with Exam Number: 00701400 Lesson Name: General
I need help with Exam Number: 00701400Lesson Name: General Math I, Study Unit 2 Pennfoster test… read more
GLENN
GLENN
Master of Mathematics
345 satisfied customers
Answer all three questions and don't exceed 600 words for
Answer all three questions and don't exceed 600 words for each answer while using at least two references to support your answers for each question adopting APA citation in the text and in the referen… read more
F. Naz
F. Naz
Chartered Accountant
CA Finalist & Completed B.com
2,161 satisfied customers
QUESTION 1 A(n) _________________ policy are codified as
QUESTION 1A(n) _________________ policy are codified as standards and procedures that are used when configuring or maintaining systems.0.10000 points Save AnswerQUESTION 2In systems analysis and desig… read more
F. Naz
F. Naz
Chartered Accountant
CA Finalist & Completed B.com
2,161 satisfied customers
I need all the questions answered inthis pdf! I need all
I need all the questions answered inthis pdf! I need all sixty questions on all 21 pages answered!… read more
Steven, M.Acc.
Steven, M.Acc.
Instructor
Master\u0027s Degree
252 satisfied customers
Exam Number: 584002RR I need all t he questions answered in
Exam Number: 584002RR I need all t he questions answered in excel in this pdf file now! Asap!… read more
The-PC-Guy
The-PC-Guy
Bachelor\u0027s Degree
629 satisfied customers
How do you differentiate between an expression and an
How do you differentiate between an expression and an equation? Provide an example of each, where the two are either related to or similar to each other. … read more
GLENN
GLENN
Master of Mathematics
345 satisfied customers
Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

Show MoreShow Less

Ask Your Question

x