Create a script that asks for the visitor's weight in pounds and his/her height in inches. The program should then calculate the body mass of the visitor. Display the weight, height, and body mass on the screen.

Answers

Answer 1

Answer:

weightPound = float(input("Enter your weight in pounds "))

heightInches = float(input("Enter your height in inches "))

weightKg = weightPound*0.453592

heightMeter = heightInches*0.0254

BodyMassIndex = weightKg/(heightMeter*heightMeter)

print("")

print("Your Weight in kilograms is: ")

print(weightKg)

print("Your Height in meters is: ")

print(heightMeter)

print("Your Body Mass Index is: ")

print(BodyMassIndex)

Explanation:

Above is a Python Script to accomplish the taskSee attached image for the program output.Observe that we used the formula weight/height*height to calculate the Body Mass IndexObserve also the conversion from pounds to Kilogram and inches to meters
Create A Script That Asks For The Visitor's Weight In Pounds And His/her Height In Inches. The Program

Related Questions

Compare the elements of the basic Software Development Life Cycle with 2 other models. How are they similar? How are they different? Write a paragraph for each of 3 models describing each. Then write a paragraph comparing the differences and similarities among the 3. Your submission should be 1-2 pages of discussion.

Answers

Answer:

Explanation:

One of the basic notions of the software development process is SDLC models which stands for Software Development Life Cycle models. SDLC – is a continuous process, which starts from the moment, when it’s made a decision to launch the project, and it ends at the moment of its full remove from the exploitation. There is no one single SDLC model. They are divided into main groups, each with its features and weaknesses. The most used, popular and important SDLC models are given below:

1. Waterfall model

2. Iterative model

3. Spiral model

4. V-shaped model

5. Agile model

Stage 1. Planning and requirement analysis

Each software development life cycle model starts with the analysis, in which the stakeholders of the process discuss the requirements for the final product.

Stage 2. Designing project architecture

At the second phase of the software development life cycle, the developers are actually designing the architecture. All the different technical questions that may appear on this stage are discussed by all the stakeholders, including the customer.  

Stage 3. Development and programming

After the requirements approved, the process goes to the next stage – actual development. Programmers start here with the source code writing while keeping in mind previously defined requirements. The programming by itself assumes four stages

• Algorithm development

• Source code writing

• Compilation

• Testing and debugging

Stage 4. Testing

The testing phase includes the debugging process. All the code flaws missed during the development are detected here, documented, and passed back to the developers to fix.  

Stage 5. Deployment

When the program is finalized and has no critical issues – it is time to launch it for the end users.  

SDLC MODELS

Waterfall – is a cascade SDLC model, in which development process looks like the flow, moving step by step through the phases of analysis, projecting, realization, testing, implementation, and support. This SDLC model includes gradual execution of every stage completely. This process is strictly documented and predefined with features expected to every phase of this software development life cycle model.

ADVANTAGES  

Simple to use and understand

DISADVANTAGES

The software is ready only after the last stage is over

ADVANTAGES

Management simplicity thanks to its rigidity: every phase has a defined result and process review

DISADVANTAGES

High risks and uncertainty

Iterative SDLC Model

The Iterative SDLC model does not need the full list of requirements before the project starts. The development process may start with the requirements to the functional part, which can be expanded later.  

ADVANTAGES                                        

Some functions can be quickly be developed at the beginning of the development lifecycle

DISADVANTAGES

Iterative model requires more resources than the waterfall model

The paralleled development can be applied Constant management is required

Spiral SDLC Model

Spiral model – is SDLC model, which combines architecture and prototyping by stages. It is a combination of the Iterative and Waterfall SDLC models with the significant accent on the risk analysis.

Why are user application configuration files saved in the user’s home directory and not under /etc with all the other system-wide configuration files? ____________________________________________________________________________________

Answers

Explanation:

The main reason why is because regular users don't have permission to write to /etc. Assuming this is Linux, it is a multi-user operating system. Meaning if there are user-application configuration files within /etc, it would prevent users from being able to customize their applications.

Explain why deploying software as a service can reduce the IT support costs for a company. What additional costs might arise if this deployment model is used?

Answers

Answer:

It reduces the cost of multiple subscription, but the cost of management is applied.

Explanation:

Cloud computing is the use of online resources like storage infrastructure available on database servers to hold company resources on a central level. There are various platforms available in adopting cloud services and they are SaaS or software as a service, PaaS, or platform as a service, IaaS or infrastructure as a service etc.

SaaS is a cloud computing services where software applications are made centrally available for an organisation. It reduces the cost of purchasing multiple activation keys for software traditionally installed. But it requires a skilled personnel and annual or monthly subscription, which when added together, might spike the cost of deployment.

Write a function so that the main program below can be replaced by the simpler code that calls function mph_and_minutes_to_miles(). Original main program:miles_per_hour = float(input())minutes_traveled = float(input())hours_traveled = minutes_traveled / 60.0miles_traveled = hours_traveled * miles_per_hourprint('Miles: %f' % miles_traveled)Sample output with inputs: 70.0 100.0Miles: 116.666667

Answers

Final answer:

To replace the original main program with a function, define the function mph_and_minutes_to_miles() that prompts the user to enter miles per hour and minutes traveled, calculates the miles traveled, and displays the result.

Explanation:

To replace the original main program with the function mph_and_minutes_to_miles(), you can define the function as follows:

def mph_and_minutes_to_miles():
   miles_per_hour = float(input())
   minutes_traveled = float(input())
   hours_traveled = minutes_traveled / 60.0
   miles_traveled = hours_traveled * miles_per_hour
   print('Miles: %f' % miles_traveled)

Then, you can simply call the mph_and_minutes_to_miles() function in your main program:

mph_and_minutes_to_miles()

This will prompt the user to enter the miles per hour and minutes traveled, and then calculate and display the miles traveled.

Final answer:

To simplify the main program, define a function called mph_and_minutes_to_miles() that takes two inputs: miles_per_hour and minutes_traveled. Inside the function, calculate the hours_traveled by dividing minutes_traveled by 60.0. Then, calculate the miles_traveled by multiplying hours_traveled by miles_per_hour. Finally, print the result using the format() function.

Explanation:

To simplify the main program, you can define a function called mph_and_minutes_to_miles() that takes two inputs: miles_per_hour and minutes_traveled. Inside the function, you can calculate the hours_traveled by dividing minutes_traveled by 60.0. Then, you can calculate the miles_traveled by multiplying hours_traveled by miles_per_hour. Finally, you can print the result using the format() function to display the miles_traveled.

Here's an example of the function:

def mph_and_minutes_to_miles():
   miles_per_hour = float(input())
   minutes_traveled = float(input())
   hours_traveled = minutes_traveled / 60.0
   miles_traveled = hours_traveled * miles_per_hour
   print('Miles:', miles_traveled)
mph_and_minutes_to_miles()

If you run the above code and enter the values 70.0 and 100.0 when prompted, it will output: Miles: 116.6666667

A store sells widgets at 25 cents each for small orders or at 20 cents each for orders of 100 or more. Write a program that requests the number of widgets ordered and displays the total cost. (write the python program and after confirming it works, copy and paste the program code below)

Answers

Answer:

widgets=float(input("Enter number of widgets you want to buy"))

if widgets<0:

print("Can't compute negative number")

else:

if widgets<100:

cost=widgets*25

else:

cost=widgets*20

print("The total cost of widgets is", cost,"cents")

Explanation:

First I made a variable called widgets to take input of the number of widgets the customer wants to buy. I use the first comditional statement to test if the number of items typed in is not less than zero.

The else statement computed the prices of widgets based on number of widgets greater than zero.

Another conditional statement to check if the widgets is lower that 100 or greater. The cost represents the total amount, in terms of cost it will take for some nuber of widgets.

The last line prints the total cost and some statments

Final answer:

A Python program to calculate the total cost of widgets takes the number of widgets as input, determines the price per widget based on order quantity, and calculates the total cost.

Explanation:

Python Program for Calculating Total Cost of Widgets

If a store sells widgets at 25 cents each for small orders or 20 cents each for orders of 100 or more, the following Python program will calculate the total cost based on the number of widgets ordered:

# Ask the user for the number of widgets ordered
number_of_widgets = int(input("Enter the number of widgets you want to order: "))
# Determine the price per widget based on the quantity
if number_of_widgets < 100:
   price_per_widget = 0.25
else:
   price_per_widget = 0.20
# Calculate the total cost
total_cost = number_of_widgets * price_per_widget
# Display the total cost
print(f"The total cost for {number_of_widgets} widgets at ${price_per_widget:.2f} each is: ${total_cost:.2f}")

This program first asks the user to enter the quantity of widgets they wish to order. It then uses a conditional statement to determine the price per widget based on the quantity. Finally, it calculates the total cost and prints the result.

Write a well-commented Java program that answers the following questions in complete sentences such that the reader does not have to know the question in advance. Use either System.out methods or JOptionPane for your program output:

Answers

Answer:

import java.util.Scanner;

import javax.swing.JOptionPane;

public class labExercise1

{

public static void main(String[] args)

{

int sum= 0;

double interestRate = 5.0;

double monthlyPayment=0;

double totalPayment=0;

String input = JOptionPane.showInputDialog(null,"Enter the loan amount: ($)","Lab Exercise 1", 2);

double loanAmount = Double.parseDouble(input);

String input1 = JOptionPane.showInputDialog(null,"Enter the loan period(years):","Lab Exercise 1",2);

double numberOfYears = Double.parseDouble(input1);

JOptionPane.showConfirmDialog(null,"The loan amount is $" + loanAmount + ", and the loan duration is " + numberOfYears + "year(s). Continue?","Lab Exercise 1",2);

String s1 = null;

System.out.print("Interest Rate(%) Monthly Payment($) Total Payment($) ");

s1 = "Interest Rate(%) Monthly Payment($) Total Payment($) ";

while (interestRate <= 8.0)

{

double monthlyInterestRate = interestRate / 1200;

monthlyPayment= loanAmount * monthlyInterestRate / (1 - 1 / Math.pow(1 + monthlyInterestRate, numberOfYears * 12));

totalPayment = monthlyPayment * numberOfYears * 12;

s1 = s1 + String.format("%.3f%30.2f %40.2f ",interestRate, monthlyPayment, totalPayment) + " ";

System.out.println(s1);

interestRate = interestRate + 1.0 / 8;

}

//s1 = String.format("%16.3f%19.2f%19.2f ",interestRate, monthlyPayment, totalPayment);

System.out.println(s1);

JOptionPane.showMessageDialog(null,s1,"Lab Exercise 1",3);

}

}

Explanation:

Take the loan amount and period as inputs from the user.Calculate the monthly interest rate by dividing the interest rate with 1200.Calculate total payment using the following the formula:totalPayment = monthlyPayment * numberOfYears * 12;

What policy definition defines the standards, procedures, and guidelines for how employees are to be granted and authorized access to internal IT resources through the public Internet?

Answers

Answer:

Explanation:

Regularly in a company the senior management establish the policy and standards about the network and the employees, we can find different kind of these standards, for example:

Policies

RegulatoryAdvisoryInformative

Security policies

OrganizationalIssue-specificSystem-specific

Standards

Actions or rulesSupportInternal or external

Load the titanic sample dataset from the Seaborn library into Python using a Pandas dataframe, and visualize the dataset. Create a distribution plot (histogram) of survival conditional on age and gender

Answers

Answer:

Following is given the data as required.

The images for histograms for age and gender are also attached below.

I hope it will help you!

Explanation:

In a point-to-point single network, how many physical links will there be when a packet is transmitted?

Answers

Answer:

One

Explanation:

A network is the interconnection and communication of two or more computer devices. Computer systems on a network shares resources with one another, using network standards like OSI and TCP/IP suite model and using the protocols on each layers.

There are two major types of network communication between devices and they are peer to peer or point to point Network and client-server network.

Point to point Network uses one secure physical link to connect two computers or routers in a network.

The fact that MTV, the cable channel devoted primarily to music, provided extensive coverage of the 1992 presidential race demonstrates how ------- politics and popular music culture have become.

Answers

Answer:

The fact that MTV, the cable channel devoted primarily to music, provided extensive coverage of the 1992 presidential race demonstrates how interrelated politics and popular music culture have become.

Lossless and lossy are the two (2) universally known categories of compression algorithms. Compare the two (2) categories of algorithms, and determine the major advantages and disadvantages of each. Provide one (1) example of a type of data for which each is best suited.

Answers

Answer:

The lossy compression method is also known as irreversible compression and is beneficial if the quality of the data is not your priority. It slightly degrades the quality of the file or data but is convenient when one wants to send or store the data. This type of data compression is used for organic data like audio signals and images. The algorithm use in Lossy compression include: Transform coding, DCT, DWT, fractal compression, RSSMS.

The Lossless compression method is also known as reversible compression and is capable of reconstituting the original form of the data. The quality of the data is not compromised. This technique allows a file to restore its original form. Lossless compression can be applied to any file format can improve the performance of the compression ratio. The algorithm use in Lossless compression include: RLW, LZW, Arithmetic encoding, Huffman encoding, Shannon Fano coding.

Advantage of Lossy compression: Lossy compression can achieve a high level of data compression when compared to lossless compression.

Advantage of Lossless compression: Lossless compression doesn’t degrade the quality of data during compression

Disadvantage of Lossy compression: Lossy compression degrades the quality of the data during compression

Disadvantage of Lossless compression: Lossless compression has less data holding capacity when compared to lossy method

Example of type of data for Lossless compression: Text

Example of type of data for Lossy compression: Audio

Explanation:

Answer:

Lossless retains the file size while lossy algorithm discards excess files size or parts.

Explanation:

Compression algorithms are algorithms used to minimise the file size of a large file format. It is handy for maximising available disk space and reduce upload and download time of these files. Lossless and lossy are two types of compression algorithms.

Lossless algorithm is used to compress a file, but yet retains the structure of the original file or data. It is used where an identical file from the original is favourable and is used in archives.

Lossy is the opposite of lossless because it discards excess parts of a file. It is used in compressing audio files like MP3.

The cost to ship a package is a flat fee of 75 cents plus 25 cents per pound.
1. Declare a constant named CENTS_PER_POUND and initialize with 25.
2. Get the shipping weight from user input storing the weight into shipWeightPounds.
3. Using FLAT_FEE_CENTS and CENTS_PER_POUND constants, assign shipCostCents with the cost of shipping a package weighing shipWeightPounds.

Answers

Final answer:

To calculate the cost of shipping a package based on weight, you can use the formula: 'shipCostCents' = FLAT_FEE_CENTS + (CENTS_PER_POUND * shipWeightPounds).

Explanation:

To calculate the cost of shipping a package that weighs 'shipWeightPounds', we can use the formula:
'shipCostCents' = FLAT_FEE_CENTS + (CENTS_PER_POUND * shipWeightPounds)

Declare a constant named CENTS_PER_POUND and initialize it with a value of 25.Get the shipping weight from user input and store it into a variable called shipWeightPounds.Calculate the shipping cost by assigning 'shipCostCents' with the expression FLAT_FEE_CENTS + (CENTS_PER_POUND * shipWeightPounds). This will give you the total cost in cents.

For example, if the flat fee is 75 cents and the weight of the package is 5 pounds, the calculation would be:
shipCostCents = 75 + (25 * 5) = 75 + 125 = 200 cents.

Final answer:

