Jacob Nelson CG Unit 3Versión en línea Study guide. por Jacob Nelson 1 Pulling out specific differences to make one solution work for multiple problems. A simplified representation of something more complex. a Abstraction b Parameter c Loop d Library 2 A piece of code that you can easily call over and over again. a Loop b API c Function d Iterate 3 The full set of commands in a programming language. a Library b API (Application program interface) c Parameter d Top Down Design 4 A description of the behavior of a function, library, API, etc. a Documentation b Library c Abstraction d Function 5 A collection of commands/functions (typically with a shared purpose) a Abstraction b API (Application program interface) c Loop d Library 6 Accepts a value to be passed to a function (typically affecting the behavior of that function) a Loop b Parameter c Function d Iterate 7 A system of instructions that is continually carried out until certain conditions are reached. a Loop b Function c Abstraction d Library 8 The act or process of repeating (ex: loop) a Loop b Function c Parameter d Iterate 9 A problem solving approach (also known as stepwise design) in which you break down a system to gain insight into the subsystems that make it up. a Function b Top Down Design c Parameter d API 10 What is efficiency? a Being able to accomplish something with the least waste of time and effort. b How fast you do something. c How challenging something is. d How much something weighs. 11 Which statements are true about functions? Choose one or more answers a Meaningful function names help people better understand programs. b Meaningful function names help computers better understand programs. c Functions in programming are useful mathematical tools for doing complex computations. d Functions in programming are named groupings of programming instructions. 12 Which of the following statements about writing functions and Top-Down Design is NOT true? a Writing functions helps manage complexity in a program. b Top-Down Design leads to programs which feature multiple layers of abstraction. c Two programmers solving the same problem using Top-Down Design should arrive at identical programs. d Top-Down Design assists in identifying the layers of functions that will be used to solve a programming problem. 13 What is an API? a Abstract Programming Inheritance: The idea that abstractions in languages get “passed down” in newer versions b Artificial Parameter Intelligence: The idea that function parameters should be intelligent enough to “know” what you want as a programmer c Application Program Interface: A well-documented library of functions provided in a programming language that helps to simplify complex programming tasks. d Abstract Parameter Interface: A high-level description of the parameters a function accepts 14 Which of the following are true? a Functions with parameters can be used to prevent the creation of duplicated code. b Parameters can only be used once within the body of a function. c Parameters generalize the solution of a specific problem. d Parameters need not be provided to a function in any particular order. 15 What do you do when you want to repeat something in your code? Choose one or more answers a Parameter b Loop c Function d Abstract