Write a program that will calculate course and overall final mark (averages). You write a universal program that does this for any number of courses and assignments in a course. (To make it simple all the courses will have an equal number of assignments) Help: Your program 1) should take input from users to form a array of pointers for courses/assignments, 2) then take input of marks to calculate the averages and 3) output per-course and overall results Example: Input 3 3 3 4 4 1 4 2 Output Course 1: final 3 grades: 2 3 4 Course 2: final 3.33 grades: 4 5 1 Course 3: final 3 grades: 3 4 2 Overall final 3.11
Q: Students in a basic statistics class are allowed to take as much time as needed on their final exam....
A: Students in a basic statistics class are allowed to take as much time as needed on their final exam....
Q: What does a negative cycle on a graph mean? What may be done with a negative cycle graph to discover...
A: A negative cycle is one in which the overall sum of the cycle becomes negative.
Q: b) Describe an algorithm that decides, given any two binary trees T, and T,, whether the tree T, equ...
A: a) Describe an algorithm that decides,given any two binary trees T1 and T2,whether the tree T1 equal...
Q: Question 3 You are given the description of a hotel management system. Convert the description into ...
A: Class diagram in UML is a type of static structure diagram which describes the structure of a system...
Q: Examine the benefits and drawbacks of switching from a custom data generation solution to an enterpr...
A: The "conversation" between consumers and businesses may be predicted and influenced by artificial in...
Q: 18. The following table shows the fields of DNS resource records. Complete the table. Type Name Valu...
A: The full table is giving below.
Q: What languages seem to be used the most to create PC/Mac operating systems? Why? What languages seem...
A: As per our guidelines, we are supposed to answer only 1st three parts. Kindly repost the remaining q...
Q: ionA = (3./(2*pi*k).^2).*(exp(-1i*2*pi*k/3).*(1i*2*pi*k/3 + 1) - 1); EquationB
A: Lets see the solution.
Q: I want to throw an IllegalArgumentException type exception in my code even if it does not arise on i...
A: when illegal argument is passed within a method then at runtime an expception called illegalArgument...
Q: What is an address mode, and how does it work?
A: - We need to talk about address modes.
Q: Write a python program that generates all the permutations of an ordered set that that do not have i...
A: Algorithm: Start Import permutations for itertools Initialize a list s with [1,2,3,4,5] Using permu...
Q: If two conties have conflicts and used Cyber Warfare, affects of Cyber warfare on the country being ...
A: Cyber-attack is a criminal or military operation which attempts to destroy the functionality or avai...
Q: Using the scenario, produce Design Documentation for Plug-Ins Electronics. Your database design docu...
A: ER Diagram abbrivation for Entity Relationship Diagram, also known as ERD is a databse diagram showi...
Q: 2 3. soL ve in
A: Answer
Q: Facts: System design is the process of d
A: Ans- Purpose of System Design- It provides details of data which are sufficient and provides s...
Q: Give algorithms& code in java that find if two given nodes in a general tree are siblings or not for...
A: Lets see the solution in the next steps
Q: mes to performance, what are the id
A: When it comes to performance, what are the ideal RAID levels?
Q: Explain the operation of following instruction (a) ADD CL, [BP] (b) ADD BX, TEMP[DI] OADD IBX+DIJ.DL
A: Note: if multiple questions posted in one question then only first 3 parts answers can be given. ans...
Q: C++ Demonstration #1; The manager of a football stadium wants you to Write a program that calculate...
A: - We need to write a program for the total tickets sold and the total amount.
Q: To manage user security privileges, network administrators construct domain groups. What is the purp...
A: Purpose of creating domain groups is given below :
Q: 6. Solve the travelling salesman problem for the weighted graph shown below. a) B De 9. b) B DE 3) 7...
A: The traveling salesman problem is an algorithmic problem tasked with finding the shortest route betw...
Q: #include #include using namespace std; 5 int main() { int num, sum=0; cout > num; 10 11 cout <<" the...
A: Lets assume n = 173 So sum will be 11 lets dry run your code
Q: In microcontroller configuration, which one is preferable? (active low or active high) Why? Q2)
A:
Q: Prove that in any simple graph G (i.e. no multiple edges, no loops) there exist two distinct vertice...
A: Let there be n vertices in our simple graph. And let that graph have all vertices with distinct degr...
Q: diagra
A: Class Diagram in UMLThe class diagram depicts a static representation of an application. It displays...
Q: 40 } (2.3.1)Produce a CFG of the partition function. Leverage the table based def-use pair approach ...
A: It is defined as context-free grammar. It is is a formal grammar which is used to generate all possi...
Q: Write a program that accepts dates written in numerical form and outputs in complete form. Enter d...
A: here in question In this c code, there are 3 variables m, d, and y for storing month, day, and year....
Q: Draw appropriate UML class diagram for Banking Management System. Banking Management System Class Di...
A: Actually, Unified Modeling Language (UML) is a general purpose modelling language. UML defines a sta...
Q: Which type of SHA was created by a group of private designers?
A: SHA, (secure Hash Algorithms) is a set of cryptographic designed to protect facts, which works by m...
Q: You are going to write a MIPS program that does the following (there is C++ sample code below to exp...
A: Actually, program is an executable software that runs on a computer.
Q: (Find the number of years) Write a program that prompts the user to enter the minutes (e.g., 1 bill...
A: start input minutes calculate number of years and days print it stop
Q: erform a comparative analysis that studies the collision rates for various hash codes for character ...
A: SUMMARY: -Hence, we discussed all the points.
Q: Would you help me here! I get a wrong in my php code and I couldn't solve it. PHP Syntax Check: ...
A:
Q: Write a program which should consists of a user defined function “Task ()”. Pass 1D array to the ...
A: Let's see the code in the next steps
Q: I need a code of this in C language. Instructions: Your task is to ask the user for the number of ...
A: Here is the detailed explanation of the c program
Q: s NFA and DFA State TWO characteristics of an NFA graph
A: As per guidelines, we can solve only one question at a time. Hence submit the question for further a...
Q: In terms of the bus that connects the CPU and the memory, would you propose using synchronous or asy...
A: Synchronous buses are clocked, and instructions are executed only at the clock ticks. Every device i...
Q: What role do Fiber Carriers: SONET /SDH and OC play in today's communications 2 paragraphs
A: SONET stands for Synchronous Optical Network. SONET is a Bellcore-developed communication protocol f...
Q: explain the difference between (pi), (p-hat), and p-value
A: explain the difference between (pi), (p-hat), and p-value
Q: Prompt the user for 10 data entries as Names, another 10 as weights corresponding to the names, anot...
A: Code: (change 3 in for loop to 10 to take 10 values) def bmr(h,w): return((int((h/w)*100))/100) ...
Q: While it generally bad practice to hide worksheet, this may be appropriate for some cases. Which of ...
A: Explain bad practice to hide worksheet, which is appropriate this cases. protecting a worksheet hidi...
Q: I want to move all the vowels of a user entered string to the left side and move all the consonants ...
A: The C++ program below demonstrates how to remove vowels (a,e, i,u,o) from a string. In this case, we...
Q: When compared to more rigorous, computer-aided algebraic methods such as those employed in process s...
A: When compared to more rigorous, computer-aided algebraic methods such as those employed in process s...
Q: vern data link layer sta
A: Below the rules that govern data link layer standards
Q: An n-bit Gray code is a list of the 2n different n-bit binary numbers such that each entry in the li...
A: The recursively append the bit 0 and 1 each time till the number of bits is equal to n The base case...
Q: create assignments for algorithms with given running time:
A: Given running time is O(n) This can be achieved if we use a single loop for iteration Let's see few ...
Q: The post order traversal for the given Binary Search Tree is: Root Node 30 15 60 7 22 45 75
A: Post Order Traversals in Binary Search tree - Left, Right, Root Order is - 7, 22, 15, 45, 75, 60, 30
Q: Create a class IntegerSet for which each object can hold integers in the range 0 through 100. A set ...
A: Task Create a class IntegerSet for which each object can hold integers in the range 0 through 100. A...
Q: i) Write a JAVA program to input the elements of an integer array of size 10 and then print the sum ...
A: Answer
Q: Designing stack structures, accumulator architectural designs, and general-purpose register architec...
A: On the basis of registration Possesses a pool of registers, each of which has a purpose (meaning the...
Pls help answer this question in C++ code using pointers and arrays of pointers. ANSWER NEEDED ASAP I WILL UPVOTE
Step by step
Solved in 4 steps with 4 images
- Create a dynamic array that contains an int array. dynamic array, array inside when the existing array is full and a new element needs to be added will double its size, make all the elements of the old array the same will copy the indexes and add the element to the new array. Use the following functions. Write in C language. 1.append(dynamic array, new element): function sent to itself Adds the element sturct to the end of the array inside DynamicArray. Place If not, it behaves in accordance with the dynamic array definition given above. 2. get(index): The element in the index sent to it by the function takes it from the array it hosts and sends it back. ATTENTION ! : Please use a dynamic array and this array with struct structure. I don't want a link list. Do not post wrong or copied codes. Be sure to use the append and get functions given above Please do not solve the question I asked with the same code and copy and paste the code, my right to the question is running out. Solve the…Create a dynamic array that contains an int array. dynamic array, array inside when the existing array is full and a new element needs to be added will double its size, make all the elements of the old array the same will copy the indexes and add the element to the new array. Use the following functions. Write in C language. 1.append(dynamic array, new element): function sent to itself Adds the element sturct to the end of the array inside DynamicArray. Place If not, it behaves in accordance with the dynamic array definition given above. 2. get(index): The element in the index sent to it by the function takes it from the array it hosts and sends it back. Do not use link lists. Solve the question using array. Use it as a struct DynamicArray.Create a dynamic array that contains an int array. dynamic array, array inside when the existing array is full and a new element needs to be added will double its size, make all the elements of the old array the same will copy the indexes and add the element to the new array. Use the following functions. Write in C language. 1.append(dynamic array, new element): function sent to itself Adds the element sturct to the end of the array inside DynamicArray. Place If not, it behaves in accordance with the dynamic array definition given above. 2. get(index): The element in the index sent to it by the function takes it from the array it hosts and sends it back.
- Create a dynamic array that contains an int array. dynamic array, array inside when the existing array is full and a new element needs to be added will double its size, make all the elements of the old array the same will copy the indexes and add the element to the new array. Use the following functions. Write in C language. 1.append(dynamic array, new element): function sent to itself Adds the element sturct to the end of the array inside DynamicArray. Place If not, it behaves in accordance with the dynamic array definition given above. 2. get(index): The element in the index sent to it by the function takes it from the array it hosts and sends it back. Do not use link lists. Solve the question using array.WRITE A CODE IN C++ You work for an analytics organization have been tasked with writing a program that simulate a service desk. This service desk should be able to service 100 customers that can have one of three different priorities (high, medium, and low). The duration for any customer is a random number (between 5 minutes and 8 minutes). Code a modular program that uses parallel arrays to store priority levels and service times for 100 service requests. The program must do the following: The program must first ask the user to run the simulation or quit the program using a menu. This must be done using a function that is called. Upon input of the menu choice, if the user inputs a 2, the program will exit, otherwise if the user enters a 1, the program must begin processing the 100 service requests. The program must use loops and random numbers to generate priority level (high, medium, or low) as well as the service time (between 5 and 8 minutes) for each request in parallel arrays.…In C Programming: Write a function inputAllCourses() which receives an array of course pointers and the array’s size, then allows the user to input all courses in the array by calling inputCourse()
- Write C++ Program to determine the max numbers between 2 arrays. For example: 6 3 1 34 7 2 11 20 Result 11 34 To resolve this problem, you should write 3 void functions: inputNumbers, testArrays and displayMaxArray. • inputNumbers: the aim of this function to read 10 numbers from the user and insert them in 2 different arrays (length of the array is 5). • testArrays: determine the max numbers between 2 arrays. displayMaxArray: print the array containing the max numbers.Add a function to get the CPI values from the user and validate that they are greater than 0. 1. Declare and implement a void function called getCPIValues that takes two float reference parameters for the old_cpi and new_cpi. 2. Move the code that reads in the old_cpi and new_cpi into this function. 3. Add a do-while loop that validates the input, making sure that the old_cpi and new_cpi are valid values. + if there is an input error, print "Error: CPI values must be greater than 0." and try to get data again. 4. Replace the code that was moved with a call to this new function. - Add an array to accumulate the computed inflation rates 1. Declare a constant called MAX_RATES and set it to 20. 2. Declare an array of double values having size MAX_RATES that will be used to accumulate the computed inflation rates. 3. Add code to main that inserts the computed inflation rate into the next position in the array. 4. Be careful to make sure the program does not overflow the array. - Add a…Create a LookupNames project using C++. In the main function:Ask the user to enter a number of names, X to quit input.Store the names in an array.Also use a counter variable to count the number of names entered. Write a function displayNames to display the names.The function must receive the array and the counter as parameters. Write a function called lookupNames.The function must receive the array and the counter as parameters.Ask the user to enter a letter.Display all the names with the letter that was entered as the first letter of the name. Call the displayNames and lookupNames functions from the main function. Tip: declare your functions above the main() function: void displayNames(char array[][60], int count){ // function code here} int main(){ // main code here displayNames(names, number); // possible more code here} Tip2: make sure your function parameter matches the data type you send as an argument to that function.In the above example, names and array should have the…
- Language: C++ Create a class called publication that stores the title (char array) and price (float) of a publication. From this class derive two classes: book, which adds a page count (int) and tape, which adds a playing time in minutes (float). Each of the three classes should have a getdata() function to get its data from the user using input from the keyboard and a putdata() function to display the data.Write a main function that creates an array of pointers to publication. In a loop, ask the user for data about a particular type of book or tape to hold data. Put the pointer to the object in the array. When the user has finished entering data for all the books and tapes, display the resulting data for all the books and tapes entered, using a for loop and a single statement such as: pubarr[j] -> putdata(); To display the data from each object in the array.Task: A shop sells a range of mobile devices, SIM cards and accessories as shown in the table (see screenshot): Write a program algorithm for this shop. - Your program or programs must include appropriate prompts for the entry of data; data must be validated on entry. - Error messages and other output need to be set out clearly and understandably. - All arrays, variables, constants and other identifiers must have meaningful names. You will need to complete these three tasks. Task 1 – Setting up the system. Write a program to: - use appropriate data structures to store the item code, description and price information for the mobile devices, SIM cards and accessories; - allow the customer to choose a specific phone or tablet; - allow phone customers to choose whether the phone will be SIM Free or Pay As You Go; - allow the customer to choose a standard or luxury case; - allow the customer to choose the chargers required (none,…This is for a C++ class Part 2a: Find the Median Write a program that prompts the user to enter a number of estimated home values (integers). First, ask the user how many estimates will be entered and then prompt for and store those values into an array. Your program should then compute the median estimated home value. Note that you will need to first sort the estimates in ascending (or descending) order before you can compute the median. Display the median value. Your program should use pointers to the array. Hint: you may consider writing a function that accepts the array of integers in sorted order and an integer representing the array size and return the median value. Part 2b: Password Verification A secure password is critically important in today's world. Organizations typically have stringent requirements to ensure a password is complex enough so as not to be easily hacked. Write a program that will accept as input a potential password and determine whether or not it is…