The problem involves calculating the shipping cost using a constant price per pound plus a flat fee. It exemplifies the importance of understanding unit conversions and shipping rate calculations for mailing packages.

Explanation:

The given problem requires creating a simple program that calculates the shipping cost based on the weight of a package. To begin the process:

Declare a constant named CENTS_PER_POUND and initialize it with the value 25 to represent the cost per pound.Prompt the user for the package weight and store this input in a variable named shipWeightPounds.Calculate the shipping cost (shipCostCents) using the FLAT_FEE_CENTS and CENTS_PER_POUND constants. This is done by multiplying the weight of the package by the cost per pound and adding the flat fee.

Applying this to a real-world scenario helps understand why it matters. According to the information provided, understanding how to calculate shipping costs based on weight is essential for sending mail. For instance, if you had a package weighing 2 pounds, you would convert the weight to ounces (since there are 16 ounces in a pound), resulting in 32 ounces. Using the shipping rates mentioned (where the first 3 ounces cost $1.95, and each additional ounce costs $0.17), the cost for a 32-ounce package would be calculated as shown by LibreTexts™.

Remember for a moment a recent trip you have made to the grocery store to pick up a few items. What pieces of data did the Point of Sale (POS) terminal and cashier collect from you and what pieces of data about the transaction did the POS terminal pull from a database to complete the sale? In addition to the data collected and retrieved what information was generated by the POS terminal at the end of the order, as it is being completed?Identify the following parts of a common grocery store transaction as data, information, or knowledge.1. An item's UPC number 2. Change back to customer 3. General changes to demand in different seasons 4. Cost each Data 5. Quantity purchased 6. Non-taxable total 7. Extended cost (quantity times cost each) 8. Amount tendered 9. Sales of an item for the last week 10. Upcoming holidays and customer's special needs 11. How paid (cash, charge card, debit card) 12. Shopper loyalty card number 13. Taxable total

Answers

Answer:

Answer is explained below

Explanation:

Data: Data are raw facts and figures that are collected together for analysis. In other words, Simple no processing is data.

Information: Information is the facts provided about something. In simple terms, processed data is information.

Knowledge: Knowledge is the processed facts that are understand for a conclusion.

1. An item's UPC number - data

Explanation: An item number is data because simple no processing is required.

2. Change back to customer - information

Explanation: Data about a customer is information.

3. General changes to demand in different seasons - knowledge

Explanation: Requires data (time and quantity purchased) to be processed/aggregated into information. The information is understood to provide a pattern of demad changes due to seasons.

4. Cost each - data

Explanation: Cost each is data because simple no processing is required.

5. Quantity purchased - data

Explanation: Cost each is data because simple no processing is required.

6. Non-taxable total - information

Explanation: -- requires that data (prices, amounts and whether the item is taxable) to be processed (price * amount for items that are non-taxable).

7. Extended cost [quantity times cost each] - information

Explanation: Extended cost requires processing two pieces of data quantity and cost

8. Amount tendered - data

Explanation: Amount tendered is data because simple no processing is required.

9. Sales of an item for the last week - information

Explanation: Sales of an item for the last week requires aggregating sales for a specific time frame together

10. Upcoming holidays and customer's special needs - knowledge

Explanation: Upcoming holidays and customer's special needs requires holiday data (dates) to be combined with information gathered about customer to understand customer's special needs

11. How paid [cash, charge card, debit card] - data

Explanation: Cost each is data because simple no processing is required.

12. Shopper loyalty card number - data

Explanation: Cost each is data because simple no processing is required.

13. Taxable total - information

Explanation: Taxable total requires that data (prices, amounts and whether the item is taxable) to be processed (price * amount for items that are taxable).

Why is it useful for a programmer to have some background in language design, even though he or she may never actually design a programming language?

Answers

He/She may need to read a program's code and need to know the language to know what he is doing to the program. just a guess

In C#Write the program SubscriptExceptionTest in which you use an array of 10 doubles. Write a try block in which you place a loop that prompts the user for a subscript value and displays the value stored in the corresponding array position or asks the user to quit the program by entering 99. Create a catch block that catches any IndexOutOfRangeException and displays the message: Index was outside the bounds of the array.

Answers

Answer:

using System;

namespace ConsoleApp3

{

   class Program

   {

       static void Main(string[] args)

       {

           double[] doubleArray = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0 };

           Console.WriteLine("Double Array values are:");

           foreach (var b in doubleArray)

           {

               Console.WriteLine(b);

           }

           Console.WriteLine("Enter value to find position in Array");

           var input = Console.ReadLine();

           var value = Convert.ToDouble(input);

           if (value == 99.0)

           {

               Environment.Exit(0);

           }

           try

           {

               var index = Array.IndexOf(doubleArray, value);

               if (index == -1)

               {

                   Console.WriteLine("Index was outside the bounds of the array");

                   Console.ReadLine();

               }

               else

               {

                   Console.WriteLine("Position in Array is:" + index);

                   Console.ReadLine();

               }

           }

           catch (Exception e)

           {

               Console.WriteLine("Index was outside the bounds of the array");

               Console.ReadLine();

           }

       }

   }

}

Explanation:

this is the code of console program which initialize the double array from 1-10 and displays the existing values of array in console.

Then it will take input from user, convert it to double and find the value position in double array.

if 99, then program will be exist

