CSCI 1105 Lecture 16: CSCI 1105 Functions

99 views3 pages
Verified Note

Document Summary

To become familiar with the concept of parameter passing. To develop strategies for decomposing complex tasks into simpler ones: break your code into very small, single line pseudocode. To be able to determine the scope of a variable: understand what scope is (it is different in python and java) A function is a sequence of instructions with a name. For example, the round() function is a function that we know of, but we do not know how it works. We need to only know what to put into it and what comes out of it, but it is not important to know what the function does. The term black box refers to looking at an object in a way that we do not see what happens, and only view the input and output. You can call a function in order to execute its instructions. You need to know the input, and the order that you need the inputs to be.

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents