Answer:
Explanation:
Let n be an integer
Given that
is odd
To prove that n is even
a) Proof by contraposition
Let
be non odd
Then this would be a multiple of 2 being even

i.e. we get cube of n is odd since gives remainder 1 when divided by 2
It follows that n is odd.
Thus proved by contraposition
b) contradiction method:
If possible let
is odd for n odd.
Then we get
since n is odd,
is odd being the product of three odd numbers
When we add 5, we get
is even being the sum of two odd numbers
A contradiction
Hence our assumption was wrong
if n is an integer and n^3 + 5 is odd, then n is even
I really don’t kno the answer to this question sorry
You have to ask you teacher to show you which ones you got wrong and the answers to them.
Answer:
red
Explanation:
public class CarTest {
public static void main(String[] argvs) {
//below line will create an object of CarTest class Object
CarTest carTest = new CarTest();
//This will call runDemo method
carTest.runDemo();
}
public void runDemo() {
//Below line will create an object of Car class with color blue and 4 wheel
Car c = new Car("blue", 4);
//Bellow Line will change the color from blue to red, see the logic writteen in chnageColor method definition
changeColor(c, "red");
//Below line will print the color as red
System.out.println(c.getColor());
}
public void changeColor(Car car, String newColor) {
//This line will set the color as passed color in the car object
car.setColor(newColor);
}
}
Answer: 4. Availblitliy is not a major characteristic.
Explanation:
-Manufacturing organization can provide additional computing resources without going through the cloud service provider.
-Multi-tenancy allows multiple customers to share the same applications/the same physical infrastructure while retaining privacy and security over their information.
-Cloud computing resources usage is metered and organizations pay accordingly for what they have used.
-Elasticity is a landmark of cloud computing and it implies that organizations can rapidly provision and de-provision any of the cloud computing resources.