Questions
Use C++ to write a program that reads in a binary string from the command line...

Use C++ to write a program that reads in a binary string from the command line and applies the following (00, 1101) tag-system: if the first bit is 0, deletes the first three bits and append 00; if the first bit is 1, delete the first three bits and append 1101. Repeat as long as the string has at least 3 bits. Try to determine whether the following inputs will halt or go into an infinite loop: 10010, 100100100100100100. Use a queue.

In: Computer Science

. Dice rolling: In c++Write a program that simulates the rolling of two dice. The sum...

. Dice rolling: In c++Write a program that simulates the rolling of two dice. The sum of the two values should then be calculated. [Note: Each die can show an integer value from 1 to 6, so the sum of the two values will vary from 2 to 12, with 7 being the most frequent sum and 2 and 12 being the least frequent sums.] The following table shows the 36 possible combinations of the two dice. Your program should roll the two dice 36,000,000 times. Use a onedimensional array to tally the numbers of times each possible sum appears. Print the results in a tabular format. Also determine if the totals are reasonable (i.e., there are six ways to roll a 7, so approximately one-sixth of all the rolls should be 7).

In: Computer Science

Show the decimal integer 44 in 7-bit sign magnitude, one's complement, two's complement and excess-63 respectively...

Show the decimal integer 44 in 7-bit sign magnitude, one's complement, two's complement and excess-63 respectively in the given order, separated by comma.

In: Computer Science

In python: In many jurisdictions a small deposit is added to drink containers to encourage people...

In python:

In many jurisdictions a small deposit is added to drink containers to encourage people to recycle them. In one particular jurisdiction, drink containers holding one liter or less have a 0.10???????,??????????????????ℎ???????????ℎ??????????ℎ????0.10deposit,anddrinkcontainersholdingmorethanoneliterhavea0.25 deposit. Write a program that reads the number of containers of each size from the user as variables. Your program should continue by computing and displaying the refund that will be received for returning those containers.

In: Computer Science

Q1) ... “what-if analysis” is one of the four basic types of analytical modeling activities that...

Q1) ... “what-if analysis” is one of the four basic types of analytical modeling activities that are involved in using a decision support system. List all of the four types. Then, in your own words, explain how is “what-if analysis” applied with a suitable example.

Q2) ...

A firm has developed an organizational planning to automate the process of marketing logistics using the SCM software. The various steps in the planning and personnel responsible are described below.

The top management executives like the Logistics COO first analyze the situation, make a self evaluation, Competitor analysis. Establish a long range vision organization. Provides the statement of Supplier scorecarding and network redesign. The Supply planner and demand planner develops the statement of organizational planning for a short range duration of upto 18 months. The activities accomplished are trend detection, predictive analysis, and tracking activities to plan. The shop floor/procurement personnel who controls the regulation of day to day schedules, activities and costs. Establishes exception detection, notification and resolution along with collaboration of supply / demand with the trading partners.

Categorize the activities according to the type of planning and fill in the table appropriately. Provide justification for your answer.

Type of planning

Set of activities

Who is responsible?

Reasons

َQ3 ...  In the installation and implementation phase, we normally face difficulties to operate the new system or the improved application. To solve this issue, the firm can follow one of the conversion strategies. Discuss and compare in details between these conversion strategies in the table given below

Conversion Strategy

Description

Advantages

Disadvantages

In: Computer Science

briefly explain the difference between Blackbox and whitebox testing?

briefly explain the difference between Blackbox and whitebox testing?

In: Computer Science

Develop a one-page website using HTML tags and element to implement the following. THIS IS HEADING...

Develop a one-page website using HTML tags and element to implement the following.

THIS IS HEADING 1

THIS IS HEADING 2

THIS IS HEADING 3

THIS IS HEADING 4

THIS IS HEADING 5

THIS IS HEADING 6

THIS IS A PARAGRAPH. THIS IS A PARAGRAPH. THIS IS A PARAGRAPH

THIS IS ANOTHER PARAGRAPH. THIS IS ANOTHER PARAGRAPH. THIS IS ANOTHER PARAGRAPH

THIS IS A LINE BREAK
THIS IS A LINE BREAK
THIS IS A LINE BREAK

THIS IS AN ORDERED LIST.

  1. Item 1
  2. Item 2
  3. Item 3
  4. Item 4
  5. Item 5

THIS IS AN UNORDERED LIST.

  • Item 1
  • Item 2
  • Item 3
  • Item 4
  • Item 5

THIS TEXT IS BOLD

THIS TEXT IS ITALIC

In: Computer Science

1) Write a 2 page SLA for the cloud service that you have selected to migrate...

1) Write a 2 page SLA for the cloud service that you have selected to migrate a website to the cloud. The SLA will be used to define the service level obligations of the cloud service provider.

