akosiraff

100 MCQ All of the following are true about standard modules

May 7th, 2013
1,464
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.11 KB | None | 0 0
  1.  
  2. Download: http://solutionzip.com/downloads/100-mcq-all-of-the-following-are-true-about-standard-modules-except/
  3.  
  4. QUESTION 1
  5. All of the following are true about standard modules except __________.
  6. . A module is a file that contains code such as variable declarations and procedures
  7. A public variable declared in a standard module may be used by other files in a project
  8. Standard modules may contain event handlers
  9. Standard modules are not associated with a particular form
  10. QUESTION 2
  11. Which type of loop is designed specifically to use a subscript to access the elements of an array?
  12. . For Next
  13. Do While
  14. Do Until
  15. For While
  16. .
  17. .
  18. QUESTION 3
  19. You use to provide multiple selection conditions in an SQL statement.
  20. . relational operators
  21. compound expressions
  22. arithmetic operators
  23. the & operator
  24. .
  25. .
  26. QUESTION 4
  27. The ___________ event occurs when a form is in the process of closing, but before it has closed.
  28. . FormClosing
  29. FormClosed
  30. CloseForm
  31. Close
  32. .
  33. .
  34. QUESTION 5
  35. A form’s __________ event is triggered when the user switches to the form from another form or another application.
  36. . form load
  37. activated
  38. got focus
  39. click
  40. .
  41. .
  42. QUESTION 6
  43. Which of the following could be used to iterate through each element of a two-dimensional array.
  44. . A single Do While loop
  45. A single Do Until loop
  46. A single For Next loop
  47. Nested loops For Next loops
  48. .
  49. .
  50. QUESTION 7
  51. This key word is used to refer to properties and methods found in the base class.
  52. . Base
  53. Me.Base
  54. MyBase
  55. Base.Class
  56. .
  57. .
  58. QUESTION 8
  59. When a project executes, its __________ is automatically displayed.
  60. . main sub
  61. startup form
  62. event procedure
  63. form load event
  64. .
  65. .
  66. QUESTION 9
  67. Which of the following declares an array to contain the weekly sales of a group of salespeople for a year? (use the constant intNumSalesmen for the number of salesmen and 52 for the number of weeks)
  68. . Dim decWeeklySalesTotal(intNumSalesmen – 1, 52 – 1) as Decimal
  69. Dim decWeeklySalesTotal(intNumSalesmen – 1, 52) as Decimal
  70. Dim decWeeklySalesTotal(intNumSalesmen – 1, 52 – 1)
  71. Dim decWeeklySalesTotal(intNumSalesmen, 52) as Decimal
  72. .
  73. .
  74. QUESTION 10
  75. If the user should not be able to access an item that appears on a menu, set its _________ property to _______.
  76. . Enabled, False
  77. Disabled, True
  78. Active, False
  79. Hidden, True
  80. .
  81. .
  82. QUESTION 11
  83. When a menu control’s _________ property equals True, a check appears next to the menu item.
  84. . showCheck
  85. Checked
  86. Check
  87. none of the above
  88. .
  89. .
  90. QUESTION 12
  91. In an SQL query, the _____ wildcard character, used with the LIKE operator, will match multiple unknown characters.
  92. . &
  93. #
  94. *
  95. %
  96. .
  97. .
  98. QUESTION 13
  99. The following statements are true about a data source except
  100. . a data source is usually a database.
  101. a data source can be a text file.
  102. Data sets contain data retrieved from a data source.
  103. Data can be retrieved from but not written back to a data source.
  104. .
  105. .
  106. QUESTION 14
  107. All of the following are browsers your Web pages should be tested with except __________.
  108. . Chrome
  109. WebPro
  110. Safari
  111. Firefox
  112. .
  113. .
  114. QUESTION 15
  115. Which of the following is not true about a Form’s class declaration?
  116. . It contains a detailed description of a form.
  117. It’s similar to a blueprint for a house.
  118. It creates an instance of the form.
  119. It contains the form’s event handlers.
  120. .
  121. .
  122. QUESTION 16
  123. A postback occurs when the server processes the page contents and __________.
  124. . does nothing when there are no changes to the page contents
  125. sends an error when the requested page is not found
  126. sends a different page that was requested by the user
  127. resends a modified version of the same page currently displayed
  128. .
  129. .
  130. QUESTION 17
  131. What does the following section of code do? Dim intCount as Integer Dim intXXXX as Integer = intNumbers(0) For intCount = 1 to (inNumbers.Length – 1) If intNumbers(intCount) > intXXXX Then intXXXX = intNumbers(intCount) End If Next intCount
  132. . Finds the first element of the array intNumbers
  133. Finds the last element of the array intNumbers
  134. Finds the Highest value in the array intNumbers
  135. Finds the Lowest value in the array intNumbers
  136. .
  137. .
  138. QUESTION 18
  139. When changing the number of elements in an array at run-time with the ReDim statement, existing values in the array are destroyed unless the __________ keyword is used.
  140. . Preserve
  141. Reserve
  142. ReDim
  143. Protect
  144. .
  145. .
  146. QUESTION 19
  147. __________ is a general model of something – it captures the general characteristics of an object
  148. . A constructor
  149. A collection
  150. An instance
  151. An abstraction
  152. .
  153. .
  154. QUESTION 20
  155. Which of the following statements will remove an object referred to by the object variable NewStudent?
  156. . NewStudent = String.Empty
  157. NewStudent = Nothing
  158. NewStudent.Delete
  159. Remove.NewStudent
  160. .
  161. .
  162. QUESTION 21
  163. Which of the following is not a Web browser?
  164. . Safari
  165. Firefox
  166. Windows Explorer
  167. Internet Explorer
  168. .
  169. .
  170. QUESTION 22
  171. A context menu __________.
  172. . is an alternative for buttons
  173. is shown when the user right clicks a form or control
  174. uses the MainMenu control
  175. both a and c are correct
  176. .
  177. .
  178. QUESTION 23
  179. The __________ access specifier permits class members to be accessed only by statements inside the class.
  180. . Public
  181. Protected
  182. Private
  183. Friend
  184. .
  185. .
  186. QUESTION 24
  187. ASP.NET controls are more powerful than HTML controls because __________.
  188. . more fonts are available
  189. graphics can be embedded in them
  190. they use event handlers to carry out actions at runtime
  191. powerful hyperlinks can be embedded in them
  192. .
  193. .
  194. QUESTION 25
  195. Which of the following is not true about the ASP.NET development platform?
  196. . Visual Basic code can be stored in a separate file from a web page’s text and HTML.
  197. It allows you to transfer much of your Visual Basic knowledge to Web applications.
  198. It allows the use of object-oriented program code.
  199. Visual Basic is the only programming language that may be used.
  200. .
  201. .
  202. QUESTION 26
  203. All of the following are true of the Show method of a form except:
  204. . using the Show method allows other forms to receive the focus
  205. the show method allows a calling program to continue to process statements
  206. the displayed form must be closed before you can access other forms
  207. the Show method displays a modeless form
  208. .
  209. .
  210. QUESTION 27
  211. Object oriented analysis starts with __________.
  212. . declaring the member variables
  213. finding the classes
  214. describing attributes and operations
  215. defining the property procedures
  216. .
  217. .
  218. QUESTION 28
  219. Which of the following statements defines a two-dimensional Integer array named intTwoDArray with 6 rows and 4 columns?
  220. . Dim intTwoDArray(5, 3) As Integer
  221. Dim intTwoDArray(3, 5) As Integer
  222. Dim intTwoDArray(6, 4) As Integer
  223. Dim intTwoDArray(4, 6) As Integer
  224. .
  225. .
  226. QUESTION 29
  227. A table adapter’s _________ method is used to add a new row to a table.
  228. . Add
  229. Append
  230. Insert
  231. Update
  232. QUESTION 30
  233. A ________ statement in SQL retrieves data from a database.
  234. . Select
  235. Search
  236. Find
  237. SearchTable
  238. .
  239. .
  240. QUESTION 31
  241. What task is accomplished by the following code? Dim intFirstArray(2) As Integer Dim intSecondArray(2) As Integer intFirstArray(0) = 10 intFirstArray(1) = 19 intFirstArray(2) = 26 intSecondArray = intFirstArray
  242. . Two distinct arrays are created in memory with the same values.
  243. intFirstArray and intSecondArray reference the same array in memory
  244. This code will generate a run-time error. You cannot assign the name of one array to another.
  245. intFirstArray is initialized with values but intSecondArray contains no values
  246. .
  247. .
  248. QUESTION 32
  249. Which of the following is the correct definition for a procedure that accepts a String array as an argument?
  250. . Private Sub ArrayParam(ByVal strStudents As String)
  251. Public Sub ArrayParam(ByVal strStudents())
  252. Sub ArrayParam(ByVal strStudents() As String)
  253. Private Sub ArrayParam(ByRef strStudents As String)
  254. .
  255. .
  256. QUESTION 33
  257. The following statements apply to a Timer control, except _____________.
  258. . it can be used to trigger tick events at regular intervals
  259. the smallest possible interval between tick events is a microsecond
  260. the timer can be disabled so it generates no tick events
  261. it responds to Tick events only at run time
  262. .
  263. .
  264. QUESTION 34
  265. A __________ is automatically called when an instance of the class is created.
  266. . Load method
  267. constructor
  268. instantiator
  269. Initializer method
  270. .
  271. .
  272. QUESTION 35
  273. Choose the statement below that performs the comment found on line 2 of the following code segment. Dim newStudentForm As New frmNewStudent() ‘Initialize AcademicYear text box on NewStudent form to 1 newStudentForm.ShowDialog()
  274. . frmNewStudent.txtAcademicYear.Text = “1″
  275. txtAcademicYear.Text.newStudentForm = “1″
  276. newStudentForm.txtAcademicYear.Text = “1″
  277. txtAcademicYear.frmNewStudent = “1″
  278. .
  279. .
  280. QUESTION 36
  281. Which of the following is true regarding ASP.NET?
  282. . ASP.NET is a client-side programming technology.
  283. ASP.NET is Microsoft’s version of HTML and provides the same capabilities as HTML.
  284. ASP.NET provides many controls that are similar to those used in Windows forms.
  285. ASP.NET is the first generation of Web programming technology introduced by Microsoft.
  286. .
  287. .
  288. QUESTION 37
  289. What value should be placed in a Timer control’s Interval property to trigger a Tick event every 10 seconds?
  290. . 1000
  291. 10000
  292. 100
  293. 10
  294. .
  295. .
  296. QUESTION 38
  297. Which of the following SQL WHERE clauses will select all students whose last name begins with “S”?
  298. . Where LastName Like “S%”
  299. Where LastName Like “S”
  300. Where LastName = “S%”
  301. Where LastName = “S*”
  302. .
  303. .
  304. QUESTION 39
  305. A menu item may be executed by a user in each of the following ways except __________.
  306. . by pressing access keys such as Alt-F
  307. by pressing shortcut keys such as Ctrl-S
  308. by clicking on the item
  309. by hovering the mouse over the item
  310. .
  311. .
  312. QUESTION 40
  313. An instance of a class is also called ______________.
  314. . a tangible entity
  315. an object
  316. a method
  317. a property
  318. .
  319. .
  320. QUESTION 41
  321. The DetailsView control allows the user to do which of the following?
  322. . display multiple rows of a database table at the same time
  323. connect to a data source
  324. view but not edit the rows of a database
  325. all of the above are true
  326. .
  327. .
  328. QUESTION 42
  329. When using the Remove method of a collection, what happens if the argument provided is a string expression?
  330. . The item at the index value represented by that string is removed if found in the collection.
  331. The item with a key value that matches the string is removed if found in the collection.
  332. A string expression may not be provided as an argument.
  333. A syntax error occurs.
  334. .
  335. .
  336. QUESTION 43
  337. A function that is a member of a class is called __________ .
  338. . a module
  339. a method
  340. a component
  341. an element
  342. .
  343. .
  344. QUESTION 44
  345. The last form created for a Windows Forms application is designated as the startup form.
  346. . True
  347. False
  348. .
  349. .
  350. QUESTION 45
  351. Which statement is not true about the following array? Dim strFriends() As String = { “Rose”, “Bud”, “Flower”, “Spring” }
  352. . The String “Flower” is located at index position 2.
  353. All elements have been assigned values.
  354. The array has an unlimited number of elements.
  355. All of the above are true statements about the array.
  356. .
  357. .
  358. QUESTION 46
  359. Assume the following table named Student exists in a database: Name Number Address GPA CumHrs
  360. Adams, Carol 123 Redford Hall 3.6 67
  361. Baker, Paul 345 Kingman Hall 2.1 34
  362. Jones, Jill 456 Bassett Hall 3.2 89
  363. Smith, Mary 887 Redford Hall 3.8 112
  364. Taylor, Darren 987 Bassett Hall 3.7 55
  365. Which of the following SQL statements will return only the student name and GPA from the Student table for all students having a GPA that is greater than or equal to 3.5?
  366. . SELECT Name, GPA FROM Student WHERE GPA >=3.5
  367. SELECT * FROM Student WHERE GPA >= 3.5
  368. SELECT Name, Number, GPA, CumHrs FROM Student WHERE GPA >= 3.5
  369. SELECT Student WHERE GPA >= 3.5 And Name, GPA
  370. .
  371. .
  372. QUESTION 47
  373. In order to add a menu to a form, you must place a __________ on the form.
  374. . MenuCommand control
  375. MenuItem control
  376. MenuOption control
  377. MenuStrip control
  378. .
  379. .
  380. QUESTION 48
  381. This was the first server-side web programming technology introduced by Microsoft.
  382. . JavaScript
  383. HTML
  384. PHP
  385. ASP
  386. .
  387. .
  388. QUESTION 49
  389. Which statement is the best solution for the following problem? Write a statement that initializes a two dimensional array of Integers named intGrades. The array will have 2 rows, with 93, 91, and 84 in the first row and 85, 89, and 91 in the second row.
  390. . Dim intGrades(2,3) As Integer = { {93, 91, 84}, {85, 89, 91} }
  391. Dim intGrades(,) As Integer = { {93, 91, 84}, {85, 89, 91} }
  392. Dim intGrades() As Integer = { 93, 92, 84,85, 89, 91}
  393. Dim intGrades(1, 2) As Integer = { {93, 91, 84}, {85,89, 91} }
  394. .
  395. .
  396. QUESTION 50
  397. You access public members of a class object with ___________.
  398. . the getData method
  399. the access operator
  400. the dot operator
  401. a public module
  402. .
  403. .
  404. QUESTION 51
  405. In the array declaration below, what is the significance of the number 7? Dim strNames(7) As String
  406. . It indicates the number of elements in the array.
  407. It’s the upper bound (highest subscript value) of the array
  408. It’s the value assigned to the array elements.
  409. It’s one greater than the upper bound of the array.
  410. .
  411. .
  412. QUESTION 52
  413. All of the following statements are true about the Finalize method of an object except __________.
  414. . the Finalize method is executed when it is called from the Main method
  415. the Finalize method is automatically called just before an instance of the class is destroyed
  416. you cannot predict exactly when the Finalize method will be executed
  417. you are not required to define a Finalize method in your own class
  418. .
  419. .
  420. QUESTION 53
  421. Any form in a Windows Forms application can be designated as the startup form.
  422. . True
  423. False
  424. .
  425. .
  426. QUESTION 54
  427. Which of the following operators determines if two object variables reference the same object?
  428. . =
  429. IsEqual
  430. Is
  431. SameAs
  432. .
  433. .
  434. QUESTION 55
  435. Which of the following code segments will copy the values of a 5 element array named intOldValues into another 5 element array named intNewValues?
  436. . intIndex = 1 Do While intIndex <=5 intNewValues(intIndex) = intOldValues(intIndex) intIndex = intIndex + 1 Loop
  437. intIndex = 0 Do While intIndex < 5 intNewValues(intIndex) = intOldValues(intIndex) intIndex = intIndex + 1 Loop
  438. For intIndex = 1 To 5 intNewValues(intIndex) = intOldValues(intIndex) Next intIndex
  439. For intIndex = 0 To 4 intOldValues(intIndex) = intNewValues(intIndex) Next intIndex
  440. .
  441. .
  442. QUESTION 56
  443. All of the following are true about the Hide method of a form except:
  444. . Using the Hide method removes the form from memory.
  445. The Hide method makes the form invisible.
  446. Once you have called the Hide method, the form can be redisplayed with the ShowDialog method.
  447. Once you have called the Hide method, the form can be redisplayed with the Show method.
  448. .
  449. .
  450. QUESTION 57
  451. How many elements can be stored in the following array? Dim sngGrades (2, 3) As Single
  452. . 6
  453. 5
  454. 12
  455. cannot be determined
  456. .
  457. .
  458. QUESTION 58
  459. The GridView control provides all the following features except __________.
  460. . it’s designed to display single row at a time is displayed
  461. you can sort on any column
  462. you can select the order in which columns appear
  463. you can format data within the columns
  464. .
  465. .
  466. QUESTION 59
  467. Which statement does NOT accurately describe a database row?
  468. . A row contains related data about a single item such as a department.
  469. A row contains one or more fields.
  470. When discussing a table, we refer to the rows by name.
  471. A row is part of a database table.
  472. .
  473. .
  474. QUESTION 60
  475. Which table adapter method reads data from the database into the dataset?
  476. . Fill
  477. Read
  478. Select
  479. Retrieve
  480. .
  481. .
  482. QUESTION 61
  483. The __________ control displays information from a dataset in row and column format.
  484. . DataAware
  485. DataGridView
  486. DataListView
  487. DataTableView
  488. .
  489. .
  490. QUESTION 62
  491. Which method allows the user to navigate to another Web page?
  492. . Redirect.Response
  493. Hyperlink.Redirect
  494. Response.Redirect
  495. Redirect.Hyperlink
  496. .
  497. .
  498. QUESTION 63
  499. An event handler for a menu item is created by __________ in design view.
  500. . manually declaring the event handler
  501. right-clicking the menu item
  502. double-clicking the menu item
  503. clicking the menu item
  504. .
  505. .
  506. QUESTION 64
  507. If there exists a class named People and one wants to create a new class named Student based on the People class, what code segment below shows the correct way to do so?
  508. . Public Class Student Inherits People
  509. Public Class Student Includes Class People
  510. Public Class Student based on People
  511. Public Class Student eople
  512. .
  513. .
  514. QUESTION 65
  515. Which of the following displays a message box saying “I have been created” every time a new instance of the class ShowMe is created?
  516. . Public Class ShowMe MessageBox.Show(“I have been created”) End Class
  517. Public Class ShowMe Public Sub Constructor() MessageBox.Show(“I have been created”) End Sub End Class
  518. Public Class ShowMe Public Sub Create() MessageBox.Show(“I have been created”) End Sub End Class
  519. Public Class ShowMe Public Sub New() MessageBox.Show(“I have been created”) End Sub End Class
  520. .
  521. .
  522. QUESTION 66
  523. A ________ is an in-memory copy of data read from database tables.
  524. . data control
  525. dataset
  526. connection
  527. data adapter
  528. .
  529. .
  530. QUESTION 67
  531. Web applications use the __________ control instead of the datasets used by desktop applications.
  532. . Gridview
  533. Datasource
  534. Table
  535. MS Access
  536. .
  537. .
  538. QUESTION 68
  539. What property must be set on a menu item to have the user activate that option by hitting Ctrl+C?
  540. . ShortcutKeys
  541. QuickKey
  542. HotKey
  543. ShowShortCut
  544. .
  545. .
  546. QUESTION 69
  547. Procedures can be written to handle arrays and do all of the following, except __________.
  548. . store data in an array
  549. sum or average the values
  550. display the contents of the array
  551. all of the above are correct
  552. .
  553. .
  554. QUESTION 70
  555. Which of the following will display the getStudentDataForm form such that the programming statements that follow will not execute until the getStudentDataForm is closed?
  556. . getStudentDataForm.Open()
  557. getStudentDataForm.Show()
  558. getStudentDataForm.ShowDialog()
  559. getStudentDataForm.OpenForm.Modal()
  560. .
  561. .
  562. QUESTION 71
  563. Which of the following is not a TextBox TextMode property choice?
  564. . Sorted
  565. SingleLine
  566. MultiLine
  567. Password
  568. .
  569. .
  570. QUESTION 72
  571. Which method is used to create a new item in a collection?
  572. . Store
  573. Insert
  574. Add
  575. Create
  576. .
  577. .
  578. QUESTION 73
  579. Every class you create in Visual Basic is automatically derived from this built-in class.
  580. . Object
  581. Base
  582. Window
  583. Application
  584. .
  585. .
  586. QUESTION 74
  587. What happens when an object variable goes out of scope?
  588. . The object may be removed from memory by the garbage collector.
  589. The object may be referred to using the dot operator.
  590. An exception error will be generated.
  591. The object becomes accessible again when the variable comes back into scope.
  592. .
  593. .
  594. QUESTION 75
  595. A variable is accessible to statements outside the form if declared __________.
  596. . as Private and class-level
  597. as Public
  598. as Public and class-level
  599. with a Dim statement
  600. .
  601. .
  602. QUESTION 76
  603. A is a column (or columns) that uniquely identifies each row of data in a database.
  604. . selector
  605. main key
  606. identifier
  607. primary key
  608. .
  609. .
  610. QUESTION 77
  611. What is the result of the following section of code? Private Sub btnExit_Click(ByVal sender As System.Object, _ ByVal e as System.EventArgs) Handles btnExit.Click Me.Close() End Sub
  612. . Shut down the computer
  613. Log off the current user
  614. Close the current form
  615. None of the above
  616. .
  617. .
  618. QUESTION 78
  619. A _______________ is the design of tables, columns and relationships between tables for the database.
  620. . data table
  621. database schema
  622. data set
  623. relational model
  624. .
  625. .
  626. QUESTION 79
  627. Object-oriented programming is a way of designing and coding applications such that interchangeable software can be used to build larger programs.
  628. . controls
  629. structures
  630. components
  631. languages
  632. .
  633. .
  634. QUESTION 80
  635. It’s possible to access the items in a collection using __________.
  636. . an integer index of the item to be retrieved
  637. the Item method to retrieve an item with a specific key value
  638. a For Each loop
  639. all of the above
  640. .
  641. .
  642. QUESTION 81
  643. Web applications are designed around a __________ model, meaning the one computer produces data while another uses data.
  644. . Client-Server
  645. Peer-to-Peer
  646. Master-Slave
  647. Server-User
  648. .
  649. .
  650. QUESTION 82
  651. Client programs can query __________ to get values, but they cannot modify them.
  652. . ReadOnly properties
  653. Get/Set properties
  654. Private methods
  655. Public properties
  656. .
  657. .
  658. QUESTION 83
  659. What is the error in the following code, and when will it be caught? Dim intValues(5) As Integer Dim intIndex As Integer For intIndex = 0 To 10 intValues(intIndex) = 10 Next intIndex
  660. . The For Next loop values for intIndex should range from 1 to 10. The error will occur at run time.
  661. The loop should close with Next instead of Next intIndex. The error will occur at compile time.
  662. An out of bounds error will occur. The error will occur at run time.
  663. The For Next loop values for intIndex should range from 1 to 5. The error will occur at compile time.
  664. .
  665. .
  666. QUESTION 84
  667. The Where clause of an SQL statement specifies __________.
  668. . the location of the database being queried
  669. which fields are to be displayed
  670. specifies the order in which the rows should appear
  671. specifies which rows should be retrieved
  672. .
  673. .
  674. QUESTION 85
  675. A web form can be identified by its __________ filename extension.
  676. . .asp
  677. .aspx.vb
  678. .aspx
  679. .config
  680. .
  681. .
  682. QUESTION 86
  683. The SQL Select statement retrieves data from a database and returns it in a __________, a set of records matching the selection criteria.
  684. . Subset
  685. Dynaset
  686. DataSource
  687. Dataset
  688. .
  689. .
  690. QUESTION 87
  691. Which of the following statements is false?
  692. . A database can store more data more efficiently than sequential text files.
  693. When using a large amount of data, most developers prefer to use a DBMS.
  694. Visual Basic is used to interface with the user and a DBMS works directly with the data.
  695. Visual Basic statements can directly access database fields without using the DBMS.
  696. .
  697. .
  698. QUESTION 88
  699. When designing web forms, the Toolbox window contains all of the following groups of controls except:
  700. . Login to authenticate users.
  701. Data controls for connecting to data sources.
  702. WebParts that let the user modify the content and behavior of the web pages.
  703. Ftp controls for connecting to remote computers.
  704. .
  705. .
  706. QUESTION 89
  707. What is the simplest way to update a user’s changes to the database?
  708. . No need to save user changes as this occurs automatically
  709. Use the Update method of a table adapter
  710. Click the diskette icon to save the dataset to the database
  711. Call the SaveDataset method of the table adapter
  712. .
  713. .
  714. QUESTION 90
  715. Which of the following is not true about the Form Activated event?
  716. . It’s executed when a form is initially displayed.
  717. It’s executed each time a form regains the focus.
  718. It’s executed each time the the user clicks a form that does not have the focus.
  719. It’s executed before the Load event procedure is processed.
  720. .
  721. .
  722. QUESTION 91
  723. When the Web form default.aspx is added to a project, another file named __________ is also created.
  724. . default.asp
  725. default.aspx.vb
  726. default.config
  727. default.vb
  728. .
  729. .
  730. QUESTION 92
  731. This property of a control allows it be positioned a specified distance from the outside edge of the form.
  732. . dock
  733. anchor
  734. attach
  735. secure
  736. .
  737. .
  738. QUESTION 93
  739. A database _____________is organized into rows and columns.
  740. . grid
  741. matrix
  742. table
  743. spreadsheet
  744. .
  745. .
  746. QUESTION 94
  747. The best approach to move a menu item with an existing click event to a new location is:
  748. . cut the menu item from the old location and paste it into the new location.
  749. click the menu item and drag it to the new location
  750. delete the menu item from the old location and add it to the new location
  751. none of the above
  752. .
  753. .
  754. QUESTION 95
  755. What is the best way to share functions across more than one project?
  756. . Create the functions in one project, then copy and paste them into other projects that need them.
  757. Place the code for the functions in a module and add that module to each project.
  758. Place the code for the functions in the startup form of each project.
  759. Place the code inside a Main procedure with a Public access specifier for each function.
  760. .
  761. .
  762. QUESTION 96
  763. Which Web control is similar to the Windows form ComboBox control?
  764. . TextBox
  765. DropDownList
  766. CheckBoxList
  767. ListBox
  768. .
  769. .
  770. QUESTION 97
  771. Which of the following statements sorts an array named intValues?
  772. . Sort.Array(intValues)
  773. Sort(intValues)
  774. Sort.Array(intValues())
  775. Array.Sort(intValues)
  776. .
  777. .
  778. QUESTION 98
  779. Which of the following outlines the proper order for connecting a web form to a database?
  780. . Add a GridView control to the form Select the Data Source type Copy the database file to the App_Data folder Configure the SELECT statement for the database query
  781. Copy the database file to the App_Data folder Add a GridView control to the form Select the Data Source type Configure the SELECT statement for the database query
  782. Copy the database file to the App_Data folder Select the Data Source type Configure the SELECT statement for the database query Add a GridView control to the form
  783. Configure the SELECT statement for the database query Copy the database file to the App_Data folder Select the Data Source type Add a GridView control to the form
  784. .
  785. .
  786. QUESTION 99
  787. When an ASP.NET application is created, it contains only one file named __________.
  788. . Default.aspx
  789. Index.aspx
  790. Default.htm
  791. Web.config
  792. .
  793. .
  794. QUESTION 100
  795. The following are true about a HyperLink control, except __________.
  796. . its Text property is shown to the user at runtime
  797. it generates an event
  798. it allows the user to navigate to another Web page
  799. its Target property controls whether new page will appear in a separate window
  800.  
  801.  
  802. Download: http://solutionzip.com/downloads/100-mcq-all-of-the-following-are-true-about-standard-modules-except/
Advertisement
Add Comment
Please, Sign In to add comment