Question

In: Computer Science

Suppose that a software developer is creating a program to store lists of supermarket products. Each...

Suppose that a software developer is creating a program to store lists of supermarket products. Each product has a code made up of the digits 0 and 1, for example 010011010000, and an availability, either yes or no. Further suppose that the software developer decides to store the lists in base-10, believing that base-10 will simplify calculations. Briefly explain why this is a bad idea.

Solutions

Expert Solution

Thank you. Please give an upvote. If any queries or changes needed please comment will respond ASAP!!!!!


Related Solutions

1. Suppose that a software developer is creating a program to store lists of supermarket products....
1. Suppose that a software developer is creating a program to store lists of supermarket products. Each product has a code made up of the digits 0 and 1, for example 010011010000, and an availability, either yes or no. Further suppose that the software developer decides to store the lists in base-10, believing that base-10 will simplify calculations. Briefly explain why this is a bad idea.  
A software engineer is creating a new computer software program. She wants to make sure that...
A software engineer is creating a new computer software program. She wants to make sure that the crash rate is extremely low so that users would give high satisfaction ratings. In a sample of 780 users, 39 of them had their computers crash during the 1-week trial period. (a) What is the sample size? What is p̂? (b) What is the 95% confidence interval for p̂? (Use a table or technology. Round your answers to three decimal places.)
RUN THIS PROGRAM ON NETBEANS As a Software Developer, you have received a requirement from a...
RUN THIS PROGRAM ON NETBEANS As a Software Developer, you have received a requirement from a Company to implement a prototype for its payroll system. You receive the following specifications: If an employee works more than its regular hours, it is considered overtime and it will be paid based on the employee’s experience. All employees are paid biweekly (80 hours) Employee taxes: 1% This company manages three categories of workers based on employee’s experience. Group 1 (Silver) o Pay rate:...
A software developer wants to know how many new computer games people buy each year. A...
A software developer wants to know how many new computer games people buy each year. A sample of 1233 people was taken to study their purchasing habits. Construct the 99% confidence interval for the mean number of computer games purchased each year if the sample mean was found to be 7.4. Assume that the population standard deviation is 1.4. Round your answers to one decimal place.
A software developer wants to know how many new computer games people buy each year. A...
A software developer wants to know how many new computer games people buy each year. A sample of 164 people was taken to study their purchasing habits. Construct the 80% confidence interval for the mean number of computer games purchased each year if the sample mean was found to be 7.8. Assume that the population standard deviation is 1.5. Round your answers to one decimal place.
1.Suppose that the number of customers who enter a supermarket each hour is normally distributed with...
1.Suppose that the number of customers who enter a supermarket each hour is normally distributed with a mean of 670 and a standard deviation of 180. The supermarket is open 17 hours per day. What is the probability that the total number of customers who enter the supermarket in one day is greater than 10100? (Hint: Calculate the average hourly number of customers necessary to exceed 10100 in one 17-hour day.) 2.Assume that women's weights are normally distributed with a...
Using C++ Many software applications use comma-separated values to store and transfer data. In this program,...
Using C++ Many software applications use comma-separated values to store and transfer data. In this program, you are asked to implement the movie_call function that will parse a string of the above structure into the corresponding movie name, rating, and movie length. ex: In "movie name, rating, length", the movie name is "movie name", the rating is "rating", and the length of the movie is "lenght". This is the code: #include <iostream> #include <string> using namespace std; /* Replace the...
This is a beginner C++ class Your program will be creating 10 library books. Each library...
This is a beginner C++ class Your program will be creating 10 library books. Each library book will have a title, author and publishing year. Each library book will be stored as a structure and your program will have an array of library books (an array of structures). After creating the struct, the next task is to create a new separate array for book genres. You will create this corresponding array of book genres: Mystery, Romance, Fantasy, Technology, Children, etc....
A furniture store manufactures 2 products; tables (X) and chairs (Y): the production process for each...
A furniture store manufactures 2 products; tables (X) and chairs (Y): the production process for each require a certain number of labor hours in the carpentry department and a certain number of labor hours in the painting department. Each table takes 3 hours of carpentry work and 2 hours of painting work. Each chair requires 4 hours of carpentry and 1 hour of painting. During the current month, 2,400 hours of carpentry time and 1,000 hours of painting time are...
Suppose that the United States and Canada can each produce two products: lumber and beef. Create...
Suppose that the United States and Canada can each produce two products: lumber and beef. Create a table like the one below, showing labor requirements per unit of output for each country. (Hint: Choose numbers for each country that are easily divisible by one another.) Labor Requirements per Unit of Output United States Canada Lumber Beef What does absolute advantage mean? How do you calculate absolute advantage? In what output(s) does the U.S. have an absolute advantage? Explain using the...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT