Archives

CAPP 12720

CAPP 12720

Using the format menu, the ____ option allows you to align two or more controls by their left, right, top, or bottom borders. The Select Case statement begins with the keywords Select Case, followed by a(n) ____. Answer: D In […]

12 Pages | July 31, 2017
CAPP 78991

CAPP 78991

Pascal case means you capitalize the first letter in the name and the first letter in any subsequent words in the name. It’s a good programming practice to test a procedure after you have coded it. Answer: T Many times […]

3 Pages | July 31, 2017
CAS CS 48533

CAS CS 48533

Not all algorithms require a processing item. Most programmers prefer to use posttest loops. Answer: F Both constant and variable memory locations make your code more self-documenting and easier to understand. Answer: T You can use a structure to group […]

5 Pages | July 31, 2017
CAS CS 74451

CAS CS 74451

A program should be tested with a set of sample data that includes both valid and invalid data. The ____ function temporarily converts one or more characters to a number, and then returns the number. Answer: D A simple variable, […]

13 Pages | July 31, 2017
CAS CS 77291

CAS CS 77291

A form’s ____ event occurs when an application is started and the form is displayed the first time. Every object has ____, which are the characteristics that describe the object. a. properties b. attributes c. parts d. elements Answer: B […]

12 Pages | July 31, 2017
CDA 59235

CDA 59235

The pseudocode “if the hours worked are greater than or equal to 0 but less than or equal to 40″ is coded as ____ in Visual Basic. a. If decHours > 0 AndAlso decHours < 40 b. If decHours => […]

12 Pages | July 31, 2017
CDA 64169

CDA 64169

The TryParse method parses the text, which means it looks at each character in the text, to determine whether the text can be converted to a number of the specified data type. Program bugs typically are caused by either syntax […]

6 Pages | July 31, 2017
CDA 78380

CDA 78380

Desk-checking is also called pencil-tracing, because the programmer uses a pencil and paper to follow each of the algorithm’s instructions. Users can edit the contents of a label control while the application is running. Answer: F You declare a class-level […]

6 Pages | July 31, 2017
Chapter 1 The instruction “If it is raining outside, then take an umbrella”

Chapter 1 The instruction “If it is raining outside, then take an umbrella”

Chapter 1: I Am Not A Control Freak! (Control Structures) TRUE/FALSE 1. All computer programs, no matter how simple or how complex, are written using one or more of three basic structures: sequence, selection, and repetition. 2. Programmers must use […]

2 Pages | August 1, 2022
Chapter 10 When a multiple-alternative selection structure has many

Chapter 10 When a multiple-alternative selection structure has many

Chapter 10: So Many Paths…So Little Time (Multiple-Alternative Selection Structures) TRUE/FALSE 1. At times, you may need to create a selection structure that can choose from several alternatives. 2. Another form of the If…Then…Else statement is called If/ElseIf/Else. ANS: T […]

4 Pages | August 1, 2022
Chapter 11 No matter how thoroughly you test an application

Chapter 11 No matter how thoroughly you test an application

Chapter 11: Testing, Testing…1, 2, 3 (Selecting Test Data) TRUE/FALSE 1. The last step in the problem-solving process is to rigorously test the program before releasing it to the user. 2. A program should be tested with a set of […]

4 Pages | August 1, 2022
Chapter 12 If the user clicks the OK button, the Input

Chapter 12 If the user clicks the OK button, the Input

Chapter 12: How Long Can This Go On? (Pretest Loops) TRUE/FALSE 1. All computer programs are written using one or more of three control structures: sequence, selection, or repetition. 2. A repetition structure can only be a pretest loop. ANS: […]

4 Pages | August 1, 2022
Chapter 13 You can fix the problem in the Posttest Loop

Chapter 13 You can fix the problem in the Posttest Loop

Chapter 13: Do It, Then Ask Permission (Posttest Loops) TRUE/FALSE 1. A repetition structure can be either a pretest loop or a posttest loop. 2. The difference between pretest and posttest loops pertains to how the accumulator is evaluated. ANS: […]

