Answer:
Subroutine or called function.
Explanation:
Procedural programming is a programming techniques of creating modular divisions between lines of code, with a provision to call and run a block of code at any given instance in the program.
A program flow control breaks at will from the main function to a target defined function or subroutine, which returns a value back to the normal flow of the program. It uses conditional and loop statement to achieve its task.
Answer:
60 J
Explanation:
Given,
Work done to push the box = 100 J
Energy dissipated by friction = 40 J.
According to work energy theorem work done is equal to change in kinetic energy.
Change in Kinetic energy = Work done by student + Work done by friction
Change in Kinetic energy = 100 J - 40 J
Work done by the friction will be negative because it will act in opposite direction of force applied.
Change in Kinetic energy = 60 J
Answer:
The printItem() method code is filled in the explanation, highlighted with bold font.
Explanation:
// ===== Code from file BaseItem.java =====
public class BaseItem {
protected String lastName;
public void setLastName(String providedName) {
lastName = providedName;
return;
}
// FIXME: Define printItem() method
/* Your solution goes here */
public void printItem() {
// TODO Auto-generated method stub
System.out.println("Last name: "+lastName);
}
}
// ===== end =====
Answer:
a. Local user profile.
Explanation:
Local user profile is a type of user profile which is stored in the C:\Users folder and is automatically created when a user logs on to the computer for the first time and it is being stored on the local hard disk of the computer.
Generally, in Microsoft windows any change made to the local user profile is peculiar to the user and the host computer on which the change is made.
Hence, local user profiles avails several users the opportunity of sharing a single computer with their respective user settings and data.