Computer Science

Difference between Von Neumann vs Harvard architectures

Difference between Von Neumann vs Harvard architectures EXPERT ANSWER Von Neumann Architecture Harvard Architecture 1. Uses a single common physical memory for both, instructions and data Uses different memory addresses for data and instructions 2. To execute an instruction, two clock cycles of processor is needed. Only one cycle of processor is needed to complete …

Difference between Von Neumann vs Harvard architectures Read More »

A total of 24 MHz of bandwidth is allocated to a particular FDD cellular telephone system that uses two 30kHz simplex channels to provide full duplex voice and control channels. Assume each cell phone user generates 0.1 Erlangs of traffic. Assume Erlang B is used.

A total of 24 MHz of bandwidth is allocated to a particular FDD cellular telephone system that uses two 30kHz simplex channels to provide full duplex voice and control channels. Assume each cell phone user generates 0.1 Erlangs of traffic. Assume Erlang B is used.(a) Find the number of channels in each cell for a …

A total of 24 MHz of bandwidth is allocated to a particular FDD cellular telephone system that uses two 30kHz simplex channels to provide full duplex voice and control channels. Assume each cell phone user generates 0.1 Erlangs of traffic. Assume Erlang B is used. Read More »

Web Mercantile sells many household products through an online catalog. The company needs substantial warehouse space for storing its goods. Plans now are being made for leasing warehouse storage space over the next 5 months. Just how much space will be required in each of these months is known. However since these space requirements are quite different, it may be most economical to lease only the amount needed to each month on a month by month basis. On the other hand the additional cost for leasing space for additional months is much less than for the first month, so it may be less expensive to lease the maximum amount needed for the entire 5 months. Another option is the intermediate approach of changing the total amount of space leased(by adding a new lease and/or having an old lease expire) at least once but not every month. The space requirement and the leasing costs for the various leasing periods are as follows:

Web Mercantile sells many household products through an online catalog. The company needs substantial warehouse space for storing its goods. Plans now are being made for leasing warehouse storage space over the next 5 months. Just how much space will be required in each of these months is known. However since these space requirements are …

Web Mercantile sells many household products through an online catalog. The company needs substantial warehouse space for storing its goods. Plans now are being made for leasing warehouse storage space over the next 5 months. Just how much space will be required in each of these months is known. However since these space requirements are quite different, it may be most economical to lease only the amount needed to each month on a month by month basis. On the other hand the additional cost for leasing space for additional months is much less than for the first month, so it may be less expensive to lease the maximum amount needed for the entire 5 months. Another option is the intermediate approach of changing the total amount of space leased(by adding a new lease and/or having an old lease expire) at least once but not every month. The space requirement and the leasing costs for the various leasing periods are as follows: Read More »

In the Standard Ethernet with the transmission rate of 10 Mbps, we assume that the length

In the Standard Ethernet with the transmission rate of 10 Mbps, we assume that the length of the medium is 2500 m and the size of the frame is 512 bits. The propagation speed of a signal in a cable is normally 2*10^8 m/s. Find the propagation delay. 2. Find the Transmission delay. 3. Find …

In the Standard Ethernet with the transmission rate of 10 Mbps, we assume that the length Read More »

This exercise you will be persisting data by writing text to file and serialization to and deserialization using json.

Description of class members Fields: There are no fields in this class. Properties: All the properties have public get and private set Name – this is a string representing the name of this atom. The getter is public and the setter is private. Symbol – this is a two-letter string representing the name of this atom that …

This exercise you will be persisting data by writing text to file and serialization to and deserialization using json. Read More »

Write a function to sort data (in increasing order) in an array using a. pass by value b. and pass by reference.

Write a function to sort data (in increasing order) in an array using a. pass by value b. and pass by reference. EXPERT ANSWER 1. Program: PASS BY VALUE #include<iostream>using namespace std; void Sort(int [],int); int main(){int A[] = {10,5,50,15,85,2,32,18};int n = sizeof(A)/sizeof(A[0]);Sort(A,n);cout<<“Sort data in Increasing order:\n”;for (int i = 0; i < n; i++)cout << A[i] …

Write a function to sort data (in increasing order) in an array using a. pass by value b. and pass by reference. Read More »

A,B 2. [20 points] A project for upgrading a point-of-sale system at a local business has following precedence relationships and activity times. The tasks, durations (in days), costs, and predecessor relationships are shown as follows: Activity Immediate Predecessor Activity Time A None 2 B None 2 C 5 D B 4 E C,D 3 F D 4 G с 2 H E, F, H 2 I F 6 J G1 5Draw the network for this project. If you draw on a paper, scan and insert into the .docx or .pdf file. If images are uploaded separately, they will not be graded.

a. Draw the network for this project. If you draw on a paper, scan and insert into the .docx or .pdf file. If images are uploaded separately, they will not be graded. b. Create the activity schedule and calculate ES, EF, LS, and LF times. Activity schedule is a table with ES, EF, LS, LF …

A,B 2. [20 points] A project for upgrading a point-of-sale system at a local business has following precedence relationships and activity times. The tasks, durations (in days), costs, and predecessor relationships are shown as follows: Activity Immediate Predecessor Activity Time A None 2 B None 2 C 5 D B 4 E C,D 3 F D 4 G с 2 H E, F, H 2 I F 6 J G1 5Draw the network for this project. If you draw on a paper, scan and insert into the .docx or .pdf file. If images are uploaded separately, they will not be graded. Read More »

Linear system is described by the differential equation (all initial conditions are zero), lu 澎 Question A 1) Find transfer function using Laplace transform and find poles/zeros, and 2) plot poles-zeros and find whether this linear system is stable or not. Question B: plot pole-zero using MATLAB and see whether this system is stable or not. Question C: Develop a Simulink model of this linear system and find response with step input.

EXPERT ANSWER qB) matlab code for plotting polea and zeros: clc; clear all; close all; s=tf(‘s’); g1=2*s/(s^2+5*s+6); % plant transfer function pzmap(g1); % pole zero map

John decides to take out a multi-year fixed-rate mortgage of $30,000 to purchase a new car. The interest rate is 3.5% and the monthly payment is $545.75. Write a function, total, to calculate the total amount that he will have to pay over the life of the mortgage. You can ignore the overpayment that occurs in the last month. To calculate each month’s remaining principal: remaining principal of this month = remaining principal of last month * (1 + rate/12) – monthly payment. (You should get an answer of $33290.75.)

John decides to take out a multi-year fixed-rate mortgage of $30,000 to purchase a new car. The interest rate is 3.5% and the monthly payment is $545.75. Write a function, total, to calculate the total amount that he will have to pay over the life of the mortgage.You can ignore the overpayment that occurs in …

John decides to take out a multi-year fixed-rate mortgage of $30,000 to purchase a new car. The interest rate is 3.5% and the monthly payment is $545.75. Write a function, total, to calculate the total amount that he will have to pay over the life of the mortgage. You can ignore the overpayment that occurs in the last month. To calculate each month’s remaining principal: remaining principal of this month = remaining principal of last month * (1 + rate/12) – monthly payment. (You should get an answer of $33290.75.) Read More »