use C++
Cryptography is the study of hiding information or encrypting information. Cryptographers often use things called ciphers to encrypt messages. A cyclic cipher is a common, but relatively insecure method of encrypting a message. It is achieved by replacing every letter in the word or message with another letter in the alphabet a certain number of positions away. For example, if the message to be encrypted (the plaintext) was IBM and the cipher key was -1, the resulting message (the ciphertext) would be HAL. 'I' was replaced by the letter one position to the left of it in the alphabet: 'H', etc.
If the letter happens to be 'Y' and the key is 3, the cipher "wraps around" to the beginning of the alphabet and the encrypted letter would be 'B'.
Write a program to "encrypt" one character using a cyclic cipher. You may assume that the character is an alphabetic letter, but it may be given in lowercase or uppercase. The key to the encoding will be the number of characters to move "up" in the alphabet (toward Z); negative numbers move "down" in the alphabet (toward A). You may assume that the key will be greater than -26 and less than 26 (so we will never cycle the whole way through the alphabet). Output the encrypted character as a capital letter.
Your program should run like the examples shown below.
This program encrypts a single letter. Letter: a Key: 1 Result: B
This program encrypts a single letter. Letter: a Key: -1 Result: Z
This program encrypts a single letter. Letter: f Key: 4 Result: J
This program encrypts a single letter. Letter: M Key: 6 Result: S
In: Computer Science
In: Computer Science
QUESTION 8
Which color will argue both sides of an issue and avoid stating what they believe to be already obvious?
| A. |
Gold |
|
| B. |
Blue |
|
| C. |
Green |
|
| D. |
Orange |
2 points
QUESTION 9
What color is the largest percent in the general population?
| A. |
Gold |
|
| B. |
Blue |
|
| C. |
Green |
|
| D. |
Orange |
2 points
QUESTION 10
Which color is known for their organizational skills?
| A. |
Gold |
|
| B. |
Blue |
|
| C. |
Green |
|
| D. |
Orange |
2 points
QUESTION 11
Which color emphasizes purpose?
| A. |
Gold |
|
| B. |
Blue |
|
| C. |
Green |
|
| D. |
Orange |
2 points
QUESTION 12
Which color loves to talk and are good listeners?
| A. |
Gold |
|
| B. |
Blue |
|
| C. |
Green |
|
| D. |
Orange |
2 points
QUESTION 13
Which color is likely to voice their appreciation and avoid issues that might end up in a conflict?
| A. |
Gold |
|
| B. |
Blue |
|
| C. |
Green |
|
| D. |
Orange |
2 points
QUESTION 14
Which color tends to avoid small talk and take a long time to make up their mind?
| A. |
Gold |
|
| B. |
Blue |
|
| C. |
Green |
|
| D. |
Orange |
2 points
QUESTION 15
Which color likes to use puns or play on words or word meanings?
| A. |
Gold |
|
| B. |
Blue |
|
| C. |
Green |
|
| D. |
Orange |
2 points
QUESTION 16
Which color likes to argue for arguments sake?
| A. |
Gold |
|
| B. |
Blue |
|
| C. |
Green |
|
| D. |
Orange |
2 points
In: Other
Social Media Assignment
I donāt want 10 pages.
Watch one or more of these videos about the evils of social media.
https://www.youtube.com/watch?v=d5GecYjy9-Q
https://www.youtube.com/watch?v=iAV1DaLtw2c
https://www.youtube.com/watch?v=CkMh6xdJNeM
https://www.youtube.com/watch?v=7QWoP6jJG3k
https://www.youtube.com/watch?v=szQsPQW4GLo
https://www.youtube.com/watch?v=8lLbc3DWqfI
https://www.youtube.com/watch?v=fiZUWVwHpe0
There over 150 videos on YouTube about social media.
Answer the following questions in a WORD document which you will upload on the ASSIGNMENTS, ESSAY TAB.
Put your name of the paper. Copy question 1. Answer question 1. Copy question 2. Answer question 2. Etc
Save the document to your disk. Go to BB, click assignment, clicks essay. Click feb20. Click ābrowse your computerā. Upload the file and click submit.
In: Computer Science
Objective: Write a C++ -program that will implement 4
Memory Management algorithms
Algorithms:
A) Best-Fit
B) First-Fit
C) Next-Fit
D) Worst-Fit
Your program must do the following:
1. Program Input:
User will input to the program
a. Main Memory information, including
i. The Number of Memory partitions.
ii. The Size of each memory partition.
b. Process information (assign a unique identifier to each
job)
i. User will input the number of processes
ii. Memory requirements for each process/job
2. For each algorithm, your program should have a data
structure(class or struct) that will include the following:
Job/Process Class
⢠Name of the process/ job(number or word)
⢠Process/job status (Run/Wait),
⢠partition number the process/job was assigned to
Memory Partition Class
⢠Name of the partition (Alphanumeric ID, ie string or char
string)
⢠Total size of the partition(int)
⢠Is a job assigned? (bool)
⢠Job id assigned to it
⢠Waste or excess produced by the job assignment (int)
You can create an array or list of the object to represent the job
queue.
3. Program output:
a) Initial memory allocation: Calculate and display a list of
initial memory allocation, i.e which partitions contain which
process after the first round of allocation
b) Memory waste: Program will calculate and display the memory
waste for each partition
c. total waste for each algorithm.
e. A list of Processes in the waiting State(was not assigned to a
partition).
In: Computer Science
Scenario: Walter Joss is one of the best
employees in your department, a smart and hard worker with a keen
mind for business. His upbeat attitude has helped the entire
department get through some rough times recently. On a personal
level, his wise counsel helped you grow into a leadership role when
you were promoted to marketing manager several years ago.
You generally welcome Walter's input on the department's
operations, and you have implemented several of his ideas to
improve the company's marketing efforts. However, the proposal he
emailed you yesterday was not his best work. He proposed that the
company dump the advertising agency it has used for a decade and
replace it with some new agency you've never heard of. The only
reasons he offered were that the agency "had become unresponsive"
and that a "smaller agency could meet our needs better." He failed
to address any of the other criteria that are used to select
advertising agencies, such as costs, creative skills,
technical abilities, geographic reach, research capabilities, and
media experience.
This is the first you've heard any criticism of the advertising
agency, and in fact, their work has helped your company increase
sales every year.
Your task: Develop a well written, thorough, and
tactful email for the purpose of rejecting Joss's proposal. (In a
real-life setting, you may want to discuss this with Walter in
person, rather than through an email, but for the purposes of this
assignment plan to use email.)
Word count is up to your discretion based on the content and context as outlined in this assignment.
In: Operations Management
Jessica is a recent graduate of Brenau Universityās business school entrepreneurship program. The business plan that she created before she graduated was for a business developing websites for individuals and commercial businesses. Friends and family provided funding for the start-up, and she has been in business for the last two and a half years.
Jessica had learned about the balanced scorecard in her accounting classes and has been applying some of the techniques. Her vision for this business is to provide clients with high quality websites that receive a relatively high numbers of hits. Recently, word-of mouth advertising had led to more requests for websites with creative animated graphics. As part of her balanced scorecard, she tracked the following measures over the last two years for her individual clients:
20x1 20x2
Average revenue per individual client $2,000 $1,500
Average time from start to finish (business days) 10 days 13 days
Average site ranking on top two search engines 15 21
Total revenue $80,000 $78,000
Total labor cost $20,000 $22,000
Utilities cost (electricity and phone) $2,100 $2,400
Number of individual clients 40 52
Employee turnover 1 0
a. Classify each performance measure according to one of the four balanced scorecard perspectives. Explain your reasoning.
b. Analyze the change in each performance measure from 20X1 to 20X2. Give one possible reason for the change.
In: Accounting
Recording Observations Unobtrusively record observations in a public place of your choice for at least thirty minutes or more. The place must have at least ten people to observe. Since you are playing the role of an unobtrusive investigator, you must not disturb the people and must be positioned so that the people will not really take notice of you. You should watch people and focus on behaviors. The behaviors might be ordinary or interesting. You might even choose to look at behaviors related to a theme, such as how people relax or you can look at dyadic interactions. No matter what you choose to observe, you should describe what you witness. Record the observations in your notebook in a 1- to 2-page Microsoft Word document. The observations should not be conducted with any specific notions or theories. Type and submit your notes, which should be at least 500 words. Include the date of the observation, the time, and the setting. Along with your observation notes, include five specific study ideas that come to mind because of your observations. For example: After observing mothers and children in the park, I would like to investigate whether mothers with multiple children allow the children to venture further away from them as compared to mothers with one child. You must also state hypotheses for at least two of your study ideas. For example, you might hypothesize mothers with only one child will keep their child closer than mothers with multiple children. *** Please help with my homework I am struggling with. Thank you.***
In: Psychology
IDS Bonus 1
A controversial practice in conservation is the collecting of DNA from endangered animals and keeping it safe in various institutions so as to have a "stored bank" in case the animal goes extinct. One such project is the Frozen Ark Project. The "mission of the Frozen Ark Project is to collect, preserve and store tissue, gametes, viable cells and DNA from endangered animals. The project focuses on the thousands of animals that are threatened with extinction. Animal species are dying out at an unprecedented rate. The current round of extinctions is largely created by mankind, because of the increase in human populations and its effect on the planetās ecosystems. Global warming is a major contributor to this destruction. Despite the best efforts of conservationists, thousands of extinctions are happening. This pattern is common across all animal groups, both vertebrate and invertebrate, and emphasizes the importance of collecting the genetic materials and cells of endangered animals before they disappear. The loss of a species destroys the results of millions of years of evolution. If cells are preserved, invaluable information about the species is saved. The Frozen Ark Project is not a substitute for conservation, but a practical and timely backup of genetic material for the good of, future generations" (https://frozenark.org/). Do you think this is a viable practice? Ethical practice? What are the positives and possible negatives of such 'frozen' projects?
Please write a one page reflection ("a page" means writing a single-spaced Word document with 1 inch margins, and 12 pt Times New Roman font).
https://www.youtube.com/watch?v=YkTey9vkFB4#action=share
In: Other
The purpose of this exercise is to practice writing an abstract of an academic work. An abstract is a concise summary of the topic, goals, content, and argument of an academic work. Learning to write a good abstract is a key step in developing a critique of an academic workāyou cannot provide a good critique of an article or book until you are able to first summarize the authorās argument and the evidence she uses to support it.
Assignment:
For this exercise, write a 150-200 word abstract of chapter 5 (āThe Phenomenology of Terrorā) in Buried Secrets by Victoria Sanford.
Your goal is to provide a succinct summary of: the topic of the chapter, Sanfordās thesis in the chapter, and the data she uses to support it.
Guidelines:
The first sentence(s) should describe accurately and concisely the main theme of the chapter: What is it about? What is the main topic??Where, when, and with whom was the research done?
The following sentence(s) should concisely state the authorās thesis and how she argues her position. Remember that a thesis must be stated in the form of an argument, not a statement of fact.
The next sentence(s) should briefly outline the information that the author uses to support her thesis. For example, is the data ethnographic or is it historical or a combination of both? Does the author draw primarily on media sources or did she conduct interviews? With whom did she conduct interviews and why? How does the author present or organize her data to support her case?
Your abstract should end with a summary of the implications of the chapter: Why is this chapter significant? What does the author accomplish or hope to accomplish by presenting this data?
In: Psychology