Answer:
1. You want to use parameters
2. You don't want your program to run multiple times
3. You want to call that snippet of code throughout your program
hope this helped :D
Answer:
b) Tufts University Nutrition Web Page
Explanation:
The site that most likely provides a balanced information on eating a balanced diet is the Tufts University Nutrition Web Page
Tufts University is a moderate size, leading private research American higher education institution located in Massachusetts that offers degree programs on Food and Nutrition Policy and Programs
By comparison with the other sites which are;
a) Pork Producers Nutrition Page, which is expected to be related with pork production pork producers and pork consumers, based on the title focus, the information provided by the page is therefore, not meant for general use and therefore not meant to be balanced
c) The Eat What You Want Page, based on the of the page title literally which suggest the liberty for a user to eat what they want to eat does not appear to call for the input of an expert advice on nutrition, and therefore is not balanced.
Answer:
Blender's animation & rigging if you are talking about 3d modeling.
Explanation:
Blender is a standard free to use universally used software used in animation for most standard games. You learn to model, then to rig with bones, then to animate. Animations don't entirely go with coding unless you are calling them in the code to make them play.
Answer:
Option (4) is the correct answer.
Explanation:
In Java programming language ,array collection starts from 0 index location and ends in a size-1 index location. So to access the last elements the user needs to use a[Size-1] statement. so to modify the value of the last location of the array the user needs to use "a[size-1]= element;".
But when the user wants to add some new value to the end of the array list collection then he needs to use the statement--
a.add(element); //where add is a function, element is a value and a is a array list object.
Another option is invalid because--
- Option 1 is not the correct because "a[3]=element;" modify the value of the 3rd element of the array.
- Option 2 gives a compile-time error because add functions bracts are not closed.
- Option 3 gives the error because a[4] gives the location of the 5th element of the array but the above question says that a is defined with 4 elements.
The correct answer is letter b