if exist in array:display the index position

else:index was outside the bounds of the array in try catch block.

Write a function that takes an integer as an argument and returns True if the number is within the range 1 to 555 (not inclusive, i.e. neither 1 nor 555 are in range).

Answers

Answer:

The program to this question as follows:

Program:

def Range(n): #defining a method Range and pass variable n as a parameter

   if (1<n<555): #if block for check range

       return True #return value

   else:  

       return False #return value

n=int(input('Enter the value: ')) #defining variable n and input a value

d=Range(n) #defining variable d and call the method that holds value  

print (d) #print value

Output:

Enter the value: 34

True

Explanation:

In the above python code, a function "Range" is defined, which uses a variable n as a parameter, inside the function, the conditional statement is used, inside the if block, if the input value is in the range between 1 to 555. if it is true will return a value that is "True" or it will go to the else part that returns a value "False".

Outside the function, variable n is defined, which uses input function for input the value from the user, and another variable d is defined, that holds function return value and uses print function to print its value.  

BI is an umbrella term that combines architectures, tools, databases, analytical tools, applications, and methodologies. b. BI is a content-free expression, so it means the same thing to all users. c. BI's major objective is to allow access to data (and models) to only IT. d. BI does not help transform data, to information (and knowledge), to decisions and finally to action.

Answers

Answer:

architectures, tools, databases, analytical tools, applications, and methodologies

Explanation:

There are several features of business intelligence. It is a content-free expression, which means that it means different things to different people, and not same thing as suggested by Option B. While its major objective is to enable or allow easy access to data, it is not limited to data and IT only as suggested by Option C. Instead it provides managers of businesses with the ability of analysis of data. And finally it helps in the transformation of data to information and to action, which is contrary to the suggestions of Option D. Hence the first option is the only correct option.

Write a Python function uniquely_sorted() that takes a list as a parameter, and returns the unique values in sorted order.

Answers

Answer:

   Following is the program in Python language  

def uniquely_sorted(lst1): #define the function uniquely_sorted

   uni_que = [] #creating an array

   for number in lst1: #itereating the loop

       if number not in uni_que: #check the condition

           uni_que.append(number)#calling the function

   uni_que.sort() #calling the predefined function sort

   return uni_que #returns the  unique values in sorted order.

print(uniquely_sorted()([8, 6, 90, 76])) #calling the function uniquely_sorted()

Output:

[6,8,76,90]

Explanation:

   Following are the description of the Python program

Create a functionuniquely_sorted() that takes "lst1" as a list parameter. Declared a uni_que[] array . Iterating the loop and transfer the value of "lst1" into "number" Inside the loop call, the append function .the append function is used for adding the element in the last position of the list. Call the predefined function sort(for sorting). Finally, call the function uniquely_sorted() inside the print function.

   

The top 3 most popular male names of 2017 are Oliver, Declan, and Henry according to babynames.

1. Write a program that modifies the male_names set by removing a name and adding a different name. Sample output with inputs: 'Oliver' 'Atlas' { 'Atlas', 'Declan', 'Henry' }

NOTE: Because sets are unordered, the order in which the names in male_names appear may differ from above.

Answers

male_names = {'Atlas', 'Declan', 'Henry'}

def modify_names(old_name, new_name, names_set):

   names_set.discard(old_name)

   names_set.add(new_name)

   return names_set

male_names = {'Oliver', 'Declan', 'Henry'}

old_name = input("Enter the name to remove: ")

new_name = input("Enter the name to add: ")

new_male_names = modify_names(old_name, new_name, male_names)

print(new_male_names)

Enter the name to remove: Oliver

Enter the name to add: Atlas

{'Atlas', 'Declan', 'Henry'}

Write a function called cipher(phrase,shift)that accepts two parameters: a string phrase and an integer shift.The integer shift can be positive, negative or zero.

Answers

Answer:

Following is given the code according to requirement.

The code is attached as an image so that the indentation is understood by the user. Comments are given inside the code where necessary.

The output of code is also attached as well  in end.

I hope it will help you!

Explanation:

1.) You are a digital forensic examiner and have been asked to examine a hard drive for potential evidence. Give examples of how the hard drive (or the data on it) could be used as (or lead to the presentation of) all four types of evidence in court; testimonial, real, documentary, and demonstrative. If you do not believe one or more of the types of evidence would be included, explain why not.

Answers

Answer & Explanation:

The hard drive could contain some type of reports which might prove to be the evidence of some bad guys involved. Some real evidence such as images or documents related to the crime committed such as corruption-related property papers details of bank accounts along with a possibility that it may also contain a video recording which may prove as evidence. so there shouldn't be any demonstrative proof which can present there by having a hard drive and can be used as evidence in the court.

A 1 MB digital file needs to transmit a channel with bandwidth of 10 MHz and the SNR is 10 dB. What is the minimum amount of time required for the file to be completely transferred to the destination?

Answers

Answer:

A 1 MB digital file needs 0.23 seconds to transfer over a channel with bandwidth 10 MHz and SNR 10 dB.

Explanation:

We can calculate the channel capacity using Shannon's Capacity formula:

C = B + log₂ (1 + SNR)

Where C = Channel Capacity

           B = Bandwidth of the Channel

           SNR = Signal to Noise Ratio

We are given SNR in dB so we need to convert it into a ratio.

[tex]SNR_{dB}[/tex] = 10log₁₀ (SNR)

10 = 10log₁₀ (SNR)

1 = log₁₀ (SNR)

SNR = 10¹

SNR = 10

So, using Shannon Channel Capacity formula:

C = 10 x 10⁶ log₂ (1 + 10)

C = 34.5 MHz

Total amount of time required to transmit a 1MB file:

1MB = 1 x 8 Mbytes = 8Mb

C = 34.5 MHz = 34.5 Mb/s

Time required = 8Mb/34.5Mb/s = 0.23 seconds

A 1 MB digital file needs 0.23 seconds to transfer over a channel with bandwidth 10 MHz and SNR 10 dB.

In Programming Exercise 2, the class dateType was designed and implemented to keep track of a date, but it has very limited operations. Redefine the class dateType so that it can perform the following operations on a date, in addition to the operations already defined: a. Set the month. b. Set the day. c. Set the year. d. Return the month. e. Return the day. f. Return the year. g. Test whether the year is a leap year. h. Return the number of days in the month. For example, if the date is 3-12-2011, the number of days to be returned is 31 because there are 31 days in March. i. Return the number of days passed in the year. For example, if the date is 3-18-2011, the number of days passed in the year is 77. Note that the number of days returned also includes the current day. j. Return the number of days remaining in the year. For example, if the date is 3-18-2011, the number of days remaining in the year is 288. k. Calculate the new date by adding a fixed number of days to the date. For example, if the date is 3-18-2011 and the days to be added are 25, the new date is 4-12-2011.

Answers

Answer:

Java class is given below

Explanation:

class Date{

private int date;

private int month;

private int year;

public Date(){}

public Date(int date,int month, int year){

this.date= date;

this.month = month;

this.year = year;

}

public void setDate(int date){

this.date = date;

}

public void setMonth(int month){

this.month = month;

}

public void setYear(int year){

this.year = year;

}

public int getDate(){

return date;

}

public int getMonth(){

return month;

}

public int getYear(){

return year;

}

public boolean isLeap(int year){

return year%4==0

}

}

Final answer:

To redefine the dateType class and add the requested operations, modify the class and include methods like setMonth, setDay, setYear, getMonth, getDay, getYear, isLeapYear, daysInMonth, daysPassedInYear, daysRemainingInYear, and addDays.

Explanation:Redesigning the dateType Class

To redefine the dateType class and add the requested operations, you can modify the existing class and include the following methods:

setMonth(int m): Set the month of the date.setDay(int d): Set the day of the date.setYear(int y): Set the year of the date.getMonth(): Return the month of the date.getDay(): Return the day of the date.getYear(): Return the year of the date.isLeapYear(): Test whether the year is a leap year.daysInMonth(): Return the number of days in the month.daysPassedInYear(): Return the number of days passed in the year.daysRemainingInYear(): Return the number of days remaining in the year.addDays(int numDays): Calculate the new date by adding a fixed number of days to the date.

By implementing these methods, you can enhance the functionality of the dateType class to perform all the requested operations.

Calculate the number of hours since the birthdate. Insert your calculation in cell C15. (hint: convert the number of days to number of hours by multiplying the number of days in C14 by 24.)

Answers

Final answer:

To calculate the number of hours since a birthdate, multiply the number of days by 24 and insert the result in cell C15.

Explanation:

To calculate the number of hours since the birthdate, you need to first determine the number of days that have passed since that date. Once you have the number of days in cell C14, you multiply it by 24 to convert the number of days to a number of hours. For example, if cell C14 contains 10 days, then you would calculate the hours as follows:

10 days x 24 hours/day = 240 hours

You would then insert the result, 240 hours, into cell C15 to complete the calculation.

Final Answer

The number of hours since the birthdate is calculated by multiplying the number of days in cell C14 by 24.

Explanation

To determine the duration in hours since the birthdate, the process involves converting the number of days provided in cell C14 into hours. As there are 24 hours in a day, multiplying the number of days by 24 yields the total number of hours.

This formulaic approach accounts for the full span of days indicated, translating it accurately into an hourly representation.

Act on converting different time units to facilitate precise calculations for varied temporal requirements. Understanding these conversions aids in transforming durations to the most fitting unit, catering to specific contexts and calculations.

Diane and Benjamin work at the U.S. office of their company. Through their special mentoring relationship, Diane, a senior member of the organization has greatly improved her technical skills, while Benjamin, the new member of the organization has learned how to streamline his work habits to accomplish reports quicker. This best exemplifies a(n):___________

Answers

Answer:CO-MENTORING RELATIONSHIP.

Explanation: CO-MENTORING RELATIONSHIP is a type of relationship between two individuals,where both have a unique or Special skill set to offer to the other party.

This is the type of relationship between DAINE AND BENJAMIN,is is a kind of mutually beneficial Relationships as DAINE will offer her greatly improved technical skills to Benjamin who in turn will offer or mentor Daine on streamlining work habits to accomplish reports quickly.

Final answer:

The relationship between Diane and Benjamin illustrates reciprocal mentoring, where both parties learn and grow professionally through mutual interaction and exchange of knowledge.

Explanation:

