IT111 The Computer Programing Language
In your own words, describe what a parameter is and why parameters are important in programming. Discuss the relationship between a parameter and an argument. Compose your discussion in a 150–200 word response. Submit your discussion as a Word document, saving it as: YourLastName_Parameters_Assignment1 and submit to the Module 2 Dropbox.
Part 2
- Create the Initial Scene: In the Scene Editor, create an initial fantasy scene. Your scene can use any fantasy objects you choose to use. Be creative with the scene. However, it must have two fantasy characters, Sam(Ogre) and Bill (Troll) in the fantasy setting of your choice. You will find the Ogre class and the Troll class under the Biped class. Give the Ogre object you create the name Sam. Give the Troll object you create the name Bill. Once you have created your scene, save the world asGrimmExercise.
- Write the kneebend method(procedure) as an object-level method for Bill. There is no built in procedure for knee bend, so you will need to write this procedure. Use the algorithm and code below to create the kneebend method for Bill. Then use the Alice clipboard to copy the knee bend method and add this same method to the Sam object.
Of course, the Ogre and Troll classes do not have a knee bend procedural method. Therefore, you will need to write your own kneeBend procedure for each class.
Decomposition: Start by decomposing the procedure into simple steps. Below is an example procedural decomposition, using the Ogre’s joint structure. This procedure is a bit more complicated than you might expect. This is because a knee bend is actually a combination of bending both knees and lifting both arms upward (for balance). In this example, the numbers specifying the amount of rotation for the joints is arbitrary. You may wish to experiment with other amounts to obtain a more realistic animation of a knee bend, although these amounts work fairly well.
Answer:
A parameter, as used in computer programing language, is a form of variable such as string, integer, double or float that is usually passed into functions, methods or pro
cedures (Carpenter et al., 2017). Parameter comprises of those variables that are usually passed in a subroutine. They determine the computation of the functions or programs receiving those variables (Felleisen et al., 2018 ).
Parameters are used to provide a platform where the values can be passed and return the result of computation for the function instead of declaring those values as a global variable (Alhammad et al., 2016 ). The use of the parameter allows the function to be reused since the parameters of different values can be called and executed. This thus reduces the number of codes that could have been used to deliver the same functionality.
While parameters comprise of a variable or variables in a method or function, arguments are those specific values that are passed into the method, function or a program. Arguments comprise those specific values that are passed into a function in order to execute what the function intends to do or to compute, (Christenson, 2014). The output of a function usually depends on the passed values into the function.
References
Alhammad, S., Atkinson, S., & Stuart, L. (2016). The role of Visualisation in the study of Computer Programming. In Proceedings of the PPIG.
Carpenter, B., Gelman, A., Hoffman, M. D., Lee, D., Goodrich, B., Betancourt, M., ... & Riddell, A. (2017). Stan: A probabilistic programming language. Journal of statistical software, 76(1).
Christensson, P. (2014, August 7). Parameter and Argument Definition. Retrieved 2018, Sep 2, from
Felleisen, M., Findler, R. B., Flatt, M., & Krishnamurthi, S. (2018). How to design programs: an introduction to programming and computing. MIT Press.
Buy IT111 The Computer Programing Language Answers Online
Talk to our expert to get the help with IT111 The Computer Programing Language Answers to complete your assessment on time and boost your grades now
The main aim/motive of the management assignment help services is to get connect with a greater number of students, and effectively help, and support them in getting completing their assignments the students also get find this a wonderful opportunity where they could effectively learn more about their topics, as the experts also have the best team members with them in which all the members effectively support each other to get complete their diploma assignments. They complete the assessments of the students in an appropriate manner and deliver them back to the students before the due date of the assignment so that the students could timely submit this, and can score higher marks. The experts of the assignment help services at urgenthomework.com are so much skilled, capable, talented, and experienced in their field of programming homework help writing assignments, so, for this, they can effectively write the best economics assignment help services.