Primary school education in Nigeria is bisected with myriads of problems including: poor funding, poor educational infrastructures, overcrowding, inadequate classrooms and poor/polluted learning environment
Answer:
first the class declaration (the bit with class player)
then the object creation (myPlayer = player())
then assigning a value to a property (myPlayer.life=4)
Explanation:
You have to declare the class before you can use it.
You have to create an object before you can access its members.
Unclear why in the exercise second and first are swapped...?
Answer:
Explanation:
One group of students did an experiment to study the movement of ocean water. The steps of the experiment are listed below.
Fill a rectangular baking glass dish with water.
Place a plastic bag with ice in the water near the left edge of the dish.
Place a lighted lamp near the left edge of the dish so that its light falls directly on the plastic bag.
Put a few drops of ink in the water.
The student did not observe any circulation of ink in the water as expected because the experiment had a flaw. Which of these statements best describes the flaw in the experiment? (2 points)
Not enough ink was added.
Not enough water was taken.
The dish was too small for the experiment.
The lamp and the ice bag were at the same place.
Answer:
B. Be in View Mode.
D. Select an environment element.
Explanation:
Cisco packet tracer can be defined as a software application or program designed to avail end users the ability to simulate a network. Therefore, it is typically used to present the graphical representation of a logical network and to properly configure network devices such as routers, switches, host devices etc., before they are physically deployed or installed at their primary location.
The two (2) steps which must be followed in order to view a working graph or chart of environmental changes in Cisco packet tracer includes;
I. Be in View Mode: the user must ensure he selects the view mode in order to see all environmental changes or working graph.
II. Select an environment element: you should select any of the environment element such as actuators, boards and sensors.
Answer:
import java.util.Scanner;
public class num1 {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
//Prompt and receive user input
System.out.println("Enter number of Steps");
int numSteps = in.nextInt();
double numMiles = numSteps/2000;
//Print the formated number of miles
System.out.printf("The equivalent miles is %.2f ",numMiles);
}
}
Explanation:
- This is solved using Java programming language
- Scanner class is imported and used to receive user input (number of steps walked)
- To convert number of steps to number of miles, we divide by 2000, Since the question says the pedometer treats walking 2,000 steps as walking 1 mile.
- Output the number of miles to 2 decimal places using java's printf() method