e selected meal, and st
Q: Case Exercises Amy walked into the blond man had taken well ov her the district attorney would a whi...
A: given - Case Exercises Amy walked into her office cubicle and sat down. The entire episode withthe b...
Q: used for declaration for all forms global O dim form
A: form
Q: iv) What will be denoted by the Python statement: chr(ord('Z')) a) 90 b) Z c) z d) A
A: Find the value returned by the given Python statement. Given statement: chr(ord('Z'))
Q: Show the order of evaluation of the following expressions by parenthesizing all subexpressions and p...
A: Given The answer is given below.
Q: program should print the final velocity v of
A: Formula that is used to calculate the Final Velocity: v2=u2+2as import java.util.Scanner; public ...
Q: Identify five (5) threats to modern security architecture and design and Identify the possible vulne...
A: five (5) threats to modern security architecture and design are below : human error system failure ...
Q: Watch the video "Microsoft's Agile Transformation Story" by Donovan Brown. https://youtu.be/nno6Dwev...
A:
Q: :the output of (Print "a", "b", "c") is abc O ab c abc O
A: According to the question this double quotes in print function help to print the string with the spa...
Q: Please convert following figure into a relational schema. In each table, the primary key and foreign...
A: Here the entity BankBranch is a weak entity and therefore we need to include primary key of Bank as ...
Q: More or less locks may be needed when multiple-granularity locking is used, depending on how many or...
A: Multiple granularity locking (MGL) is a locking mechanism used in relational databases and database ...
Q: What is SEO algorithm?
A: Search engine optimization is the practice of increasing the quality and quantity of search volume t...
Q: Problem 1. Answer the following questions. No mark will be given if no valid reason is given. (a) (1...
A:
Q: Why don't we use the ordinary least square to learn a linear regression model for a classification p...
A: Ans.) Option B i.e. OSL will learn a bad linear regression model for a classification.
Q: Show that there exists a simple 3-polytope that has that J23 fos = 1 and fo: = 0 for i > 9. 3, J24 2...
A:
Q: ESP is changed when a 32-bit value is put on the stack.
A: Introduction: In assembly language, the term stack is used. In assembly language programming, a stac...
Q: Vector Graphics are composed of a number of objects defined by mathematical formulae. True or False
A: Given To know about the vector Graphics.
Q: Question : By using jakob Nielsen usability attributes, evaluates a system/interface/equipment ? Not...
A: There are many other important quality attributes. A key one is utility, which refers to the design'...
Q: It's important to know what each part of an assembly language instruction is called.
A: answer is
Q: following set A and B respectively. A = { 5, 6, 8, 9, 10, 11} B= {1, 6, 2, 9, 3, 11, 4} Develop an a...
A:
Q: Complete the following code for a method that returns the number of elements in an array of objects ...
A: PROGRAM CODE: Following is the complete program code that represents the demonstration of the given...
Q: What is Dual IP Layer Architecture?
A: Answer: The term "dual-stack" typically refers to a complete duplication of all levels of the protoc...
Q: Write a JAVA program in which the user enters the initial velocity u, time of travel t, and the acce...
A: Let us see the answer:- In the above program, we will you the first equation of motion i.e. v=u+at w...
Q: For DumpRegs, describe what it is about.
A: Answer: One of the Microsoft Windows Security Audit Tools is DumpRegs. The DumpReg utility programme...
Q: Question:: Describe the TM that accepts the language, L= {w e{a,b,c}* | w contains equal number of a...
A: Answer :-
Q: d. Perform Shannon-Fano algorithm and display in a table, the count, the entropy, the code, and the ...
A: Shannon-Fano : It is an algorithm is an entropy encoding technique for lossless data compression of...
Q: Can this code be modified so there are three sorted files merged instead of two. ( To compile: java...
A: Here, I have to write a solution to the above question.
Q: Question 5 What would be the result of y the following line of code? y= 10 2 - 9 + 4; 15 Previous 14
A: NOTE :- Below i explain the answer in my own words by which you understand it well.
Q: Create a declaration for a 64-bit integer that hasn't been set up yet.
A: Here, I have to provide an answer to the above question.
Q: :the output of (Print "a", "b", "c") is abc O ab c abc O O
A: Answer is Option C that is a b c Explanation is below,
Q: Case Exercises Amy walked into her office cubicle and sat down. The entire episode with the blond ma...
A:
Q: Compare and contrast the advantages of imperative, functional, and declarative programming languages...
A: Introduction: Imperative programming is the earliest programming idea. A piece of software based on...
Q: ere are blank 3 digit counting numbers that are made using uestion There are blank 3 digit counting ...
A: Find the answer with explanation given as below :
Q: For each of the following tasks, which type of parallelism (interquery, interoperation, or intraoper...
A: Inter-query parallelism provides good throughput when there are many small queries. Parallelizing ea...
Q: What will be the impact of the internet of things (IoT) on our everyday lives? Justify your position...
A: Introduction: IoT is a network of networked, internet-connected devices that can gather and transmit...
Q: Manager 40000 Use Switch-Case to print Designation in the output and to find the value of DA for a p...
A: The program uses java programming language and switch case is demonstrated here as directed by the q...
Q: Explain the differences between volatile, nonvolatile, and stable storage in terms of I/O cost.
A: Given The answer is given below.
Q: Why are there so many different partitioning algorithms in use by operating systems, and why differe...
A: In operating systems, it contains many partitioning algorithms which are used to decide which partit...
Q: PYTHONI!! Solve problem by using PYTHON Program to remove the ith occurrence of the given word in li...
A: Here is the detailed explanation of the program
Q: n with a customer, and enables organizations to reach a broad audience. Most communications and tra...
A: Lets see the solution.
Q: -Calculate the average power of the discrete-time wave shown in fig a? * Fig -1 O 1 The step functio...
A: I'm providing both Answers. I hope this will help.
Q: Describe the TM that accepts the language, L = {w e{a,b,c}* | w contains equal number of a's, b's an...
A: Here in this question we have asked to describe a Turing machine that accept equal no of a , b ,c .
Q: PROVIDE JS SOURCE CODE Design a web page with a text box (username) where the user can enter a name ...
A: In the starting the condition for ID is given as ID consists of 4 digits only. Where as in the end, ...
Q: PYTHONI! Solve problem by using PYTHON Program to remove the ith o ccurrence of the given word in li...
A: To write python code to remove the ith occurrence of the given word in list where words can repeat.
Q: Find out if you can make a variable of type DWORD and give it a negative value, then see if that's p...
A: Explanation DWORD has a value range of "0" to "255".To distinguish between negative and positive val...
Q: What is the importance of linux partitioning?
A: Disk partitioning is the process of dividing a hard disc drive into different partitions using parti...
Q: Write a Python program to receive the value of an integer from the user. with the following requirem...
A: logic:- Set negative=0,positive=0, zero=0 use while True infinite loop. Read num validate num sums...
Q: What are the issues that can prevent a transaction processing system from scaling up linearly? In ea...
A: Introduction: What are the issues that can prevent a transaction processing system from scaling up l...
Q: Consider what would happen if there was a problem with 2PC for a transaction. In Exercise 23.2a, you...
A: Explanation of two personal computers that assure atomicity in the event of a failure: Consider two ...
Q: Consider the best way to count how many bits are set in a bitmap. Keeping the size of the cache in m...
A: Map of Bits and Bytes Bit It is the smallest piece of information contained inside a computer. Typic...
Q: SVM and kNN are very similar in the way that the "models" are a collection of training data points. ...
A: Defined the given statement as true or false
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images
- Question Write a program to determine the price for a portrait sitting. The price is determined by subjects in portraits, background chosen and sitting appointment day.The fee schedule is shown below. Fancy background and sitting appointment cost an extra 10 percent more than the base price. Subjects in Portrait Base Price 1 $100 2 $130 3 $150 4 $160 5 or more $165 Sample Output1: Enter the number of subjects in the portrait: 1 Do you want a fancy background (y/n)? y Do you want an appointment date (y/n)? y The price is: $120Basic while loop expression. Write a while loop that prints userNum divided by 4 (integer division) until reaching 2 or less. Follow each number by a space. Example output for userNum = 160:40 10 2 Note: These activities may test code with different test values. This activity will perform four tests, with userNum = 160, then with userNum = 8, then with userNum = 0, then with userNum = -1. See "How to Use zyBooks".Also note: If the submitted code has an infinite loop, the system will stop running the code after a few seconds, and report "Program end never reached." The system doesn't print the test case that caused the reported message.Strings For this homework, we will be creating a simple program that will take in your basic information and then you will output the specifics outlines below. To get FULL credit, you MUST submit the code and the output. INPUT a) Enter your name (first and last): b) Enter your phone number: c) Enter a letter that is in your name: d) Enter a digit that is in your phone number: OUTPUT NAME • • • The length of your name is: The index for the letter 'e' is: The index for the letter 'a' is: • The index for the letter 'q' is: • From c) above, replace that letter with a '2' PHONE NUMBER • The length of your phone number is: • From d) above, replace that digit with a 'X'
- Airline companies apply baggage restrictions for their passengers. An airline company has decided to apply a 10kg limitation for passengers' hand luggage and 20kg for their normal baggage. When passengers arrive, they enter their hand and normal luggage weight from the keyboard. If passengers exceed their normal baggage allowance of 10 dollars per gram, they pay 12 dollars per kg. Accordingly, write the program that calculates the baggage price of the airline they will go to according to the baggage values entered by the arriving passenger and keeps this from closing the program for each passenger. Note: If hand and normal baggage allowances are stretched below the maximum value, the payment amount will be considered not negative. An example printout is given on the right. Geri bildirim gönder3. Write an algorithm that inputs a student's score outputs his grade according to the following: Score Grade 0- 59 F 60 - 69 D 70 – 79 80 – 89 В 90 – 100 AQuestion 1 Write a program that asks the user to enter the number of passengers in an airplane and the weight of baggage for these passengers. Your program should then print the average weight of all baggage; it should also print the weights in reverse order. Sample run: Enter the number of passengers in the airplane: 8 Enter the weights of 8 baggage: 16 45 60 13 24 29 50 30 The average weight of all baggage is 33.375 The entered weights in reverse order are 30 50 29 24 13 60 45 16
- By using while loop OR do..while loop, write a program that displays a list of groceries. Then, allow user to insert number of product that they want to buy, the item's code and quantity for each item. Finally, display the total price that the user needs to pay. Valid input for the number of product and quantity is positive number. Meanwhile valid number for items' code is only from 1 to 4. 1 Cooking oil 2 Curry powder RM 3.40 3 Detergent Potato chips RM 2.50 RM 8.50 4 RM 3.20 Sample output Emer number of product that you want to purchase (press 0 to exit) : 2 1.Enter item's code that you want to buy : 3 1.Enter the quantity of item that you want to buy: 1 2.Enter item's code that you want to buy : 0 2.Enter the quantity of item that you want to buy: 0 2.Enter item's code that you want to buy : 1 2.Enter the quantity of item that you want to buy; 2 Total price is RM 13.50(Statistics) This is the formula for the standard normal deviate, z, used in statistical applications: z=(X)/ X is a single value. refers to an average value. refers to a standard deviation. Using this formula, you need to write a program that calculates and displays the value of the standard normal deviate when X=85.3,=80,and=4. a. For this programming problem, how many outputs are required? b. How many inputs does this problem have? c. Determine a formula for converting input items into output items. d. Test the formula written for Exercise 7c, using the data given in the problem.(Simulation) Write a program to simulate the roll of two dice. If the total of the two dice is 7 or 11, you win; otherwise, you lose. Embellish this program as much as you like, with betting, different odds, different combinations for win or lose, stopping play when you have no money left or reach the house limit, displaying the dice, and so forth. (Hint: Calculate the dots showing on each die with the expression dots=(int)(6.0randomnumber+1), where the random number is between 0 and 1.)
- (Modify) a. Modify the program you wrote for Exercise 7 to provide the mass of a person as an output, given his or her weight as an input to the program. Use your program to determine the mass of a person who weighs 140 lbf on Earth. b. Modify the program written for Exercise 7a to also output the person’s weight on Mars and the moon. The pull of gravity on Mars is 12.54ft/sec2=3.728m/s2,andonthemoonis5.33ft/sec2=1.625m/s2.(Computation) A magic square is a square of numbers with N rows and N columns, in which each integer value from 1 to (N * N) appears exactly once, and the sum of each column, each row, and each diagonal is the same value. For example, Figure 7.21 shows a magic square in which N=3, and the sum of the rows, columns, and diagonals is 15. Write a program that constructs and displays a magic square for a given odd number N. This is the algorithm:26. A room has one door, two windows, and a built-in bookshelf and it needs to be painted. Suppose that one gallon of paint can paint 120 square feet. Write a program that prompts the user to input the lengths and widths of the door, each window, the bookshelf; and the length, width, and height of the room (in feet). The program outputs the amount of paint needed to paint the walls of the room.