Questions
5. A wireless LAN using direct sequence spread spectrum (DSSS) needs 224 Mbps for sending data...

5. A wireless LAN using direct sequence spread spectrum (DSSS) needs 224 Mbps for sending data that was originally sent at 32 Mbps. How many bits are in the chip code? please show your work....

In: Computer Science

The goal of designing a direct manipulation interface is to make use of the system intuitive...

The goal of designing a direct manipulation interface is to make use of the system intuitive to the end user. Direct-manipulation interfaces are now being used for a wide range of purposes.

Describe how direct manipulation interfaces are designed in the following applications.

1. Checkbook maintenance and checkbook searching interface

2. Airline reservation system

In: Computer Science

What is Gustafson law? (detailed answer). Compare Amdahl’s law and Gustafson law.

What is Gustafson law? (detailed answer). Compare Amdahl’s law and Gustafson law.

In: Computer Science

Given the Java code: double x =15; int n=15; Find the return value: a. x/2 b....

Given the Java code: double x =15; int n=15;

Find the return value: a. x/2

b. n/2

c. n/2.0

d. (double)(n/2)

In: Computer Science

Interaction styles are methods to communicate between users and machines through the user interface. List four...

Interaction styles are methods to communicate between users and machines through the user interface. List four types of interaction styles with at least two strengths and limitations of each style. Also, present one example screenshot of each interaction style

In: Computer Science

Describe and explain two multicore hardware systems which can be used for multithread programming. Define the...

Describe and explain two multicore hardware systems which can be used for multithread programming. Define the advantages and disadvantages. (Detailed answer)

In: Computer Science

Interaction styles are methods to communicate between users and machines through user interface. List four types...

Interaction styles are methods to communicate between users and machines through user interface. List four types of interaction styles with at least two strengths and limitations of each style. Also present one example screenshot of each interaction style

In: Computer Science

Can you please tell me why my code isn't working? It won't calculate the values I...

Can you please tell me why my code isn't working? It won't calculate the values I have using my input file.

/*******************************************************************************
AUTHOR SECTION

ENGR 200.07 DATE: 10/23/2020

PROGRAM:
********************************************************************************
PROGRAM DESCRIPTION
This program takes a pre-made .txt file’s input values, and calculates the
kinetic energy wind farms produce from moving air into electrical energy.
Using 3 different formulas this program calculates the available power in the
wind, the maximum available power that can be produced, and the amount of
electricity produced by the turbines in kW. Only the diameter of the wind
blades, number of turbines, and power in kW will be printed on screen. These
3 values will also be output to a designated .txt file. The input and output
file locations can be found in the preprocessor directives section of the
program. These file locations can also be altered, allowing for other .txt
files with different input values to be used.

DESCRIPTION OF VARIABLES
NAME | TYPE | DESCRIPTION
-----------------------------------------------------------------------------
PW | double | Power available in wind
PWM | double | Maximum power the wind turbine can produce
PE | double | The amount of electricity (in Watts) that can be
produced for each turbine
BD | double | Diameter of blades
BR | double | Radius of blades
NT | double | Number of turbines available
A | double | Area swept by blades (m^2)
V | double | Velocity of the wind (9.5 m/s)
P | double | Density of the air (1.2754 kg/m^3)
CP | double | Benz Limit (0.48 unitless)
N | double | Combined electricity of gear box, generator, and
bearings (.33)
PI | symbolic | Constant for pi (3.14159)
i | int | Loop control variable
ndata | int | Number of record lines in input file
*******************************************************************************/

/* Preprocessor directives */
#include
#include
#define PI 3.14159
#define inputfile "C:\\Users\\16614\\Desktop\\ENG 200\\farms.txt"
#define outputfile "C:\\Users\\16614\\Desktop\\ENG 200\\power.txt"

