1. Trang chủ
  2. » Kinh Doanh - Tiếp Thị

Programming with microsoft visual basic 2010 5th edition diane zak test bank

6 215 0

Đang tải... (xem toàn văn)

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 6
Dung lượng 186,71 KB

Nội dung

Chapter 2: Designing Applications TRUE/FALSE For an application to fulfill the wants and needs of the user, it is essential for the programmer to plan the application jointly with the user ANS: T PTS: REF: 63 The only way to guarantee the success of an application is to actively involve the user in the planning phase ANS: T PTS: REF: 63-64 The first step in the planning phase of a programming solution is to sketch the user interface ANS: F PTS: REF: 64 Drawing a sketch of the user interface is performed in the planning phase ANS: T PTS: REF: 64 In Western countries, the user interface should be organized so that the information flows either vertically or horizontally, with the most important information always located in the bottom-left corner of the interface ANS: F PTS: REF: 69 In most cases, an identifying label should be from one to three words only and appear on one line ANS: T PTS: REF: 70 The Windows standard is to use sentence capitalization for identifying labels ANS: T PTS: REF: 70 Sentence capitalization means you capitalize only the first letter in the first word and in any words that are customarily capitalized ANS: T PTS: REF: 70 When using book title capitalization, you capitalize the first letter in each word, except for articles, conjunctions, and prepositions that not occur at either the beginning or the end of the text ANS: T PTS: REF: 70 10 A button’s caption should be entered using book title capitalization ANS: T PTS: REF: 70 11 Labels that identify other controls (such as text boxes) should be right-aligned according to Windows standards ANS: F PTS: REF: 76 12 It is a good idea when designing the user interface to use a generous amount of graphics to maintain the user's interest ANS: F PTS: REF: 76 13 When creating printed materials, it is best to use a sans serif font to make the text easier to read ANS: F PTS: REF: 77 14 When creating materials to be displayed on screen, it is best to use a serif font to make the text easier to read ANS: F PTS: REF: 77 15 Use italics and underlining to emphasize information on a display screen and make it easier to read ANS: F PTS: REF: 77 16 A control’s border is determined by its BorderStyle property ANS: T PTS: REF: 78 17 You should never use a dark color background or a light color font ANS: T PTS: REF: 78 18 The Windows standard recommendation for the BorderStyle property for a text box is FixedSingle ANS: F PTS: REF: 78 19 Once you have placed all of the controls in the desired locations on the form, it is a good idea to unlock the controls from their current positions ANS: F PTS: REF: 80 20 Pseudocode uses standardized symbols to show the logical steps in a solution to a programming project ANS: F PTS: REF: 91 21 You can use the Format function to improve the appearance of the numbers displayed in an interface ANS: T PTS: REF: 103 22 Most logic errors are typing errors that occur when entering instructions ANS: F PTS: REF: 105 23 The Code Editor detects most syntax errors as you enter the instructions ANS: T PTS: REF: 105 24 An instruction that is syntactically correct will also be logically correct ANS: F PTS: REF: 105 25 To test an application, you should use both valid and invalid test data ANS: T PTS: REF: 105 MULTIPLE CHOICE Which of the following is the correct sequence of events when designing a solution? a Write the code, design the interface, and plan the application b Design the interface, plan the application, and write the code c Plan the application, write the code, and design the interface d Plan the application, design the interface, and write the code ANS: D PTS: REF: 63 The programming process begins with a meeting between the programmer and the client Which of the following activities would be the last activity in the programming process? a Build the user interface c Test and debug b Code the application d Assemble the documentation ANS: D PTS: REF: 63 The first step in planning an OO application is to a draw a sketch of the user interface b identify the objects to which tasks will be assigned c identify the tasks the application needs to perform d identify the event required to trigger an object into performing its assigned tasks ANS: C PTS: REF: 64 The last step in planning an OO application is to a draw a sketch of the user interface b identify the objects to which tasks will be assigned c identify the tasks the application needs to perform d identify the event required to trigger an object into performing its assigned tasks ANS: A PTS: REF: 64 The number of different colors used on a form should be limited to colors exclusive of black, white, and gray a two c four b three d five ANS: B PTS: REF: 78 You can change the background color of a text box by setting its property a BackGround c BackColor b Color d ForeColor ANS: C PTS: REF: 78 A label control used to display output should use which of the following BorderStyle settings? a FixedSingle c No BorderStyle (None) b Fixed3D d Sizable ANS: A PTS: REF: 78 The property of a control is used to specify the position of the text within the control a AlignText c Justify b Alignment d TextAlign ANS: D PTS: REF: 79 A provides an area in the form for the user to enter data a text box c button b label d check box ANS: A PTS: REF: 80 10 An access key allows the user to select an object using the key in combination with a letter or number a Shift c Alt b Tab d Backspace ANS: C PTS: REF: 81 11 The character used to create an access key by inserting it into a text property is a ~ c & b ^ d < ANS: C PTS: REF: 81 12 In Windows applications, pressing the and Tab keys simultaneously will move the focus backward a Shift c Alt b Ctrl d Ctrl + Shift ANS: A PTS: REF: 85 13 To employ an access key, press and hold down the key as you tap the access key a Scroll c Alt b Backslash d Tilde (~) ANS: C PTS: REF: 86 14 A control's order of receiving focus is set by changing the property a GetFocus c NextControl b PrevControl d TabIndex ANS: D PTS: REF: 82 15 Short English-like phrases written to represent the steps a program must take to solve a particular problem are called a a flowchart c object code b pseudocode d macro code ANS: B PTS: REF: 91 16 The symbol used in code for assignment is the symbol a ~ c < b ^ d = ANS: D PTS: REF: 94 17 The method of a control will cause the focus on the screen to move to that control a Focus c HighLight b GoTo d Select ANS: A PTS: REF: 96 18 The syntax of the Focus method is , where “object” is the name of the object to which you want the focus sent a object.GetFocus() c object.Focus() b object.SetFocus() d object.FocusThis() ANS: C PTS: REF: 96 19 Which of the following symbols is used to place documentation in a program and causes Visual Basic NET to ignore the line? a // c */ b /* d ' ANS: D PTS: REF: 96 20 In the mathematical expression 4*3+15/3-6, which operation is performed first? a + c * b d / ANS: C PTS: REF: 98-99 21 In the mathematical expression 4*3+15/3-6, which operation is performed last? a + c * b d / ANS: B PTS: REF: 98-99 22 In the mathematical expression 12/6/2, the answer is a c b d ANS: A PTS: REF: 98-99 23 The function temporarily converts a string to a number, and then returns the number a Num c Val Number b d Value ANS: C PTS: REF: 102 24 A(n) is a predefined procedure that performs a specific task and then returns a value a algorithm c Sub procedure b function d class ANS: B PTS: REF: 102 25 The function can be used to improve the appearance of the numbers displayed on a screen a Arrange b Change ANS: D c Display d Format PTS: REF: 103 ... ANS: D PTS: REF: 63 The programming process begins with a meeting between the programmer and the client Which of the following activities would be the last activity in the programming process? a... correct will also be logically correct ANS: F PTS: REF: 105 25 To test an application, you should use both valid and invalid test data ANS: T PTS: REF: 105 MULTIPLE CHOICE Which of the following... 96 19 Which of the following symbols is used to place documentation in a program and causes Visual Basic NET to ignore the line? a // c */ b /* d ' ANS: D PTS: REF: 96 20 In the mathematical

Ngày đăng: 16/11/2017, 15:59

TỪ KHÓA LIÊN QUAN