Other Engineering Answers

Questions: 881

Answers by our Experts: 418

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

1. What is next use information? Write an algorithm to determine the livesness and next use info for each statement in a basic block. Apply the same for the following basic block:
T1 = Add(A) – 4
T2 = 4 * i
T3 = T1[T2]
sum = sum +T3
i = i+1
if i<=20 goto 3

2. Write the three address code, identify the leaders and draw the Control Flow Graph for the following code.
begin
prod := 0;
i := 1;
do begin
prod := prod + a[i] * b[i];
i = i+ 1;
end
while i <= 20
end

3. Translate the arithmetic expression: a + - (b + c ) in quadruple, triple and indirect triples

4. Construct an LR parsing table for the following grammar.
S  xAy | xBy | xAz
A  qS | q
B  q


Please forward me these question answer's ASAP. I need this answers by tomorrow.
Please could you do that ?
Write a program in C/C++ using OpenGL to implement Bresenham’s line drawing algorithm with all values of slopes
Why do we need Homogeneous Coordinate System for transformation? Assume that a triangle ABC has the coordinates A(0, 0), B(10,10), C(10,2). Find the transformed coordinates when the triangle ABC is subjected to the counter-clockwise rotation of 30° about the origin and then translate by 2 units in x-direction and 4 units in y-direction. You should represent the transformation using Homogeneous Coordinate System.
Write the three address code, identify the leaders and draw the Control Flow Graph for the following code.
begin
prod := 0;
i := 1;
do begin
prod := prod + a[i] * b[i];
i = i+ 1;
end
while i <= 20

end
What is next use information? Write an algorithm to determine the livesness and next use info for each statement in a basic block. Apply the same for the following basic block:
T1 = Add(A) – 4
T2 = 4 * i
T3 = T1[T2]
sum = sum +T3
i = i+1
if i<=20 goto 3
Construct an LR parsing table for the following grammar.
S - > xAy | xBy | xAz
A - > qS | q
B ->q
Translate the arithmetic expression: a + - (b + c ) in quadruple, triple and indirect triples.
given theses data

mass flow rate of air = 3kg/s
pressure at entry 0.96 bar pressure at exit = 8.6bar

temperature at entry = 290 k at exit 542.6 k
the rate of heat lost from the compressor = 8kw
the polytropic index = 1.4 and cp 1005j/kg.k

what are the power requirements of the compressor in Kw??

the specific emthaply at entry of turbine is 3MJ/kg and exit 1MJ/k. assuming that change in KE AND PE is neligible find the power in kw.??? (also using the data above if needed)

determine nett power in MW?? (using above data)

it will be much appreciated.
BS Bank Inc. has a legacy application , which is used to manage the current and saving bank
accounts of the customers. The banking application is written in the programming language C.With
changes in banking policies and procedures, BS Bank hasd to enhance the functionality of the
application. However, making changes to the current application was a cumbersome job, as even
small changes to the functionality resulted in changing a large part of the code. The security in the
current application was not adequate. Users of the application had access to the business logic of
the application. This was a security concern. The BS Bank IT Support team had raised the risk of
ongoing support of this application to the management, due to the limitations and challenges of an
application written using a procedural language. The IT Support team asked for the revamp of the
application with the following technical requirements:
-Software objects in the application should model the real-world objects so that the complexity is
reduced and the program structure is very clear.
- Each object should form a separate entity whose internal workings are decoupled from other
parts of the system.
-Access to data should be setup in a way that users are able to view data according to their
privileges.
-The application program should use immutable class, where necessary.
-Adding new features or responding to the changing operating environments should be made
easier. This should be possible by introducing few new objects and modifying some existing ones,
instead of having to make major changes to the code.
-Objects should be maintained separately, which will help in locating and fixing the problems
easily. This will make the application easier to support.
-The application should reduce coupling of modules.
-Objects in the new application can be reused in different programs.
BS bank invites FIT Technologies to redesign and develop a new application, which retains the
existing functionality and also supports the above features.
Question:
Joe has joined FIT technologies recently as a software developer. He is a fresher and does not
know advanced programming techniques. To include him in the team that is developing the
application, Damien, the Project Manager, decides to conduct a test for him. He prepares a test
that includes the following questions: [10 Marks]
1. Explain all the access specifiers supported in C#.[5 Marks]
2. The execution goes back to the caller by default, when the last statement in a method is
reached.? Assuming that no return statement is used, do you agree with the preceding statement?
Specify the reason for your answer. [5 Marks]
Help Joe attempt the preceding questions.
Please explain the graph for f=e^x?
LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS