Shared Flashcard Set

Details

Chapter 3: Top-Down Design with Functions
Ch 3 of Problem Solving and Program Design in C 2013 7th edition
24
Computer Science
Undergraduate 2
03/24/2016

Additional Computer Science Flashcards

 


 

Cards

Term
How to apply top-down design principles?
Definition
Divide and conquer
Structure charts
Term
How to apply bottom-up design principles?
Definition
We apply bottom-up implementation frequently in the course; we implement solutions to the sub-problems before we implement main()
Term
What is a function in C?
Definition
1 function= 1 algorithm = 1 task
Term
What is cohesion?
Definition
Term
What is coupling?
Definition
Term
How do you construct a function that will solve sub-problems?
Definition
Term
What is a formal parameter?
Definition
Term
What is an actual argument?
Definition
Term
What is a local variable?
Definition
Term
What is a function header?
Definition
Term
Describe what is a function prototype?
Definition
Declaration to compiler of newly defined function;
Term
What are the advantages of defining functions in C
Definition
Term
What are the 3 parts to a function header?
Definition
Term
What is a function call?
Definition
Term
How do actual arguments relate to function calls?
Definition
Term
What is scope?
Definition
Term
How do functions communicate with main() and vice versa?
Definition
Term
What is a calling function?
Definition
Term
What is a called function?
Definition
Term
What are some C math library functions?
Definition
sqrt(), pow(), floor(), ceil(), sin(), cos(), sin() etc.
Term
Define and apply test drivers
Definition
Term
Arguments in C are _____-__-_____
Definition
Passed-by-value (copies)
Term
What is functional decomposition?
Definition
Term
What is abstraction?
Definition
Supporting users have an ad free experience!