Problem 4: The list price of a scientific calculator is 100 dollars. If you get a price discount of 15 % and pay 5 % for tax, what is the actual cost of your calculator?. Write a program that will compute the tax and actual cost of the calculator.
Q: Q5) Consider the following program loaded to a 32-bit x86 architecture. Suppose the stack frame is…
A: a) Variable a,b and c all will be overwritten as size int and long are 4 bytes in an 32 bit…
Q: if x % 2 == 1: if x % 2 == 0: return 0 else: return 3 * x + 1 else: return x // 2 QSIZE = 2 queue =…
A: firstly, a list is created which is of size 2. Both the elements of the list are 0. Later, the…
Q: 17 In the program in the previous exercise, replace the two lines at the top with the fol- lowing…
A: C is a general-purpose, procedural programming language that is widely used for system programming…
Q: the program must end by printing out the received numbers in the reversed order delimited by a…
A: SOURCE CODE //Importing Scanner class to take input from userimport java.util.Scanner; public…
Q: Q-11: Use dynamic programming to determine all possible longest common subsequences for strings (ACB…
A: The answer for the above question is given below in step 2.
Q: Construct a Moore machine that determines whether an input string E (x, y) contains an even number…
A: The Moore machine, seen below, detects if an input string has an even number of 'x.' If the number…
Q: Virtual Page numbers 0x00002 0x00000 0x00001 0x00002 0x00003 Page offset 0x753 0x0002 Disk 0x0006…
A: We know that We have to find the physical address of the given problem.
Q: Question 10: Which Excel feature is useful for examining two nonadjacent sets of data? Answer: A. B.…
A: Please refer below for your reference: 1) The correct option to examine two nonadjacent sets of data…
Q: When displaying fonts, what's the difference between pixels, points and ems?
A: The answer is given below step.
Q: Let the data stream 1001011101 to be the input sequence of a differential encoder. Assume that the…
A:
Q: Question 6: What is NOT a rule for table column headings? Answer: A. B. C. D. Each one must be…
A: According to the information given:- We have to choose the correct option to satisfy the statement.
Q: rrect on! Needed
A: Given: F(n)= { 5n2, n mod2=0 3n-10 n mod 2=1 }
Q: What is the instruction format? What is the instruction Op code? What is the instruction addressing…
A: I am providing the solution According to Bartleby's Policy.
Q: 2. Consider the 5x5 gray image shown below. 3 4 4 2 2 46 64 3 48 78 5 2 3 8 2 6 7 25 6 2 a) Apply…
A: Answer: we have explain in very well as my expected in brief explained
Q: Write down a function 'foo' that returns the number of times that in an array, the sum of three…
A: C programming refers to the object oriented programming languages that are used to create…
Q: For each of the following expressions indicate (1) which variables are free and which bound; (2)…
A:
Q: Vith the statement, With the statement, With the statement, at values[] = {1,2,3,4,5): int…
A: Answer 1) values The name of the array is values In array declaration first is datatype then name…
Q: |Given the following graph, calculate the shortest path from vertex zero to all other vertices using…
A: Dijkastra algorithm : In this algorithm,we have to find shortest path to all other vertex. Steps:…
Q: Question 4: Ted wants to view two sections of this workbook simultaneously and be able to scroll…
A: answer for both mcq given below.
Q: NoSQL, MongoDB, JSON, JavaScript A map reduce of the customers collections and produces a report…
A: Answer is given below-
Q: 1. Create a Program that will ask for the user's name, then will proceed to ask the user to input 2
A: Given :- In the above question, the statement is mention in the above given question Need to write…
Q: Create a view named 'EmployeeReport' that contains the employee name, employee surname and the total…
A: SOLUTION : To create the view of surname, name, and total days work let us take the employee table…
Q: 2. The gamma function generalizes the factorial, and is defined by T(x) = √°² t=² 0 tx-¹e-¹ dt, x>…
A: CODEclear x = [1,2,3,4,5];y = [1,1,2,6,24]; x_range = min(x):0.01:max(x); fit_poly =…
Q: Start x = 5, y = 8 No x 2 x = x + 2 No Print x, y Stop
A: Option A is the right option. Here is the simple code developed using flowchart to prove the answer.…
Q: In a WLAN the minimum SNR required is 12 dB for an office environment. The background noise at the…
A: Given, Transmit power: 100mW Minimum SNR required: 12db Operational frequency: -115dbm Given that…
Q: A counter circuit is shown in the figure. The counter counts as Q1 QO Vpp J J Clock K K lo! C.
A: In the above table Bit=2 Number of flipflops =2 Jk flip flop excitation table Qn Qn+1 j k 0 0…
Q: 6) IP piracy refers to (Multiple choice) a) Stealing chips from foundries b) Stealing data from…
A: IP privacy stands for Intellectual property privacy and it refers to the inventions such as…
Q: Given these curves, which statement/s describe the complexities the best? (choose one or more) Steps…
A: The correct answer is given below with code and output screenshot Happy to help you?
Q: 2. Find the sum of the following series 1/2 - 2/3 + 3/4 - 4/5 + 5/6 - ...... n (n is the number of…
A: Since the coding language is not mentioned, I have done the code in C++. Algorithm : Step 1 :…
Q: MCQ: The ISO quality assurance standard that applies to software Engineering is a. ISO 9000:2004 b.…
A: Provided query is related to software eng. quality assurance.
Q: 1. Create an application named StudentsStanding.java that allows you to enter student data that…
A: import java.nio.file.*;import java.io.*;import static java.nio.file.StandardOpenOption.*;import…
Q: Write a program that takes a date as input and outputs the date's season. The input is a string to…
A: Below is the code in C++ as language not mentioned and sample output:
Q: Given the following Binary Search Tree, perform a pre-order, in-order and post-order traversals on…
A: Pre-Order: 69, 48, 30, 23, 35, 58, 57, 63, 77, 75, 84, 81, 82 In-Order: 23, 30, 35, 48, 57, 58, 63,…
Q: Question 14: What is the purpose of the constraints within Solver? Answer: A. B. C. D. To identify…
A: Introduction: Defining Constraints in Solver: Constraints are logical conditions that a solution to…
Q: x₂ = 3₁ y₂ = 2₁ ко=3, yo=2, к Two points P(xo, Yo), Q(x₁, y₁) are given. x₁ = -13, y₁ = 21 1. Using…
A: The Digital Differential Analyzer (DDA) algorithm is a scan conversion line algorithm based on…
Q: 3.) 34 n 10 U (30- 10)= 4.) (30-14) n 50 = 5.) 250 (30-10) =
A: {34∩10} ∪ {30-10} = {30-10,34∩10}
Q: 4. [CO1] Consider you have eighteen (18) bits register. In this register first MSB bit is reserved…
A: The answer is solved below:
Answer the number 5 only. Thank you
Step by step
Solved in 2 steps with 2 images
- (Statistical) In many statistical analysis programs, data values considerably outside the range of the majority of values are simply dropped from consideration. Using this information, write a C++ program that accepts up to 10 floating-point values from a user and determines and displays the average and standard deviation of the input values. All values more than four standard deviations away from the computed average are to be displayed and dropped from any further calculation, and a new average and standard deviation should be computed and displayed.4. During each summer, John and Jessica grow vegetables in their backyard and buy seeds and fertilizer from a local nursery. The nursery carries different types of vegetable fertilizers in various bag sizes. When buying a particular fertilizer, they want to know the price of the fertilizer per pound and the cost of fertilizing per square foot. The following program prompts the user to enter the size of the fertilizer bag, in pounds, the cost of the bag, and the area, in square feet, that can be covered by the bag. The program should output the desired result. However, the program contains logic errors. Find and correct the logic errors so that the program works properly. // Logic errors. #include #include using namespace std; int main() { double costs double area; double bagsize; cout > bagsize; cout > cost; cout > area; cout << endl; cout << "The cost of the fertilizer per pound is: $" << bagsize / cost << endl; cout << "The cost of fertilizing per square foot is: $" << area / cost << endl; return 0; }Develop a body mass index (BMI) calculator program that reads body weight and height as inputs and calculate the BMI based on the following formula: BMI - Weight/Height Using the caleulated BMI, determine the individual weight category based on the following Table I and the program will count how many user's BMI get a particular category: Table 1 BMI Category > 30 25- 30 18.5-24.9 You are obese Your weight is overweight You have an ideal weight You are too thin S18.5 Use if..else statements or switch statements and loop where it is appropriate and create a program with the following output Sample program's output is as below, the rumbers in bold/underline are user's input: ******..* PROGRAM TO CALCULATE BMI CATEGORY*****.. Please enter your weight (kg) : Please enter your height (m) Your BMI is 19.38, Xour have an ideal weight 56 1.7 Would you like to calculate arother BMI? y- yes, n noy Please enter your weight (kg) : Please enter your height (m) Your BMI is 30.47. 78 1.6 You are…
- //PROBLEM 1/* This program should play a game with the user asking her to guess a target number (randomly generated integer between 1 and 10). The user gets 3 attempts. If she gets it wrong, the program tells her to go up or down, depending on whether her number was less or more then the target. The output may look like this, for example: ============= Guess the number between 1 and 10 in THREE attempts. Enter your first guess: 4 Nope. Go up. Enter your second guess: 6 Nope. Go down. Enter your third and final guess: 5 You got it! CONGRATULATIONS! ============= or like this: ============= Guess the number between 1 and 10 in THREE attempts. Enter your first guess: 4 Nope. Go up. Enter your second guess: 6 Nope. Go up. Enter your third and final guess: 8 GAME OVER! You lost! The number was 9Python Programming Part 2 Direction: Use PYTHON to solve this problem. Description: This part tests for two things. The program must identify all resistors in series or in parallel with each other and calculate the equivalent resistance for each group of resistors. Recall that total resistance of resistors in series are added up while the total conductance of those in parallel are added up. Input Format: The first line of the input consists of 1 integer N which is the total number of resistors. The next N lines will consist of 3 strings and an integer R each separated by a space. The first string is the resistor name, the second and third strings are the node names where the resistor terminals are connected, and R is its resistance value. Output Format: One line for each group of resistors in series or parallel. Each line starts with a list of resistors arranged in lexicographical order (see Lexicographic order - Wikipedia) followed by their total resistance rounded off to the nearest…python solution please Task 1Description let's consider a case when you need a lot of coffee. Maybe you're hosting a party with a lot of guests! In these circumstances, it's better to make preparations in advance.So, we will ask a user to enter the desired amount of coffee, in cups. Given this, you can adjust the program by calculating how much water, coffee, and milk are necessary to make the specified amount of coffee.Of course, all this coffee is not needed right now, so at this stage, the coffee machine doesn't actually make any coffee yet. ObjectivesLet's break the task into several steps:First, read the numbers of coffee drinks from the input.Figure out how much of each ingredient the machine will need. Note that one cup of coffee made on this coffee machine contains 200 ml of water, 50 ml of milk, and 15 g of coffee beans.Output the required ingredient amounts back to the user. ExamplesThe greater-than symbol followed by space (> ) represents the user input. Notice that…
- Correct and detailed answer please. Thank you!Q1. FizzBuzz problem:- Write a program which return "fizz" if the number is a multiplier of 3, return "buzz" if its multiplier of 5 and return "fizzbuzz" if the number is divisible by both 3 and 5. If the number is not divisible by either 3 or 5 then it should just return the number itself? .Python please
- Create an algorithm for a basic calculator that will perform the sum, difference, product, and quotient of two numbers. Your program should let the user choose which operation.Dealing With Months by CodeChum Admin We're done dealing with days. It's time to step up and now deal with months! Instructions: 1. In the code editor, you are provided with a code in the main() which has 12 cout's. Each cout prints a month with its corresponding value. For this program, January is 1, February is 2, March is 3, and so on. When you run the initial code, you will encounter errors because these month names that have been printed don't exist yet. 2. Your task is to create an enum data type which contains these month names as values so that when we run the code, there will be no more error. 3. Do not edit anything in the main(). Output January.= 1 February = 2 March:= 3 April-=-4 May--5 June:=-6 July =-7 August.=-8 September ·=-9 October:= 10 November.=11 December.= 12Use While loop to solve the problems Note: Python language for solution 4. Write a program that uses a while loop, the program should do the following: The program should repeatedly read numbers until the user enters "done". Once "done" is entered, print out the total, count, and average of the numbers. 5. Write a program to find the sum of even numbers until n, where n is an int entered by the user, example: n = 11, sum = 2+4+6+8+10, sum = 30.