sovb4 ans_review_questions
45 Pages

sovb4 ans_review_questions

Course: ITSE 1431, Spring 2011

School: Central Texas College

Word Count: 7255

Rating:

Document Preview

Answers to Review Questions Chapter 1 Fill-in-the-blank 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. 24. 25. 26. 27. 28. 29. 30. Central Processing Unit (CPU) Disk Operating systems, applications Instructions Programming Machine language Key words Programmer-defined names Operators Remark or comment Syntax Input Output Algorithm Flowchart Pseudocode Tools View Solution Project...

Unformatted Document Excerpt
Coursehero >> Texas >> Central Texas College >> ITSE 1431

Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.

Course Hero has millions of student submitted documents similar to the one below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.

to Answers Review Questions Chapter 1 Fill-in-the-blank 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. 24. 25. 26. 27. 28. 29. 30. Central Processing Unit (CPU) Disk Operating systems, applications Instructions Programming Machine language Key words Programmer-defined names Operators Remark or comment Syntax Input Output Algorithm Flowchart Pseudocode Tools View Solution Project Solution Explorer Properties Docked Double-click Title bar Standard toolbar Design Toolbox Help Tooltip Short Answer 1. Main memory (RAM) is usually a volatile type of memory, used only for temporary storage. When the computer is turned off, the contents of main memory are erased. Secondary storage is a type of memory that can hold data for long periods of time even when there is no power to the computer. Frequently used programs are stored in secondary memory, and loaded into main memory as needed. 2. 3. 4. 5. 6. 7. An operating system is a set of programs that manages the computer's hardware devices and controls their processes. Application software refers to programs that make the computer useful to the user. These programs solve specific problems, or perform general operations that satisfy the needs of the user. Word processing, spreadsheet, and database packages are all examples of application software. Procedural programming refers to the way of designing programs around procedures (rather than objects). A procedure is a named sequence of executable statements. Object-oriented programming is centered on creating objects. An object is a programming element that contains data (attributes) and actions. In Visual Basic, an object's attributes are called properties. The actions that an object performs are known as methods. The object is, conceptually, a self-contained unit consisting of data (properties) and actions (methods). Event-driven programs respond to events. An event is an action that takes place, such as the clicking of a button with the mouse. When an event occurs, the application responds by executing a special type of method known as an event procedure. Although GUIs have made programs friendlier and easier to interact with, they have not simplified the task of programming. GUIs make it necessary for the programmer to create a variety of on-screen elements such as windows, dialog boxes, buttons, menus, and other items. Each of these on-screen elements can be modeled in software by an object. A Label control is used to display text information. The user cannot enter a value into a Label control, or change the value it displays. The user can, however, enter information into a TextBox control. It is appropriate to use a Label control when displaying data that the user cannot change. It is appropriate to use a TextBox control when the user must enter data. What Do You Think? 1. txtUserName is legal. 2001sales is illegal because it starts with a number. lblUser Age is illegal because it has a space. txtName/Address is illegal because it contains the / character. btnCalcSubtotal is legal. 2. btn -- Button lbl -- Label txt -- TextBox A) B) C) D) A) txtLastName btnCalcInterestRate lblOrderTotal btnClear txtPriceEach -- A TextBox for entering an item's price. 3. 4. B) C) D) E) F) txtQuantity -- A TextBox for entering the quantity of an item being purchased. txtTaxRate -- A TextBox for entering the tax rate. btnCalcSale -- A button that calculates the total of a sale when clicked with the mouse. lblSubTotal -- A label that displays a sale's subtotal. lblTotal -- A label that displays a sale's total. Chapter 2 Fill-in-the-blank 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. 24. 25. 26. 27. 28. TextAlign Image SizeMode BottomRight Title bar Sizing handles Bounding box Font Delete PictureBox Normal View code Categorized Boolean Comment (Remark) Assignment Left Template Me.Close() BackColor ForeColor FormBorderStyle Lock Text Text AutoSize Context-sensitive help Runtime True/False 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. 24. True False True False True False False False True False True True False False True False True False False True True True True True Short Answer 1. 2. 4. 5. By clicking the start button on the toolbar By clicking the Start Debugging command on the Debug menu By pressing the F5 key Click the view code button on the Solution Explorer window. Click View on the menu bar, then click the Code command. Press the F7 key while the Form window is visible. The Text property simply displays text on a control. The Name property, however, is the control's internal name. You access and manipulate a control in code by using its name. 3. So the reader can easily see that the code lines belong to the procedure. By placing code in the control's Click event procedure. What do you think? 1. Some properties must have a value that comes from a predefined set of values. For example, a Boolean property may be set to either true or false. Still others 2. 3. have complex values that can be best established with a dialog box. The Font property, for example, is set with a dialog box that allows you to select font, style, and size. You may type values for properties that have no predefined set of possible values. Although it is standard for most windows to have a standard Close button in the upper right corner, it might not be evident to some users that they should use that button to terminate the application. You should always make your user interface easy to understand. This capability allows your application designs to include controls other than buttons that users can interact with. In some cases a PictureBox control might be more intuitive to use than a button. For example, a child who cannot read is not able to interpret the text on a button, but can interact with pictures. Find the Error 1. The error is in following statement in the btnShow_Click event procedure: picWorld_Visible = True The line should read: picWorld.Visible = True 2. The error is in following statement in the btnShowMessage_Click event procedure: lblMessage.Text = Hello World The string constant "Hello World" should be enclosed in quotation marks. The line should read: lblMessage.Text = "Hello World" Chapter 3 Fill-in-the-blank 1. 2. 3. 4. 5. 6. TextBox txt String concatenation Line-continuation Line-continuation Focus 7. Tab order 8. TabIndex 9. TabStop 10. Alt 11. Text 12. Variable 13. Variable declaration 14. Data type 15. Local 16. Type conversion or type mismatch 17. Function 18. CInt 19. "c" 20. Argument 21. Precedence 22. Named constant 23. GroupBox control 24. Load 25. Breakpoint True or False 1. True 2. True 3. False 4. True 5. False 6. True 7. False 8. True 9. False 10. True 11. True 12. False 13. False 14. False 15. True 16. False 17. True 18. True 19. False 20. True 21. True 22. True 23. False 24. False Multiple Choice 1. b 2. a 3. d 4. b 5. c 6. a 7. d 8. c 9. b 10. c 11. b 12. c Short Answer 1. The Label control's Text property is for displaying information only--the user cannot directly alter its contents. The TextBox control's Text property, however, is for input purposes. The user can alter it by typing characters into the text box control. Whatever the user types into the text box is stored in its Text property. By calling the text boxs Clear method, such as: txtInput.Clear() You can also clear a text box by storing an empty string in its Text property. You do this with a statement similar to: txtInput.Text = "" 3. 4. 5. When an application is running and a form is displayed, one of the form's controls always has the focus. The control that has the focus is the one that receives the user's keyboard input or mouse clicks. txtPassword.Focus() When you create a control, Visual Basic automatically assigns a value to its TabIndex property. The first control you create on a form will have a TabIndex of 0, the second will have a TabIndex of 1, and so forth. The control with a TabIndex of 0 will be the first control in the tab order. The next control in the tab order will be the one who's TabIndex is 1. The tab order continues in this sequence. The TabIndex property contains a numeric value, which indicates the control's position in the tab order. The control with a TabIndex of 0 will be the first control in the tab order. The next control in the tab order will be the one who's TabIndex is 1. The tab order continues in this sequence. You assign an access key to a button through its Text property. For example, assume an application has a button named btnExit. You wish to assign the 2. 6. 7. 8. 9. 10. access key Alt+X to the button, so the user may trigger the button's Click event by pressing Alt+X on the keyboard. To make the assignment, place an ampersand (&) before the letter x in the button's Text property, such as E&xit. It causes the letter that immediately follows the ampersand (in the Text property) to appear underlined. The Single data type stores floating point numbers, while the Integer data type stores whole numbers. The following are recommended variable names for each of the information items. Although your names may not be the same, they should give an indication of the variables purpose. a. b. c. d. e. f. g. intBackPacksSold dblPoundsDogFood dtmToday decWholesale strCustomerName dblGalaxyDistance intMonthNumber 11. 12. 13. a. b. c. d. e. 14. 15. A string variables default value is Nothing. The value Nothing is invalid for many operations and can cause a run-time error. When the procedure that it was declared in ends. 22.9 1 0 0.05 0 The CDec function attempts to convert the string to a Decimal value. If an invalid character is found in the string that prevents the conversion from taking place, the function throws an exception. Value 21 2 32 40 Expression 5+2*8 20 / 5 - 2 4 + 10 * 3 - 2 (4 + 10) * 3 - 2 16. Function Call dblTest.ToString("d2") dblTest.ToString("c2") dblTest.ToString("e1") Return Value "67,521.58" "$67,521.58" "6.7e+003" dblTest.ToString("f2") 17. "67521.58" You select multiple controls by using one of the following techniques: Position the mouse cursor over an empty part of the form that is near the controls you wish to select. Click and drag a selection box around the controls. When you release the mouse button, all the controls that were partially or completely enclosed in the selection box will be selected. Hold the Ctrl key down while clicking each control you wish to select. 18. The question only asks for three ways, but here are four possible ways to set breakpoints: Place the mouse cursor in the left margin of the Code window next to the line of code you wish to set as the breakpoint and click the left mouse button Move the cursor to the line you wish to set as a breakpoint and press the F9 key Move the cursor to the line you wish to set as a breakpoint, then select Debug from the menu bar, then select Toggle Breakpoint from the Debug menu If the Debug ToolBar is visible, move the cursor to the line you wish to set as a breakpoint, then click the Toggle Breakpoint button on the Debug ToolBar. What do you think? 1. 2. 3. 4. 5. 6. 7. 8. 9. For flexibility. In some instances, the programmer may not want spaces inserted between two joined strings. Code is easier to read when you do not have to scroll horizontally to see an entire line. Because they do not receive input. Disorganized tab orders can confuse and irritate the users of your application. Users want to tab smoothly from one control to the next, in a logical sequence. Some users, who are quick with the keyboard, prefer to use access keys instead the mouse. It indicates which character must be pressed in combination with the Alt key in order to activate the button from the keyboard. This is standard Windows convention that most users expect. Any button that is frequently clicked should probably be set as a forms default button. This will allow keyboard users to access the button quickly and easily. Because strings are intended to be displayed on a screen or printed on paper. They are stored differently in memory than numbers are. If the number itself is coded into each statement that uses it, the programmer will have to search through the source code for each instance of the number. If the number is represented by a named constant, however, the programmer need only change the value assigned to the constant. Place the statements in the form's Load event procedure. 10. 11. 12. Follow these steps: 1. Select the control you wish to add to the group box. 2. Cut the control to the clipboard. 3. Select the group box. 4. Paste the control. Because language compilers like VB are unable to analyze the logic in a program and follow all the possible execution pathways. If you could create such a tool, you would become very, very rich! Find the Error 1. The following statement in the btnSum_Click procedure is producing the wrong results: sum = txtNum1.Text & txtNum2.Text & txtNum3.Text Correct the problem by using the CSng function to convert the value in the three text boxes, and using the + operator to perform addition, as follows: sum = CSng(txtNum1.Text) + CSng(txtNum2.Text) + CSng(txtNum3.Text) 2. The btnAverage_Click procedure attempts to access the sum variable, which is declared in the btnSum_Click procedure. To correct the error, declare a sum variable in btnSum_Click and store the sum of the numbers in it. This one is TRICKY! As indicated in the remarks, the error lies in the following statement, in the btnCalculate_Click procedure: sum = numberl + number2 The programmer has misspelled the name of the variable number1. In the statement above, the last character of the variable name is NOT the number 1, it's the lowercase letter "L". 3. Algorithm Workbench 1. 2. 3. The correct order of the statements is: Copy the value in txtWidth.Text into width. Copy the value in txtLength.Text into length. Multiply sngWidth by sngLength, and store the result in area. Copy the value in area into lblArea.Text. 4. 5. decMaxCredit = CDec(txtMaxCredit.Text) decUsedCredit = CDec(txtUsedCredit.Text) decAvailableCredit = decMaxCredit decUsedCredit lblAvailableCredit.Text = decAvailableCredit.ToString("c") 6. 7. const decTAX_RATE As Decimal = 0.06 Dim decTax As Decimal Dim decTotal As Decimal total ' Tax rate ' To hold tax ' To hold sale ' Calculate tax decTax = CDec(txtRetailPrice.Text) * decTAX_RATE ' Calculate total decTotal = CDec(txtRetailPrice.Text) + decTax ' Display total lblTotal.Text = FormatCurrency(decTotal, 2) Chapter 4 Fill-in-the-blank 1. 2. Conditional Relational 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. 24. True, false Flag False, true IfThenElse IfThenElseIf Nested Logical ToUpper ToLower IsNumeric Length TrimStart TrimEnd Trim Substring MessageBox.Show ControlChars.CrLf Select Case Input validation Radio buttons Check boxes Class-level True or False 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. False False True False True False True False False False Multiple Choice 1. 2. 3. 4. 5. 6. 7. 8. c c b b d a b a 9. 10. 11. 12. 13. 14. 15. 16. d c a b b c b a Short Answer 1. In a series of IfThen statements, each IfThen statement is executed independently of the others. In an IfThenElseIf statement, each ElseIf in the structure depends on all the conditions tested before it being false. The statements following a particular ElseIf are executed when the conditional expression following the ElseIf is true, and all previous expressions are false. The trailing Else provides a default response when the IfThen or none of the ElseIfs find a true condition. A flag is a Boolean variable that signals when some condition exists in the program. When the flag is set to false, it indicates the condition has not been satisfied. When the flag is set to true, it means the condition has been satisfied. An If statement can test any variable or expression, and determine if its value is true or false. A variable or expression is considered false if its value is 0. If its value is anything other than 0, it is considered true. The And operator combines two expressions into one. Both expressions must be true for the overall expression to be true. The Or operator combines two expressions into one. At least one expression must be true for the overall expression to be true. It is only necessary for one to be true, and it does not matter which. The overall expression created by the Or operator is true if either or both of the subexpressions is true. The overall expression created by the Xor operator is true if one, and only one, of the subexpressions is true. If both subexpressions are true, or if both subexpressions are false, the overall expression is false. The AndAlso operator uses short-circuit evaluation, whereas the And operator does not. The OrElse operator uses short-circuit evaluation, whereas the Or operator does not. 2. 3. 4. 5. 6. 7. 8. 9. What do you think? 1. 2. Because they test for a specific relationship between the values of two expressions. a. Yes 3. 4. b. No, because X can be greater than or equal to Y. So, Z can also be greater than or equal to Y. c. No, because Z and Y can hold the same value and X <> Y will still be true. Because, when the conditionally executed statements are indented, they visually stand out. This makes the code more easily readable. Because the statement tests three different conditions. A Select Case statement can only test one condition, Find the errors 1. a. b. c. d. e. The statement is missing the Then keyword. The last statement should be intLength = str.Length The End If statement is missing. The If statement should read If IsNumeric(str) Then The Is keyword is missing in the Case statements. The statements should appear as: Case Is < 0 And Case Is > 100 Algorithm Workbench 1. (flowchart) 2. If intY = 20 Then intX = 0 End If 3. If intHours > 40 Then decPayRate *= 1.5 End If 4. If decSales >= 10000.00 Then decCommissionRate = 0.2 End If If blnIsMax = True Then intFees = 50 End If 5. 6. If intY = 100 Then intX = 1 Else intX = 0 End If If strPeople.IndexOf("Gene") <> -1 Then MessageBox.Show("Gene was found") End If 7. 8. If sngSpeed >= 0 And sngSpeed <= 200 Then MessageBox.Show("The number is valid") End If If sngSpeed < 0 Or sngSpeed > 200 Then MessageBox.Show("The number is not valid") End If 9. 10. Select Case intSelection Case 1 MessageBox.Show("Pi times radius squared") Case 2 MessageBox.Show("Length times width") Case 3 MessageBox.Show("Pi times radius squared times height") Case 4 MessageBox.Show("Well okay then, good bye!") Case Else MessageBox.Show("Not good with numbers, eh?") End Select Chapter 5 Fill-in-the-blank 1. Input box 2. List box 3. Loop, or repetition structure 4. Infinite 5. Counter 6. Post-test 7. Iteration 8. Exit Do 9. Nested 10. Input validation 11. Validated 12. SelectAll 13. Pmt 14. PPmt 15. IPmt Multiple Choice 1. c 2. a 3. b 4. a 5. c 6. b 7. d 8. b 9. b 10. c 11. b 12. b 13. c 14. a 15. b 16. d 17. b 18. c 19. b 20. a True or False 1. False 2. False 3. False 4. True 5. True 6. False 7. True 8. True 9. True 10. False 11. True 12. False 13 False 14. True 15. False Short Answer 1. 2. OK and Cancel If Xpos is omitted, Visual Basic horizontally centers the input box on the screen. If Ypos is omitted, Visual Basic places the input box near the top of the screen, approximately one-third the distance down. lstVeggies.Items.Insert(2, Spinach) cboCourses.Items.RemoveAt(12) (1) an expression that is tested for a true or false value, and (2) a statement or group of statements that is repeated as long as the expression is true When the code runs, the expression in the Do While statement is tested. If it is true, the statements in the body of the loop are executed. (Since these statements are only executed under the condition that the expression is true, they are called conditionally executed statements.) This cycle repeats until the expression is false. The Do While loop works like an If statement that executes over and over. As long as the expression is true, the conditionally executed statements will repeat. This visually sets them apart from the surrounding statements. A pretest loop evaluates its test-expression before each iteration. A posttest loop evaluates its test-expression after each iteration These statements are only executed under the condition that the loop's test expression is true The Do Until loop is identical to the Do While loop, except it repeats until its test expression is true. The Do While loop The Do Until loop The ForNext loop A combo box also has a rectangular area that functions like a text box. Drop-down list combo box Drop-down list combo box A control's Validating event is triggered when the focus is shifting to another control whose CausesValidation property is set to true. You can make the process of correcting invalid input more convenient for the user by using these properties to select the invalid text in a text box. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. What Do You Think? 1. 2. 3. 4. 5. 6. 7. 8. 9. Because counters are used to keep count of some event or quantity. The count will not be accurate if the counter is improperly initialized. Because both the loop and the statement inside the body of the loop will change the value of the counter variable. This might cause the loop to iterate more or less times than it should. The Do Until loop, because it is designed to repeat until a certain condition exists. The ForNext loop, because it is designed to repeat a specified number of times. The Do While loop, because it is designed to repeat as long as a condition exists. Because the user should be able to use it to exit the form, even when invalid input has been entered. The 7th, because the index values start at 0. Drop-down or simple combo box. A list box or a drop-down list combo box. Find the Errors 1. The code should read: Do While intX < 100 intX = intX + 1 Loop 2. The code should read: Do lstOutput.Items.Add("Hello") intCount = intCount + 1 Loop While intCount < 10 3. The code should read: Do Until intX = 99 intX = intX + 1 Loop 4. The statement does not specify an upper limit for the counter variable. For example, if the loop is to repeat 10 times, the code should read: For intX = 1 to 10 lstOutput.Items.Add(intX) Next intX Algorithm Workbench 1. 2. For count = 1 To 20 lstNumbers.Items.Add(count) Next count 3. Do intNumber = InputBox("Enter a number.") intProduct = intNumber * 10 Loop While intProduct < 100 4. Do intNum1 = InputBox("Enter first number.") intNum2 = InputBox("Enter second number.") intSum = intNum1 + intNum2 MessageBox.Show(The sum is & intSum.ToString()) intAgain = MessageBox.Show("Go again?", Confirm, _ MessageBoxButtons.YesNo) Loop While intAgain = DialogResult.Yes 5. For intNum = 0 To 1000 Step 10 lstNumbers.Items.Add(intNum) Next intNum 6. For intCount = 1 To 10 intNum = CInt(InputBox("Enter a number.")) intTotal += intNum Next count 7. Do strInput = InputBox("Enter a number") intX = Cint(strInput) Loop While intX > 0 8. strInput = String.Input Do Until strInput.ToUpper = "Y" input = InputBox("Are you sure you want to quit?") Loop 9. For intCount = 0 To 49 lstOutput.Items.Add(intCount) Next intCount 10. intX = 50 Do While intX >= 0 lstOutput.Items.Add(intX) intX -= 1 Loop 11. With txtName .Text = "(unknown)" .Font.Size = 10 .BackColor = Color.Red End With Chapter 6 Fill-in-the-blank 1. procedure 2. Procedure call 3. Function 4. Return 5. Static 6. Arguments 7. Parameter 8. Value 9. Reference 10. Step-into Multiple Choice 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. b c a b d b a c d c True or False 1. 2. 3. 4. 5. 6. False False True True False Short False Answer 1. 2. 3. 4. 5. 6. Because they are removed from memory when the procedure or function finishes executing. An argument is a value that is passed to a procedure or function. A parameter variable is a variable in a procedure or function that an argument is passed into. Inside the parentheses on the first line of the procedure or function. Declare the parameter variable as ByVal. Yes. The arguments are passed into the parameter variables in the order they appear in the procedure call. Argument 1 is passed into parameter 1, argument 2 is passed into parameter 2, and so forth. You use the Return statement in the function. What Do You Think? 1. It gives the code an organization that makes it more manageable, and easier to maintain. It also simplifies the code. For example, a complex mathematical statement can be broken down into smaller pieces that are easier to understand. In addition, if a specific task is performed in several places in a program, a procedure can be written once to perform that task, and then be executed anytime it is needed. In a situation where a procedure must keep the value of the variable between procedure calls. For instance, a procedure that keeps track of the number of times the user clicks a button could use a Static local variable. In a situation where you wish to modify several variables as the result of a complex algorithm. You could write a procedure that accepts the arguments by reference, performs the algorithm, and modifies the parameter variables. If the operation will result in a value that you must use in an expression, make it a function. If the operation is simply a series of tasks to perform, make it a procedure. Because you might have the error isolated to a particular section of code, and there is no need to step through the other procedures. Also, stepping through all the procedures in an application in a single pass can take a great deal of time! 2. 3. 4. 5. Find the Errors 1. The Dim keyword should not be used in the parameter variable declaration. Instead, use ByVal or ByRef. 2. The procedure call must pass an argument to the procedure. 3. The function should have a Return statement. 4. The first line should begin with Function Sum instead of Sub Sum. Also, the last line should read End Function. Algorithm Workbench 1. Function Half(ByVal value As Decimal) As Decimal Return value / 2 End Function intResult = Square(4) Sub TimesTen(ByVal intValue As Integer) Dim intResult As Integer intResult = intValue * 10 MessageBox.Show(intResult.ToString()) End Sub Display(strAge, strName, sngIncome) 2. 3. 4. Chapter 7 Fill-in-the-blank 1. 2. 3. 4. 5 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. startup object modal object variable Hide Close ShowDialog Show event Private Public global Main Enabled Checked Context menu Multiple Choice 1. b 2. a 3. b 4. b 5. c 6. b 7. b 8. a 9. d 10. a 11. b 12. a 13. c 14. d 15. b 16. b True or False 1. 2. 3. 4. 5. True True True False False 6. 7. 8. 9. 10. True False False True False Short Answer 1. To add a new form, do the following: 1. Click the add new item button ( ) on the tool bar, or click Project on the menu bar, then click Add Windows Form on the Project menu. The Add New Item dialog box should appear. 2. Under Templates select Windows Form. 3. Change the default name that is displayed in the Name text box to the name you wish to give the new form. 4. Click the Open button. 2. To remove a form without deleting the form file, do the following: 1. 2. 3. Right-click the form's entry in the Solution Explorer window. On the pop-up menu, click Exclude From Project. To remove a form and delete the form file, do the following: 1. 2. Right-click the form's entry in the Solution Explorer window. On the pop-up menu, click Delete. 4. To change the startup object to another form, do the following: 1. 2. 3. 4. In the Solution Explorer window, right click the projects entry. On the popup menu, click Properties. Click the down arrow in the Startup Object drop-down list. A list of all the forms in the project, as well as Sub Main, appears. Select the form you want to designate as the startup object. Click the OK button. 5. Removes the currently active form from the screen and removes it from memory. 6. 7. 8. 9. 10. The Load event is triggered when a form is initially displayed. The Activated event is triggered when the user switches to the form from another form or another application. The Activated event is also triggered when a form is initially displayed, after the Load event is triggered. The form's Formlosing event procedure. The form's FormClosed event procedure. With the Public key word, such as Public intValue As Integer. To add a standard module, do the following: 1. 2. 3. 4. Click the add new item button ( ) on the tool bar, or click Project on the menu bar, then click Add Module on the Project menu. The Add New Item dialog box should appear. Under Templates select Module. Change the default name that is displayed in the Name text box to the name you wish to give the new standard module. Click the Open button. 11. 12. 13. 14. Write the code in a Sub procedure named Main, which must reside in a standard module. Then, designate the Sub procedure Main as the startup object. A MenuStrip control's access key only works while menu is open, while a shortcut key may be executed at any time while the form is active. In the Properties window set the menu item's CheckOnClick property to True. You test its Checked property. If the Checked property is true, a check mark appears next to the item. Otherwise, the item is unchecked. (answer changed 10/14/07) 15. A disabled menu item appears dimmed, or grayed out, and may not be selected by the user. You may disable a menu item by setting its Enabled property to False. What do you think? 1. 2. 3. 4. 5. 6. Modeless By using the form's Hide method to remove it from the screen. frmStatus.lblArrivalGate.Text = "D West" A standard module. The form module. You probably haven't written code in Main to display the form. 7. Yes, all three forms will be displayed at the same time because they are displayed with the Show method, which displays a form in modeless style. Find the Errors 1. 2. 3. 4. 5. Hide is the form's method. The statement should read: Me.Hide() Because intNumber was declared with the Dim keyword, it cannot be accessed from another form. It should have been declared with the Public keyword. The New keyword is missing from the declaration statement. It should read: Dim errorForm as New frmError() The second statement should read: messageForm.ShowDialog() The name of the module should follow the key word Module. Algorithm Workbench 1. 2. Private Sub frmMain_FormClosing(ByVal sender As Object, _ ByVal e As System.ComponentModel.FormClosingEventArgs) _ Handles Me.FormClosing Dim strInput As String strInput = InputBox("Enter the secret word.") If strInput.ToUpper() = "WATER" Then e.Cancel = False Else MessageBox.Show("That is not the secret word, so " _ & "the form will not close") e.Cancel = True End If End Sub (intReading cannot be declared Private) secondForm.intReading = CInt(thirdForm.txtInput.Text) Chapter 8 Fill-in-the-blank 1. Subscript 2. For EachNext 3. Parallel 4. Sequential search 5. ReDim 6. Length 7. Upper subscripts 8. Enabled 9. Anchor 10. Dock 11. 12. 13. 14. 15. Timer Interval Splash screen Random Random.Next Multiple Choice 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. b d c a c b a b d c d b or c d a True or False 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. True False False True False False True True True False True True Short Answer 1. For a student named Gillian Lynn Smith: Dim strName(2) As String strName (0) = "Gillian" strName (1) = "Lynn" strName (2) = "Smith" 2. 3. 1, 2, 3, 4, and 5 Dim intFish(19) As Integer Dim intCount As Integer For intCount = 0 To 19 Fish(count) = CInt(InputBox( _ "Enter the number of fish caught by fisherman #" _ & (intCount + 1).ToString() & ":", "Fish Catch Input")) Next intCount 4. 5. 6. 7. 8. 10, 25, 32.5, 50, and 110 intNumberArray(0, 0) = 145 intNumberArray(9, 11) = 18 tmrClock.Enabled = False The system time returned from the computer's internal clock. What Do You Think? 1. 2. 3. 4. 5. 6. No, because the accumulator is not initialized to 0 before the second loop executes. 24 16 Modeless, so the application can continue to execute statements after the splash screen has been displayed. tmrControl.Interval = 3000 Because the same value is unlikely to be used twice. Find the Errors 1. 2. 3. 4. Zero is the smallest value you can use when declaring an array without specifying both lower and upper bounds. (A Range has no values error would result.) The loop attempts to process more elements than are in the array. The upper limit of the For loop should be intMaxNum -1. You cannot specify an upper subscript when providing an initialization list. You can only assign a value of 1 or greater to the Interval property. Algorithm Workbench 1. Dim strElement As String For Each strElement In strNames MessageBox.Show(strElement) Next strElement 2. Dim strCountries(11) As String Dim lngPopulation(11) As Long 3. For intCount = 0 To 11 MessageBox.Show("Country: " & countries(intCount) & _ "Population: " & _ lngPopulation(intCount).ToString()) Next intCount 4. For intCount = 0 To 99 intNumberArray2(intCount) = intNumberArray1(intCount) Next intCount 5. blnFound intCount Do While If Loop = False =0 (Not blnFound) And (intCount < intScores.Length) intValues(intCount) = -1 Then blnFound = True intPosition = intCount End If intCount += 1 If blnFound Then MessageBox.Show("-1 was found at position " _ & intPostiton.ToString()) Else MessageBox.Show("-1 was not found") End If 6. 7. MessageBox.Show(strEmpNums(lstNames.SelectedIndex)) Dim intGrades(29, 9) As Integer 8. Dim sngTotal As Single Dim sngElement As Single For Each sngElement In sngValues sngTotal += sngElement Next sngElement 9. Dim intRow As Integer Dim intCol As Integer For intRow = 0 To 9 For intCol = 0 To 19 intTotal += values(intRow, intCol) Next intCol Next intRow 10. For row = 0 To 29 total = 0 For col = 0 To 5 total += days(row, col) Next col MessageBox.Show(total.ToString) Next row 11. For intCol = 1 To 6 intTotal = 0 For intRow = 1 To 30 intTotal += intDays(intRow, intCol) Next intRow MessageBox.Show(intTotal.ToString()) Next intCol 12. For Each intElement In intDays intTotal += intElement Next intElement MessageBox.Show(intTotal.ToString()) 13. Random R intNum = 1 + (Random.Next() * 50) 14. Random R intNum = -100 + Random.Next() * (500 - (-100)) Chapter 9 Fill-in-the-blank 1. 2. 3. 4. Opened File buffer Close StreamWriter 5. 6. 7. 8. 9 10. 11. 12. 13. 14. 15. 16. StreamReader WriteLine ReadLine Newline PrintDocument PrintPage Monospaced OpenFileDialog SaveFileDialog ColorDialog FontDialog Structure Multiple Choice 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. c d b c b a d b b c d b a a b a d c True or False 1. 2. 3. 4. 5. 6. 7. 8. 9. True False True False True True True False False 10. 11. 12. 13. 14. 15. 16. False True False True False False True Short Answer 1. Three steps: 1) The file must be opened. If the file does not yet exist, opening it means creating it. 2) Data is either written to the file or read from the file. 3) When the application is finished using the file, the file is closed. The Close method writes any unsaved information remaining in the file buffer and releases the memory that was allocated by the StreamWriter object. The read position is the position within the input buffer of the next item to be read. It is set to the first item in the file when the file is opened. The WriteLine method writes data to a file, and then writes a newline character. In effect, this writes a line of data to the file. The Write method only writes data, without writing the newline character. A run-time error occurs. The end of the file has been reached. The special value Nothing. The character code for the next character in the file. (That is, the character at the current read position.) The Print method triggers a PrintPage event. You write the code that handles printing in the PrintPage event procedure. At the class- or module-level. 2. 3. 4. 5. 6. 7. 8. 9. 10. What Do You Think? 1. Each time your program calls Write or WriteLine, data is not written directly to the disk drive. Instead, it is written to the file buffer, which is in memory. When the buffer fills, its contents are written to the disk drive. Writing data to a buffer is faster than writing it directly to disk, and the technique described here decreases the number of times data is actually written to the disk drive. You call the Peek method before calling ReadLine because Peek returns -1 when the end of the file has already been reached. If you were to use the Peek method after ReadLine method, the ReadLine method might try to read beyond the end of the file. An error can occur if the application reads a blank line from the file. The ReadLine method returns the special value Nothing when it reads a blank line. Attempting to add Nothing to a list box will cause a run-time error. To prevent it, test the value returned from the ReadLine method. If it is Nothing, simply add an empty string to the list box. Place the Structure statement in the MainModule file and use the Private key word. The printer normally uses a proportionally spaced font, which means that all characters do not use the same amount of space on the printed page. To remedy the problem, use a monospaced font such as Courier new. 2. 3. 4. 5. Find the Error 1. myFile is declared as a StreamReader object variable. The System.IO.File.CreateText method, however, returns the address of a StreamWriter object. The method call System.Exists(strFilename) should be: System.IO.File.Exists(strFilename) The line that reads Do Until myFile.Peek = "" should read: Do Until myFile.Peek = -1 The pipe symbol (|) should be used to separate the filter description from the actual filter, instead of the ampersand (&). The pdPrint.Print method call should be a call to e.Graphics.DrawString. 2. 3. 4. 5. 6. First, a variable of type PersonInfo must be declared, and then a value can be assigned to its fields. For example: Dim person As PersonInfo person.name = "Jill Smith" Algorithm Workbench 1. 2. 3. Dim outFile As System.IO.StreamWriter outFile = System.IO.File.AppendText("DiskInfo.txt") Dim outFile As System.IO.StreamWriter outFile = System.IO.File.CreateText("DiskInfo.txt") Dim outFile As System.IO.StreamWriter outFile = System.IO.File.CreateText("DiskInfo.txt") For i = 0 to (lstInventory.Items.Count 1) outFile.WriteLine(lstInventory.Items(i)) Next outFile.Close() Dim outputFile as System.IO.StreamWriter outputFile = System.IO.File.CreateText("numbers.txt") For intCount = 0 To (intNumbers.Length 1) outputFile.WriteLine(intNumbers(intCount)) Next intCount outputFile.Close() 5. Public Structure Inventory strAccountNumber As String decBalance As Decimal sngInterestRate As Single decAverageMonthlyBalance As Decimal End Structure customers(7).strLastName = "Jones" String.Format("{0,10}{1,8}{2,6}", _ strProductName, intProductNum, decProductPrice) 4. 6. 7. 8. With ofdOpen .InitialDirectory = "C:\Becky\Images" .Filter = "JPEG images (*.jpg)|*.jpg|GIF " _ & "images (*.gif)|*.gif" .ShowDialog() End With Chapter 10 Fill-in-the-Blank 1. 2. 3. 4. 5. Schema (design) Binding Source DataGridView DateTimePicker Record Multiple Choice 1. 2. 3. 4. 5. c c a d b True or False 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. True False False True False True False No special event handling code is needed True False True Short Answer 1. 2. 3. 4. 5. 6. 7. ValueMember One-to-many no, because more than one employee might belong to the same department Data source A DataGridView is added to the form and attached to the data source. MembersTableAdapter.Insert( 123, "Smith", "James", _ "808-222-3333", #1/15/2006#) RowHeadersVisible (boolean) What Do You Think? 1. 2. Edit the Columns property of the grid. In the Edit Columns window, you can remove the ID column or any other columns you do not wish to display. You could ask the user to enter a Member ID, or you could let them select a member name from a list box. The code in your application would then retrieve the Member ID from the list box's SelectedValue property. Algorithm Workbench 1. 2. SELECT City + ', ' + State AS CityState FROM Address (The ShowDialog method was covered back on page 416. We're just wondering if you still remember the topic from Chapter 7.) Dim memberForm As New frmAllMembers memberForm.ShowDialog() 3. select ID, Title, Artist, Price from Albums order by Artist 4. select ID, Title, Artist, Price from Albums where ID = 25 5. select * from Payments where Payment_Date < '1/1/2000' 6. 7. MembersTableAdapter.Fill(DsAllMembers.Members) select ID, Last_Name, First_Name from Members where Date_Joined >= @date_joined Chapter 11 Fill-in-the-Blank 1. 2. 3. 4. 5. 6. HTML (XHTML) Server Resource ASP.NET Information CheckBoxList 7. 8. 9. 10. 11. 12. 13. HyperLink File system Web.config BorderStyle TextMode Page_Load ImageUrl Multiple Choice 1. 2. 3. 4. 5. 6. 7. c. GridView a. .aspx d. FileServer b. Local IIS a. NavigateButton b. Hidden e. (SelectedIndex and Items) True or False 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. False False False True False True True True False False False True Short Answer 1. 2. 3. 4. 5. 6. 7. 8. Content, Program logic, Configuration information HyperLink control HTML controls have fewer properties than Web server controls and cannot generate user events in the same way the latter controls can. Remote Web servers must have a strong security configuration. Design view and Source (HTML) view Right-click on the page in Solution Explorer, select Browse With.... From the File menu, select Open Web Site. A dialog window asks if you want to modify the Web.config file to permit debugging. 9. 10. 11. 12. 13. 14. A DropDownList does not let the user enter new text. The user must select from an existing list. The LinkButton control generates a Click event, but the HyperLink control does not. The ID property. Page_Load executes first. AutoPostBack Target What Do You Think? 1. 2. 3. 4. 5. A File System Web site is easier to create and does not require any special configuration. It is also more secure against hackers in a college laboratory environment. HTML tables are useful for aligning and positioning of text and other controls such as buttons and text boxes. Right-click on the Web page name in the Solution Explorer, window, select Browse With, and select each browser from the list. General users should not be shown coding details of your site, because they might exploit this information to modify or corrupt the site. Each time the user selects an item, the entire page must be posted back to the server. This slows down the application and forces the user to wait. Algorithm Workbench 1. Response.Redirect("PageTwo.aspx") ' Server.Transfer works also. 2. 3. 4. If radButtons(0).Selected Then... lstSummary.Items.Clear() Dim item As ListItem For Each item In chkOptions.Items item.Selected = True Next Chapter 12 Fill-in-the-blank 1. 2. Abstract data type Class 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. Instance Class interface Class implementation Property Get Set Read-only Method Constructor Finalizer Output Collection Object browser Inheritance Base Derived Override Protected Public Multiple Choice 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. c d a c d a c b a c c b a c a a b a b a d b c 24. 25. a d True or False 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. True False False True True False True False False True True False False Short Answer 1. 2. 3. 4. 5. 6. 7. 8. By declaring public properties and methods in the class declaration. The hiding of data and procedures inside a class. newStudent is the object variable and Student is the class. Specify the ReadOnly key word in the property procedure. The resulting code template will have no Set section. A class is a program structure that defines an abstract type. An object is an instance of a class. Classes A property is an attribute and acts like a variable belonging to the object. A method is an action that is a procedure or function that acts upon an object. When a member is of a fundamental Visual Basic data type such as integer or single, you retrieve only a copy of the member. If you make changes to the copy, the original collection member is left unchanged. When a member is a class object, however, you retrieve a reference to it, not a copy. If you make changes to the object, you are modifying the actual collection member. The hiding of data and procedures inside a class. It goes out of scope and is automatically removed from memory if no object variables declared outside the procedure refer to it. All members listed here are inherited by class B. You can override the method by creating one with an indentical signature in the derived class. Using the following statement: MyBase.UpdateData() 9. 10. 11. 12. 13. What Do You Think? 1. 2. 3. 4. 5. 6. 7. 8. 9. BankAccount is the abstract data type. Customer, Order, and Item. Yes. Some possible attributes might be course name, course section, semester, year, instructor, semester hours, contact hours, and grade. Member variables are private to prevent code outside the class from directly accessing (and modifying) the variabels. We then use property procedures to provide the class interface. These procedures use member variables to store data. One. One. There is still a reference to the object: st2. The object will not be removed from memory until all references to it are removed. Mammal is the base, because it is a more general type than Dog, which is more specific. Because private members are not visible in derived classes. Therefore, they cannot be overridden. Find the Error For each of the following questions assume Customer is a class. Find the errors. 1. 2. 3. 4. The statement should read Dim customerData as New Customer() An instance must be created with the New keyword. A value cannot be assigned to a property because the object variable no longer refers to the object. The names of the Get and Set sections are reversed. The section in this code that is named Set should be named Get, and the section name Get should be named Set. An instance of the collection object must be created with the New keyword. This selection has two errors: (1) Private methods cannot be declared as Overridable. (2) The function in the derived class must be declared with the Overrides keyword. 5. 6. Algorithm Workbench 1. Dim i As Integer For i = 0 To 9 employees(i) = New Employee() Next i 2. 3. Dim trans as Transcript trans = New Transcript() 4. 5. 6. trans = Nothing Dim trans as New Transcript() Public Property CustomerNumber() As String Get Return strCustomerNumber End Get Set(ByVal value As String) strCustomerNumber = value End Set End Property 7. TextBook class: Public Class TextBook Inherits Book ' Private member variables Private strCourseName As String Private intNumberToOrder As Integer ' Constructor Public Sub New() strCourseName = String.Empty intNumberToOrder = 0 End Sub ' Course property Public Property Course() As String Get Return strCourseName End Get Set(ByVal strValue As String) strCourseName = strValue End Set End Property ' OrderQuantity property Public Property OrderQuantity() As Integer Get Return intNumberToOrder End Get Set(ByVal intValue As Integer) If intValue < 0 Then MessageBox.Show("OrderQuantity cannot be negative.", _ "Error") Else intNumberToOrder = intValue End If End Set End Property End Class

Find millions of documents on Course Hero - Study Guides, Lecture Notes, Reference Materials, Practice Exams and more. Course Hero has millions of course specific materials providing students with the best way to expand their education.

Below is a small sample set of documents:

Penn State - ECON - 002
Aggression in SportKayla Cilenti November 23, 2009 12 MWFCilenti Aggression within an individual has always been something that has intrigued American2culture. Aggression is mostly accepted within sport or exercise. However, this paper is going to dis
Université du Québec à Montréal - FPE - 3050
Il existe deux formes de systme dducation qubcois pour le primaire et le secondaire; le publique et le prive. Le publique est subventionn a 100% tandis que le prive a 60% o la diffrence provient des parents. Donc les coles prives sont plus facilement acce
Bellarmine - APU - 101
SUNY Suffolk - BUS - 383
To: Professor Palermo From: Hye Young Kim (Hailey) Subject: Affirmative action Date: 09/16/2010Affirmative action is an active effort to improve employment and/or educational opportunities for members of minority groups including women (Britannica). In t
SUNY Suffolk - BUS - 383
Grant Proposal 11/5/2010 Liberty Living Resources: We have established several different methods of communication with the local communities. Our methods include an interactive website, Facebook, telephone communications, public rallys and newspaper adver
SUNY Suffolk - BUS - 383
Liberty Living Tackles the Issue of Affordable Housing in New York CityBusiness 383 Social Entrepreneurship Final Paper Limited Equity Cooperatives by Liberty LivingThe phrases living paycheck to paycheck and struggling to live on welfare are much too p
SUNY Suffolk - BUS - 383
BUS 383 Social Entrepreneurship Final Paper (Limited Equity Cooperative) Liberty Living Tackles the Issue of Affordable Housing in New York City The phrases living paycheck to paycheck and struggling to live on welfare are much too prevalent in todays soc
SUNY Suffolk - BUS - 383
d ves te ti L i ty Lim era r eg p b in o i o L rv C e ity Su q E i ivle st yle k lic C to tM di e as t s er u it bt g n311 4/ /1Our MissionTo empower working class individuals on how to capture, develop, and operate limited equity cooperatives in st
SUNY Suffolk - BUS - 383
T he Environment Some Are Forced to Live In3/14/113/14/113/14/113/14/113/14/113/14/113/14/113/14/11
SUNY Suffolk - BUS - 383
ty i u qs Ee d tiv te ra i im pe L o o Ck lic C to tM di e as t s er u it bt le st yle311 4/ /13 11 4/ /1Who has a stake in this project? Who can benefit from Limited Equity Cooperatives?Stake HoldersProcter and Gamble will be establishing this ass
SUNY Suffolk - BUS - 383
ty i u qs Ee d tiv te ra i im pe L o o Ck lic C to tM di e as t s er u it bt le st yle311 4/ /13 11 4/ /1Who has a stake in this project? Who can benefit from Limited Equity Cooperatives?Stake HoldersProcter and Gamble will be establishing this ass
SUNY Suffolk - BUS - 383
BUS 383 HW Assignment Statistic Table 1: Annual Earnings, 2009, for Year-Round Full-time Workers aged 15 and Olderby Race and Ethnic BackgroundRace and Ethnicity All Races White Alone, not Hispanic Black or African American only Asian only Hispanic or L
SUNY Suffolk - BUS - 383
10/10/2010 Social Entrepreneurship Assignment #4 Being overweight is not only dangerous for your own personal health, but it also negatively affects the loved ones around you. When you are overweight, you are serving as a role model to your children, and
SUNY Suffolk - BUS - 383
Mission Statement: Struggling to survive on welfare? Living paycheck to paycheck? Why are these such familiar phrases in our society? You can take action now. Contact information: Texting hotline / phone hotline / email address / facebook How does this ne
SUNY Suffolk - PHI - 101
182L. Mayorga &amp; P. Velasquez3. We decided to make our first contact with research participants through a research assistant who had been a sex worker locally. We recruited this assistant . through Cormujer, a Colombian sex workers' organization. Thirtee
SUNY Suffolk - PHI - 101
But I who have seen the nature of the good that it is beautiful, and of the bad that it is ugly, and the nature of him who does wrong, that it is akin to me, not only of the same blood or seed, but that it participates in the same intelligence and the sam
SUNY Suffolk - PHI - 101
Test #2 Question #1 To begin, book II of Nicomachean Ethics centers around the idea of virtue; what it is, why its important, and how to differentiate those who are virtuous from those who act good by mistake. Aristotles chief good or good that is sought
SUNY Suffolk - PHI - 101
Test #2 Question #2 At the conclusion of the first section of S. Posts Humanism, posthumanism, and compassionate love Post claims it is the discovery of what already lies within us that dignifies what lies before us. Post is suggesting that true happiness
SUNY Suffolk - PHI - 101
Test #3 Question #4 Philippe Petit, of Man on Wire was certainly a person driven by the pursuit of virtue and self-cultivation. However, I also believe him to be somewhat irrational when it came to fulfilling his happiness. To delve further into this conc
SUNY Suffolk - PHI - 101
Test #2 Question #4 Defining morals and justifying them is something that, more often than not, is done without much thought. How is it though, that the very structure or foundation of our lives can be so easily concluded in a matter of moments by any giv
SUNY Suffolk - PHI - 101
1. Book II of the Nicomachean Ethics culminates in the following definition: Virtue is a mean state; but in reference to the chief good and to excellence it is the highest state possible. (p. 27) What does Aristotle mean by chief good and excellence? And
SUNY Suffolk - PHI - 101
Philosophy 101 Assignment #1 After reading the given questions, What would a perfectly happy life be? and What would the best way to get it? I thought to myself that they were too vague to answer, and quite frankly too vague to take seriously. Although, a
SUNY Suffolk - PHI - 101
Response Paper #2 PHI 101 Tell me about one teacher you have had recently from whom you feel to have learned a lot. What kind of knowledge did this person convey to you (for example, facts, rules, principles, practical techniques)? How, i.e. by what techn
SUNY Suffolk - PHI - 101
12/15/2010 PHI 101 Final Question #2 Marketing has been criticized throughout time and will most likely continue to be, but certainly not for the reasons that Shankar and Fitchett conlude in Having, Being and Consumption. Marketing has been criticized to
SUNY Suffolk - PHI - 101
As a business major, I have seen a slew of advertisements for miscellaneous products and services, and never before have we analyzed them as creating an identity or relationship between the ad and the customer. Well, not in the sense that Fromm and Shanka
SUNY Suffolk - PHI - 101
Test #2 Question # To generate a response to what are some common reservations that many people have about the concept of moral authority, it is essential to have clear cut definitions. By that, both you the reader, and myself the writer must share the sa
University of Phoenix - XBIS - 219
CLUB IT1Club ITVictoria PhillipsXBIS/219February 22, 2011Ray FernandezThe Club IT is a nightclub that has been very successful since their opening. Club IT has established a strong customer base and keeps growing since their opening. Club IT has ma
University of Wisconsin - Fond du Lac - ELECTRICAL - 605
6.441 Transmission of InformationMar 14, 2006Lecture 10Lecturer: Madhu Sudan Scribe: Srujan Linga1Last lecture Universal Coding Lempel-Ziv Algorithm2Today Channel capacity Sample channels and their capacities AEP for channels3Communication Syst
University of Wisconsin - Fond du Lac - ELECTRICAL - 605
University of Wisconsin - Fond du Lac - ELECTRICAL - 605
The Nonlinear Schrdinger Equation oEran BouchbinderDecember 2003,I.INTRODUCTIONThe nonlinear Schrdinger equation is an example of a universal nonlinear model that o describes many physical nonlinear systems. The equation can be applied to hydrodynami
University of Wisconsin - Fond du Lac - ELECTRICAL - 605
--HW #5due 3/9/11 5PM no later than 3/11/11 5PM 1. Consider a ber communication system which operates at 1.6m and uses a 20km-long ber with effective area of 50m 2 , attenuation of 0.3 dB/km and Raman gain coefcient of 1013 m /W. The overall losses wit
University of Wisconsin - Fond du Lac - ELECTRICAL - 605
TECHNISCHE UNIVERSITAT MUNCHEN, TECHNICAL REPORT, OCTOBER 20081Analytical Calculation of the Number of Four-Wave-Mixing Products in Optical Multichannel Communication SystemsBernhard Goebel and Norbert Hanik Technical Report, May 21, 2008, updated Oct
University of Wisconsin - Fond du Lac - ELECTRICAL - 605
Chirped MirrorsDOUBLE CHIRPED MIRRORS FOR OPTICAL PULSE COMPRESSIONBy Michael WiemerOBJECTIVEIn this paper, the design of a double chirped, AR coated mirror will be explored for dispersion compensation in mode-locked lasers. The various design paramet
University of Wisconsin - Fond du Lac - ELECTRICAL - 605
1/100Self-Phase Modulation in Optical Fiber Communications: Good or Bad?Govind P. AgrawalInstitute of Optics University of Rochester Rochester, NY 14627c 2007 G. P. AgrawalBack CloseOutline Historical Introduction Self-Phase Modulation and its Appli
University of Wisconsin - Fond du Lac - ELECTRICAL - 605
STUDY OF OFDM PERFORMANCE OVER AWGN CHANNELSEnder BolatUndergraduate Project Report submitted in partial fulfillment of the requirements for the degree of Bachelor of Science (B.Sc.)in Electrical and Electronic Engineering Department Eastern Mediterran
University of Wisconsin - Fond du Lac - ELECTRICAL - 605
Go to UWM libraries web page and click on Resources A-ZLog on with your ePanther ID and passward.Click on e-Journals.You can browse E-Journal by click on its first letter, e.g. click I for IEEE journal of quantum electronics.
Colorado - CSCI - 61
Nested Mappings We can extend the sequence paradigm to include many computations that are commonly expressed using nested loops.18 Consider this problem: Given a positive integer n, find all ordered pairs of distinct positive integers i and j, where 1&lt; j&lt;
Colegio del Mundo Unido Costa Rica - LITE - 3031
I. Autora: Mara Vaquero Por ms de cuatro dcadas, desde la Academia, la ctedra, los foros internacionales y la divulgacin periodstica, Mara Vaquero dedic sus ms altos esfuerzos intelectuales al estudio, la defensa y la valoracin de la lengua espaola y, en
UC Davis - ACCOUNTING - 101
2009 FIDM/ Fashion Institute of Design &amp; MerchandisingFINANCIAL ACCOUNTING IIFINAL EXAM PROBLEMS (6 pts. each: 60 pts. Possible) Submit answers through the assignments section (just like the homework assignments). Make sure all debits are listed first,
UCSD - MAE - 290B
MAE 290b Numerical Methods HW6Qiyun Zhao March 7, 2011MAE290bHW6Qiyun ZhaoProblem 1(a) Solve the problem using an explicit method(1) Use EE and nite dierence un ,j un 1,j un +1 un 1 un ,j 2un + un 1,j un +1 2un + un 1 dui,j i+1 i i,j i,j i+1 i,j i
UCSD - MAE - 290B
MAE 290B - Homework # 5 Numerical Methods in Science and EngineeringProf. Alison Marsden Due date: Tues March 1, 2011Problem 1 - Eigenvalues of a Tridiagonal Matrix. Let T be an (N 1) (N 1) tridiagonal matrix, B [a, b, c]. Let D(N 1) be the determinant
UCSD - MAE - 290B
MAE 290B - Homework # 1 Numerical Methods in Science and EngineeringProf. Alison Marsden Due date: Thurs Jan 20, 2011Problem 1 - Euler Method. A physical phenomena is governed by the linear dierential equation dv = 0.2v 2 cos(2t)v 2 dt subject to the in
UCSD - MAE - 290B
Problem 1 (b)Solve the equation for 0&lt;t&lt;=7 using the explicit Euler scheme with the following time steps: h = 0,2; 0,05; 0,025; 0,006. clear;clc a=0;b=7;ya=1; h1=0.2; h2=0.05; h3=0.025; h4=0.006; f=@(t,y) -0.2*y-2*cos(2*t)*y^2; E1 =euler(f,a,b,ya,h1); E2
UCSD - MAE - 290B
Problem 2 - Apollo OrbitTable of Contents. 1 (a) . 1 (b) . 2 (c) . 2 (d) . 3clear;clc; miu=1/82.45;mius=1-miu;(a)From this part, we can see the two orbits of different time span are the same. So we can say the period T=6.19216933 options = odeset('Re
UCSD - MAE - 290B
Problem 3 Part (a)Table of Contents. 1 (1) Explicit Euler . 1 (2) CN . 2 (3) RK2 . 3 (4) RK4 . 4The system is second order and have pure imaginary eigenvaluves clear;clc theta0=10/360*2*pi; a=0;b=6;g=9.81;l=0.6; h1=0.15;h2=0.5;h3=1; t=a:0.001:b; theta=
UCSD - MAE - 290B
Problem 3 Part(b)Table of Contents(1)Exact solution . 1 (2)EE . 1 (3)RK2 . 2(1)Exact solutionS=subs(solve('x^2+c*x+g/l'); sr=real(S(1);si=abs(imag(S(1); t=a:0.01:b; theta=theta0.*exp(sr*t).*cos(si*t)+0.099327.*exp(sr*t).*sin(si*t); h1=0.15;h2=0.5;h3=1
University of Phoenix - THEATRE - the201
The Wrestler byRob Siegel Protozoa Pictures DRAFT 10/14/07104 N 7th St Brooklyn, NY 11211718-388-5280 FADE IN: MUSIC: DEF LEPPARD - ROCK ROCK (TILL YOU DROP) Over OPENING CREDITS, a montage of OLD WRESTLING-MAGAZINEPHOTOS. Action shots of RANDY
University of Texas - SSC - 304
Data Analysis Project When you ask your parents for a hike in your allowance or a brand new toy, like that newly released Destruction II or the exciting set of dolls, what happens? How many times do your parents delay the request for one of those favorite
Baker MI - NURSING - 122
The Planned Parenthood Agency On February 24, 2011 I spoke with Stephanie Kerry who is an employee at Planned Parenthood in Flint, Michigan. She informed me that there are several locations in the state of2Michigan, but that they are one of 800 plus age
Baker MI - NURSING - 122
The Planned Parenthood Agency On February 24, 2011 I spoke with Stephanie Kerry who is an employee at Planned Parenthood in Flint, Michigan. She informed me that there are several locations in the state of2Michigan, but that they are one of 800 plus age
Baker MI - NURSING - 122
THE PLANNED PARENTHOOD AGENCY On February 24, 2011 I spoke with Stephanie Kerry who is an employee at Planned Parenthood in Flint, Michigan. She informed me that there are several locations in the state of2Michigan, but that they are one of 800 plus age
Baker MI - NURSING - 122
Reference Watson, J. (2008). Nursing: The philosophy and science of caring (Rev.ed). Boulder, CO: UNIVERSITY PRESS OF COLORADO.
Baker MI - NURSING - 122
Running head: CARATIVE FACTOR REPORT1Carative Factor Report Baker College of Flint Jennifer FranksRunning head: CARATIVE FACTOR REPORT2The theory of human caring was developed by Jean Watson, a distinguished professor of nursing at Colorado Universit
Baker MI - NURSING - 122
BakerCollegeofFlint NursingCarePlanPatientInitials:J.C.DateofCare:21/222011StudentName:JenniferFranksAssessmentSubjective/ObjectiveData Subjective(Stated):NursingDiagnosisGordonsFunctionalHealthPattern:Objective(Observed/Obtained):NursingDiagnosisw
Baker MI - NURSING - 122
BakerCollegeofFlint NursingCarePlan PatientInitials:J.C. DateofCare:21/222011 StudentName:JenniferFranksAssessmentSubjective/ObjectiveData Subjective(Stated):J.C.statedIhadmygallbladderremovedinNovemberoflast yearandastentwasputinmybileduct.Shefurtherex
Baker MI - NURSING - 122
References Harkreader, H., Hogan, M. A., &amp; Thobaben, M. (2007). Fundamentals of nursing: Caring and clinical judgment. St. Louis, MO: Saunders, Elsevier, Inc. Ignatavicius, D. D., &amp; Workman, M. L. (2010). Medical-surgical nursing: Patient-centered collabo
Baker MI - NURSING - 122
ARE YOU A CRITICAL THINKER?2Definition of Critical Thinking Critical thinking is an in depth process that involves assessing, clustering, analyzing, and evaluating information before coming to a conclusion or judgment. This information is based on the n
Baker MI - NURSING - 122
Running head: BECOMING A CULTURALLY SENSITIVE NURSE2The topic of cultural competence in nursing is not new. The field of transcultural nursing actually began back in the early 1900s. Public health nurses cared for immigrants from Europe who came from va
Baker MI - NURSING - 122
ILLITERACY: THE DIVIDE BETWEEN HEALTH AND EDUCATION In the context of the health care setting the term health literacy refers to a patients ability to obtain, process, and understand the information upon which they receive and the services needed to make
Baker MI - NURSING - 122
HEALTH ILLITERACY AND THE NEED FOR EDUCATION 2 Illiteracy affects people not only in the United States, but all over the world. Someone who is illiterate is unable to read or write. In the health care setting health literacy not only refers to reading and
Baker MI - NURSING - 122
Jennifer Franks October 1, 2010 Holistic Healing Web PageThe Holistic Healing website contains pertinent information for people who are looking for alternative ways to treat and heal themselves. The articles and documents of fundamental techniques are us