Study sets, textbooks, questions
Upgrade to remove ads
C173 Version 3 Language Agnostic
Terms in this set (81)
A program gets data, perhaps from a file, keyboard, touchscreen, network, etc.
A program performs computations on that data, such as adding two values like x + y.
A program puts that data somewhere, such as to a file, screen, network, etc.
Used by programs to refer to data. It is a named item, used to hold a value.
A graphical language for creating computer programs.
A list of statements, each statement carrying out some action and executing one at a time.
Runs a program's statements.
Words for carrying out a program's statements.
Text (characters) within double quotes.
Any letter (a-z, A-Z), digit (0-9), or symbol (~, !, @, etc.).
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.
Text a programmer adds to a program, to be read by humans (other programmers), but ignored by the program when executing. A comment starts with // and includes all subsequent text on that line.
Engineers have reduced switch sizes by half about every 2 years.
A single 0 or 1.
Eight bits. Ex. 11000101
American Standard Code for Information Interchange. Code that is the numerical representation of a character. Ex. Z would be stored in a computer as 1011010.
Text that resembles a program in a real programming language but is simplified to aid human understanding.
Assigns a variable with a value, such as X=5.
declares a new variable, specifying the variable's name and type.
Variable type that can hold whole numbers.
Can be a number, a variable name (numApples), or a simple calculation like (numApples + 1).
A name created by a programmer for an item like a variable or function. Must be a sequence of letters, underscores, and digits or start with a letter or underscore. They are case sensitive.
Reserved word (or keyword)
A word that is part of the language, like integer, Get or Put. Reserved words cannot be used as an identifier.
A set of style guidelines defined by a company, team, teacher, etc., for naming variables.
Lower camel case
Capitalize each word except the first, as in numApples.
A symbol that performs a built-in calculation, like the operator + which performs addition.
An expression is evaluated using the order of standard mathematics.
The progress 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.
Refers to the decimal point being able to appear anywhere ("float") in the number. Ex. 98.6, 0.0006.
A number with a fractional part, even if that fraction is 0.
Infinity or -Infinity
Dividing a nonzero floating-point number by zero.
Not a number
Indicates an unrepresentable or undefined value.
A list of statements executed by invoking the function's name, with such invoking know as a function call.
Any function input values that appear within ( ), and are separated by commas if more than one.
A function is a built-in zyFlowchart function that takes two arguments, lowValue and highValue, and returns a random integer in the range lowValue to highValue. Ex: RandomNumber(1, 10) returns a random integer in the range 1 to 10.
Occurs at runtime if a divisor is 0, causing a program to terminate.
A conversion of one data type to another, such as an integer to a float.
evaluates to the remainder of the division of two integer operands. Ex: 23 % 10 is 3.
A named value item that holds a value that cannot change.
A special variable having one name, but storing a list of data items, with each item being directly accessible.
Each item in an array.
Each element's location number of an array.
A sequence of statements only executed under a certain condition.
A decision and its two branches. IF the decision's expression is true then the first branch executes, ELSE the second branch executes.
The nested branches can take on various forms, and the if-else branches may even use different variables.
Checks whether two operands' values are the same (==) or different(!=).
Type that has just two values: true or false.
Checks how one operand's value relates to another. For example, >=.
Treats operands as being true or false, and evaluates to true or false.
The difference threshold indicating that floating-point numbers are equal.
A program construct that repeatedly executes the loop's statements (known as loop body).
Each time through a loop's statement.
Special value indicating the end of a list, such as a list of positive integers ending with 0.
A loop that repeatedly executes the loop body while the loop's expression evaluates to true.
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.
Consists of the new function's name and block of statements.
Loop that appears in the body of another loop.
Loop that first executes the loop body's statements, then checks the loop condition.
A function input specified in a function definition.
A named list of statement
An invocation of a function's name, causing the function's statements to execute.
A value provided to a function's parameter during a function call.
A function may return one value and does so by assigning a return variable with the return value.
The process of dividing a program into separate modules that can be developed and tested separately and then integrated into a single program.
A process in which a programmer writes and tests a few statements, then writes and tests a small amount more.
Statement that returns the specified value and immediately exits the function.
Sequence of steps that solves a program, generating correct output for any valid input values.
Algorithm time efficiency
The number of calculations required to solve a problem.
Systems development life cycle (SDLC)
Analysis Phase, Design Phase, Implementation phase, testing phase
Carrying out the SDLC phases in sequence.
Agile or spiral approach
A program can be built by doing small amounts of each SDLC phases in sequence, then repeating.
Universal Modeling Language
Modeling language for software design that uses different types of diagrams to visualize the structure and behavior of programs.
Use Case Diagram
Behavioral diagram used to visually model how a user interacts with a software program.
A program written in a compiled language is first converted by a tool (compiler) into machine code, which can run on a particular machine. Ex. C, C++, and Java.
Interpreted language (scripting language)
Supports decomposing a program into objects.
A set of pre-written functions that carry out common tasks, that a programmer can use to improve productivity.
First step in the waterfall approach. Defines a program's goals.
The second step in the waterfall approach of SDLC. Defines specifics of a program.
The third step of the waterfall approach. Involves writing the program.
The fourth step of the waterfall approach. Checks that the programs correctly meets the goals.
Recommended textbook explanations
Introduction to Algorithms
Charles E. Leiserson, Clifford Stein, Ronald L. Rivest, Thomas H. Cormen
Computer Organization and Design MIPS Edition: The Hardware/Software Interface
David A. Patterson, John L. Hennessy
Introduction to the Theory of Computation
The Practice of Computing Using Python
Richard Enbody, William F Punch
Sets found in the same folder
C173 Scripting and Programming OA1
C173 Scripting and Programming - Foundations
Scripting and Programming Foundations
C173 Scripting and Programming Foundations
Sets with similar terms
CS 1301 Exam 1 Vocabulary
Other sets by this creator
1) Calc 1 Need to Knows
C172 (Direct from text)