Card Set Information
Study Guide for programming concepts
What is the case structure used in place of?
nested if statements
How many methods can a class contain? How many times can a method be called?
Can you use loops to accumulate data and validate data?
What can you say about the values in an array?
They have the same data type
When you declare an array – are the elements automatically set to 0?
No, besides java and visual basic
Are you allowed to create multiple methods with the same name in the same class? What is that called?
When you create an object, can you develop new objects that possess the same traits as that original object plus some additional ones? What is that called?
Can you write client programs, never creating nonclient classes, using what others have created or do you have to write programs that create your own classes?
Yes, as long as you have permission
Do you need to understand how classes' methods work internally in order to use them if they are written well?
Can you overload any method or constructor in a class?
What are the rules that govern a programming language called?
Give some examples of an input operation.
Get number, Read Number
What is volatile memory?
Loses value when power is removed
How do you identify a method?
By its method, or () after the name
When a variable holds data about an object it is called what?
What is meant by precedence?
Rules that govern the order of operations
What are the parts of a declaration statement?
Variable type, name of variable
Which data type contains a decimal point?
Some languages fill uninitialized variables with what kind of value?
What can you use to communicate with the operating system by typing text?
Command line interface
What is a message displayed on a monitor asking for a response called?
Whether its graphical or command line – what do we use to communicate with our computer?
Related files are often used in what?
What is a repeating flow of logic with no end?
The diamond shape in a flowchart represents what?
asks a question
What is a yes or no decision often called?
What is a preselected value that is used to stop the execution of a program but does not represent real data?
A preselected value that stops the execution of a program can also be called what kind of value because it represents an entry or exit point?
What is the term used for snarled program statements?
Sequence, Selection and Loop are the three main what?
Placing one structure within another structure is called what?
What is another name for priming input?
What is a pretest loop?
Asks the question at the beginning, while loop
What is a posttest loop?
Asks question at the end, Do until/while
What is the definition of a method?
Self Contained program module
How do you execute a method?
Invoke it from another method
What does creating methods do for programming?
Makes large programs easier to manage
What kind of expression represents one of two states, true or false?
When you compare two values, they much be of the same what?
What is another name for comparison symbols?
What is the most awkward relational operator and the most likely to be different in different languages?
Not equal to
What is the definition of a range of values?
Every value between a high and low limit
What do you use to reverse the meaning of a Boolean expression?
What kind of value is assigned after all previous selections are false?
How can you force a particular expression to be evaluated first?
What can you use instead of AND and OR decisions?
When you have a series of decisions based on the value contained in a single variable, what structure can you use?
What kind of loop executes as long as the Boolean expression evaluates to true?
If you do not control the number of repetitions in a loop , you may create what kind of loop?
You can control a loop by using a counter or what other kind of value?
When do you initialize a loop control variable?
Before entering a loop
The decision that controls every loop is always based on what type of a comparison?
You can use the for statement with what kind of loops, definite or indefinite?
To ensure a loop executes at least once, what kind of loop would you use?
Post-test, ex. do loop
What does a loop-controlling question do?
Provide entry or exit from the loop
What kind of reports lists totals, not individual details?
What kind of variable is used to accumulate values?
What is the difference in a counter and accumulator variable?
Counter counts how many times it goes through the loop, accumulator counts the total
What type of variable holds values of the same type and is held in contiguous memory and differentiated using subscripts?
What is another name for subscript?
Subscripts are always a sequence of what kind of numbers?
How do you declare and initialize an array in pseudocode?
If you declare numeric sizes = 2,4,6,8,12 , how does the computer know what size the array is?
Initial values provided
If an array can change size it is said to be what kind of array?
What do you call a loop that puts initial values in an array?
What are two corresponding arrays also known as?
What is an early exit?
Leaving a loop as soon as a match is found
What happens when you use a subscript that is not within the range of acceptable subscripts for an array?
Out of bounds error
What is encapsulation?
Using a method name to encapsulate a series of statements
What's another name for methods?
What are global variables?
Variables known by the entire class
What is implementation hiding?
Requesting a method without know the details of how the method works
What makes up a method's signature?
Name and parameter list
What is a void method?
Method that doesn’t request a value
How are arrays passed to methods, by what?
What are the building blocks of object oriented programming?
Every object is a member of what?
What does a class diagram look like?
Rectangle divided in 3 sections
When you use a class object within another class object it is said to have what kind of relationship?
What is multiple inheritance?
When you can inherit from more than one class
What kind of modeling language is used to specify , construct and document systems?
What kind of diagram emphasizes what happens in a system?
What kind of diagram emphasizes the flow of control and data in the system?
What kind of diagrams are used to show how a business works from those outside the business?
What are the variations in the sequence of actions in a use case called?