3 Pages | August 1, 2022
Chapter 14 Counter controlled Loop Uses Counter

Chapter 14 Counter controlled Loop Uses Counter

Chapter 14: Let Me Count the Ways (Counter-Controlled Loops) TRUE/FALSE 1. A counter-controlled loop can be either a pretest loop or a posttest loop. 2. A pretest counter loop can only be coded using the Do…Loop statement. ANS: F PTS: […]

4 Pages | August 1, 2022
Chapter 15 When Writing Clock Application

Chapter 15 When Writing Clock Application

Chapter 15: I’m on the Inside; You’re on the Outside (Nested Loops) TRUE/FALSE 1. Nested loops occurs when one loop is placed immediately after another loop. 2. Like selection structures, repetition structures can be nested. ANS: T PTS: 1 REF: […]

4 Pages | August 1, 2022
Chapter 16 It is a common practice to begin a procedure name

Chapter 16 It is a common practice to begin a procedure name

Chapter 16: I Hear You Are Breaking Up (Sub Procedures) TRUE/FALSE 1. An event procedure is a set of Visual Basic instructions that are processed when a specific event (such as the Click event) occurs. 2. You can use an […]

4 Pages | August 1, 2022
Chapter 17 An Procedure Does Not Return Value a

Chapter 17 An Procedure Does Not Return Value a

Chapter 17: Talk to Me (Function Procedures) TRUE/FALSE 1. Function procedures are referred to more simply as structures. 2. The header and footer in a function are identical to the header and footer in a sub procedure. ANS: F PTS: […]

3 Pages | August 1, 2022
Chapter 18 In most applications, the values stored in an array come from

Chapter 18 In most applications, the values stored in an array come from

Chapter 18: A Ray of Sunshine (One-Dimensional Arrays) TRUE/FALSE 1. At times, you will encounter situations where some of the variables in an application are related to each other. 2. In the cases when you encounter situations where some variables […]

4 Pages | August 1, 2022
Chapter 19 Class-level variables are declared using the

Chapter 19 Class-level variables are declared using the

Chapter 19: Parallel and Dynamic Universes (More on One-Dimensional Arrays) TRUE/FALSE 1. In some applications, you may want to use an array to store items that are related but have different data types, such as employee IDs and salary amounts. […]

3 Pages | August 1, 2022
Chapter 2 Problem Specification Indicates That

Chapter 2 Problem Specification Indicates That

Chapter 2: First You Need to Plan the Party (Problem-Solving Process) TRUE/FALSE 1. The first step that programmers follow when they solve problems is to plan the algorithm. 2. The final step that programmers follow when they solve problems is […]

6 Pages | August 1, 2022
Chapter 20 The Two dimensional Array Specify The Variables

Chapter 20 The Two dimensional Array Specify The Variables

Chapter 20: Table Tennis, Anyone? (Two-Dimensional Arrays) TRUE/FALSE 1. The most commonly used arrays in business applications are one-dimensional and two-dimensional. 2. You can visualize a one-dimensional array as a table of variables. ANS: F PTS: 1 REF: 456 3. […]

3 Pages | August 1, 2022
Chapter 21 A structure variable can be stored in an array only when

Chapter 21 A structure variable can be stored in an array only when

Chapter 21: Building Your Own Structure (Structures) TRUE/FALSE 1. Pascal case means capitalizing the first letter in the name and the first letter of each subsequent word in the name. 2. Between the Structure and End Structure clauses, you define […]

3 Pages | August 1, 2022
Chapter 22 You can use the Exists method to avoid the run time

Chapter 22 You can use the Exists method to avoid the run time

Chapter 22: I’m Saving for the Future (Sequential Access Files) TRUE/FALSE 1. In addition to getting data from the keyboard and sending data to the computer screen, an application can also get data from and send data to a file […]

4 Pages | August 1, 2022
Chapter 23 You can use the Substring method

