C- Write a program that declares two integers, assigns to them the values 50 and 20, and displays in separate lines their sum, difference, and product. Use a single cout statement.
Q: recisely is a design for an architectural structure converted into computer c the process phases…
A: Introduction: The process of defining a collection of hardware and software components, as well as…
Q: 9 Many industries, including education, health care, and commerce, have used relational databases…
A: Industry for Education: The establishments that have education as their main goal are included in…
Q: COMPUTER VISION WRITE CODE IN PYTHON tasks: Rotate any image along all 3 axis, you can use…
A: Rotation with Python and Pillow:
Q: Let Σ = {0, 1}. For each case below, list five strings (or as many as exists the cardinality is less…
A: According to the information given:- We have to follow the instruction mentioned in order to list…
Q: Implement in java Build a linked list of integers and write a function that takes the reference to…
A: Here is the Python code: See below step for code.
Q: **Whoever you are. Please read the questions carefully and stop copying and pasting instructions…
A: Below I have provided the solution of the given question:
Q: What are all to node references pointing to initially? What is the difference between prepend and…
A: What are all to node references pointing to initially? What is the difference between prepend and…
Q: Mr. Birungi is planning to present a proposal seeking to conduct a feasibility study for a novice…
A: SDLC is a systematic process for building of the software that ensures the quality and correctness…
Q: Write a FUNCTION with one parameter, a float value called num, that will calculate half of num and…
A: Complete answer in python programming is below:
Q: A computer has instructions that each require two bus cycles, one to fetch the instruc- tion and one…
A: We need to find the slow down or cycle wasted in DMA transfer for the given scenario.
Q: ttach compilation aa well.
A: Approach:- Take the energy of the photon from the user in EV and then use the below formula to find…
Q: You have a responsibility as a computer maker to provide computers with great performance and…
A: Introduction : We must create a high-quality system with sufficient processing power at a reasonable…
Q: 14. Perform the required conversion from one system to another. 11010012 to base-16
A: The answer is given below.
Q: You have a responsibility as a computer maker to provide computers with great performance and…
A: Introduction: Computer: A computer is a computer that can store, retrieve, and process data. The…
Q: Q1: Write a C# program that generates an array X(4x4) randomly (between 500,700) and print (2) The…
A: using System; using System.Linq; using System.Collections.Generic; namespace HelloWold { public…
Q: SOQL Salesforce: Write a SOQL query to find out the all account which the name starting with the…
A: Introduction: Salesforce Object Query Language is known as SOQL. The database of your organization…
Q: The following Port Security configuration is found on Sw3: Line 1: Sw3(config)# interface fa0/5 Line…
A: Line 1: Sw3(config)# interface fa0/5 SW2 and SW3 will create the VLAN 30 automatically. We can use…
Q: C++ Said hates math and he have a list of formulas to check whether they are valid and correct or…
A: Here is the c++ code of above problem. see below step for code.
Q: How is the grid search parameter different from the random search?
A: According to the information given:- We have to describe how is the grid search parameter different…
Q: Suppose that each of the 300 million people in the United States fully consumes two packages of…
A: Here we have given solution for the question asked. You can find the solution in step 2.
Q: 7. Perform the required conversion from one system to another. ABC16 to base-8
A: We need to convert ABC from hexadecimal(base-16) to octal(base-8).
Q: a in eclipse
A: Algorithm: Start Implement addMatrix() method which takes 2 2d arrays a,b as argument and returns a…
Q: Create a webpage A2-Task2.html. The webpage is displaying one image. Each time the user clicks the…
A: Below I have provided an HTML program for the given question. Also, I have attached a screenshot of…
Q: What are the challenges from the project manager and the development team perspectives in…
A: They need to keep in mind that the Iterative Model is not designed to totally accommodate change in…
Q: New DNS servers have been added to the server configuration of your DHCP server. What is the most…
A: DHCP server An automatic distribution and assignment of the IP addresses, default gateways, and…
Q: How to Define CSS styles as a XAML resource?
A: The first method that Xamarin supports CSS styles. Forms may be defined by creating a StyleSheet…
Q: 1 SQL QUERY WILL BE WRITTEN USING THE TABLES ABOVE. (Tables must be a single query with join) AND AT…
A: The SQL query is given below using join. As the data is not given in the question so the output…
Q: Write a program Java to convert an integer to a string containing its hex representation, then print…
A: Here is the java program of the above problem. See below step forn code
Q: What is a coding example of a Singly Linked search?
A: Searching is performed in order to find the location of a particular element in the list. Searching…
Q: 1. Identify 15 components of the computer system and determine whether the component is an input,…
A: An input device sends information to a computer system for processing, and an output device…
Q: You have a ticket where a customer is frantic about files that were deleted in SharePoint online.…
A: We need to discuss what happens when someone permanently deletes files from the SharePoint online…
Q: Give a BNF grammar for each of the languages below.: ::= ba | 1. The set of all strings…
A: a.BNF grammar:
Q: List at least 10 Project Management Software available in the market today. Discuss their…
A: Here are the top 10 project management tools . Scoro : Explanation about the software : Scoro is…
Q: Intelligent modems can automatically dial, hang up, and answer incoming calls. Who is responsible…
A: A modulator-demodulator, often known as a modem, is a piece of computer hardware that converts…
Q: WRITE CODE IN PYTHON tasks: Rotate any image along all 3 axis, you can use libraries. Take any…
A: Given task: Take any point in 3D World and project it onto a 2D Space of Image Library…
Q: Q2: Write a C# program that generates an array Y(3x3) randomly (between 55, 666) and print: The…
A: In this question we have to write C# program using randomly generated array we have to perform…
Q: What is overfitting and how to prevent it?
A: The creation of an analysis that "corresponds too closely or perfectly to a given collection of…
Q: What is the difference when the sum of 428 in duodenary (base 12) is to be added to C10 in tredinary
A: The answer is
Q: Develop a method for removing nodes with duplicate keys from a linked list.
A: A mechanism to remove duplicate Linked List nodes. RemoveDuplicate() should modify…
Q: Part 1 - Define a class with the following specification: a. Create a class called Event for a…
A: Here I ahve created a class named Event. In this class, I have declared the variables along with the…
Q: 2 3? A) Undefined B) Boolean Error (C) False D True
A: - We need to choose what the result would be after the execution of provided expression.
Q: Write a program Java to convert an integer to a string containing its hex representation, then print…
A: String A script will literally interpret any group of characters as a string. To give two examples…
Q: A computer has instructions that each require two bus cycles, one to fetch the instruc- tion and one…
A:
Q: What will be the number of address lines and data lines required to construct a memory circuit of…
A: The answer is
Q: Can you please add an execution chart for the code that was answered by tutors like the example…
A: Here we have given the execution chart for the program given. You can find the solution in step 2.
Q: How are studies like a brand and communications development study generally performed? Where would…
A: A communications degree is all about learning how to communicate information effectively. Good…
Q: Why is it important to determine the user requirements before building an information system?
A: Information system Information system will collects, stores, processes, analysis and distributes…
Q: Growing Triangles, cont. 1 2 3 The first figure is made up of three line segments of equal length.…
A: Here we have given solution for the multiple questions asked with explanation. You can find the…
Q: Write a C program that uses each of the below system calls at least once. Make sure that the program…
A: Start initiate a main function check if fork() is greater than 0, print the current process, using…
Q: Effectiveness and efficiency are two traits a network must possess in order to be deemed to be…
A: The ability to finish a job with the least amount: Of time, money, and effort spent on it, in…
Max Function
Statistical function is of many categories. One of them is a MAX function. The MAX function returns the largest value from the list of arguments passed to it. MAX function always ignores the empty cells when performing the calculation.
Power Function
A power function is a type of single-term function. Its definition states that it is a variable containing a base value raised to a constant value acting as an exponent. This variable may also have a coefficient. For instance, the area of a circle can be given as:
Step by step
Solved in 3 steps with 1 images
- Computer Fundamentals and Programming 2 Write a program that determines a student’s grade. The program will accept 3 scores and computes the average score. Determine the grade based on the following rules: - If the average score is equal or greater than 90, the grade is A. - If the average score is greater than or equal to 70 and less than 90, the grade is B. - If the average score is greater than or equal to 50 and less than 70, the grade is C. - If the average score is less than 50, the grade is F. Source Codes and Print Screen of the Output1) quadratic.py Write a program that prompts the user to input the three coefficients a, b, and c of a quadratic equation az²+bx+c= 0. The program should display the solutions of this equation, in the following manner: 1. If the equation has one solution, display ONE SOLUTION:, followed by the solution, displayed with 4 digits printed out after the decimal place. 2. If the equation has two real solutions, display TWO REAL SOLUTIONS:, followed by the two solutions, each displayed with 4 digits printed out after the decimal place. 3. If the equation has solutions that are not real numbers, display COMPLEX SOLUTIONS:, followed by two solutions displayed in the form a + bi, where each a and b should be displayed with 4 digits printed out after the decimal place. For example, a run might look like Enter x 2 coefficient: 1 Enter x 1 coefficient: -2 Enter x 0 coefficient: 1 ONE SOLUTION: x= 1.0000 or Enter x^2 coefficient: 3 Enter x 1 coefficient: 5 Enter x 0 coefficient: 1 TWO REAL…use c# to do 1)Write an application that asks the user to enter two integers, obtains them from the userand displays the larger number followed by the words "is larger". If the numbers are equal, printthe message "These numbers are equal." 2)Write an application that reads an integer and determines and prints whether it is odd oreven. 3) Write a program, which uses a selection structure (if/else) to calculate and print the student grades. 80 and above is an A 60 and above is a B 50 and above is a C 35 and above is a D below 35 is fail
- Submit your answer in the comment section. Days of the Week Write a program that asks the user for a number in the range of 1 through 7. The program should display the corresponding day of the week, where 1- Monday. 2- Tuesday and so forth. If the user types in a 6 then "Saturday should be printed on the screen. For help with Input statements see: Input Function • The program should print an error message if the user enters a number that is outside the range of 1 through 7. For help with If statements and conditions see the following pages: If-Eke Statements and Operators • Name the source code file yourName HW4_1.py. • Test and run the program. Capture the output console and save it as an image file named yourName Hw3 output4 1jpg. • Submit the py and the image files through Canvas.Exercise I- Medicine Write a program that asks the user to enter the name of the medicine (t for ThroX, f for FeliX), his mass. The user should enter as well if he has a prescription or not. The program will calculate the dosage using: age and his ThroX without prescription -The max dosage should be 0.75 mL -The dosage = mass / 150 -The number of pills per day to take is 1 ThroX with prescription -The dosage =mass * 3 / 150 -The number of pills per day to take is 5 FeliX with prescription -The dosage = 0.77 mL FeliX without prescription -The dosage should be between 0.3 and 0.7 -The dosage = mass * 0.009 -The number of pills per day to take is 2 -The number of pills per day to take is 6 The program should display the dosage and the number of pills to be taken per day if the requirements are full filled, otherwise it display "Please check your doctor for a prescription". In case the medicine does not exist in the database, the program display “Your medicine is not in our database!"…C++ Ingredient Adjuster A cookie recipe calls for the following ingredients: 5 cups of sugar 1 cup of butter 75 cups of flour The recipe produces 48 cookies with this amount of ingredients. Write a program that asks the user how many cookies he or she wants to make, and then displays the number of cups of each ingredient needed for the specified number of cookies. Use fixed-point notation with two decimal places of precision.
- c# Danielle, Edward, and Francis are three salespeople at Holiday Homes. Write an application named HomeSales that prompts the user for a salesperson initial (D, E, or F) input as a string. Either uppercase or lowercase initials are valid. While the user does not type Z, continue by prompting for the amount of a sale. Issue the error message "Sorry - invalid salesperson" for any invalid initials entered. Keep a running total of the amounts sold by each salesperson. After the user types Z or z for an initial, display each salesperson’s total, a grand total for all sales, and the name of the salesperson with the highest total unless there is a tie. If there is a tie, indicate this in the program's output with the message: "There was a tie". An example of the program is shown below: Enter a salesperson initial >> D Enter amount of sale >> 10 Enter next salesperson intital or Z to quit >> d Enter amount of sale >> 2 Enter next salesperson intital or Z to quit…Time CalculatorWrite a program that asks the user to enter a number of seconds.-There are 60 seconds in a minute. If the number of seconds entered by the user is greater than or equal to 60, the program should display the number of minutes and leftover seconds in that many seconds.-There are 3,600 seconds in an hour. If the number of seconds entered by the user is greater than or equal to 3,600, the program should display the number of hours, minutes, and leftover seconds in that many seconds.-There are 86,400 seconds in a day. If the number of seconds entered by the user is greater than or equal to 86,400, the program should display the number of days, hours, minutes, and leftover seconds in that many seconds..c## Write a Console Application that reads two integers, determines whether the first is a multiple of the second and displays the result. [Hint: Use the remainder operator.]
- 1- If money is left in a particular bank for more than 5 years, the bank pays interest at a rate of 4.5% of the money; otherwise, the interest rate is 3.0% of the money. Write a program to accept the number of years in the variable numYears and money in the variable money then display the correct interest rate, depending on the value input into numYears 2- Write a program that accepts a user-entered number and calculates the square. Before calculating, check that the number is negative, and isn't zero. If either condition occurs, display a message stating that the operation can't be calculated. 3- Write a program which accept a number of 2 digits and check if ones digit is greater than the tens digit print the number in reverse order, if each of the ones digit and the tens digit greater than 5 print the average of them (ones and tens), otherwise print the message( NOT valid ). 4- Write C++ program to accept a number num (with any number of digits). Then, if the number of digits equal…In [ ]: # write a program to accept a number from the user, # print "Play basketball" if the number is Less than or equal to 15 # If the number is equal to 10, display "Play football" 4 # otherwise if the number is more than 15, print "Don't play game" 2ne nouncements 2. Days of the Week odules • Write a program that asks the user for a number in the range of 1 through 7. The program should display the corresponding day of the week, where 1- Monday, 2 - Tuesday and so forth. If the user types in a 6 then "Saturday" should be printed on the screen. For help with Input statements see: Input Function izzes • The program should print an error message if the user enters a number that is outside the range of 1 through 7. For help with If statements and conditions see the following pages: If-Else Statements and Operators. • Name the source code file yourName_HW4 1.py. • Test and run the program. Capture the output console and save it as an image file named yourName_HW3_output4_1.jpg. • Submit the py and the image files through Canvas. rades yllabus Zoom Library Research Guides 3. Roman Numerals • Write a program that displays the Roman numeral version of a decimal number entered. The program should prompt the user to enter a number from 1 to…