Ace - AI Tutor
Ask Our Educators
Textbooks
My Library
Flashcards
Scribe - AI Notes
Notes & Exams
Download App
kathryn bailey

kathryn b.

Divider

Questions asked

BEST MATCH

C++ using namespace std; Write a program that keeps track of students’ information in a class. The program should use a structure (name it Students) to store the following data about a student: name (c string of capacity 81. Name contains a space. You may hardcode 81) id (integer) grade (double) your program should keep an array of students. It should also have the following organization and menu choices. Use a loop to allow the user to repeatedly choose from the following menu choices: 1) Edit a student 2) View a student’s info 3) Display a count of how many students are in the list . 4) Quit // display “Finished!” There is no need to create functions, but for each of the menu options: Edit a student Ask user for an index number and allow entry of all data for a particular student on that index. Display student’s info in the format of [ID.name grade] View a Student’s info Ask user for an index number and display all data of that student. View will only work for an entry with a real name, not a “-“. Display an error message if there is a “-“ as name on that index. Remember to compare using strcmp(student.name, “-“) == 0; Count how many students count for names that are not a “-“ again, be sure to use strcmp Data Storage: Data should be stored in an array of structures. The array should hold 10 structures. All elements of the array should be initialized to { “-“, 0, 0}. This will make it easy to determine if a structure at an index position has been used to store a student's information (see menu option 2 and 3.) const int SIZE = 10; Students students[SIZE]......//initialization should be done here Input Validation: • For view option (option 2) . Ask user to re-enter an index if there is no student on that index (i.e. name is “-“) • User input for index must be between 0-9 • Menu options can only be 1, 2, 3 or 4. Other Requirements • Line separator used in the display has 60 ‘*’. Define a string variable name “line” to handle this task. string line(60, '*'); • Use cin.ignore() between cin>> and getline function • Name should be a c-string, do not use string • •

View Answer
divider
BEST MATCH

Does mycobacterium tuberculosis give or recieve DNA by horizontal gene transfer? If so, what type?

View Answer
divider
BEST MATCH

Your wellness action plan should begin quickly and progress as fast as you can. not include friends and family. not incorporate variety in your actions. adapt to changing schedules.

View Answer
divider
BEST MATCH

A patient has developed mitral valve insufficiency due to damage from a myocardial infarction. Which chamber of the heart is likely to experience an increased volume of blood due to this injury? Right atrium Right ventricle Left atrium Left ventricle

View Answer
divider
BEST MATCH

There is a natural limit to economic growth from accumulating capital because of: diminishing returns. increased innovation. the presence of labour unions. I DON'T KNOW YET

View Answer
divider
BEST MATCH

Find the singularities of the function (frac{z*ln(1 - z)}{sin^2(z)}) For each pole, calculate the Laurent series and calculate the residue at each pole.

View Answer
divider
BEST MATCH

There are 24,000 students attending a private college. There are 10,800 evening students. What percent of all students are the evening students? Evening students are % of all the college's students.

View Answer
divider
BEST MATCH

7. Given $f(x) = x^4 - 6x^3 - 24x^2 + 10$, find $f'(x)$, $f''(x)$. For which of the following values of $x$ does the graph of $f(x)$ have a point of inflection? Please sketch $f(x)$, $f'(x)$ and $f''(x)$. (6 marks)

View Answer
divider
BEST MATCH

r (cm) x (cm) 0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 5.5 0 2.9 2.86 2.8 2.72 2.6 1.8 0 5 2.86 2.8 2.74 2.66 2.5 1 0.08 0 10 2.82 2.76 2.7 2.56 1.9 0.9 0.4 0.1 0 15 2.74 2.7 2.6 2.2 1.4 0.88 0.5 0.2 0.08 0 20 2.64 2.56 2.4 1.7 1.2 0.7 0.48 0.3 0.12 0.08 0 25 2.4 2.3 2.02 1.52 1.14 0.8 0.54 0.34 0.22 0.14 0.04 0 T=20°C Note: All the measurements are in inches of water 4. Calculate the rate of change of jet momentum w.r.t. to time for each axial position, x=0; 5; 10; 15; 20; 25 cm by integration.

View Answer
divider
BEST MATCH

Here are some articles from the library that examine ways to improve mental health awareness and destigmatize mental health: 1. Hofmann, S. G., & Hinton, D. E. (2014). Cross-cultural aspects of anxiety disorders. Current psychiatry reports, 16(6), 450. This article reviews cultural factors that influence the etiology and presentation of anxiety disorders. 2. "Suicide Prevention Strategies" by Centers for Disease Control and Prevention. This website provides strategies for suicide prevention at both micro- and macro-levels. 3. "Suicide Prevention" (2018) by American Psychiatric Association. This website provides information on the signs of suicide and risk factors associated with suicide.

View Answer
divider