Write as simple assembly language program that calculates the total amount of money a person has made over the last year. Create a prompt that asks the user to enter the amount of dollars they have made that year, per job. Some users will have had more than one job, make sure your program allows for this. The program will print out the total made (all jobs) and will print out the federal and state taxes based on the total made. For this program, the federal tax will be 18.5% and the state tax will be 8.75%.
Q: .Explain why user-defined functions are better than pre-defined ones in terms of performance.
A: A section of well-organized code that can be reused to carry out a specific operation is a function.…
Q: Create a java language program that Conversion of a decimal number to a hexadecimal number
A: Start Store hexadecimal values in an array Input decimal number Loop as long as input number doesn't…
Q: a- suppose a lamp is described by its color and whether it is turned on write class Lamp that…
A: In C++ everything is based on Class & Objects. Class : It is a user-defined data-type that can…
Q: Explain three exciting new applications that have evolved as a result of the growth of the internet…
A: The term "internet of everything(IOE)" is new, which is why its application may cause confusion.…
Q: Give an explanation of how things have evolved throughout the years. Human computer interaction with…
A: Beginning: Usability is the study and application of how people interact with computers (HCI). It…
Q: Explain why user-defined functions are better than pre-defined ones in terms of performance
A: Answer:
Q: It's important to know how and when to set up and test new hardware and software. Describe the It's…
A: Testing on both hardware and software: There are many different testing processes involved in each…
Q: Pressing Enter when the focus is on a Button control results in an error.
A: Button or Control: The term "button" refers to a control, which is an interactive element that…
Q: Write a modified path 2(p, q) algorithm that will print a full path including end points p and q.…
A: Backtracking is the technique based on the algorithm to solve the problem. Backtracking method uses…
Q: Could you please describe how a company may stop hackers from accessing its accounts, as well as…
A: Could you please describe how a company may stop hackers from accessing its accounts, as well as…
Q: Predefined functions are less efficient than those that are defined by the user.
A: Functions defined by the user and used to structure the code are referred to as user-defined…
Q: In what situations would it be better to use RFID instead of a bar code?
A: Introduction RFID Radio Frequency Identification labels, which have been around for quite a long…
Q: Write a function which accepts the user’s first and last name and prints the first name 4 times…
A: Note: The programming language is not mentioned in the question so python programming language is…
Q: n-heap is ma r in [1, 511] in the heap is of the hear
A:
Q: Do you call it anything particular, like a virus scanner or a file compressor or a backup tool, if…
A: Utility Programs: A utility program is a system application that performs a particular purpose,…
Q: Exactly how many different kinds of programming paradigms do you know about? Then, why are there so…
A: According to their characteristics: Programming paradigms categorise languages.Languages may be…
Q: Use the following points to tell the difference between the auto and static storage classes in C:
A: Introduction: Storage classes in the C are utilized to depict the characteristics or features of the…
Q: If so, how has the technology landscape changed over the last year?
A: Inspection: IT infrastructure refers to the elements required to manage and run corporate IT…
Q: The look of a button changes when an access key is assigned to it.
A: Given: To ascertain how a button's look changes when an access key is assigned to it. A button's…
Q: Is it possible to categorise all of the different programming languages?
A: The Answer is given below step.
Q: 64. The function that follows makes use of a loop. Rewrite it so that it operates like a recursive…
A: ALGORITHM:- 1. Define the base case when size is equal to 0. 2. Pass one less value of size each…
Q: What is the root cause of all these bugs? In what way does a bug enter software? Give a few specific…
A: Given: When software developer makes a mistake while creating it, bugs happen. Due to the…
Q: Are data structures and algorithms outdated in the era of Machine Learning, or is this just an…
A: Introduction: Data structures and algorithms are not redundant. Because it serves as the basis for…
Q: Why is working in Cybersecurity such a satisfying career choice?
A: Introduction: Cyber workers are considerably more likely to be driven by their love of technology…
Q: python Write a function which accepts two sequences of numbers from the user, each number separated…
A: Please find the program in following step. The program is written in Python.
Q: Examine the most popular internet protocols currently in use. When describing security, it's…
A: Internet Protocol (IP) is a protocol that determines the format of data sent over the internet or a…
Q: Does machine learning make algorithms and data structures outdated, or are they still useful?
A: Data structures The data structures and the computations are a great deal used in the hour of…
Q: Please explain the distributed nature of DNS for the purpose of this debate.
A: Introduction: A hierarchical and decentralised naming system called the Domain Name System (DNS) is…
Q: please make me a simple program with the application of control structures, functions and arrays…
A: The program is written in C++. Check the program screenshot for the correct indentation. Please…
Q: 9 When data is read from the database but retrieves data that is not the most current, it is called…
A:
Q: In terms of interacting with computers and technology, what are the advantages of being computer…
A: Introduction: People who are computer literate may utilise technology in their daily lives, improve…
Q: The following are some potential defense techniques for the average individual to utilize against…
A: Answer:
Q: How are computer memory's local declarations stored? Why should local declarations be avoided if the…
A: Introduction: Local Variables and their memory allocation : The variables are referred to as local…
Q: Computer literacy has what advantages?
A: Computer literacy: Computer literacy is the knowledge and ability to use computers and related…
Q: IT (information technology) Explain why it's so important to design and share software solutions as…
A: Answer:
Q: To what extent is it possible to prohibit unethical and illegal behaviour in computer science?
A: Introduction: The study of computers and computational systems is what is meant when you refer to…
Q: What's the connection between telecommunications and data transmissions anyway? Are the two…
A: Telecommunications refer to the process of interchange of information and data over a specific…
Q: Write a program in Java called StringIndex. Create a method called printIndex that passes your…
A: - : Java Code : - public class Main { // method to print name characters along with their…
Q: Def_Net Worth Brought Against CASE Case No Date_Opened Date Closed Judgment Desc Brought By…
A: Given is a relational model of a database which stores data of the clients and Defendants of a…
Q: need explanation also
A: Breadth-first search is a graph traversal searching algorithm that is used for tree data structures.…
Q: Inquire about the benefits and drawbacks of regular software updates. briefly.
A: Given: A product is upgraded when a newer version of the same product is used in its place. Pros:…
Q: ok 200 sec to Bubble sort. In ately sort
A:
Q: When a function calls another function in pep/9, describe the steps involved. How do they…
A: Given: Actually, data should be sent, and the following explanation should clarify how the caller…
Q: Many of the same operations may be applied to both Lists and Strings, as they are both sequences…
A: Please find the detailed answer in the following steps.
Q: Mark all options that are good names for variables in Python. a. b. O c. C. d. e. test#1 _test_1…
A: Option: test#1 _test_1 1_test t_1_est test_1
Q: What's the connection between telecommunications and data transmissions anyway? Are he two…
A: Introduction: The process of exchanging information and data across a certain distance utilising…
Q: What does this code produce? FOR varName, DWORD varName ENDM
A: It is used to Create Five (monday,tuesday,wednesday,thursday,friday) DWORD variable. Here Each…
Q: What's the connection between telecommunications and data transmissions anyway? Are the two…
A: The Answer is given below step.
Q: What's the connection between telecommunications and data transmissions anyway? Are the two…
A: First of all let us discuss what each of the term telecommunication and data transmission means. By…
Q: 7. SOFTWARE SALES A software company sells a package that retails for $99. Quantity discounts are…
A: code in C++ #include <iostream> using namespace std; int main(){int packets,discount,total;…
Step by step
Solved in 2 steps
- Create a program which will implement the sum of digits. When completed, the program will allow the user to input a positive integer then the program will add all the digits of this integer and output the sum. For example, if the user enters 325 then the program will output 10 Test your program with the following inputs a. 5 (sum is 5) b. 107 (sum is 8) C. 5148 (sum is 18) Write in C++ Please and thank you.Write a program that finds and displays all the "odd numbers" between 1 and N. The value of N is an integer entered by the user and should be a positive value.a)Prompt the user to input a positive integer.b)Ask them to re-enter if it's not a positive value.c)Identify and display the odd values between 1 and N. Print them on the same line separated by a space or tab.d)(BONUS) What's the average of those odd numbers? Compute and display the average as well. (in C)Write a program that prompts the user to enter 5 exam marks (design your program such that it would be easy to change if we wanted it to work for more than 5 exams). The program then displays the average mark, the highest mark, and number of marks entered less than the average mark. For example, when executing the program and inputting 20, 30, 10, 40, and 50 the running session will look as follows: Enter a mark: 20 Enter a mark: 30 Enter a mark: 10 Enter a mark: 40 Enter a mark: 50 Average mark is: 30.0 Highest mark is: 50 Number of marks less than the average: 2
- Write a program that computes the molecular weight of a carbohydrate (ingrams per mole) based on the number of hydrogen, carbon, and oxygenatoms in the molecule. The program should prompt the user to enter thenumber of hydrogen atoms, the number of carbon atoms, and the numberof oxygen atoms. The program then prints the total combined molecularweight of all the atoms based on these individual atom weights:Atom Weight(grams I mole)H 1.00794c 12.01070 15.9994For example, the molecular weight of water (H20) is: 2(1.00794) +15.9994 = 18.01528.Write a program that prompts the user to input a number. The program should then output the number and a message saying whether the number is positive, negative, or zero. Write a program that prompts the user to input three numbers. The program should then output the numbers in descending order (big to small). An internet service provider has three different subscription packages for its customers: Package A: for RM9.95 per month 10 hours of access are provided. Additional hours are RM2.00 per hour. Package B: for RM13.95 per month 20 hours of access are provided. Additional hours are RM 1.00 per hour Package C: for RM 19.95 per month unlimited access is provided. Write a JAVA program using if/else or switch selection to calculates a customer’s monthly bill. It should ask the user to enter the letter of the package the customer has purchased (A, B, or C) and the number of hours that were used. It should then display the total charges.Imagine that you run a local store that has an electronic pad located at the exit of the store that allows customer to rate your store's service. The touch pad has two button clicks available to customers: negative or positive. At the end of the day, the final daily score is calculated as follows: Daily score = Positive clicks – Negative clicks If a daily total is 5 positive comments and 3 negative comments, the total daily score for the day is 2. Using Python write a program that allows the store to enter the total positive clicks and the total negative clicks. The output should be the daily score for the store. An example would be the following: Enter positive clicks for today: 5 Enter negative clicks for today: 3 The daily score using 5 positive clicks and 3 negative clicks is 2. There are a few different data types that can be used to capture the input from the user. Some data types might require a conversion to perform the math required. When completed, take a screenshot of your…
- Write a program to help a local restaurant automate its breakfast billing system. The program should do the following: Show the customer the different breakfast items offered by the restaurant. Allow the customer to select more than one item from the menu. Calculate and print the bill. Assume that the restaurant offers the following breakfast items (the price of each item is shown to the right of the item): food Price Plain Egg $1.45 Bacon and Egg $2.45 Muffin $0.99 French Toast $1.99 Fruit Basket $2.49 Cereal $0.69 Coffee $0.50 Tea $0.75 Use an array menuList of type menuItemType, as defined in Programming Exercise 3. Your program must contain at least the following functions: Function getData: This function loads the data into the array menuList. Function showMenu: This function shows the different items offered by the restaurant and tells the user how to select the items. Function printCheck: This function calculates and prints the check. (Note that the…Write a program to help a local restaurant automate its breakfast billing system. The program should do the following: Show the customer the different breakfast items offered by the restaurant. Allow the customer to select more than one item from the menu. Calculate and print the bill. Assume that the restaurant offers the following breakfast items (the price of each item is shown to the right of the item): food Price Plain Egg $1.45 Bacon and Egg $2.45 Muffin $0.99 French Toast $1.99 Fruit Basket $2.49 Cereal $0.69 Coffee $0.50 Tea $0.75Write a program that computes the fuel efficiency for a multi-leg journey. The program will first prompt for the starting odometer reading and then get information about a series of legs. For each leg, the user enters the current odometer reading and the amount of gas used (separated by a space). The user signals the end of the trip with a blank line. The program should print the miles per gallon achieved on each leg and the total MPG for the trip.
- Write a program named FahrenheitToCelsius that accepts a temperature in Fahrenheit from a user and converts it to Celsius by subtracting 32 from the Fahrenheit value and multiplying the result by 5/9. Display both values to one decimal place.Write a program named GuessingGame that generates a random number between 1 and 10. (In other words, in the example above, min is 1 and max is 11.) Ask a user to guess the random number, then display the random number and a message indicating whether the users guess was too high, too low, or correct.Imagine that you run a local store that has an electronic pad located at the exit of the store that allows customer to rate your store's service. The touch pad has two button clicks available to customers: negative or positive. At the end of the day, the final daily score is calculated as follows: Daily score = Positive clicks – Negative clicks If a daily total is 5 positive comments and 3 negative comments, the total daily score for the day is 2. Using Python and this online interpreter, write a program that allows the store to enter the total positive clicks and the total negative clicks. The output should be the daily score for the store. An example would be the following: Enter positive clicks for today: 5 Enter negative clicks for today: 3 The daily score using 5 positive clicks and 3 negative clicks is 2. There are a few different data types that can be used to capture the input from the user. Some data types might require a conversion to perform the math required.…