Questions
Implement a dictionary application using C++ with the following features: Load a dictionary file. Given a...

Implement a dictionary application using C++ with the following features:

  • Load a dictionary file.

  • Given a prefix string that the user specifies, print the first word or all words in the dictionary with that string as their prefix.

  • Given two strings A and B that the user specifies, replace all occurrences of A in the dictionary file with B.

  • Spawning a new editor (e.g., vim) to allow the user to modify the dictionary file. Save the dictionary file afterwards.

You must use either C or C++ to implement your dictionary application. All your source code must be put within one (1) file. You will only submit that one file.

Your program should not have any extra library dependencies.

Please provide the coding in C++.

In: Computer Science

In Chapter 28, you learned about the concept of comparative advantage. How does this principle apply...

In Chapter 28, you learned about the concept of comparative advantage. How does this principle apply to people/members in the church? In other words, you may consider that every individual within the Church community has a different/unique role (pastor, praise band leaders, server for meals, children’s ministry, etc) as gifted from God. How does the principle of comparative advantage relate to this situation? For you to receive full credit, please make sure you provide an accurate analysis based on the knowledge of comparative advantage to this given situation. Please do not refer to other sources, other than your textbook. (Due: Day 4(Thursday) by 11:59pm; word count: minimum 300 words).

In: Economics

If you could build your own personal computer, what components would you purchase? Put together a...

If you could build your own personal computer, what components would you purchase? Put together a list of the components you would use to create it, including a computer case, motherboard, CPU, hard disk, RAM, and DVD drive. How can you be sure they are all compatible with each other? How much would it cost? How does this compare to a similar computer purchased from a vendor such as Dell, HP or Apple?

Produce a Word document: outlining the components you would choose for a PC of your own design. Limit your cost to $1500. at the end write a paragraph summary explain why this would be better or worst than purchasing from Dell, HP or Apple etc.

In: Computer Science

Bill Daniels was an extraordinarily successful businessman whose professional career centered on integrity, honesty, respect, and...

Bill Daniels was an extraordinarily successful businessman whose professional career centered on integrity, honesty, respect, and a fair outcome for all involved. His ethical standards were practiced daily throughout his life from his first business in Casper, Wyoming, to his cable business success in Denver, Colorado, to the Bill Daniels Foundation he created, one of the largest foundations in the Rocky Mountain region. Bill Daniels was known as a man whose word was his bond.

Part I

Bill Daniels was born in Greely, Colorado, in 1920 and grew up during the Depression. After attending the New Mexico Military Institute and serving as a combat pilot during two world wars, Daniels began his first business in the early 1950s. He opened a small insurance agency in Casper, Wyoming, the Bill Daniels Company Insurance. When one of Daniels’s clients filed a final claim for $11,000 due to a loss the client had sustained, Daniels discovered the insurance company he had represented and written the policy on had declared bankruptcy. The policy that Daniels had written was worth nothing. Daniels felt personally liable since he had sold the insurance policy to the client and the client had purchased the policy based upon Daniels’s representation and word. Bill Daniels felt terrible. Eleven thousand dollars was a huge loss. Daniels knew he had done nothing wrong professionally; yet the client had made the purchase based upon Daniels’s advice and it was the client who now had no insurance coverage.

  1. What are the legal requirements since Daniels sold the policy? From a business perspective, what is Daniels’s obligation to the client? What is the ethical course of action for Daniels to take in this situation? What would you do if you were Daniels?

In: Operations Management

Respond to each item. Each response should be concise and between two and three paragraphs in...

Respond to each item. Each response should be concise and between two and three paragraphs in length.

Use MS Word to write your responses, and submit your answers to all three questions in one Word document.

Copy and paste each question within the document, so that your Instructor can see which question you are responding to.

Nurturing relationships between caring adults and children have the power to heal troubled lives" (Rice & Groves, 2005, p. 18). Based on the Child Trauma Toolkit and the essay "Respectful Teaching with Infants and Toddlers" from Concepts for Care, identify three strategies that can be used by child development professionals to develop nurturing relationships between adults and children. How can each of the practices you identified contribute to children's development of resiliency?

Appropriate guidance and socialization strategies support the healthy mental development of all young children. Based on the essay "Socialization and Guidance with Infants and Toddlers" from Concepts for Care and explain, using examples, how attention to developing and fostering healthy interactions within a respectful environment can both cultivate infant/toddler mental health and foster resilience.

Although children may unfortunately experience many different kinds of trauma, behavioral signs and symptoms of trauma are fairly consistent across children. Strategies supporting the development and learning needs of children who have been traumatized require quality, individualized caring and learning experiences that are in tune with each child's unique emotional needs (Rice & Groves, 2005). Review the Child Trauma Toolkit. Identify and explain two teaching strategies that meet the development and learning needs of all children, including those who are most needy, and two adaptations, or special considerations, that child development professionals may need to be mindful of with children who have been traumatized.

In: Nursing

You are on a plane traveling to visit family (pre-Covid 19) and you scroll through some news headlines on your tablet.

Answer the following questions. Please type using a word processing program and bring a printed copy to class. Write as much or as little as you feel necessary to answer each question to the best of your ability. You may use all available resources to complete this case – e.g., lecture slides, notes, your book, and the Accounting Standards Codification. Collaboration with others in your group is allowed to the extent that it is helpful. How you work together is up to you – however, I encourage everyone in the group to take at least some part for every question. Please turn in only one finished assignment for each group. Use appropriate citations where relevant and according to your professional judgment. For questions requiring use of the codification, please use the following style: 1) Cite the ASC down to the Paragraph. For example, (ASC 330-10-05-01) 2) Copy-paste the paragraph you cite from the codification into the word document. 3) Interpret the codification paragraph into ‘plain English’ as best you can. In other words, how would you explain the appropriate accounting treatment to a colleague, boss, or business partner who has a basic understanding of accounting? You may (and are encouraged to) use debits and credits or t-accounts to illustrate the accounting if appropriate.

You are on a plane traveling to visit family (pre-Covid 19) and you scroll through some news headlines on your tablet. You end up reading an editorial that discusses the changing nature of the economy. Specifically, the writer speculates that new technology will make the accounting profession outdated, since computers will automatically track and compile all financial data and make it easy for anyone with an online connection to access any data about a company’s operations that they wish. How will this affect your career prospects, as an accountant-to-be?

In: Accounting

IN JAVA pls Standard telephone keypads contain the digits zero through nine. The numbers two through...

IN JAVA pls

Standard telephone keypads contain the digits zero through nine. The numbers two through
nine each have 3~4 letters (case insensitive) associated with them. Many people find it
difficult to memorize phone numbers, so they use the correspondence between digits and
letters to develop seven-letter words that correspond to their phone numbers. For example, a
person whose telephone number is 686-2377 might remember it as "NUMBERS."
Digit Letters
2 A B C
3 D E F
4 G H I
5 J K L
6 M N O
7 P Q R S
8 T U V
9 W X Y Z
2. Each seven-letter word corresponds to exactly one seven-digit telephone number, but a
seven-digit number corresponds to many seven-letter strings, most of which are not words.
3. In this project you will develop a program which will find all the corresponding English
words given any specific telephone number. Here are the detailed requirements:
a. create a static void test() method.
b. The test method will first ask the user to type in through keyboard a 7-digit telephone
number.
c. If the number typed in by the user is not 7 digits or the number contains some number
of the digit ‘0’ or ‘1’, then your program reports an error and asks to type in another
number.
d. If the number typed in by the user is a 7-digit telephone number made up of the digits
‘2’ through ‘9’, then your program will print out all the English words corresponding
to the telephone number (and the total number of them), using the given English
word library in the EnglishWordList.txt”.

EnglishWordList.txt contains the following words

abalone

abandon

abasers

abashes

ablates

caffein

In: Computer Science

Essay Topic: Using specific examples of cultural productions from three cultures we have studied -Sumerians, Archaic...

Essay Topic: Using specific examples of cultural productions from three cultures we have studied -Sumerians, Archaic Greeks (800-480 BCE), Classical Greeks (480-323 BCE)- explain how cultural values and ideals are reflected in the creation and style of cultural productions.  For each culture you must discuss the literature AND one other cultural production of your choice (ex: sculpture, architecture, pottery).  In discussing the literature, you are expected to examine the primary sources we have read for class (The Epic of Gilgamesh, The Iliad, and the works of Plato) and should utilize minimal plot summary.


Failure to meet the following requirements may result in the loss of points:


  • Essays must follow a 5-paragraph format and have an introduction, thesis statement that argues a point, a body of evidence, and a conclusion. All essays must use evidence taken from the text and class, citing important names and dates when necessary. If you are unfamiliar with the five paragraph format follow this link.
  • The text book and announcements should be your only source of information for this assignment.  Outside materials should not be used in the crafting of the paper.
  • Use your own words, but quote or cite the text as you need.  If you must quote, use no more than one short quote per paragraph.
  • Failure to apply adequate or consistent MLA citation will result in point penalties.  Simple MLA style should be used for all citations.
  • Papers should be between 900-1200 words. Failure to reach the word minimum will result in point penalties.  Exceeding the word maximum by 30 words will result in point penalties.
  • Clear and concise prose is essential to the written form and will be taken into account in grading.

  • Papers should illustrate the student

In: Other

Linux Scripting Exercises Step 1: Using the nano text editor, enter the code below and save it as welcome.sh, change its permission to executable, run the script, and answer the questions below ( 1.1-1.5):

 

Linux Scripting Exercises

Step 1: Using the nano text editor, enter the code below and save it as welcome.sh, change its permission to executable, run the script, and answer the questions below ( 1.1-1.5):

#!/bin/bash

#

echo ”Hello $user”

echo ”Today is `date` ”

echo ”I feel $argv[1]” today

echo ”The following users are logged in: `users`”

Explain and number your answers for 1.1-1.5 below:

1.1. $user does in line 3

1.2. `date` does in line 4

1.3. $argv[1] does in line 5

1.4. `users` does in line 6

1.5. What would happen if you tried to execute the script as follows?

./welcome.sh

Step 2: Using the nano text editor, enter the code shown below, save it as word.sh, change its permission to executable, run the script, and answer the questions below ( 2.1-2.4):

#!/bin/bash

#

set a1 = One two three

set a2 =”One two three”

set a3 = ’One two three’

set a4 = One two three)

set a5 = $a2

set a6 = $a2 $a3

set a7 = $a2 $a3

#

echo $a1 $#a1

echo $a2 $#a2

echo $a3 $#a3

echo $a4 $#a4

echo $a5 $#a5

echo $a6 $#a6

echo $a7 $#a7

echo $a7[2]

Explain and answer 2.1-2.4 below:

2.1. What does echo $a1 $#a1 do?

2.2. Which shell variable has the greatest number of words?

2.3. Which shell variables have one word and include spaces in the word?

2.4. What would happen if you tried to execute the script as follows?

./word.sh

In: Computer Science

HART NOTE-JOHN SMITH S:        This is a 54-year-old male who presents with fatigue. He also has...

HART NOTE-JOHN SMITH

S:        This is a 54-year-old male who presents with fatigue. He also has headaches. Because of a history of some visual field deficits during his headaches, his ophthalmologist ordered an MRI of the brain. I reviewed the films and did not see anything but the expected post-surgical changes of the brain. Lab tests show that he does have some residual function of the pituitary gland, so his endocrinologist only placed him on testosterone patches and thyroid hormone replacement (Synthroid). He also has a history of depression, which could explain the fatigue and headache, or they could be due to low thyroid replacement levels.

O:        HEENT: Normal. Lungs: Clear to auscultation. Cardiovascular: Regular rate and rhythm, without murmurs, rubs or gallops. Abdomen: Nondistended, nontender. Extremities: No edema.

A:        1. Fatigue. Possibly hypothyroidism. Will check T3, T4, and TSH levels.

            2. Headache, possibly within the context of depression. He is on a rather low dose of an antidepressant drug at this time.

            3. Hypopituitarism.

P:        1. Will obtain an FSH, LH, free and total testosterone, and baseline ACTH.

            2. Follow up in 1 week

Edward Norton, MD

I need to answer these question please

1.  Divide endocrinologist into its word parts and define each part.

2. Divide hypopituitarism into its word parts and define each part

3.  What is the abbreviation for thyroid-stimulating hormone?

4. Besides the physician who dictated this report, what two physician specialists have recently seen this patient?

9.  Why is the patient taking Synthroid?

10. The patient’s fatigue, headache, and visual field defect could be signs of a recurring tumor in the brain. What test has already been done to look for a tumor?

In: Nursing