2) Write a brief SOW for the website that you have selected to migrate to the cloud. The SOW will be used to define the obligations of the cloud service provider.

In: Computer Science

Please don’t just write the final answers. Please show the steps for each question (via text,...

Please don’t just write the final answers.

Please show the steps for each question (via text, arrows, grouping, etc)

1. Use the grouping method to convert the following binary number to (a) octal and (b) hexadecimal:

a. 10101101010112

2. Use the grouping method to convert the following numbers to binary:

a. 64358   - b. 4F1A16

In: Computer Science

Rewrite the function so the formal parameter x is an IO pointer-to int parameter. The function’s...

Rewrite the function so the formal parameter x is an IO pointer-to int parameter. The function’s prototype is changed as shown below. Please explain code with comments

//--------------------------------------------------

void NextPrime(int *x)

//--------------------------------------------------

{

bool IsPrime(const int x);

}

In: Computer Science

Using matlab I need to create five random circles with grid x and y (100,100). Also...

Using matlab I need to create five random circles with grid x and y (100,100). Also create 10 different colors

x(1:100) and y (1:100)

In: Computer Science

Compare PHP code used to create and update two-dimensional arrays to another programming language. Which is...

Compare PHP code used to create and update two-dimensional arrays to another programming language. Which is easier and more efficient? Why? Can be compared to any other well used language.

In: Computer Science

Assignment 3-4: IN PYTHON Guest List: If you could invite anyone to dinner, who would you...

Assignment 3-4: IN PYTHON

Guest List: If you could invite anyone to dinner, who would you invite? Make a list that includes at least three people you’d like to invite to dinner. Then use your list to print a message to each person, inviting them to dinner.

---------------------------------------------------------------

Assignment 3-5:

Changing Guest List: You just heard that one of your guests can’t make the dinner, so you need to send out a new set of invitations. You’ll have to think of someone else to invite.

  • Start with your program from Assignment 3-4. Add a print statement at the end of your program stating the name of the guest who can’t make it.
  • Modify your list, replacing the name of the guest who can’t make it with the name of the new person you are inviting.
  • Print a second set of invitation messages, one for each person who is still in your list.

---------------------------------------------------------------

Assignment 3-6:

More Guests: You just found a bigger dinner table, so now more space is available. Think of three more guests to invite to dinner.

  • Start with your program from Assignment 3-4 or Assignment 3-5. Add a print statement to the end of your program informing people that you found a bigger dinner table.
  • Use insert() to add one new guest to the beginning of your list.
  • Use insert() to add one new guest to the middle of your list.
  • Use append() to add one new guest to the end of your list.
  • Print a new set of invitation messages, one for each person in your list.

---------------------------------------------------------------

Assignment 3-7:

Shrinking Guest List: You just found out that your new dinner table won’t arrive in time for the dinner, and you have space for only two guests.

  • Start with your program from Assignment 3-6. Add a new line that prints a message saying that you can invite only two people for dinner.
  • Use pop() to remove guests from your list one at a time until only two names remain in your list. Each time you pop a name from your list, print a message to that person letting them know you’re sorry you can’t invite them to dinner.
  • Print a message to each of the two people still on your list, letting them know they’re still invited.
  • Use del to remove the last two names from your list, so you have an empty list. Print your list to make sure you actually have an empty list at the end of your program.

PreviousNext

In: Computer Science

C++ Please. Break it down barney style if possible. Instructions Create a program to keep track...

C++ Please. Break it down barney style if possible.

Instructions

Create a program to keep track of the statistics for a kid’s soccer team. The program will have a structure that defines what data the program will collect for each of the players. The structure will keep the following data:

Players Name (string)

Players Jersey Number (integer)

Points scored by Player (integer)

The program will have an array of 12 players (use less for testing and development, use a constant for the size). Each element in the array is a different player on the team.

The program will ask the user to enter information for each player. The program will also display the team information in a table format. After the table, the total points scored by a team will be displayed.

The program will also determine which player scored the most points on the team.

Validation:

Do not accept negative value for player’s number

Do not accept negative value for player’s score

Required Methods:

void GetPlayerInfo(Player &);

void ShowPlayerInfo(const Player);

int GetTotalPoints(const Player[ ], int);

void ShowHighest(Player [ ], int)

In: Computer Science

In-House, IaaS, or SaaS? Your organization's current email system is hosted on-premise in a old server...

In-House, IaaS, or SaaS?

Your organization's current email system is hosted on-premise in a old server that is reaching its end-of-life. Your boss has asked you to replace the existing system

Your boss wants you to research the various options for a new system and is open to hosting it in-house, in the cloud, as a service, or any other solution you may find

Your task:

  • Research the options available for hosting your organizations email
  • Identify a preferred solution
  • Explain to your boss in an email (i.e. response) why this solution is preferable.

In: Computer Science