We need to use the java language
Q: Question 1: The following ERD refers to an borrow system of a library. Member can borrow different b...
A: a,b:
Q: Perform the following calculations in the stated bases Numbers are in twos compliments 001201211...
A: Given 0012012116 + 0A01503116
Q: 6- At which layer a header is added to indicate if the usec protocol is TCP or UDP?
A: Given :
Q: branch separates all the records into a single class, then the purity is very low true or false ...
A: Lets see the solution.
Q: What is cloud computing? Businesses prefer an external service provider (SaaS, P, Pa, other) because...
A: Introduction: Cloud computing: This promotes speedier innovation, increased resource flexibility, an...
Q: What is the meaning of a relocatable object file?
A: Introduction: A relocatable object file is a file that contains parts of code and data. This file is...
Q: Line Matching and Word Selection in Fully Associative Caches are defined.
A: To define line matching and word selection are in fully associative caches
Q: Face-to-face classes have been suspended in Hong Kong due to the coronavirus outbreak, forcing stude...
A: INTRODUCTION: CLOUD COMPUTING Due to the coronavirus outbreak, Hong Kong's educational institutions ...
Q: List and briefly define the three forms of metadata that emerge in a three-layer data warehouse desi...
A: Introduction: It contains information on data ownership, corporate definitions, and shifting rules. ...
Q: In an eye-glass shop, a customer can buy either a pair Ol Sngle prescription sunglasses. On each pai...
A: Since no programming language was mentioned in the question, I have solved in C language.
Q: Define big data, analytics, IoT, data lake, NoSQL, MapReduce, Hadoop, HDFS, Pig, and Hive
A: EXPLANATION: Big data: It is a term that refers to a massive collection of data that grows exponenti...
Q: What role does a pilot project play in the analysis of information systems? Why do you think Petrie'...
A: Introduction: This research aims to examine the concerns and obstacles inherent in developing and co...
Q: What is the Line Replacement on Misses in Set Associative Caches?
A: Introduction: When none of the cache lines in a given set contain the appropriate tag value, the set...
Q: Write a C++ program to create a class to read and add two distance in feet and inches.
A: As per our guidelines, only one question will be answered. So, please repost the remaining questions...
Q: Give examples of the advantages of pickling objects for file storage.
A: INTRODUCTION: FILE STORAGE: Additionally, file storage is referred to as file-level or file-based st...
Q: a) In your own words, define Clip. a. What is it? b. When would you use it? c. Why is it useful? In ...
A: Geographic Information System (GIS) A Geographic Information System (GIS) is a computer system tha...
Q: They have changed the way software and resources are purchased for their corporate customers by offe...
A: Introduction: IaaS stands for "infrastructure as a service," which refers to pay-as-you-go storage, ...
Q: A private college owner is moving the entire college administrative system to the cloud. Now he must...
A: Introduction: The whole college administration system is being moved to cloud infrastructures by the...
Q: Describe the virtual machine as a caching tool.
A: Introduction: We will explore the usage of virtual memory caching in the given situation. Virtual me...
Q: What are Compiler Drivers and How Do I Use Them? What is the purpose of using them?
A: INTRODUCTION: Here we need to tell What are Compiler Drivers and How Do Use Them.
Q: Discuss the use of local symbols defined and referenced just by module m.
A: Introduction: In a symbol resolution process, the global symbols of all input relocatable objects ar...
Q: Create a flowchart on facebook (logging in, logging out and signing up)
A: Solution: Flow chart on Facebook (logging in, logging out and signing up) Facebook has following pr...
Q: Notes: all program codes should be written with method/s separated from the main) structure. Use a s...
A: Note: As per our guidelines we are suppose to answer only first question. Kindly repost other questi...
Q: Explain one client-side programming language and one server-side programmin language in detail.
A: Below the client-side programming language and one server-side programming language in detail.
Q: 2- What is the main purpose of the X Window System? * to provide a basic set of penetration testing ...
A: The Answer for the given question is in step-2.
Q: Discuss the advantages of using the database approach as against the file-based approach.
A: Given: We have to discuss the advantages of using the database approach as against the file-based ...
Q: What is the Line Replacement on Misses in Set Associative Caches?
A: Introduction: Set the Cache Lifespan's Expiry Date. After the initial request, the data in your cach...
Q: uestion 1: if "sp holds value like OXAB, what vahue 6 rsi) alue is po sitive or negative? uestion 2:...
A: The assembly code is given as, casting: movsbw (%rdi), %ax movw %ax, (%rsi)
Q: Discuss the issues of censorship and privacy, as well as how they relate to Internet usage.
A: Discuss the issues of censorship and privacy, as well as how they relate to Internet usage.
Q: What exactly is an executable object file?
A: Introduction: We must first explain what an executable object file is. The term "executable object f...
Q: Explain one client-side programming language and one server-side programming language in detail.
A: Introduction: A client is a party that requests and displays pages from a server to an end-user. In ...
Q: What is a transducer? It is a device that changes one sort of signal into another. Computer science
A: Given Question: What is the definition of a transducer? It's a piece of equipment that converts one ...
Q: Create a Windows Form Application project. with C#, using random values in an array or loop. The app...
A: C# Program: using System; using System.Collections.Generic; using System.ComponentModel; using Syste...
Q: How will our data security and privacy be compromised when utilizing digital devices?
A: INTRODUCTION: SECURITY AND PRIVACY: Security and Privacy is an international journal that publishes ...
Q: Write a program that reads the marks of a student in the test (te), midterm (mid), assignment (assig...
A: To write a program to calculate and display the theory mark and total mark. I used C++ language.
Q: The Virtual Memory Areas in Linux are what they sound like.
A: Introduction: The Linux memory executives subsystem is trustworthy when managing memory inside the f...
Q: A system's scope and complexity can change as the project progresses. A project that may seam feasib...
A: Given statement is True. A system's scope and complexity may change after design or analysis phases.
Q: Explain the "Integrating Caches and Virtual Machines" section.
A: Introduction: Utilizing Cache: In-memory caches are layers that reduce the amount of time required t...
Q: Discuss the issues of censorship and privacy, as well as how they relate to Internet usage.
A: Introduction: BasicsThe Internet is a worldwide network is interconnected personal computer networks...
Q: Create a class calculate that uses two separate functions:-a function to multiply two float numbers ...
A: Introduction The programming methodology for the program is given by: Including header files clas...
Q: class FileNode: def __init__(self, filename, depth=0): """This function initializes our ...
A: I will be attaching the code screenshots in the below steps for your convenience :
Q: If you want to use Chkdsk to fix file system issues and your drive isn't blocked, when does Windows ...
A: The Chkdsk command which is short form for check disk is used to solve the problems in the hard disk...
Q: Complete the check_strings_same_start(word1, word2) function which is passed two string parameters. ...
A: def check_string_same_start(word1, word2): if(len(word1)%2==0 or len(word2)%2==0): if(len(...
Q: What are the sources of managerial information system (explain with a diagram) and explain inputs an...
A:
Q: Examine the relationship that exists between information technology and automating processes. Why is...
A: Introduction: Businesses use information technology to automate many kinds of tasks, which can save ...
Q: 4. What is the output of the following Java code? int mark[ ] = { 50,60,70,80}; mark[5 ] = 15; Syste...
A: The output is as follows: Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 5
Q: What is cloud computing? Businesses prefer an external service provider (Saas, P, Pa, other) because...
A: Introduction: Computing in the cloud Cloud computing delivers computer services such as servers, sto...
Q: attribute at a node of the decision tree may happen if the attribute has many branches. true or fal...
A: Decision tree: The decision tree is the most powerful and extensively used tool for categorization ...
Q: Assume, we have a 32-bit system. Show how would you represent both negative and positive integers ac...
A: We are going to learn how positive and negative integers can be represented in 2's complement form w...
Q: Q/ WRITE A FORTRAN PROGRAM TO COMPUTE THE VALUE OF (S) FROM THE SERIES
A: The input will be the value of x whereas the value of the series when it exceeds 1000 is displayed a...
Step by step
Solved in 2 steps with 1 images
- Given an airplane’s acceleration a and take-off speed v, you can compute the minimum runway length needed for an airplane to take off using the following formula: length = v2/2a Write a program that prompts the user to enter v in meters/second (m/s) and the acceleration a in meters/second squared and displays the minimum runway length.Body Mass Index is a simple calculation using a person's height and weight. The formula is BMI = kg/m2 where kg is a person's weight in kilograms and m2 is their height in meters squared. Calculate a persons Body Mass index using their weight in pounds. This means you must first convert pounds to kilograms (kg) then apply the formula above. In converting pounds to kg, 1 pound = 0.453592 kg. So to convert pounds to kg, either multiply the pound value by 0.45359237 or divide by 2.2046226218. Then you must convert their height in inches to meters. The length in meters is equal to the inches multiplied by 0.0254. Write a program that accepts a users height as an integer in inches and their weight in pounds. Convert those inputs to their metric equivalents outlined above and determine their body mass index. Display what the conversions from and to their metric equivalents are. Display the body mass index and the category it belongs to.Running the program Your program should take 5 arguments: start annual years return inflation where start is the initial investment amount annual is the amount that is added to the investment every year years is the number of years that the investment is held return is the annual investment return expressed as a percentage inflation is the annual inflation rate expressed as a percentage So, to calculate the future and present value of $1000 investment after 10 years where you add $100 every year with a 7% return and 2% inflation, you give the following arguments and get this output: $ ./fv 1000 100 10 7 2 Future Value: $3445.51 Present Value: $2826.52 Writing the code Starter code is provided for you below int main(int arge, char **argv ) { int a, n double value, present, I, is value= atof(argv[1]); a = atoi (argv [2]); natoi (argv[3]); r = atof (argv[4])/100; i = atof(argv[5])/100; // TODO write your code here printf("Future Value: $%.2f\n", value) printf("Present Value: $%.2f\n",…
- Running the program Your program should take 5 arguments: start annual years return inflation where start is the initial investment amount annual is the amount that is added to the investment every year years is the number of years that the investment is held return is the annual investment return expressed as a percentage inflation is the annual inflation rate expressed as a percentage So, to calculate the future and present value of $1000 investment after 10 years where you add $100 every year with a 7% return and 2% inflation, you give the following arguments and get this output: $ ./fv 1000 100 10 7 2 Future Value: $3445.51 Present Value: $2826.52 Writing the code Starter code is provided for you below int main(int arge, char **argv ) { int a, n double value, present, I, is value= atof (argv[1]); a = atoi (argv[2]); natoi (argv[3]); r = atof (argv[4])/100; i = atof(argv[5])/100; // TODO write your code here printf ("Future Value: $%.2f\n", value) printf("Present Value: $%.2f\n",…Body Mass Index (BM) is a measure of health on weight. It can be calculated by taking your weight in kilograms and dividing by the square of your height in meters. Interpretation Underweight Write a program which prompts the user to enter the weight in kgs (integer value) and height in feet and inches (both integers) and then calculates the BMI of the person. Your program first need to convert inches to meters (L.e. inches 0.0254) and then use the following formula to calculate BM weight kilogram/ (height meter) 2 5 Your program displays the BMI value in two decimal places and the corresponding status as shown in the examples below. Note that one inch is 0.0254 meters and 1 foot is 12 inches. For example: Input Result 62 10 89 6 45 BMI BMI < 18.5 185 BMI <25.0 25.0 < BMI <30.0 30.0 s BMI 5 7 Normal Overweight Obese 82 2 Enter weight (kg): Enter height (feet): Enter height (inches): BMI is 19.61, Normal Enter weight (kg): Enter height (feet): Enter height (inches): BMI is 26.61,…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önder
- The cost of renting a room at a hotel is, say $100.00 per night. For special occasions, such as a wedding or conference, the hotel offers a special discount as follows: If the number of rooms booked at least 10, the discount is 10%; at least 20, the discount is 20%; and at least 30, the discount is 30%. Also if rooms are booked for at least three days, then there is an additional 5% discount. Write a program that prompts the user to enter the cost of renting one room, the number of rooms booked, the number of days the rooms are booked, and the sales tax (as a percent). The program outputs the cost of renting one room, the discount on each room as a percent, the number of rooms booked, the number of days the rooms are booked, the total cost of the rooms, the sales tax, and the total billing amount. Your program must use appropriate named constants to store special values such as various discounts.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; }The short-term, 0-24 hours, parking fee, F, at an international airport is given by the following formula: Where int(h + 1) is the integer value of h + 1. For example, int(3.2) = 3, int(4.8) = 4. Write a program that prompts the user to enter the number of hours a car is parked at the airport and outputs the parking fee.
- 4. A software company sells game cartridges for $99. Quantity discounts are given according to the following: 10 - 19 20% discount 20 49 O 30% discount 50 – 99 O 40% discount 100 + O 50% discount Write a program that asks the user how many games they purchased. The program should then display the amount of the discount (if any) and the total amount of the purchase after the discount is applied. Don't forget to add HST. 5. Earlier we wrote a BMI calculator. Enhance the program so that it displays a message indicating whether the person has optimal weight (BMI between 18.5 and 24.9), is underweight (BMI is less than 18.5), is overweight (BMI between 25 and 29.9), or is obese (BMI 30 or higher).Write a program to calculate the position of a projectile at a given time t. For an initial velocity vo and angle of departure ®g, the position is given by x and y coordinates as follows (note: the gravity constant g is 9.81 m/s²): X= V0 Cos (0)t y=vo sin (8,)t –; gt The program should initialize the variables for the initial velocity, time, and angle of departure. It should then call a function to find the x and y coordinates, and then another function to print the resultsWrite a program that lets the user enter the loan amount and loan period in number of years and displays the monthly and total payments for each interest rate starting from 5% to 8%, with an increment of 1/8.