pseudo code algorithm to process the requirement.
Q: a. case A iS when load => B B B B<= div; RESULT <= NUM(2)/c; end case; b. if NUM(4) = 7o then c<=…
A: The answer for a and b is given below with explanation
Q: © ৭:r * For the following script, if n=4 then the result is 24 -12 #include using namespace std;…
A: Correct Answer False is the correct option Explanation:- This is false because n was not declared in…
Q: Rewrite the given cursor using for loop: DECLARE emp rec employees°rowtype; CURSOR emps IS SELECT *…
A: Here in the declare section, I have created a cursor that extracts all the employee's data. Next, in…
Q: Q2. After the successful conduct of Mid Term Examinations, the HOD of the Department of Examinations…
A: The given problem is to be solved in C language where the grade of the student is to be displayed…
Q: 2. Create a simple program that records, update, displays and delete student information.…
A: class Student: def __init__(self): self.studData = [] def…
Q: Computer Science 8. Write a macro that: a. Ask users with an input box which information they want…
A: The answer is given below.
Q: d) Calculate and display the amount to be paid by each patient after deducting insurance company…
A: Add your Id and name inside <> at line 2 and line 3
Q: Convert the NFA N below to a DFA D = (Q', E, 8', q' , F') using the approach from Lecture 7 and…
A:
Q: C++ Exercise A: In this exercise, you are asking the user to set a alpha numeric password for any…
A: #include<iostream> using namespace std; //Define a function to test whether a password is…
Q: On-line data entry is most suitable in the case of a. processing payment of cheque in a bank b.…
A: Dear Student, On-line data entry is most suitable in the case of processing payment of cheque in a…
Q: Booster shots for Covid-19 were highly recommended for those in vulnerable and high-risk groups. The…
A: Answer: I have done code and also I have attached code and code screenshot as well as output
Q: Exercise C: The goal is to find all the pairs of keywords such that at least 1000 documents contain…
A: #include <stdio.h> #include <stdlib.h> int main() { FILE *fp; char…
Q: (a) A Difference В Borrow
A: The vhdl code is given below:
Q: 1. Write the JSF code to display the below output shown in "Figure-A":…
A: created one html and one php file that is below.
Q: Write a function to find out the employee record from this database on the basis of Emp_id. b. Write…
A: I am creating structure as follows : struct Employee{ int Emp_id; string Emp_name; string Emp_city;…
Q: DATA Step Merge Below is the input data set work.employees: Below is the input data set…
A: The below code will rename Id column to idnum and and merge work.employees with work.salaries to…
Q: Write a function to find the average of salary for instructors. header of function…
A: create table instructor ( ID char(5), name varchar(20) not null, dept_name varchar(20),…
Q: means that requirements should not have contradictory definitions Select one: O a. Bid O b. Readable…
A: Because the set of statements is logically consistent when it involves no logical contradiction.
Q: IN SCALA COULD YOU COMPLETE THE FUNCTIONS: get_january_data, get_first_price, get_prices,…
A: Coded using Scala.
Q: Write a record of a staff using struct mechanism. The staff record consists of name and position…
A: // using nested struct to implement name and position struct Name{ string firstName; string…
Q: Rearrange the code blocks below into the proper order by dragging drop them in the yellow box below.…
A: GIVEN: Create a C program by rearranging the code blocks. This program will use a struct that will…
Q: Muscat College wants to maintain the students' record using a CodeBlocks Program. They want to add a…
A: C++ program used to answer this question
Q: PROBLEM -0260: Follow the flow chart and the group of items given to write a program called…
A: This is a complete program which consists of a MAIN PART and a SUBPROGRAM. The MAIN part reads in…
Q: ate key for text “This is final exam of 21SP” and store it in a file called exam.txt.
A: Write program to generate digital signature using DSA private key for text “This is final exam of…
Q: C2. Prepare a Decision Table for the Airfare Discount problem. Also write the total number of…
A: Decision tree: A decision table is a tool used in management of testing and requirements. It is a…
Q: Q4 Answer Q4(a) and Q4(b) based on Figure Q4. DIY Sdn Bhd is selling retails goods. Customer may…
A: Answer: Q4(a)
Q: a) Create a new variable called RD (for run differntial). RD = RS - RA. b) Of the RS, RA,…
A: a) Creating a new variable called RD (for run differential). RD = RS - RA.
Q: Write a script file to make a table with x and y columns with 100 rows and plot the curve y as a…
A: import numpy as np import matplotlib.pyplot as plt def f(x,a,b,): return a*x**2+b*x xlist =…
Q: Create a function that removes the correct members from the input. Use the following examples to…
A: Algorithm - Created a Method with argument. use the logic in the below argument. push the sum of…
Q: CT018-3-1 Introduction to C Programming Individual Assignment Page 2 of 8 Assume that all these…
A: Since you are asking multiple questions, we are doing first question for you. If you want solution…
Q: how do i do this? in cell e2 enter a formula using the hlookup function as follows to determine a…
A: The Answer is
Q: Assume that UQU wants to perform the following operations on its retained records of students and…
A: A BST takes O(logn) time for searching element whether it is a average case or worst case and the…
Q: Create a function that removes the correct members from the input. Use the following examples to…
A: Algorithm - Created a Method with argument. use the logic in the below argument. push the sum of…
Q: QUESTION 1 Company DeliveryX is a delivery company. The shipping rates are calculated based on the…
A: Below I have provided a C++ program for the given question. Also, I have attached a screenshot of…
Q: Create a program is used to store and access "id, name and percentage" for 3 students. Sample…
A: Given:-
Q: Problem: Read your name, distance to college, cgpa and allowance. Find new allowance based on the…
A: Since no programming language is mentioned, I am using python Algorithm: Start Read student name…
Q: Create a function that removes the correct members from the input. Use the following examples to…
A: Algorithm - Created a Method with argument. use the logic in the below argument. push the sum of…
Q: The GTUC Company wants to produce a product orders report from its product orders file. Each record…
A: Pseudocode This is one of the approaches that could be used to represent a program's algorithm.…
Q: nstructions: Circle T if the statement is true, F if the statement is false, or write the best…
A: Given: Instructions: Circle T if the statement is true, F if the statement is false, or write the…
Q: Rearrange the code blocks below into the proper order by dragging drop them in the yellow box below.…
A: GIVEN: Create a program in C by rearranging the given code blocks. The given program uses structure…
Q: Write a procedure in PL/I that gives information about undergraduate alumni for a university's…
A: This is a simple data processing routine which contains some interesting format specifications. In…
Q: 9. The output should contain the following: Date Generated (This is the system date.) Employee Name…
A: import java.util.Scanner; public class Employee_Blanco { publicstaticvoid main(String[] args) {…
Q: Use the LOOKUP function to get the directory of a store A store sells different products in a big…
A: Lookup function: The function performs a rough match lookup either in a one-row or one-column range…
Q: Shortest remaining time and shortest process next have similar selection function. Select one:…
A: I have answered the question in step 2.
Q: Suppose the university has decided to announce bonus 1 point to employees those have Performance…
A: ratingsList=[]; #iterating for 30 elementsfor i in range(0,30): #input rating and convert to…
Q: (2) (a) Write a pl/Sql program to print the numbers in REVERSE order from 10 to 20. (b) When the…
A: (2) PL/SQL is a procedural language that includes decision-making, iteration, and other procedural…
Q: The program is to accept the HRest, age, gender of the athletic and display the type of sports that…
A: Given is a table of information which are the conditions for deciding a sport for an athlete once we…
Q: Write a stored procedure named printOrderFreights(). The printOrderFreights() procedure should use…
A: Answer: SQL Source Code: Example Table: create table Freights(FreightsID int not null primary key…
Q: An employer plans to pay bonus to each of his employees. Those earning Rs. 2000 or above are to be…
A: Pseudocode: Pseudocode is the informal, text-based description of the operations in the program or…
Q.No.10. An employer plans to pay bonus to each of his employees. Those earning Rs. 2000 or above are to be paid 10 percent of their salary and those earning less than 2000 are to be paid Rs. 200. The input record contains employee number, name and salary of an employee. The output should be employee name and their bonus.
Write pseudo code
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images
- Q2. After the successful conduct of Mid Term Examinations, the HOD of the Department of Examinations has called his team members to create the online mark sheet of the students. Also he told his team members to assign grade on the basis of percentage. Input Constraint 91<=marks<=100, Grade O 81<=marks<=90, Grade A 71<=marks<=80, Grade B 61<=marks<=70, Grade C 51<=marks<=60, Grade D 41<=marks<=50, Grade E Otherwise Fail Write a C program to find the grade of a student.1. Write an order to generate binomial data with the number of observations (n) being 50, the number of trials (size) being 5 and the probability of success being 0.5, then storing the results in the binomial data matrix, with the number of columns being 5. 2. Write an R statement to determine a number in the range 1 to 10 is odd or even. Use loop statements and is statements.(i) Draw a flowchart to show how SALESFILE is created by accepting data from the terminal for each record. The record consists of the code number of a salesperson, name of the person, and sales amount in a month. Write the algorithm of the solution. (ii) Consider SALESFILE from in problem 1. Construct a flowchart showing how a sales report is generated in the format outlined below: Continuation of the picture: The records have been kept sorted in ascending sequence of the Invoice Number. Accumulate the totals of the Gross Value, Discount, Sales Tax, and Net Payable amounts, and print the totals. Draw a flowchart showing the processing logic and write the algorithm of the solution. (v) A credit bureau maintains a master file that lists for, each of its customers, a unique identification number, name, current principal that the customer owes, and his or her credit limit. The credit bureau also maintains a transaction file that tracks its customers’ loans and…
- Exercise 1: (Algorithms and Flowcharts) To Calculate Profit on Sales (Provided P = S – C, P= Profit, C= Cost, S= Sales)(i) Draw a flowchart to show how SALESFILE is created by accepting data from the terminal for each record. The record consists of the code number of a salesperson, name of the person, and sales amount in a month. Write the algorithm of the solution. (ii) Consider SALESFILE from in problem 1. Construct a flowchart showing how a sales report is generated in the format outlined below:60. Write a C++ program that perform following tasks: a) Create a function Student() that prompt user to a student record. Student contains following details. - ID, Full Name, Email, Department and Phone Number. b) Store the input in file student.txt c) In main program call function Student() d) Program should prompt user that you want to enter a new record. If ‘Y’ ask user for new details. If ‘N’, program should terminate. (Use event controlled loop) Important: Do not copy codes from prepinsta.com.
- Computer Science Write a code to take input as course name and generate absent report for all students under that course. Absent report should contain student id, student name, total absent days and percentage of absenteeism?Implement the following programs in cpp code; 1. Write a program that takes input in 50 employees(id, name, salary, age) and write their data in file employee.txt and find from file salary of an employee with id 13.The Apgar Medical group keeps a patient file for each doctor in the office. Each record contains the patient's first and last name, home address, and birth year. The records are sorted in ascending birth year order. Two doctors, Dr. Best and Dr. Cushing, have formed a partnership.a. Design the logic that produces a merged list of patients' names in ascending order by birth year. (flowchart or pseudocode)b. Modify the program so that it does not display patients' names, but only produces a count of the number of patients born each year. (flowchart or pseudocode)
- Instructions C++ 8-17 A company hired 10 temporary workers who are paid hourly and you are given a data file that contains the last name of the employees, the number of hours each employee worked in a week, and the hourly pay rate of each employee. You are asked to write a program that computes each employee’s weekly pay and the average salary of all employees. The program then outputs the weekly pay of each employee, the average weekly pay, and the names of all the employees whose pay is greater than or equal to the average pay. If the number of hours worked in a week is more than 40, then the pay rate for the hours over 40 is 1.5 times the regular hourly rate. Use two parallel arrays: a one-dimensional array to store the names of all the employees (Name) a two-dimensional array of 10 rows and 3 columns to store the number of hours an employee worked in a week (Hrs Worked), the hourly pay rate (Pay Rate), and the weekly pay (Salary). Your program must contain at least the following…Q.3 A program is required by a company to read an employee‘s number, pay rate and the number of hours worked in a week. The program is then to validate the pay rate and the hours worked fields and, if valid, compute the employee‘s weekly pay and print it along with the input data.Computer Science 8. Write a macro that: a. Ask users with an input box which information they want to find. The possibilities for input are: 1. Cancelled 2. Received 3. Refund 4. complete b. Based on the input, the macro determines how many sales of the chosen kind exist in the 'Sales data' and shows the result in a message box. Use the do-until function to solve this solution .