Management Information Systems (MIS) > EXAM > MIS 505 Final Exam Review: 350 Questions & Answers/MIS 505 Final Exam Review: 35 Questions & Answers (All)

MIS 505 Final Exam Review: 350 Questions & Answers/MIS 505 Final Exam Review: 35 Questions & Answers_Satisfaction Guaranteed.

Document Content and Description Below

MIS 505 Final Exam Review: 350 Questions & Answers Questions: Review 1 Methods in object-oriented programs use sequence, selection, and looping structures and make use of arrays. In addition to the... ir attributes, class objects have methods associated with them; every object that is an instance of a class possesses different methods. Within any object-oriented program, you continuously make requests to objects’ methods, often including arguments as part of those requests. Declaring a class does not create actual objects. Class diagrams are a type of Unified Modeling Language (UML) diagram. The accessor method is another name for the set method. Object-oriented programmers usually specify that their data fields will have private access. All methods require a this reference. No object is necessary with a static method. Methods in a class are static instance methods by default. ____ is a style of programming that focuses on an application’s data and the methods you need to manipulate that data. Object-oriented programmers sometimes say an object is one ____ of a class. Objects both in the real world and in object-oriented programming contain ____ and methods. ____ are the characteristics that define an object as part of a class. When you think in an object-oriented manner, every object is a member of a ____. Object-oriented programmers also use the term ____ when describing inheritance. The concept of a class is useful because of its ____. Object attributes are often ____ to help distinguish them from other variables you might use. The data components of a class that belong to every instantiated object are the class’s ____. A(n) ____ is a program or class that instantiates objects of another prewritten class. The term ____ is applied to situations in which you define multiple methods with a single name. A ____ is a set of program statements that tell you the characteristics of the class’s objects and the methods that can … used by its objects. The term ____ implies that the type’s data can … accessed only through methods. A(n) ____ is a programmer-defined type, such as a class. In older object-oriented programming languages, simple numbers and characters are said to ____ data types. A(n) ____ consists of a rectangle divided into three sections. The purpose of ____ is to set the values of data fields within the class. Methods that set values are ____ methods. The purpose of a(n) ____ is to return a value to the world outside the class. A ____ method is also known as a help method. A(n) ____ is the adjective defining the type of access (public or private) that outside classes will have to the attribute or method. In a class method, the ____ reference can … used only with identifiers that are field names. ____ methods are those for which no object needs to exist. ____ methods are methods that exist to … used with an object created from a class. In most programming languages, you use the word ____ when you want to declare a static class member. Questions: Review 2 You can invoke or call a method from another program or method. When methods must share data, you can pass the data into and return the data out of methods. A method could … using any numeric value as an argument, whether it is a variable, a named constant, or a literal constant. A method’s return type is part of its signature. A method’s declared return type must match the type of value used in the return statement. Methods with identical names that have identical parameter lists but different return types are ambiguous. All modern programming languages contain many methods that are predefined. In implementation hiding, the calling method needs to understand only the interface to the method that is and it need not know how the method works internally. Most programmers consciously make decisions about cohesiveness for each method they write. Programs that use recursion are error-prone but easy to debug. The last statement in a method is a(n) ____. Variables and constants are ____ within, or local to, only the method in which they are declared. When a data item is known to all of a program’s modules, it is a ____data item. A calling method sends a(n) ____ to a method. A …. method accepts the value of an argument passed to it as its ____. A method’s name and parameter list constitute the method’s ____. You can think of the ____ in a method declaration as a funnel into the method. A variable usually is passed into a method by ____. Each time a method executes, any parameter variables listed in the method header are ____. The variables in the method declaration that accept the values from the actual parameters are ____ parameters. A method can return nothing, in which case the method is a ____ method. Programmers use the term ____ to describe any extra time and resources required by an operation. ____ provide an overview of input to the method, the processing steps that must occur, and the result. When multiple parameters appear in a method header, they constitute a(n) ____. Arrays, unlike simple built-in types, are passed by ____. ____ is the ability of a method to act appropriately depending on the context. When you ____ a method, you write multiple methods with a shared name but different parameter lists. Using implementation hiding means that the ____ is the only part of a method with which the method’s client interacts. ____ refers to how the internal statements of a method serve to accomplish the method’s purpose. ____ is a measure of the strength of the connection between two program methods. ____ occurs when methods excessively depend on each other and makes programs more prone to errors. ____ …….. do not depend on others. ____ occurs when a method is defined in terms of itself. A method that calls itself is a ____. Every time you call a method, the address to which the program should return at the completion of the method is stored in a memory location ____. Questions: Review 3 The sorting process is usually reserved for a relatively large number of data items. The most popular computer coding schemes include ASCII, Numeric, and EBCDIC. You can make additional improvements to a bubble sort to reduce unnecessary comparisons. An insertion sort is another name for a bubble sort. Two-dimensional arrays are never actually required in order to achieve a useful program. Some programming languages allow multidimensional arrays. It is relatively easy for people to keep track of arrays with more than three dimensions. You do not need to determine a record’s exact physical address in order to use it. When a record is removed from an indexed file, it has to … physically removed. Every time you add a new record to a linked list, you search through the list for the correct logical location of the new record. When records are in ____ order, they are arranged one after another on the basis of the value in a particular field. The ____ is often used as a statistic in many cases because it represents a more typical case. The ____ is skewed by a few very high or low values. When you store data records, they exist in ____. ____ report, the records must have been sorted in order by a key field. When computers sort data, they always use ____ values when making comparisons between values. Because “A” is always less than “B”, alphabetic sorts are ____ sorts. In a ____, items in a list are compared with each other in pairs. When you learn a method like sorting, programmers say you are learning a(n) ____. To correctly swap two values, you create a(n) ____ variable to hold one of the values. A bubble sort is sometimes … a ____. When using a bubble sort to sort a 10-element array, on the fourth pass through the array list you detect that no swap has occurred. This indicates ____. When you sort records, two possible approaches are to place related data items in parallel arrays and to ____. In a(n) ____, if an element is out of order relative to any of the items earlier in the list, you move each earlier item down one position and then insert the tested element. An array whose elements you can access using a single subscript is a ____ array. A two-dimensional array contains two dimensions: ____. Each element in a two-dimensional array requires ____ subscript(s) to reference it. When mathematicians use a two-dimensional array, they often call it a ____ or a table. ____ are arrays that have more than one dimension. A record’s ____ field is the field whose contents make the record unique among all records in a file. As pages in a book have numbers, computer memory and storage locations have ____. When you ____ records, you store a list of key fields paired with the storage address for the corresponding data record. When you use an index, you can store records on a ____ storage device. One way to access records in a desired order, even though they might not … physically stored in that order, is to create a(n) ____. Every time you add a new record to a linked list, you search through the list for the correct ____ location of the new record. Questions: Review 4 Images and music are contained in binary files. When you copy data from RAM into a file on a storage device, you read to the file. The keyboard and printer are the default input and output devices. Programmers usually use the word “write” to mean “produce hard copy output.” To write a program that produces a report of employees by department number, the records must … grouped by department number before you begin processing. You can easily merge files even if each file contains a different record layout. …. merge more than two files. You update the transaction file with data from the master file. The terms “parent” and “child” can refer to file backup generations, but they are also used for a different purpose in object-oriented programming. Files in which records must … accessed immediately are sometimes … instant access files. A ____ is a collection of data stored on a nonvolatile device in a computer system. When you write a program that stores a value in a variable, you are using ____ storage. ____ storage is not lost when a computer loses power. Files exist on ____ storage devices, such as hard disks, DVDs, USB drives, and reels of magnetic tape. The combination of the disk drive plus the complete hierarchy of directories in which a file resides is its ____. Directories and ____ are organization units on storage devices. ____ is the more general term for an entity that organizes files. ____ are groups of fields that go together for some logical reason. Characters are made up of smaller elements … ____. A database holds groups of files or ____ that together serve the information needs of an organization. In most programming languages, before an application can use a data file, it must ____. When you copy data from a file on a storage device into RAM, you ____ from the file. When you ____ a file, it is no longer available to your application. A ____ is a copy that is kept in case values need to … restored to their original state. —— is a file in which records are stored one after another in some order. A ____ is a temporary detour in the logic of a program. To generate a control break report, your input records must … organized in ____ order based on the field that will cause the breaks. A ____ break is a break in the logic of the program that is based on the value of a single variable. ____ files involves combining two or more files while maintaining the sequential order. When the records in a file are sorted in order from lowest to highest values, the records are in ____ order. The ____ file holds temporary data that is used to update the master file. The saved version of a master file is the ____ file; the updated version is the child file. ____ is processing that involves performing the same tasks with many records, one after the other. ____ applications require that a record … accessed immediately while a client is waiting. Because they enable you to locate a particular record directly (without reading all of the preceding records), random access files are also called ____ files. Questions: Review 5 Many newer programming languages such as C++, Java, and C# use subscript 1 to access the first element of the array. You use subscripts 1 through 10 to access the elements in a ten element array. Many newer programming languages such as C++, Java, and C# use the bracket notation for arrays. Declaring a named constant makes code easier to modify and understand. A parallel array is an array that stores another array in each element. Parallel arrays must contain the same data type. You can improve the efficiency of a program by leaving a loop as soon as a match is found in the array. Arrays cannot … used if you need to search for a range of values. When you have a five element array and use subscript 8, your subscript is said to … out of bounds. The for loop is a good tool when working with arrays because you frequently need to process every element of an array from beginning to end. An array is a(n) ____ of values in computer memory. A(n) ____ is another name for a subscript. The number of elements in an array is ____ of the array. All array elements have the same group ____. Array elements all have the same ____ in common. Array subscripts are always a sequence of ____. In all languages, subscript values must … sequential ____. A program contains an array that holds all the names of the days of the week. Which of the following is true? Providing array values is sometimes ____. An array can … used to replace ____. The true benefit of using an array lies in your ability to use a ____ as a subscript to the array. Named ____ hold values that do not change during a program’s execution. Besides making your code easier to modify, using a ____ makes the code easier to understand. One advantage to using a named constant is that the statement becomes ____. When you search through a list from one end to the other, you are performing a ____. If you declare a variable to … Boolean, you can set its value to ____. Which statement is true of arrays? A ____ relates parallel arrays. Parallel arrays are most useful when value pairs have a(n) ____ relationship. A ____ search starts looking in the middle of a sorted list, and then determines whether it should continue higher or lower. To search an array for a(n) ____ match, you can store either the highest or lowest value of each range for comparison. Every array has a(n) ____ size. The number of bytes in an array is always a multiple of the number of ____ in an array. In every programming language, when you access data stored in an array, it is important to use a ____ containing a value that accesses memory occupied by the array. When a subscript is not within the range of acceptable subscripts, it is said to ____. Questions: Review 6 The loop control variable is initialized after entering the loop. In some cases, a loop control variable does not have to … initialized. An indefinite loop is a loop that never stops. You can either increment or decrement the loop control variable. When one loop appears inside another is is … an indented loop. Forgetting to initialize and alter the loop control variable is a common mistake that programmers sometimes make. Every high-level computer programming language contains a while statement. Both the while loop and the for loop are examples of pretest loops. The safest action is to assign the value 1 to accumulators before using them. It is the programmer’s responsibility to initialize all variables that must start with a specific value. The first step in a while loop is typically to ____. Once your logic enters the body of a structured loop, ____. The last step in a while loop is usually to ____. (n) ____ loop executes a predetermined number of times. Many loop control variable values are altered by ____, or adding to them. A(n) ____ is any numeric variable you use to count the number of times an event has occurred. A loop within another loop is known as a(n) ____ loop. When one loop appears inside another, the loop that contains the other loop is ____ loop. Usually, when you create nested loops, each loop has its own ____. A mistake programmers often make with loops is that they ____. A mistake programmers often make with loops is that they ____. A comparison is correct only when the correct ____ and operator are used. Programmers use the term ____ to describe programs that are well designed and easy to understand and maintain. You usually use the for loop with ____ loops. The ____ loop provides three actions in one compact statement. The amount by which a for loop control variable changes is often ____ value. In a ____, the loop body might never execute because the question controlling the loop might … false the first time it is asked. In a ____, the loop body executes at least one time because the loop control variable is not tested until after one iteration. The ____ loop is particularly useful when processing arrays. A(n) ____ is very similar to a counter that you use to count loop iterations, except that you usually add a value other than one to this type of variable. ____ is a technique with which you try to prepare for all possible errors before they occur. Business reports that list only totals, with no individual item details, are ____. Loops are frequently used to ____; that is, to make sure it is meaningful and useful. Programmers employ the acronym ____ to mean that if your input is incorrect, your output is worthless. ____ a data item means you override incorrect data by setting the variable to a specific value. Questions: Review 7 Every decision you make in a computer program involves evaluating a Boolean expression. In any Boolean expression, the two values compared can … either variables or constants. Any decision can … made using combinations of just two types of comparisons: equal and not equal. Most programming languages allow you to ask two or more questions in a single comparison. A short-circuit evaluation is where each part of an expression is evaluated only as far as necessary to determine whether the entire expression is true or false. When you need to satisfy two or more criteria to initiate an event in a program, you must make sure that the second decision is made entirely independently of the first decision. Besides AND and OR operators, most languages support a NOT operator. Most programming languages limit the number of AND and OR operators in an expression. When you combine AND and OR operators, the OR operators take precedence, meaning their Boolean values are evaluated first. You can use parentheses to override the default order of operations. A selection with an action that is associated with each of two possible outcomes is known as a(n) ____ selection. The keyword that is NOT included in a single-alternative selection is ____. Boolean expressions are named after ____. ____ operators require two operands. The ____ sign means “greater than.” Usually, ____ variables are not considered to … equal unless they are identical. When you ask multiple questions before an outcome is determined, you create a ____ condition. A(n) ____ decision is a decision in which two conditions must …. true for an action to take place. A series of nested if statements is also ____ if statement. Most languages allow you to use a variation of the decision structure ____ structure when you must nest a series of decisions about a single variable. Most programming languages allow you to ask two or more questions in a single comparison by using a(n) ____ operator that joins decisions in a single statement. For maximum efficiency, a good rule of thumb in an AND decision is to ____. ____ evaluation is when each part of an expression that uses an operator is evaluated only as far as necessary to determine whether the entire expression is true or false. When creating a truth table, you must determine how many possible Boolean value combinations exist for the conditions. If there are two conditions, ____ combinations will exist. In a truth table, the expression ____ is true. The conditional AND operator in Java, C++, and C# is ____. ____ are diagrams used in mathematics and logic to help describe the truth of an entire expression based on the truth of its parts. A(n) ____ decision is a decision in which at least one of two conditions must … true for an action to take place. In a truth table, the expression ____ is false. For maximum efficiency, a good rule of thumb in an OR decision is to ____. C#, C++, C, and Java use the symbol ____ as the logical OR operator. You use the logical ____ operator to reverse the meaning of a Boolean expression. You can perform a ____ by making comparisons using either the lowest or highest value in a range of values. When you combine AND and OR operators, the ____ operators take precedence,meaning their Boolean values are evaluated first. You can use ____ for clarity and to override the default order of operations. Questions: Review 8 Structured programs use spaghetti code logic. In a selection structure, you perform an action or task, and then you perform the next action in order. Repetition and sequence are alternate names for a loop structure. In a structured program, any structure can … nested within another structure. A structured program must contain a sequence, selection, and loop structure. Because you may stack and nest structures while retaining the overall structure, it might … difficult to determine whether a flowchart as a whole is structured. As a general rule, an eof question should always come immediately after an input statement because the end-of-file condition will … detected at input. Structured programming is sometimes …. goto-less programming. No matter how complicated it is, any set of steps can always … reduced to combinations of the two basic structures of sequence and loop. The case structure is a variation of the sequence structure and the do loop is a variation of the while loop. Programs that use _____ code logic are unstructured programs that do not follow the rules of structured logic. With a(n) ____, you perform an action or task, and then you perform the next action, in order. The following pseudocode is an example of a ____ structure. The following pseudocode is an example of a ____ structure. Fill in the blank in the following pseudocode: if-else examples can also be ____ because they contain the action taken when the tested condition is true and the action taken when it is false. The following pseudocode is an example of a ____ structure. You may hear programmers refer to looping as ____. The action or actions that occur within a loop are known as a(n) ____. The following pseudocode is an example of ____. Attaching structures end to end is ____ structures. The following pseudocode is an example of ____. Placing a structure within another structure is ____ structures. You can use an ____ statement to clearly show where the actions that depend on a decision end. The maximum number of entry points that any programming structure can have is ____. A structured program includes only combinations of the three basic structures: ____. Structures can … stacked or connected to one another at their ____. A ____ read is an added statement that gets the first input value in a program. The priming read is an example of a(n) ____ task. In older languages, you could leave a selection or loop before it was complete by using a ____ statement. Structured programs can … easily broken down into routines or ____ that can be assigned to any number of programmers. One way to straighten out an unstructured flowchart segment is to use the ____ method. A loop must return to the ____ question at some later point in a structure. The do loop is a variation of the ____ loop. The case structure is a variation of the ____ structure. Questions: Review 9 A variable can hold more than one value at any given moment in time. Because one memory location can … used repeatedly with different values, you can write program instructions once and then use them for thousands of separate calculations 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. Variable names can … more than one word with blanks between the words. 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. A string variable can hold digits such as phone numbers and zip codes. Programmers generally write programs as one long series of steps. Modularization makes it harder for multiple programmers to work on a problem. Program comments are a type of internal documentation. Most modern programming languages require that program statements … placed in specific columns. When you write programs, you work with data in three different forms: ____. A specific numeric value is often … a(n) ____. Fractional numeric variables that contain a decimal point are known as ____ variables. In most programming languages, before you can use any variable, you must include a ____ for it. The process of naming program variables and assigning a type to them is ____ variables. A variable’s unknown value is commonly ____. Declaring a starting value for a variable is known as ____ the variable. When the variable starts with a lowercase letter and any subsequent word begins with an uppercase letter, this is ____. When the first letter of a variable name is uppercase, as in HourlyWage, the format is known as ____ casing. ____ is where a variable’s data type or other information is stored as part of the name. Hungarian notation The assignment operator is the ____ sign. A(n) ____ is similar to a variable, except it can … assigned a value only once. The ____ dictate the order in which operations in the same statement are carried out. Depending on the programming language being used, modules are also known as ____ . The process of breaking down a large program into modules is ____. ____ is the process of paying attention to important properties while ignoring nonessential details. Programmers say the statements that are contained in a module have been ____. Programmers say that variables and constants declared within a module are ____ only within that module. ____ variables and constants are known to the entire program. The mainline logic of almost every procedural computer program consists of these three distinct parts: ____ . 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. As programs become larger and more complicated, the need for good planning and design ____ . An ____ is most often represented by a three-sided box that is connected to the step it references by a dashed line. Programmers refer to programs that contain meaningful names as ____. A ____ variable is not used for input or output, but instead is just a working variable that you use during a program’s execution. Questions: Review 10 Software can … classified into two broad types: application software and programming software. The heart of the programming process lies in planning the program’s logic. A(n) ____ is a program that you use to create simple text files. A(n) ____ is a repeating flow of logic with no end. If you use an otherwise correct word that does not make sense in the current context, programmers say you have committed a ____ error. ____ errors are relatively easy to locate and correct because the compiler or interpreter you use highlights every error. Every programming language has rules governing its word usage and punctuation. Computer programmers often refer to memory addresses using ____ notation. Once a program is completely coded, it is ready for a company or organization to use. The ____ is the standard terminal symbol for a flowchart. The process of finding and correcting program errors is ____. A(n) ____ is a software package that provides an editor, a compiler, and other programming tools. An infinite loop is a flow of program logic that repeats and never ends. The major difference between the two main programming styles in use today is the ____. A(n) ____ is a location on your computer screen where you type text entries to communicate with the computer’s operating system. Professional computer programmers write programs to satisfy their own needs. The ____ is used to represent output in a flowchart. A(n) ____ tells the user what to enter. Alan Turing is often regarded as the first programmer. Many programming languages use the term ____ to refer to the marker that is used to automatically recognize the end of data in a file. Programmers can use either procedural programming or object-oriented programming to develop programs. A(n) ___ is a named memory location whose value can vary. Before a programmer plans the logic of the program, he or she must ____. After a programmer plans the logic of a program, the next step is ____. A ____ allows users to interact with a program in a graphical environment. ____ data items may involve organizing or sorting them, checking them for accuracy, or performing calculations with them. Using ____ involves writing down all the steps you will use in a program. The process of walking through a program’s logic on paper before you actually write the program is ____. The repetition of a series of steps is a(n) ____. Besides the popular, comprehensive programming languages such as Java and C++, many programmers use scripting languages such as Python, Lua, Perl, and PHP. Typically, a programmer develops a program’s logic, writes the code, and ____ the program, receiving a list of syntax errors. In a flowchart, the ____ is used to represent processing. After programs are put into production, making necessary changes is _____. You represent a decision in a flowchart by drawing a decision symbol, which is shaped like a ____. A flowchart is an English-like representation of the logical steps necessary to solve a problem. [Show More]

Last updated: 1 year ago

Preview 1 out of 89 pages

Add to cart

Instant download

document-preview

Buy this document to get the full access instantly

Instant Download Access after purchase

Add to cart

Instant download

Reviews( 0 )

$25.00

Add to cart

Instant download

Can't find what you want? Try our AI powered Search

OR

REQUEST DOCUMENT
96
0

Document information


Connected school, study & course


About the document


Uploaded On

Aug 12, 2020

Number of pages

89

Written in

Seller


seller-icon
Succeed

Member since 4 years

49 Documents Sold


Additional information

This document has been written for:

Uploaded

Aug 12, 2020

Downloads

 0

Views

 96

Document Keyword Tags

Recommended For You

Get more on EXAM »

$25.00
What is Browsegrades

In Browsegrades, a student can earn by offering help to other student. Students can help other students with materials by upploading their notes and earn money.

We are here to help

We're available through e-mail, Twitter, Facebook, and live chat.
 FAQ
 Questions? Leave a message!

Follow us on
 Twitter

Copyright © Browsegrades · High quality services·