Answer:
Animation can help make a PowerPoint presentation more dynamic, and help make information more memorable. ... Animation can be useful in making a presentation more dynamic, and help to emphasize points, but too much animation can be distracting. Do not let animation and sound take the focus away from what you are saying.
Explanation:
TWACB
public class Circle {
// the private data members
private double radius;
private double area;
private double diameter;
public void setRadius(double r)
{
radius = r;
}
public double getRadius()
{
return radius;
}
public double computeDiameter()
{
return radius * 2;
}
public double computeArea()
{
return ((radius * radius) * 3.14);
}
}
Explanation:
A. Pseudocode to determine the area of a triangle given value the base b andthe height h:-
START
INPUT b
INPUT h
COMPUTE Area = 0.5*b*h
DISPLAY Area
STOP
B. Pseudocode to compute the simple interest earned in 1 year given the starting account balance B and annual interest rate I :-
START
INPUT B
INPUT I
COMPUTE Interest = (B*I*1)/100
DISPLAY Interest
STOP
C. Pseudocode to determine the flying time between two cities given the mileage M between them and average speed of the airplane :-
START
INPUT M
INPUT S
COMPUTE Time = M/S
DISPLAY Time
STOP
Answer:
a) 3.3
b) 3
Explanation:
1)
As we know ,
CPI = sum of ( instructions× clock cycle)
= 50%(1) + 30%(4) + 20%(8)
= 50% + 120% + 160%
= 330%
= = 3.3
⇒CPI = 3.3
2)
Let a = number of cycles on average
As given,
a 10% improvement in performance of P1,
⇒New CPI = 3
⇒3 = 50% + 30% (x) + 20%(8)
⇒3 = 50% + 30% (x) + 160%
⇒3 = 210% + 30%(x)
⇒3 = 2.1 + 0.3x
⇒3 - 2.1 = 0.3x
⇒0.9 = 0.3x
⇒x = = 3
⇒x = 3
∴ we get
Number of cycles on average = 3
Answer:
A class is the basic building block in Java.