Chapter 23 You can use the Substring method

Chapter 23: The String Section (String Manipulation) TRUE/FALSE 1. Applications rarely need to manipulate (process) string data. 2. If an application expects the user to enter a seven-digit phone number or a five-digit ZIP code, the application’s code should verify […]

4 Pages | August 1, 2022
Chapter 24 If you do not take deliberate steps in your code to handle

Chapter 24 If you do not take deliberate steps in your code to handle

Chapter 24: I’m Suffering from Information Overload (Access Databases) TRUE/FALSE 1. In order to maintain accurate records, most businesses store information about their employees, customers, and inventory in Excel spreadsheets. 2. A relational database can contain one or more tables. […]

4 Pages | August 1, 2022
Chapter 25 If you are sorting records in ascending order, you need

Chapter 25 If you are sorting records in ascending order, you need

Chapter 25: The Missing “LINQ” (Querying a Database) TRUE/FALSE 1. A dataset is a copy of the fields and records the application can access from a database. 2. A dataset is stored in the computer’s internal memory while the application […]

3 Pages | August 1, 2022
Chapter 26 Using OOP terminology, the Public members are

Chapter 26 Using OOP terminology, the Public members are

Chapter 26: I Love This Class (Creating a Class) TRUE/FALSE 1. The text boxes, labels, and buttons included in most Windows applications are objects. 2. A class itself is not an object; only an instance of a class is an […]

3 Pages | August 1, 2022
Chapter 27 The information is requested and subsequently viewed through

Chapter 27 The information is requested and subsequently viewed through

Chapter 27: Getting “Web-ified” (Web Applications) TRUE/FALSE 1. The Web consists of documents called Web pages that are stored on Web servers. 2. Currently, the two most popular browsers are Microsoft Internet Explorer and Mozilla Firefox. ANS: T PTS: 1 […]

3 Pages | August 1, 2022
Chapter 3 The Combination The User

Chapter 3 The Combination The User

Chapter 3: I Need A Tour Guide (Introduction to Visual Basic 2012) TRUE/FALSE 1. The first three steps in the problem-solving process are to analyze the problem, plan the algorithm, and then desk-check the algorithm. 2. Using languages to code […]

5 Pages | August 1, 2022
Chapter 4 Label Control Names Begin

Chapter 4 Label Control Names Begin

Chapter 4: Do-It-Yourself Designing (Designing Interfaces) TRUE/FALSE 1. When designing an interface for a problem, you should only examine its output items. 2. A Text box provides an area for the user to enter data. ANS: T PTS: 1 REF: […]

4 Pages | August 1, 2022
Chapter 5 Message The Person

Chapter 5 Message The Person

Chapter 5: The Secret Code (Assignment Statements) TRUE/FALSE 1. Coding the algorithm is the second step in the problem-solving process. 2. Many programmers use comments to document a procedure’s purpose, as well as to explain various sections of the procedure’s […]

4 Pages | August 1, 2022
Chapter 6 You can format a number using the syntax

Chapter 6 You can format a number using the syntax

Chapter 6: Where Can I Store This? (Variables and Constants) TRUE/FALSE 1. Each memory location inside a computer can hold only one item of data at a time. 2. An item stored in a memory location can be a number, […]

4 Pages | August 1, 2022
Chapter 7 Program Bugs Are Typically

Chapter 7 Program Bugs Are Typically

Chapter 7: What’s Wrong With It? (Syntax, Logic, and Run Time Errors) TRUE/FALSE 1. You can only use variable memory locations to control the data type of numbers used in calculations. 2. Both constant and variable memory locations make your […]

4 Pages | August 1, 2022
Chapter 8 Choice 1 The Structure Makes Decision And

Chapter 8 Choice 1 The Structure Makes Decision And

Chapter 8: Decisions, Decisions, Decisions (Selection Structure) TRUE/FALSE 1. Many times the next instruction processed depends on the result of a decision that must be made. 2. A programmer determines whether a problem’s solution requires a selection structure by studying […]