The scenario described in which Diane and Benjamin are both learning from each other in a professional setting most accurately exemplifies a(n) reciprocal mentoring relationship. This concept refers to a mutually beneficial arrangement where typically a more experienced individual (Diane in this case) and a less experienced individual (Benjamin) learn from each other. Diane improved her technical skills and Benjamin learned how to be more efficient at work, demonstrating the reciprocal nature of the mentoring dynamic.

Learn more about reciprocal mentoring here:

https://brainly.com/question/31916779

#SPJ3

What does Lowenstam mean by the "interactive" model as a way of describing the relationship between images and texts? Explain.

Answers

Answer:

What does Lowenstam mean by the "interactive" model as a way of describing the relationship between images and texts? Explain.

Explanation:

The Lowenstam intercative model tries to explain the relationship between myth, poetry and art in the Homeric poems and the epic stories, stating that archaic Greek vases painters were representing, with their own artistic features, not thinking themselves as to be the illustrators of the  texts the way we inherited them, but in the way they interpreted them.

Describe the concepts of confidentiality, integrity, and availability (C-I-A), and explain each of the seven domains of a typical IT infrastructure. Summarize the threat triad, and explain how securit ...?"

Answers

Answer:

Answer explained below. The remaining part of the question is incomplete

Explanation:

The concepts of confidentiality, integrity, and availability (C-I-A) can be explained in following given points.

1) Confidentiality: Its basically refer to the confidentiality of the information. Here we can think about the protection of the information from unauthorized person. Confidentiality enuser that at what level your information is secured and no unauthorized access will be done to the information. For maintaining the confidentiality, we can use various encryption methods. The main concept of confidentiality is to enforce various techniques like encryption, file permissions and access control to restrict access to important information.

2) Integrity: Integrity of the information refer to the unwanted modification of the information. Integrity of the data as well as the information should be maintained and only the autorized person can access as well as modify the information. For enforcing the integrity, we can implement various hashing techniques on information.

3) Availability: Availability refers to the availability of the information, when ever an autorized person requests for the information. High availability of the information should occur, so that any autorized person can access it, when ever its required. For high availability, we can create backup as well as replicate the data across the geo sites.

Seven domains of a typical IT infrastructure are given below:

1) User Domain: Its refer to the group of users as well as the person who access the information systems.

2) LAN Domain: Refer to the local area network, where various computers are connected to each other.

3) Workstation Domain: The area is called workstation, where various users connect to the IT infrastructure.

4) WAN and LAN link domain: Refer to the connection of local area network to wide area network.

5) WAN domain: Refer to the wide area network, connection of computers in large area.

6) Storage Domain: Refer to the storage, where we store the data.

7) Remote Access Domain: Refer to the domain where mobile user can access the local as well as wide network remotely.

Re-write the following arithmetic expressions as Scheme expressions and show the result of the Scheme interpreter when invoked on your expressions. (a) (22+42) (54 x 99).(b) ((22+42) x 54) x 99. (c) 64 x 102 + 16 x (44/22).

Answers

Answer:

See Answer Below:

Explanation:

a) (22+42) (54 x 99)

= (22 + 42) × (54 × 99)

  (*      (+ 22 42)

           (* 54 99))

(b)    ((22+42) x 54) x 99

      = (*     (*    (+ 22 42)

                       54

                 99)

(c)  64 x 102 + 16 x (44/22)

   = (+    (* 64 102)

             (* 16

                 (/ 44 22) ) )

5)What are the differences in the function calls between the four member functions of the Shape class below?void Shape::member(Shape s1, Shape s2);void Shape::member(Shape *s1, Shape *s2);void Shape::member(Shape& s1, Shape& s2) const;void Shape::member(const Shape& s1, const Shape& s2);void Shape::member(const Shape& s1, const Shape& s2) const;

Answers

Answer:

void Shape :: member ( Shape s1, Shape s2 ) ; // pass by value

void Shape :: member ( Shape *s1, Shape *s2 ) ; // pass by pointer

void Shape :: member ( Shape& s1, Shape& s2 ) const ; // pass by reference

void Shape :: member ( const Shape& s1, const Shape& s2 ) ; // pass by const reference

void Shape :: member ( const Shape& s1, const Shape& s2 ) const ; // plus the function is const

Explanation:

void Shape :: member ( Shape s1, Shape s2 ) ; // pass by value

The s1 and s2 objects are passed by value as there is no * or & sign with them. If any change is made to s1 or s2 object, there will not be any change to the original object.

void Shape :: member ( Shape *s1, Shape *s2 ) ; // pass by pointer

The s1 and s2 objects are passed by pointer as there is a * sign and not & sign with them. If any change is made to s1 or s2 object, there will be a change to the original object.

void Shape :: member ( Shape& s1, Shape& s2 ) const ; // pass by reference

The s1 and s2 objects are passed by reference  as there is a & sign and not * sign with them. If any change is made to s1 or s2 object.

void Shape :: member ( const Shape& s1, const Shape& s2 ) ; // pass by const reference

The s1 and s2 objects are passed by reference  as there is a & sign and not * sign with them. The major change is the usage of const keyword here. Const keyword restricts us so we cannot make any change to s1 or s2 object.

void Shape :: member ( const Shape& s1, const Shape& s2 ) const ; // plus the function is const

