1. Mad Lib - Write a C++ program that plays a word game with the user. (35 pts.) The program should ask the user to enter the following: His or her name His or her age The name of a city The name of a college A profession A type of animal A pet s name After the user has entered these items, the program should display the following story, inserting the user s input into the appropriate locations: There once was a person named NAME who lived in CITY. At the age of AGE, NAME went to college at COLLEGE. NAME graduated and went to work as a PROFESSION. Then, NAME adopted a(n) ANIMAL named PETNAME.
Read the Green Computing Research Project, Part 1 in Appendix C. Assume the project budget is $500,000 and will take six months to complete and that you must select the project team as soon as possible. Use project charter examples from Chapters 3 and 4 as support in your answer.
Your goal is to solve the following simple programming exercise. You have been contracted by a local restaurant to design an algorithm determining the total meal charges. The algorithm should ask the user for the total food purchase and the tip percent. Then, the algorithm will calculate the amount of a tip, a 7% sales tax, and the total meal charge (including tip). The food purchase, sales tax, tip amount, and total meal charge will need to be displayed to the customer
Every company needs a backup plan to recover data that has been wiped out by operator error, viruses, or hardware failures. Please define each of these terms: backup, file synchronization, restore point, and recovery disk. Your answer should be at least 200 words and include one in-text citation with a reference list.
Describe an array and its various implementations. Provide the C# code that would illustrate how to create, reference, and address an element of an array. Create a flowchart and provide the corresponding pseudocode to show how to sort an array using Bubble Sort. Create a flowchart and give the pseudocode for searching an array for a specified value using Sequential search algorithm.
Barack periodically comes up with brilliant ideas to stop the financial crisis, provide health care to every citizen, and save the polar bears. He wants to share these ideas with all the cabinet members but also get credit for the ideas. Extending the above approach, he shares a secret key K with all the cabinet members. Next, he broadcasts each idea z followed by value h(k||z). Does this approach work or can Tim claim that he came up with the ideas instead of Barrack, Justify your answer.
Q. Consider the following method that establishes a secret session key k for use by Alice and Bob. Alice and Bob already share a secret key Kab for encryption. i) Alice sends a random value NA to Bob along with her id, A. ii) Bob sends encrypted message EKab(NA), NB to Alice, where NB is a random value chosen by Bob.
Project Three: HTML and Java PROJECT OVERVIEW For this project, you are required to design and create an HTML document (also referred to as a “Web page”), in which certain basic HTML elements are incorporated. Your HTML document must also link to several Java applets, some of which you will compile yourself from the code provided, and some you will obtain from online sources and simply link to in your HTML document. In addition, you will input, compile, and test a simple Java application. Unlike Java Applets, which are linked and run from within HTML files, Java applications run freestanding, and can be run from the DOS Command Line. This project is designed to familiarize you with Java tools and processes, including editing, compiling, and viewing applets and applications, as well as with the methods for using Java Applets in Web documents. The project does not aim to teach you to program in Java, which is beyond the scope of this course, but rather to ....
Your presentation should answer most, but not necessarily all, of the following questions: • What is Organic Chemistry? • What do Organic Chemists do? • What makes Organic different from other areas of chemistry? • What kinds of jobs/careers are available in Organic Chemistry? Where?
The best means of personal protection from radiation for emergency responders is the implementation of three basic principles: time, distance and shielding. Please show your work when answering the following questions: a. Using the inverse square law of radiation, what Geiger counter reading would you get for a radioactive material when you are 3 feet from the source (assume an initial reading of 6300 R at a distance of 1 foot from the source)? b. Dr. Brown has a radioisotope source containing 1.2 x 106 (also written as 1.2E+06) atoms of Plutonium-238 in 1985, how many atoms will remain in 352 years?