



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Program - YOUR CORRECT CORRECT ANSWER-Consists of instructions executing one at a time. Input - YOUR CORRECT CORRECT ANSWER-A program gets data, perhaps from a file, keyboard, touchscreen, network, etc. Process - YOUR CORRECT CORRECT ANSWER-A programs performs computations on that data, such as adding two values like x + y. Output - YOUR CORRECT CORRECT ANSWER-A programs puts that data somewhere, such as to a file, screen, network, etc. Computational thinking - YOUR CORRECT CORRECT ANSWER-Creating a sequence of instructions to solve a problem. Algorithm - YOUR CORRECT CORRECT ANSWER-A sequence of instructions that solves a problem. Statement - YOUR CORRECT CORRECT ANSWER-Carries out some action and executing one at a time. String literal - YOUR CORRECT CORRECT ANSWER-Consists of text (characters) within double quotes, as in "Go #57!". Cursor - YOUR CORRECT CORRECT ANSWER-Indicates where the next output item will be placed in the output. Newline - YOUR CORRECT CORRECT ANSWER-A special two-character sequence \n whose appearance in an output string literal causes the cursor to move to the next output line. The newline exists invisibly in the output. Comment - YOUR CORRECT CORRECT ANSWER-Text added to a program, read by humans to understand the code, but ignored by the program when executed. Whitespace - YOUR CORRECT CORRECT ANSWER-Refers to blank spaces (space and tab characters) between items within a statement, and to newlines. Whitespace helps improve readability for humans, but for execution purposes is mostly ignored.
Pseudocode - YOUR CORRECT CORRECT ANSWER-Text that resembles a program in a real programming language but is simplified to aid human understanding. Assignment statement - YOUR CORRECT CORRECT ANSWER-Assigns a variable with a value, such as x = 5. An assignment statement's left side must be a variable. The right side is an expression.Examples: x = 5, y = a, or z = w + 2. = - YOUR CORRECT CORRECT ANSWER-In programming, = is an assignment of a left-side variable with a right-side value. It does not represent equality like in mathematics. Variable declaration - YOUR CORRECT CORRECT ANSWER-Declares a new variable, specifying the variable's name and type. Identifier - YOUR CORRECT CORRECT ANSWER-A name created by a programmer for an item like a variable or function. An identifier must: be a sequence of letters (a-z, A-Z), underscores (_), and digits (0-9), AND start with a letter or underscore. Reserved word or keyword - YOUR CORRECT CORRECT ANSWER-A word that is part of the language, like integer, Get, or Put. A programmer cannot use a reserved word as an identifier. Lower camel case - YOUR CORRECT CORRECT ANSWER-Abuts multiple words, capitalizing each word except the first, such as numApples. Underscore separated - YOUR CORRECT CORRECT ANSWER-Words are lowercase and separated by an underscore, such as num_apples. Expression - YOUR CORRECT CORRECT ANSWER-A combination of items, like variables, literals, operators, and parentheses, that evaluates to a value. Example: 2 * (x+1) Literal - YOUR CORRECT CORRECT ANSWER-A specific value in code, like 2. Operator - YOUR CORRECT CORRECT ANSWER-A symbol that performs a built-in calculation, like the operator + which performs addition. Unary minus - YOUR CORRECT CORRECT ANSWER-The subtraction sign (-) used as a negative. Note about integer literal - YOUR CORRECT CORRECT ANSWER-Commas are not allowed, so 1,333,555 must be written as 1333555. Incremental development - YOUR CORRECT CORRECT ANSWER-The process of writing, compiling, and testing a small amount of code, then writing, compiling, and testing a small amount more (an incremental amount), and so on. Floating-point number - YOUR CORRECT CORRECT ANSWER-A real number, like 98.6, 0.0001, or -666.667.
Epsilon - YOUR CORRECT CORRECT ANSWER-The difference threshold indicating that floating- point numbers are equal. if-else statement - YOUR CORRECT CORRECT ANSWER-An if expression with the true branch's sub-statements, followed by an else part with any false branch sub-statements. if statement - YOUR CORRECT CORRECT ANSWER-An if expression followed by sub-statements, with no else part. if-elseif statement - YOUR CORRECT CORRECT ANSWER-Starts with an if expression, followed by elseif expressions, and ending with else; when a program reaches the statement, exactly one of those branches will execute. When the else branch has no statements, the else part is omitted. Loop - YOUR CORRECT CORRECT ANSWER-A program construct that repeatedly executes the loop's statements (known as the loop body) while the loop's expression is true; when false, execution proceeds past the loop. Each time through a loop's statements is called an iteration. Infinite loop - YOUR CORRECT CORRECT ANSWER-A loop that never stops iterating. A common error is to accidentally create an infinite loop, often by forgetting to update a variable in the body, or by creating a loop expression whose evaluation to false isn't always reachable. Sentinel value - YOUR CORRECT CORRECT ANSWER-A special value indicating the end of a list, such as a list of positive integers ending with 0, as in 1 0 1 6 3 0. While loop - YOUR CORRECT CORRECT ANSWER-A loop that repeatedly executes the loop body while the loop's expression evaluates to true. For loop - YOUR CORRECT CORRECT ANSWER-A loop consisting of a loop variable initialization, a loop expression, and a loop variable update that typically describes iterating for a specific number of times. Nested loop - YOUR CORRECT CORRECT ANSWER-A loop that appears in the body of another loop. The nested loops are commonly referred to as the inner loop and outer loop. Do-while loop - YOUR CORRECT CORRECT ANSWER-A loop that first executes the loop body's statements, then checks the loop condition. Compared to a while loop, a do-while loop is useful when the loop should iterate at least once. Function definition - YOUR CORRECT CORRECT ANSWER-Consists of the new function's name and a block of statements. The function's name can be any valid identifier. Function call - YOUR CORRECT CORRECT ANSWER-An invocation of a function's name, causing the function's statements to execute. Parameter - YOUR CORRECT CORRECT ANSWER-A function input specified in a function definition. Example: A pizza area function might have diameter as an input.
Argument - YOUR CORRECT CORRECT ANSWER-A value provided to a function's parameter during a function call. Example: A pizza area function might be called as PrintPizzaArea(12.0). Modular development - YOUR CORRECT CORRECT ANSWER-The process of dividing a program into separate modules that can be developed and tested separately and then integrated into a single program. Function stub - YOUR CORRECT CORRECT ANSWER-A function definition whose statements have not yet been written. Return statement - YOUR CORRECT CORRECT ANSWER-Returns the specified value and immediately exits the function. Algorithm time efficiency - YOUR CORRECT CORRECT ANSWER-The number of calculations required to solve a problem. For the same problem, some algorithms may be much more time efficient than others. Systems development life cycle (SDLC) - YOUR CORRECT CORRECT ANSWER-Analysis phase, design phase, implementation phase, and testing phase. Analysis phase - YOUR CORRECT CORRECT ANSWER-Defines a program's goals. Design phase - YOUR CORRECT CORRECT ANSWER-Defines specifics of how to build a program. Implementation phase - YOUR CORRECT CORRECT ANSWER-Involves writing the program. Testing phase - YOUR CORRECT CORRECT ANSWER-Checks that the program correctly meets the goal. Waterfall approach - YOUR CORRECT CORRECT ANSWER-A program can be built by carrying out the SDLC phases in sequence. The term waterfall is used because, just like a boat going down river doesn't come back, no earlier phase is come back to. Agile approach (spiral approach) - YOUR CORRECT CORRECT ANSWER-In contrast, a program can be built by doing small amounts of each SDLC phases in sequence, and then repeating. Universal Modeling Language (UML) - YOUR CORRECT CORRECT ANSWER-A modeling language for software design that uses different types of diagrams to visualize the structure and behavior of programs. UML consists of several structural and behavioral diagrams. Structural diagram - YOUR CORRECT CORRECT ANSWER-Visualizes static elements of software, such as the types of variables and functions used in the program. Behavioral diagram - YOUR CORRECT CORRECT ANSWER-Visualizes dynamic behavior of software, such as the flow of an algorithm.
Library - YOUR CORRECT CORRECT ANSWER-A set of pre-written functions (and other terms) that carry out common tasks that a programmer can use to improve productivity. After including a library with a program, a programmer can make use of the library's functions. A library's functions typically all relate to the same purpose, like computing statistics, or like displaying graphics. A programmer may include several libraries in a single program.