The s1 and s2 objects are passed by reference  as there is a & sign and not * sign with them. const keyword restricts us so we cannot make any change to s1 or s2 object as well as the Shape function itself.

____ was the first-generation cellular telephone system.​ a. ​Advanced Mobile Phone Service (AMPS) b. ​Global System for Mobile (GSM) Communications c. ​Time Division Multiple Access (TDMA) d. ​Personal Communications Services (PCS)

Answers

Answer:

Global system for mobile

Explanation:

Answer:

The answer is "Option b"

Explanation:

GSM is a cellular network system of the second generation, which is currently used in the world's. It is most useful in a telecommunications network. It is also regarded as open-ended and wireless cellular technology for mobile voice and data transmission, and certain choices were incorrect, which is explained as follows:  

In option a, It is wrong because it is part of the first generation. In option c, It works on channels, that's why it is wrong. In option d, It is part of wireless communication, that's why it is wrong.
Other Questions
Alex flies airplanes. His plane ascends 100 feet above the groundlevel in 20 seconds. What is the rate of ascension in feet per second? Gerotranscendence theory posits that: (Select all that apply.) a.) older adults withdraw from society in order to allow the transfer of power to younger individuals. b.) older adults withdraw from society in order to give the individual an opportunity for self-reflection and self-exploration. c.) time and superficial relationships become less important. d.) material possessions have less meaning. e.) status and value of elders is lost because their contributions are no longer valued. When Rorschach testers ask, after the test, questions like, "Did the person respond to the whole picture or to specific details, and to the colors or the white spaces?", they are interested in the _____ of the response. The graphs of f(x) and g(x) are shown below.On a coordinate plane, a straight line with negative a slope represents f (x) = negative x. The line goes through points (0, 0), (negative 6, 6) and (6, negative 6). On a coordinate plane, a straight line with a positive slope represents g (x) = 2 x. The line goes through points (negative 3, negative 6), (0, 0) and (3, 6).Which of the following is the graph of (g f)(x)?On a coordinate plane, a straight line with a negative slope goes through points (negative 2, 6), (0, 0), and (2, negative 6)On a coordinate plane, a straight line with a negative slope goes through points (negative 6, 6), (0, 0), and (6, negative 6).On a coordinate plane, a straight line with a positive slope goes through points (negative 2, negative 6), (0, 0), and (2, 6).On a coordinate plane, a straight line with a positive slope goes through points (negative 6, negative 6), (0, 0), and (6, 6). Equivalent units of production are the a.portion of whole units that are complete with respect to materials or conversion costs. b.number of units in production during a period, whether completed or not. c.portion of whole units that are complete with respect to materials or selling costs. d.portion of whole units that are complete with respect to factory overhead costs. Eric wants to invest in government securities that promise to pay $1,000 at maturity. The opportunity cost (interest rate) of holding the security is 5.40%. Assuming that both investments have equal risk and Erics investment time horizon is flexible, which of the following investment options will exhibit the lower price?A: an investment that matures in 10 years?B: an investment that matures in 9 years Han is planning to ride his bike 24 miles.a. If he rides at a rate of 3 miles per hour, how long will it take?At 4 miles per hour?At 6 miles per hour?b. Write an equation that Han can use to find t, the time it will take to ride 24 miles, if his rate in milesper hour is represented by r.c. On graph paper, draw a graph that shows t in terms of r for a 24-mile ride. In which case did the Supreme Court first hold that police officers cannot make warrantless, nonconsensual entries into private homes for the purpose of making arrests? Many checking accounts offer multiple ways of accessing money in addition to checks. Which of these can be used to access money in a checking account? Together, teammates Pedro and Ricky got 2693 base hits last season. Pedro had 283 morehits than Ricky. How many hits did each player have? Each month, the census bureau mails survey forms to 250,000 households asking questions about the people living in the household and about such things as motor vehicles and housing costs. Telephone calls are made to households that dont return the form. In one month, responses were obtained from 240,000 of the households contacted. If the household does not return the form, and cannot be contacted by telephone:___________a. the residents in the suburb that support the new recreation center. b. the 250,000 households contacted. c. only U.S. households with phones. d. all U.S. households. which type of interest groups are the Americam Trucking Association and the National Restaurant Association PLEASE HELP! What are some of the jobs a magistrate ?Choose ALL answers that are correct- to hear appeals of both criminal and civil cases- to issue court orders, such as search warrants- to hear preliminary evidence and decide if a case should be brought to trial- to decide whether an arrested person can be released on bail or must stay in jail A commercial for a floor cleaner shows a young mother cleaning her kitchen floor after feeding her toddler. The commercial is considered to be effective because it utilizes high source similarity. This is an example of a _____ commercial. Given the system of equations, what is the solution?3x - 2y + 10 = 05y = 4x + 8{(-34/7, -16/7)}{(-34/7, 16/7)}{(34/7, -16/7)} If the separation between the first and the second minima of a single-slit diffraction pattern is 6.0 mm, what is the distance between the screen and the slit? 3) According to the five-component model of information systems, the ________ component functions as instructions for the people who use information systems. A) software B) data C) hardware D) procedure why was George washington an effective commander Simplify the expression 6s + 9c - 2s what number solves the equation x + 7.4 =11.2