Programming & Computer Science Answers

C++ 9913
Python 5288
Java | JSP | JSF 3611
C 1680
C# 1362
Computer Networks 989
Algorithms 652
Databases | SQL | Oracle | MS Access 641
HTML/JavaScript Web Application 588
Other 537
Visual Basic 358
Assembler 209
Software Engineering 202
AJAX | JavaScript | HTML | PHP 166
MatLAB 150
MatLAB | Mathematica | MathCAD | Maple 124
Action Script | Flash | Flex | ColdFusion 112
UNIX/Linux Programming 89
Web Development 73
Excel 36
ASP | ASP.NET 23
Delphi | Pascal 21
Perl 16
Prolog 9
Functional Programming 9
MathCAD 5
Wolfram Mathematica 4
WPF 4
Ruby | Ruby on Rails 3
NodeJS Web Application 2

Questions answered by Experts: 26 876

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search

Bookmark Maker

In this assignment, let's build a Bookmark maker by applying the concepts we learned till now.

Refer to the below image.


Instructions:

  • The page should have HTML form element with id bookmarkForm
  • The HTML form element with id bookmarkForm should have HTML input elements with ids siteNameInput and siteUrlInput
  • The HTML form element with id bookmarkForm should have HTML button element with id submitBtn
  • Add HTML label elements for HTML input elements with ids siteNameInput and siteUrlInput
  • The HTML p elements with class name error-message should have ids siteNameErrMsg and siteUrlErrMsg respectively
  • The HTML unordered list element with the class name bookmarks-container should have the id bookmarksList
  • Each bookmark item should contain a HTML anchor element to navigate to the bookmarked site

Warning

  • Please provide valid URL's to the siteUrlInput element

By following the above instructions, achieve the given functionality.

  • When the HTML input element with id siteNameInput is empty after changing the value inside the input
  • The HTML p element with id siteNameErrMsg should have error message
  • When the HTML input element with id siteUrlInput is empty after changing the value inside the input
  • The HTML p element with id siteUrlErrMsg should have error message
  • When the HTML button element with the id submitBtn is clicked,
  • If the values are entered in the HTML input elements with ids siteNameInput and siteUrlInput
  • A new bookmark should be added to the bookmarksList container.
  • If the siteNameInput value is empty,
  • The HTML p element with id siteNameErrMsg should have error message
  • If the siteUrlInput value is empty,
  • The HTML p element with id siteUrlErrMsg should have error message
  • When the visit button of a bookmark is clicked the site URL should open in a new tab.

Create a program that will output the multiples of 5. It must start at 0 and show however many numbers the users asks for. In addition, the numbers should output on a new line every time a multiple of 100 is reached. 

 

Prompt:

This program will output the multiples of 5. How many numbers do you want to see?   [user types: 42]

 

Output:

0 5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100

105 110 115 120 125 130 135 140 145 150 155 160 165 170 175 180 185 190 195 200

205

 

Notes and Hints:

1) You can use any type of loop, but there is an obvious choice here.


This is a very short trivia game. See if the user can guess the year that MDC (formerly Dade County Junior College) first started offering classes (1960). If the user guesses incorrectly, ask if they want another attempt. Once the user gets it right, report the number of guesses needed and end the program. 

 

Initial Output:

MDC was originally named Dade County Junior College.

 

Output (per loop)

In what year were classes first offered?  [user types: 1980]

That answer is incorrect. Do you want to try again?  [user types: y]

In what year were classes first offered?  [user types: 1960]

Your answer is correct! It took you 2 tries to guess it.

 

Notes and Hints:

1) You can use whatever loop you feel is best

2) You must accept the upper and lower case versions of Y and N in the user's reply

3) The program must end when the user gets it right. Do not ask if they want to continue. 


We have talked a bit about how chars are really just ASCII integers. Let's see this in action. We will show the characters starting at ASCII 33 and end with a user-supplied number. Use a for loop to output the characters with two spaces between each.

 

Prompt:

This program will output the ASCII characters starting at 33

Enter the integer for the last ASCII character you wish to see:  [user types: 43]

 

Output:

! " # $ % & ' ( ) * +  

 

Notes and Hints:

1) You MUST use a FOR LOOP

2) Hint: Which operator from Chp 3 allows us to convert from one data type to another?

3) FYI only: http://www.asciitable.com/




Modify the previous program to use the Do-While Loop instead of the While Loop. This version of the program will ask the user if they wish to enter another name and accept a Y or N answer. Remove the "exit" requirement from before.

 

Output:

Enter the full name of a person that can serve as a reference:  [user types: Bob Smith]

Bob Smith is reference #1

Would you like to enter another name (Y or N)?  [user types: y]

Enter the full name of a person that can serve as a reference:  [user types: Maria Garcia]

Maria Garcia is reference #2

Would you like to enter another name (Y or N)?  [user types: N]


You have a total of 2 references

 

Notes and Hints:

1) You MUST use a DO-WHILE LOOP

2) You must accept the upper and lower case versions of Y and N in the user's reply

3) Hint: That function you used in the previous problem with have a small issue here. That is because there is a newline (Enter) in the keyboard buffer after the user types Y or N. Do you remember how we ignored that extra newline in Chp 3?


Create a program that will prompt the user to enter the name (first and last) of a person that can serve as a reference for a job application. The name will be confirmed on screen and the prompt will keep appearing until the user types "exit". At the end, the total # of references will be shown.

 

Output:

Enter the full name of a person that can serve as a reference (type 'exit' to quit):   [user types: Arthur Morgan]

Arthur Morgan is reference #1

Enter the name of another person that can serve as a reference (type 'exit' to quit):   [user types: Sadie Adler]

Sadie Adler is reference #2

Enter the name of another person that can serve as a reference (type 'exit' to quit):   [user types: John Marston]

John Marston is reference #3

Enter the name of another person that can serve as a reference (type 'exit' to quit):  [user types: exit]


You have a total of 3 references

 

Notes and Hints:

1) You MUST use a WHILE LOOP

2) Hint: Remember which function was needed to store a user entry that contained a space? Forgot? Check the Chp 3 outline.

 


As the network administrator for your organization, you have been tasked to create a new network for newly set up workstations.

a.    What network topology will you adopt? Explain your reasons, compare the chosen topology to 2 other topologies, and establish why the one you chose is better than the rest. 

 

b.   What type of IP addressing will you use, when assigning IP addresses to the workstations on the network? Explain your answer with practical examples.

 

c.    Assuming your organization recommended that you adopt the star topology, which network device will u use as the central connection point, and why.


Central Hospital has recently acquired and installed five laptops and ultra-modern biometric devices (computer embedded systems). As an IT consultant, you have been invited to do the following to the hospital staff;

 

a.    Identify and explain the machines’ input devices and output devices.

 

b.   Explain how these machines work together to receive inputs, process these inputs, generate output, and store the output onto output devices.


.Atemperature reading in 

Fahrenheit degrees is to be read into 

the computer and converted into 

Celsius degrees, using the formula C = 

(5/9)(F –32


2.1 Study the following descriptions and write only the statements to achieve the required 

objectives in both algorithm and C++ syntax.

2.1.1 The array called quantity has 20 elements. Write statements that will help in counting

how many of these elements have a value of less than 50. Also determine the sum of 

the values that are more than or equal to 50. Display these 2 answers.

2.1.2 The array called itemPrice has 150 elements. Write the statements to determine and 

display the highest price. If there is more than one item with this price, the number of 

items must also be displayed. 



LATEST TUTORIALS
APPROVED BY CLIENTS