Computer Science Homework Solutions

Election Vote Program in C++

1. Write a program that allows the user to enter the last names of five candidates in a local election and the votes received by each candidate. The program should then output each candidate’s name, the votes received by that candidate, and the percentage of the total votes received by the candidate. Your program should also ...continues

Alexander and Tate's Five Point Criteria System

Based upon Alexander and Tate’s Five Point Criteria System, in what areas is www.Travelzoo.com strong and weak? NOTE: I only need like two paragraphs

C program using functions, switch statements, if statements

I have a hard time getting started. The program is to help a student learn multiplication. I have to use the rand function to produce two positive one-digit integers. The program should type a question such as: How much is 6 times 7? The student will then type the answer. The program will then check the answer . If it i ...continues

Computer crime

What motivates a person to commit cyber crime?

Data Structures C++

Which data structure (i.e. array based list or linked list) is the optimum one for following problems? - Read only look-up table - Class roster - When lots of inserts & deletes are involved - When you have no clue about how big the list will grow

Linked Lists C++

What is the output of the following C++ statements? See attached file for full problem description.

Linked Lists C++

13. Suppose that intList1 and intList2 are list containers and intList1 = {3, 58, 78, 85, 6, 15, 93, 98, 25} intList2 = {5, 24, 16, 11, 60, 9} Show intList1 after the following statement executes: intList1.splice(intList1.begin(), intList2);

The following plasma concentrations (in ug/ml) of a new drug were recorded in a patient.

The following plasma concentrations (in ug/ml) of a new drug were recorded in a patient. Is this data best fit by a single or double compartment model? Time (hr) conc. 0.26 0.6149 0.51 0.4299 0.77 0.3213 1.02 0.2203 1.25 0.1773 1.51 0.1242 1.76 0.1167 2.02 0.0928 2.25 0.0722 2.51 0.0658 2.76 ...continues

Attack of the Mobile Virusues

Attack of the Mobile Virusues The spread of the mobile viruses has been slow because the mobile devices lack a prevalent OS like PCs and Windows. As mobile communications become more prevalent, so does the onslaught of viruses. What are the ways a device can become infected and how to prevent it?

Compare and explain between two programming languages

I have two programs(Java and C++). They looks similar. But I need to explain why C++ is longer than java and what else to explain such as memory, time, build-in-function and so on... See attached file for full problem description.

Browse