4 Pages | August 1, 2022
Chapter 9 An Selection Structure

Chapter 9 An Selection Structure

Chapter 9: Time to Leave the Nest (Nested Selection Structures) TRUE/FALSE 1. You use the selection structure to make a decision and then select the appropriate path—either the true path or the false path—based on the result. 2. Only one […]

4 Pages | August 1, 2022
CICS 94150

CICS 94150

You use the ____ section of the function’s header to specify the data type of the value returned by the function. ____ is the universal coding scheme for characters. Answer: D A variable that has ____ scope can be used […]

13 Pages | July 31, 2017
CMCS 35777

CMCS 35777

You can use a text box’s Focus method to send the focus to the text box during run time. Actions such as clicking and double-clicking are called commands. Answer: F Like expressions containing comparison operators, expressions containing logical operators always […]

5 Pages | July 31, 2017
CMCS 78965

CMCS 78965

When creating a comment in a program, a space is required to separate the apostrophe from the comment itself. You can use the ControlChars.NextLine constant to advance the insertion point to the next line in a control, file, or printout. […]

6 Pages | July 31, 2017
CMCS 82820

CMCS 82820

You should have each button’s Click event procedure determine the number of elements in an array. When you close a solution, only the files contained in that solution are closed. Answer: F Constructors can be either Sub or Function procedures. […]

5 Pages | July 31, 2017
COMP 57454

COMP 57454

You can use the ____ method to remove any spaces that appear before and after the data in the variable. Attempting to access an element with an invalid subscript results in a(n) ____. Answer: B The ____ statement can be […]

11 Pages | July 31, 2017
COMPSCI 45547

COMPSCI 45547

You use a ____ selection structure when more than one decision must be made before the appropriate action can be taken. When a variable is declared in a(n) ____ statement at the beginning of a procedure, it has procedure scope […]

11 Pages | July 31, 2017
COMPSCI 76814

COMPSCI 76814

The combination of the user interface and the program’s code is referred to as a(n) ____. a. device b. application c. operating environment d. user interface A programmer determines whether a problem’s solution requires a nested loop by studying the […]

14 Pages | July 31, 2017
COSC 43167

COSC 43167

The Auto Hide button is a toggle button: clicking it twice activates it, and clicking it again deactivates it. Font sizes are typically measured in millimeters. Answer: F Using languages to code your algorithms into programs is the fourth step […]

20 Pages | July 31, 2017
COSC 76669

COSC 76669

Which of the following Case clauses specifies integers greater than 5? In Visual Basic, you use a ____ object to write a stream of characters to a sequential access file. Answer: C You connect or link strings using the ____ […]

12 Pages | July 31, 2017
COSC 91938

COSC 91938

The header and footer in a function are identical to the header and footer in a sub procedure. Variables declared with the Integer, Decimal, and Double data types can store numbers only. Answer: T Allowing more than one procedure to […]

5 Pages | July 31, 2017
CS 45721

CS 45721

You use the Private keyword to create a class-level array. All computer programs are written using one or more of three control structures: sequence, selection, or repetition. Answer: T The LINQ statement merely selects the records but does not assign […]

5 Pages | July 31, 2017
CS 47246

CS 47246

____ means that you can place one repetition structure entirely within another repetition structure. The syntax for determining whether a sequential access file exists is ____. Answer: C A(n) ____ variable is a numeric variable used for adding something together. […]

12 Pages | July 31, 2017
MPCS 48453

MPCS 48453

You can use the ____ portion of the For clause to declare the counter variable. The second step in the problem-solving process is to plan the ____, which is the set of instructions that, when followed, will transform the problem’s […]

14 Pages | July 31, 2017
MPCS 60435

MPCS 60435

The ____ keyword indicates that the procedure can be used only within the current Code Editor window. One problem with posttest loops is that they always execute at least once. You can fix the problem in the Posttest Loop button’s […]

12 Pages | July 31, 2017