/* Main function */
int main(void)
{
/* Declare variables */
double PW, PWM, PE, BD, BR, NT, A, V, P, CP, N;
int i, ndata;
FILE *INP = NULL, *OUTP = NULL;

/* Open Files */
INP = fopen(inputfile, "r");
OUTP = fopen(outputfile, "w");

/* Print headings */
printf("\n********************************************");
printf("\n WIND FARM CONFIGURATIONS"
"\n\nDIAMETER NUMBER OF TURBINES POWER"
"\n (m) (kW)");

fprintf(OUTP,"\n********************************************");
fprintf(OUTP,"\n WIND FARM CONFIGURATIONS"
"\n\nDIAMETER NUMBER OF TURBINES POWER"
"\n (m) (kW)");
  
/* Verify input file */
if(INP==NULL)
{printf("\n\n COULD NOT FIND FILE"
"\n PROGRAM TERMINATED"
       "\n********************************************");
return 1;
}   

else
{
   
/* Read Control numbers */
fscanf(INP, "%i",&ndata);

/* Calculate Values using Formulas and Print Results */
for(i=1;i<=ndata;i++)
{
fscanf(INP,"%lf %lf",&BD,&NT);
V = 9.5;
P = 1.2754;
CP = 0.48;
N = 0.33;
BR = 1/2*BD;
A = PI*pow(BR,2);
PW = 1/2*P*A*pow(V,3);
PWM = CP*PW;
PE = N*PWM;
printf("\n %3.1f %3.0f %5.1f",BD,NT,BR);
fprintf(OUTP,"\n %3.1f %3.0f %5.1f",BD,NT,BR);
}
}
printf("\n********************************************\n\n\n");
fprintf(OUTP,"\n********************************************\n\n\n");

/* Exit the program */
return 0;
}
/******************************************************************************/

In: Computer Science

In C++ Create a class called Rational (separate the files as shown in the chapter) for...

In C++

Create a class called Rational (separate the files as shown in the chapter) for performing arithmetic with fractions. Write a program to test your class. Use integer variables to represent the private data of the class-the numerator and the denominator. Provide a constructor that enables an object of this class to be initialized when it's declared. The constructor should contain default values in case no initializers are provided and should store the fraction in reduced form. For example, the fraction 2/4 would be stored in the object as 1 in the numerator and 2 in the denominator. Provide public member functions that perform each of the following tasks: add - Adds two Rational numbers. The result should be stored in reduced form. subtract - Subtracts two Rational numbers. Store the result in reduced form. multiply - Multiples two Rational numbers. Store the result in reduced form. divide - Divides two Rational numbers. The result should be stored in reduced form. (toRationalString) - Returns a string representation of a Rational number in the form a/b, where a is the numerator and b is the denominator. display - Display the Rational number a/b. toDouble - Returns the Rational number as a double. (make sure the driver tests out all the functions)

  1. add - Adds two Rational numbers. The result should be stored in reduced form.
  2. subtract - Subtracts two Rational numbers. Store the result in reduced form.
  3. multiply - Multiples two Rational numbers. Store the result in reduced form.
  4. divide - Divides two Rational numbers. The result should be stored in reduced form.
  5. (toRationalString) - Returns a string representation of a Rational number in the form a/b, where a is the numerator and b is the denominator.
  6. display - Display the Rational number a/b.
  7. toDouble - Returns the Rational number as a double.

(make sure the driver tests out all the functions)

In: Computer Science

Question 2 (30 marks) (a) Identify any THREE (3) input devices and THREE (3) output devices...

Question 2

(a) Identify any THREE (3) input devices and THREE (3) output devices which are common used in our life. Discuss the benefits of using these devices in our daily life.

[18 marks]

Each point 3 marks.

In: Computer Science

b. Propose a Disaster Recovery Plan (DRP) to the organization to eliminate the problem in the...

b. Propose a Disaster Recovery Plan (DRP) to the organization to eliminate the problem in the future.

[25 marks]

Guideline:

Google search and download a business continuity plan or DR plan template.
DR team, DR servers DR backup.

Testing DR monthly.

Plan A failure then failover to Plan B.

In: Computer Science

Write a function intLog of type Integer -> Integer that returns the exponent of the largest...

Write a function intLog of type Integer -> Integer that returns the exponent of the largest power of 2 less than its integer argument.

This needs to be a haskell function

In: Computer Science

Question 2 (b) USB flash drive, CD-ROM and Hard disk are commonly used to store data...

Question 2

(b) USB flash drive, CD-ROM and Hard disk are commonly used to store data such as documentation, movies and songs.

Based on the statement given above, answer the following questions:

  1. Compare TWO (2) similarities and TWO (2) differences in between USB flash drive, CD-ROM and Hard disk.
  1. Based on your answer in (i), which storage device is recommended? Provide your own justifications.

[12 marks]

In: Computer Science

Hello everyone, I need to Research a Cloud Computing Service Level Agreement to describe what it...

Hello everyone, I need to Research a Cloud Computing Service Level Agreement to describe what it entails. Please point me to one that includes any of these components:

Availability and performance requirements

Service monitoring and reporting

Remediation and liability (or lack thereof) for service disruption

Dispute resolution procedures a

A mechanism for reviewing and updating the SLA, including a change control process

In: Computer Science

Find a recurrence relation for the number of hexadecimal strings that contain two consecutive Fs. What...

Find a recurrence relation for the number of hexadecimal strings that contain two consecutive Fs. What are the initial conditions?

In: Computer Science