Cisprog 1
understand the problem
Before a programmer plans the logic of a program
Initializing
Declaring a starting value for a variable is known as ____ the variable.
initializing
Declaring a starting value is known as ____________________ the variable
subroutines, procedures, or methods
Depending on the programming language being used, modules are also known as ____ .
True
Every programming language has rules governing its word usage and punctuation.
Command line
Location on your computer screen where you type text entries to communicate with the computers operating system
True
Program comments are a type of internal documentation.
Debugging
The process of finding and correcting program errors
increases
As programs become larger and more complicated, the need for good planning and design ____
rules of precedence
The ____ dictate the order in which operations in the same statement are carried out.
Parallelogram
Used to represent output
temporary
A ____ variable is not used for input or output, but instead is just a working variable that you use during a program's execution.
t
A string variable can hold digits such as phone numbers and zip codes.
garbage
A variable's unknown value is commonly called ____.
named constant
A(n) ____ is similar to a variable, except it can be assigned a value only once.
coding the program
After a programmer plans the logic of a program
Maintenance
After programs are put into production, making necessary changes
GUI
Allows users to interact with a program in a graphical environment
Procedural programmer
Approach a problem by dividing the process into manageable sub tasks
syntax
Are relatively easy to locate and correct because the compiler or interpreter you use highlights ever error
true
Besides the popular, comprehensive programming languages such as Java and C++, many programmers use scripting languages such as Python, Lua, Perl, and PHP.
hexadecimal
Computer programmers often refer to memory addresses
Diamond
Decision symbol
Typically a programmer
Develops a programs logic writes the code, and complies the program
keywords
Each programming language has a few reserved ____________________ that are not allowed as variable names because they are part of the language's syntax.
All programming languages support 4 broad types
F
floating point
Fractional numeric variables that contain a decimal point are known as ____ variables.
annotation symbol
In a flowchart, an ____ is most often represented by a three-sided box that is connected to the step it references by a dashed line.
Declaration
In most programming languages b4 you can use any variable you must include
Using pseudo code
Involves writing down all the steps you will use in the program
Processing data,
Items may involve organizing or sorting them, checking them for accuracy, or performing calculations with them
Eof
Many programming languages use term to automatically recognize end of data
False
Modularization makes it harder for multiple programmers to work on a problem.
False
Most modern programming languages require that program statements be placed in specific columns.
Variable
Named memory location whose values can vary
comments
Program ___________________ are written explanations that are not part of the program logic but that serve as documentation for readers of the program.
Text editor
Program that you can create simple text files
False
Programmers generally write programs as one long series of steps.
self-documenting
Programmers refer to programs that contain meaningful names as ____.
in scope
Programmers say that variables and constants declared within a module are ____ only within that module.
encapsulated
Programmers say the statements that are contained in a module have been ____.
Ada bryon Lovelace
Regarded as the first programmer
Infinite loop
Repeating flow of logic with no end
loop
Repetition of a series is steps
Logical error
Results when you use a syntactically correct statement but use the wrong one for the current context
Algorithm
Sequence of steps necessary to solve any problem
false
Software can be classified into two broad types: application software and programming software.
Ide
Software package that provides an editor, a compiler, and other program tools
Lozenge
Standard terminal symbol
False
The assignment operator has left-to-right-to-left associativity, which means that the value of the expression to the left of the assignment operator is evaluated first and that the result is assigned to the operand on the right.
=
The assignment operator is the ____ sign.
housekeeping tasks, detail loop tasks, and end-of-tasks
The mainline logic of almost every procedural computer program consists of these three distinct parts: ____ .
programmers focus during the earliest planning stages of a project
The major difference between the two main programming styles used today
modularization
The process of breaking down a large program into modules is called ____.
declaring
The process of naming program variables and assigning a type to them is called ____ variables.
Desk checking
The process of walking through a programs logic on paper before you actually write the program
Editor
To enter the program into a computer so you can translate and execute it
Rectangle flow chart
Used to represent processing
False
Variable names can be more than one word with blanks between the words.
hierarchy chart
When a program has several modules calling other modules, programmers often use a program ____, which operates similarly to an organizational chart, to show the overall picture of how modules are related to one another.
executes
When instructors are carried out, a program runs out
pascal casing
When the first letter of a variable name is uppercase, as in HourlyWage, the format is known as ____ casing.
camel casing
When the variable starts with a lowercase letter and any subsequent word begins with an uppercase letter, this is called ____.
Parallelogram
When you draw a flowchart you use .... to represent the input symbol, which indicates an input operation
variables; literals, or unnamed constants; and named constants
When you write programs, you work with data in three different forms
integer
Whole number variables are known as ____________________ variables.
Abstraction
____ is the process of paying attention to important properties while ignoring nonessential details.
global
____ variables and constants are known to the entire program.
house keeping
___________________ tasks include any steps you must perform at the beginning of a program to get ready for the rest of the program.
dummy value
a preselected value that stops the execution of a program
Numeric constant
a specific numeric value
A flowchart is an English like representation of the logical steps necessary to solve a problem
false
Once a program is completely coded, it is ready for a company or organization to use
false
Professional computer programmers write programs to satisfy their own needs.
false
Hungarian notation
is where a variable's data type or other information is stored as part of the name.
An infinite loop is a flow of program logic that repeats and never ends
true
Because one memory location can be used repeatedly with different values, you can write program instructions once and then use them for thousands of separate calculations
true
In many programming languages, if you declare a variable and do not initialize it, the variable contains an unknown value until it is assigned a value.
true
Programmers can use either procedural programming or object oriented programming to develop programs
true
The heart of the programming process lies in planning the programs logic
true