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

melanie s.

Divider

Questions asked

BEST MATCH

Create a payroll program to store and calculate the payroll for a small company with a minimum of 4 employees and a maximum of 200 employees. Program parameters are as follows: Create a menu with the following options (use a do-while loop): A or a to add employee info D or d to display employee info V or v to delete employee record. T or t to display total payroll S or s to display the info of all employees C or c to display the current count of employee Z or z to exit program Repeatedly ask the user for the number of employees in the company, and when you get a valid number, create the exact size array to fit the information for each employee, which is employee number, hours worked, pay rate per hour, tax deduction. (columns will represent employees) Use an array of doubles to store employee information. Option A or a: ask the user for the employee information one value at a time and store it in the array. Please enter employee number: 2190 Please enter hours worked: 32.50 Please enter pay rate: 9.25 Please enter tax rate deduction: 5.50 Option D or d: ask the user for an employee number as integer and display the information for the corresponding employee (cast the employee number in the array to integer and then compare). If employee number does not match, output a msg. indicating "no such employee". If the employee number is a match, output all the employee information stored in addition to the calculated deduction and salary. Output sample: Info for employee number: 2190 Hours worked: 32.50 Pay rate: $9.25 Tax deduction: 5.50% Total pay: $ 284.09 Option T or t: calculate and output the sum of the total pay of all employees. Option S or s: display the information for all employees in the same format as in option D. Option Z or z: exit the program. Add a delete employee record option V or v that will delete the employee record and move the last employee record in the array to the empty slot of the deleted record. Add a C or c option that outputs the count of employee records in the array.

View Answer
divider
BEST MATCH

In the future, \_\_\_\_\_\_\_ might allow two friends to check out a selection of bowling balls even when the two friends are in different cities and neither one is near a store. O beacons O augmented reality O RFID tags O artificial intelligence

View Answer
divider
BEST MATCH

Which of the following is NOT an action that the Government of Canada has taken to ensure maximum compliance while minimizing the "tax gap" in Canada? Question 15 options: Significant resources have been invested in data analytics resources and training to determine taxpayers and industries that are more likely not to be paying their taxes More CRA staff have been hired to respond to taxpayer and advisor questions and concerns in person and over the phone More CRA staff work on processing and auditing taxpayer returns, notably adding special audit teams that target specific areas of the Canadian economy such as home improvements and real estate sales Increase in measures to limit immigration on a go forward basis

View Answer
divider
BEST MATCH

Part 4 of 6 - Center of Mass within an Object Madhur and Jayden consider a system made of two spherical masses. How can Madhur describe the circumstances that could allow the center of mass of this two-mass system to be located inside one of the masses? "The two masses are equal and their respective centers of mass are separated by a distance greater than their combined radii." "The two masses are point particles." "The two masses are equal and are in contact with each other." "One mass is much greater than the other."

View Answer
divider
BEST MATCH

Julio is a student with a physical disability. Because of this, he faces many problematic stereotypes. Which of the following is true regarding the cognitive and academic abilities of students with physical and health disabilities?

View Answer
divider
BEST MATCH

How might a rescuer recognize that a viotim is experiencing a traumatic arterial bleed? Dark red blood oozing from the wound Small amount of bright red, coagulated blood oozing from the wound Bright red, pulsating or spurting blood, coming from an uncovered wound Small amount of dry, dark red blood that has stopped bleeding How might a rescuer recognize that a victim is experiencing a traumatic arterial bleed? A Dark red blood oozing from the wound B Small amount of bright red, coagulated blood oozing from the wound Bright red,pulsating or spurting blood, coming from an uncovered wound Small amount of dry,dark red blood that has stopped bleeding

View Answer
divider
BEST MATCH

With increasing number of covid cases the Sindh government decides to have center in each city where patience can get vaccine. You are required to store information in database in such a way that patient get booking for vaccine first then a room is assigned in particular schedule. The following tables form part of a database schema: Center (CenterNo, CenterName, city) Room (roomNo, CenterNo, type) Patient (PatientID, PatientName, PatientAddress) Booking (BookingID, PatientID, dateFrom, dateTo, roomNo) Where Center contains Center details and CenterNo is the primary key; Room contains room details for each Center and (roomNo, Center No) forms the primary key; Booking contains details of bookings and (BookingID, PatientID) forms the primary key; Patient contains Patient details and PatientID is the primary key. 1. Identify the candidate and foreign keys in the schema. Explain how the entity and referential integrity rules apply to these relations. 2. Create an ER diagram for above schema that represents possible relationships among entities.

View Answer
divider
BEST MATCH

Write a function named total_circle_area that accepts a list of real numbers representing the radii of the circles as a parameter and returns the sum of the areas of a group of circles, rounded to the nearest integer. Recall that the area of a circle of radius r is $\pi r^2$. For example, if the list is [3.0, 1.0, 7.2, 5.5], your function should return 289. If the list is empty, return 0. Use Python's functional programming constructs, such as list comprehensions, map, filter, reduce, to implement your function. Do not use any loops or recursion in your solution.

View Answer
divider
BEST MATCH

Question 6 The ______ amplifier configuration has the lowest input resistance compared to the other configurations CB CE CC a & c

View Answer
divider
BEST MATCH

At 65.0 °C, a 18.0 L vessel is filled with 9.25 moles of Gas A and 9.00 moles of Gas B. What is the total pressure?

View Answer
divider