Programming in C++..can you also please put a command so I can know what the fucntion of the coding..thank youu so much!
Q: Q3. A link has a signal-to-noise ratio of 2000 and a bandwidth of 12000 KHz. What is the maximum…
A: Introduction The maximum capacity of the data communication channel in the noisy channel is…
Q: Write a program that will display a table of trigonometric functions: sin x, and tan x for x is from…
A: The asked C++ program has been coded by using a for loop and code for the same is given in the next…
Q: Write a function that calculates: a = V(X +Y-Z) * 10 Solution by Matlab
A: Given: We have to write a Matlab program to Calculate that function.
Q: A line has a signal-to-noise ratio of 1000 and a bandwidth of 4000 KHz. What is the maximum data rat
A: The answer is
Q: What precisely is the term'multimedia'?
A: Introduction: Here we are required to explain what is the term multimedia.
Q: Explain why you favor websites with simple visuals in certain cases and those with more elaborate…
A: The appearance of affluence is conveyed to the viewer using expensive goods and activities. Being a…
Q: What does data encryption really mean? For network security, what does it mean?
A: Introduction: Network Security: Using the term "network security" encompasses a wide variety of…
Q: Q:A CISC has large variety of addressing modes typically O from 5 to 20 different modes O from 15 to…
A: Dear learner , hope you are doing well , I will try my best to answer this question. Thank You !!
Q: Write a C++ program to sort characters (numbers and punctuation symbols are not included) in a…
A: Program code: #include <iostream> using namespace std; //main function int main() {…
Q: What is the worst-case time complexity of binary search on an n-element sorted array? Explain.
A: In computer science, worst-case complexity refers to the number of resources required by an…
Q: Redundancy is a possibility when video is sent via a network. Two forms of redundancy are used by…
A: The following are two types of redundancy in a video: -> Spatial redundancy -> Temporal…
Q: My game over function thrwos an error though. I have attached a screenshot of the error an my code.…
A: An error occur in game over function in the above code
Q: Based on your experience investigating different sorts of cyberattacks, what would you do if you…
A: There are many types of cyberattacks are there so according to my experience following are the some…
Q: When there is a change in the topology of the network, how are the nodes in the Adhoc Network…
A: A network topology is the physical and logical arrangement of nodes and connections. Nodes usually…
Q: If AL contains signed integer -127 (10000001b) and you add 3 to AL, the Overflow flag will be set.…
A: The Answer is in step2
Q: To shut down the computer, manage processes, and connect to a Remote Desktop session, what…
A: Select Run from the remote computer's Start menu, then type the following command to shut down the…
Q: Mux, is a device that can be use to O select one from many O many from one O parallel input to…
A: INTRODUCTION: Here we need to tell MUX is a device that can be use to.
Q: Write a program to implement singly linked list i) Add the Elements to the List and remove the…
A: As per the question statement we need to write program for singly linked list for the given…
Q: hand wriiten solution on white page Make A the root Add B to the left of A Add C to the right of B…
A: Here in this question we have given some sequence of instructions to construct binary tree.and then…
Q: The inverse evaluation order of the Boolean expression : O Parenthesis - Not - And - Or O Or - And -…
A: INTRODUCTION: Here we need to tell the inverse evaluation order of the boolean expression.
Q: When working with windows systems, how can forensic investigators have access to both volatile and…
A: Nonvolatile: Volatile: Volatile data doesn't last. When memory loses power, it's gone. In an…
Q: Because Ethernet is a distributed local area network protocol, there is no centralised control node;…
A: A distributed system consists of different autonomous node groups that collaborate to accomplish a…
Q: "9", is a symbol that represent a number in Binary Decimal Octal O Hexadecimal
A: A binary digit is the minimum unit of binary information stored in a computer system.
Q: Let regular language L1 recognized by DFA (Q1,E,81,s1,F1) and regular language L2 recognized by DFA…
A: The answer is
Q: So, what are some heuristics you may use to improve the design of your system?
A: A good design system is reusable, resilient, and well-documented, regardless of the technologies…
Q: struct a MATLAB function to appl- value.
A: x = -3:0.1:3; y = x.^4 plot(x,y)
Q: Decoder can be considered as : MUX DEMUX ENCODER ADDER
A: Given question are multiple choice option selected question.
Q: What will be the output of the given program class A { int m-20, n%3D30; void display()…
A: According to the Question below the Solution: Program:
Q: Define a class called Box. Objects of this class type will represent boxes (that can store things).…
A: Programclass Box: """ Box class""" def __init__(self, label, width, height): """…
Q: You've been hired to build a database for a tiny company that recruits part-time students throughout…
A: Database Management Technique: The database management approach has the advantage of helping to…
Q: Write a python program that calculates and prints the square root of the odd numbers in the list…
A: PROGRAM INTRODUCTION: Import the required libraries. Declare and initialize the list. Use for loop…
Q: Q/ router and hub are a network devices true false O
A: Disclaimer: “Since you have asked multiple questions, we will solve the first question for you. If…
Q: The following graph shows the distances, in units of 100 km, between 12 cities. A 2 B 3 7 2 3 5 E 4…
A: Given: Units of 100 km between 2 cities. We have to find: Two different spanning trees and…
Q: A. What are the basic types of timers in PLC?
A: What are the basic types of timers in PLC?
Q: ex implement the following peration: complement bits 6
A: data stored in register A * =(9E) hex implement the following micro operation: by complementing bits…
Q: The shortest route between the source and the destination should be determined in a backbone…
A: This question tells you how to find the shortest path from the source to the destination in a…
Q: In the context of database administration, please explain how the time required to generate a…
A: Database Administration: Modern sales analysis reports provide managers and sales representatives…
Q: Write a C program to display the output below: ** ****
A: The following are steps need to be taken for the given program: Using two for loops to print lines…
Q: Multitasking, often called multithreading, is more common than background processes. Explain.
A: What is Multitasking? Multitasking is the ability of hardware, software, or any computer device to…
Q: What will be the output of the given program class A { int m-20, n=30; void display() 14 wed fout of…
A: The problem is based on the basics of inheritance in java programming language.
Q: B-Fill in the blanks with the following preposition(at, in, by ,on). 1- They arrived.. three O'…
A: The given question are MCQ type question.
Q: 14. Use Gaus3-Jordan elimination to solve the following linear system: -3x - 4y = -6 5x-y 10 O A.…
A: Answer in step 2
Q: at is the name at is responsibl
A: Enable interrupt register is used for enabling and disabling the interrupt. Basically EA interrupt…
Q: If your PC doesn't know its DNS server, you can't visit facebook.com. Why is ARP done before DNS?
A: You want to go to facebook.com, but your computer doesn't know what its local DNS server is. Which…
Q: What role does the internet play in the lives of people with disabilities, in your opinion?
A: Introduction: On the internet, they have the following options: Applications that interpret text and…
Q: Discuss four legal problems concerning open source versus proprietary software development and…
A: Answer: The legal issue regarding software development for both modes are : Licensing: While…
Q: What are the three most important database management tasks?
A: Introduction: Hardware.The hardware refers to the computer equipment that is used to store and…
Q: Describe how a computer's operating system does its two primary tasks.
A: Describe how a computer's operating system does its two primary tasks.
Q: What is "gid computing"? What is "cloud computing"?
A: Given: Grid computing is the utilisation of a large number of devices, generally distributed…
Q: If 2 LAN devices have the same MAC address, what happens? How would it work? If both PCs connected…
A: If two devices are having same MAC address, then neither of the computer can communicate properly.…
Step by step
Solved in 3 steps with 2 images
- For C# (C Sharp): When an employee is hired they get a set starting salary. Every year the salary grows by 4%. In the 10th year of service an employee gets $15,000 bonus added to the current salary, but after that the salary will grow by 2% every year. Write a program fragment that takes number of years of service from a text box txtYears, and starting salary from txtStart, calculates salary for each year, and displays it in a list box IstSalary. Use data validation for the inputs to make sure they are numeric.In this assignment, you are going to complete a program that compute gross and net payment based on hourly wage, hours worked and a couple withholdings. Implementation Details: Make sure the outputs line up on the right-hand side. Each column in the output lines up vertically. ● The program prompt the user to enter the number of hours per week. The gross pay, net pay and the deduction is computed based on the total the number of hours worked. The deductions includes Federal tax, state tax, social security, medicare. Use declare named constants and initialize them to the values below: FEDERAL_TAX_PERCENT: 10.0 STATE_TAX_PERCENT: 3 SS_PERCENT: 6.2 MEDICARE PERCENT: 1.45 PAY_PER_HOUR: 11.25 Create a class called PayCalc to compute a person's gross and net weekly pay based on their hourly wage, hours worked, and several withholdings. All statements should be defined in the main method of the class (except for declarations of constants). ● Once your program is implemented, compile and run…Scenario As you surely know, due to some astronomical reasons, years may be leap or common. The former are 366 days long, while the latter are 365 days long. Since the introduction of the Gregorian calendar (in 1582), the following rule is used to determine the kind of year: if the year number isn't divisible by four, it's a common year, otherwise, if the year number isn't divisible by 100, it's a leap year. otherwise, if the year number isn't divisible by 400, it's a common year. otherwise, it's a leap year. none of the above year int(input("enter the year")) if (year%4 1-0) and (year%400 -0) or (year % 1000): print (year is common year") else: print(year, is leap year") year= int(input ("enter the year")) if (years !-0) or (year480 1-0) and (year % 1001-0): print(year is common year") else: print(year, "is leap year") D year= int(input("enter the year"))
- Write a program that reads from a student his/her name and his/her ID which is formed of 8 digits. The program should display the day of registration and the starting hour of registration according to the below tables. First 4 digits to the left Registration Day Monday Tuesday WEdnesday 2018 2019 2020 First digit to the right Registration IHour 4 6 10 7-8Consider records of employees each consists of employee's first name (string), number of hours worked (int)and hourly rate in Bahraini Dinar BD. (double).Write a program that reads from the user multiple records for multiple employees and displays the following onscreen:(a) the salary for each employee (Salary = Hours Worked x Hourly rate.)(b) the number of employees(c) the highest salary with employee name.Reading records of employees should stop when the user enter `stop' for the employee name. Sample I/O of theprogram is shown in the example below.Write the following function to draw a regular polygon:def drawPolygon(x = 0, y = 0, radius = 50, numberOfSides = 3):The polygon is centered at (x, y) with a specified radius for the bounding circle for the polygon and the number of sides. Write a test program that displays a triangle, square, pentagon, hexagon, heptagon, and octagon, as shown in Figure 6.12a.
- A pentagonal number is defined as for and so on. So, the first few numbers are 1, 5, 12, 22, .... Write a function with the following header that returns a pentagonal number:def getPentagonalNumber(n):Write a test program that uses this function to display the first 100 pentagonal numbers with 10 numbers on each line.When you borrow money to buy a house, a car, or for some other purpose, you repay the loan by making periodic payments over a certain period of time. Of course, the lending company will charge interest on the loan. Every periodic payment consists of the interest on the loan and the payment toward the principal amount. To be specific, suppose that you borrow $1,000 at an interest rate of 7.2% per year and the payments are monthly. Suppose that your monthly payment is $25. Now, the interest is 7.2% per year and the payments are monthly, so the interest rate per month is 7.2/12 = 0.6%. The first months interest on $1,000 is 1000 0.006 = 6. Because the payment is $25 and the interest for the first month is $6, the payment toward the principal amount is 25 6 = 19. This means after making the first payment, the loan amount is 1,000 19 = 981. For the second payment, the interest is calculated on $981. So the interest for the second month is 981 0.006 = 5.886, that is, approximately $5.89. This implies that the payment toward the principal is 25 5.89 = 19.11 and the remaining balance after the second payment is 981 19.11 = 961.89. This process is repeated until the loan is paid. Write a program that accepts as input the loan amount, the interest rate per year, and the monthly payment. (Enter the interest rate as a percentage. For example, if the interest rate is 7.2% per year, then enter 7.2.) The program then outputs the number of months it would take to repay the loan. (Note that if the monthly payment is less than the first months interest, then after each payment, the loan amount will increase. In this case, the program must warn the borrower that the monthly payment is too low, and with this monthly payment, the loan amount could not be repaid.)Teachers in most school districts are paid on a schedule that provides asalary based on their number of years of teaching experience.• For example, a beginning teacher in the Lexington School District might bepaid $30,000 the first year. For each year of experience after this first year,up to 10 years, the teacher receives a 2% increase over the preceding value.• Write a program that displays a salary schedule, in tabular format, for teachers in a school district.The inputs are:• Starting salary• Annual percentage increase• Number of years for which to print the schedule• Each row in the schedule should contain the year number and the salary for that yearAn example of the program input and output is below.
- Program 2: Write a program that asks the user for a word or phrase. Check to see if it is a palindrome. A palindrome is a word that is spelled exactly the same forward and backwards such as radar or noon. Your program must also take case into account. If the user types Radar, it must still return that it is a palindrome. Do not worry about palindromes with spaces. You do not need to put any code in static methods, you do not need to worry about try/catch blocks, and you do not need to make the program run more than once. Test values that I will use in class: Noon palindrome tacocat palindrome Hello not a palindrome in javaUse your previous working Java program as a starting point (Project 3). Create another function that determines whether the customer should receive a discount. Assume your food truck gives a 10% discount on orders over $50 (the total BEFORE tax). If the order is eligible for a discount, then calculate and display the discount. If the order does not get a discount, then still display the discount, but it should be 0. Include a line before this that tells every customer that your business gives a 10% discount on all orders over $50 so they understand this part of their receipt. You will also create two classes, one for existing project two called foodTrack and another class called foodDiscount that extends foodTrack. This is project 3: //initialize program import java.util.Scanner; public class Main { finalstatic String items[]=new String[]{"FRIES","CHEESESTEAK","BISCUIT","SALADBOWL","DONUTBOX","SALESTAX"}; finalstaticfloat…Assignment Write a program that moves a forester unit and a desert corps unit to a given target location and prints the number of hours it took for each unit to reach the target. First, the user will give the starting X and Y positions of the forester unit as well as its base speed (all ints). Then, the starting X and Y positions of the desert corps unit as well as its base speed (all ints). Finally, the target X and Y positions (both ints) and the terrain type (std::string). Speeds are given as distance traveled in one full day (i.e., 24 hours) and is affected by the terrain type using a multiplier over the base speed. Also, after 1 full day, each unit rests for a certain number of hours. Speed multiplier and rest amount of each type of unit depending on the terrain type are as below. Speed Multiplier Rest Duration After 1 day Terrain type Forester Desert Corps Forester Desert Corps Forest 1.3 0.6 4 12 Desert 0.4 1.2 15 6 Hills 0.7 0.8 6 8 Others 1.0 0.8 8 6 After getting all this…