Suppose we want to add the JAL command to the set of basic MIPS commands introduced at the beginning of Chapter 4. for this purpose,
a) Draw the minimum required changes (data signal, control signal and / or component) on the circuit in Figure 4.24 page 271 of the book computer organization and design by david patterson and draw a new circuit.
b) List the control signals required and their values to execute this new command.
Consider the following emission delays for the circuit in Figure 4.24 , page 271 of the book computer organization and design by david patterson.
a) Calculate the maximum time required to execute the LW, SLT, J, BEQ, ADDI and AND commands.
b) What is the critical path of this processor?
c) What is the maximum frequency of this processor?
nstr. memory read/write: 1.2ns
Data memory read/write: 1.4ns
Register file read/write: 0.5ns
Any ALU operation: 0.5ns
Any 2 to 1 mux: 0.1ns
Any adder (except ALU adder): 0.4ns
8. A specific manufacturer makes each launch vehicle type, and a manufacturer can make
many different launch vehicle types.
9. Each launch carries one payload, and a payload is only carried by one launch.
10. A manufacturer also makes each payload, and a manufacturer can make many different
payloads over time.
11. Multiple crew members can be carried on a crewed launch, and each crew member can be
carried on multiple launches over time.
12. Each crew member has a nationality (the country they come from), and their name and
surname also need to be recorded.
13. Crew members can appear in the database before they launch for the first time.
Draw an Entity Relationship Diagram (ERD) using Unified Modelling Language (UML) notation, representing these business rules. Your design should be at the logical level – include surrogate primary key and foreign key fields and remember to remove any many-to-many relationships.
4. A launch requires a launchpad that hosts it, a launch vehicle (the rocket), and the payload.
5. For a launch, the date, time and name should be recorded as well as whether it is a crewed
launch or not.
6. Each launch is performed by a launch vehicle. The serial number for the launch vehicle
should be recorded. A launch vehicle can perform multiple launches over time.
7. Each launch vehicle is of a specific launch vehicle type. The name, maximum thrust and
whether it is reusable need to be recorded for the launch vehicle type.
8. A specific manufacturer makes each launch vehicle type, and a manufacturer can make
many different launch vehicle types.
9. Each launch carries one payload, and a payload is only carried by one launch.
Draw an Entity Relationship Diagram (ERD) using Unified Modelling Language (UML) notation, representing these business rules. Your design should be at the logical level – include surrogate primary key and foreign key fields and remember to remove any many-to-many relationships.
Adapt the following code to run in a windows form and also add a button to reset the input length and width boxes.
namespace PaintingEstimate
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Program computes the cost of painting the room");
//inputs room length and width
Console.Write("Enter room length: ");
int length = Convert.ToInt32(Console.ReadLine());
Console.Write("Enter room width: ");
int width = Convert.ToInt32(Console.ReadLine());
//calls method
int totalPrice = ComputePrice(length, width);
Console.WriteLine("Total price: ${0}", totalPrice);
Console.ReadKey();
}
//method computes work price
static int ComputePrice(int length, int width)
{
//price per square foot
int price = 6;
//ceiling
int ceil = 9;
int totalSquare = width * ceil * 2 + length * ceil * 2;
return price * totalSquare;
}
}
}
A customer opens an account at a bank with an initial amount. The account number, name, and balance of the customer are generated. The customer can deposit money and withdraw money as per need, this will modify the existing account balance. It should also be checked if the demanded amount is available during withdrawal. The customer can also close the account, the available amount will be paid out. Write a programme to input and display data for 5 customers with the use of Constructor and Destructor
This assignment gives you the opportunity to practice some data wrangling techniques in an area of your choice.
Dineo, being ever curious and wanting to learn more about anything and everything, decided to try her hand at creating a UML ERD for a relational database. You made it look so easy, so she was confident that she could do it too. So, she wrote some new rules about campus life and created the below ERD based on some web pages that she consulted.
You are given an M*N matrix and K, write a program to compute the area of the sub-matrix and print the result.
A sub-matrix is a matrix formed after deleting K rows each from the top and bottom and K columns each from left and right.
Area of a matrix is defined as the product of all elements of the matrix.
Explanation
For M = 5 and N = 4, the matrix is:
1 2 3 4
5 6 7 8
9 10 11 12
13 14 15 16
17 18 19 20
For K = 1, the sub-matrix is as follows:
6 7
10 11
14 15
Therefore, the area of the given matrix is 6*7*10*11*14*15 = 970200.
Sample Input1
5 4
1 2 3 4
5 6 7 8
9 10 11 12
13 14 15 16
17 18 19 20
1
Sample Output1
970200
write the following in machine language. using ascii chart for the standard codes of the characters and then convert them to binary. please show working. you just write and scan. i. your name, ii. level, iii. session and iv. campus.