MCA-3 Visual Basic
SUBJECT:- Visual Basic 1) Which ANSI characters are used for string concatenation? a) ~ b) + c) & d) # 2) A code module with option 0 has a one dimensional array Strtests() of strings with 14 elements containing Test name. How could you add another Test element to the array? a) Strtests Add(14) b) ReDim Strtests(15) c) ReDim Preserve Strtests(14) d) ReDim Preserve Strtests(15) 3) What are 2 advantages of having more than one workspace in a project? Choose all correct answers. a) Having more than one database object b) Defining different user permission levels c) Having non-nested transactions d) Making the most use of memory 4) You want to capture a key event only with an ASCII character. Which event will do this? a) KeyUp b) KeyPress c) KeyAscii d) KeyDown 5) What will allow you to use the contents of the last row of a listbox named ListTest? a) ListTest.ListCount b) ListTest(ListCount – 1) c) ListTest.List(ListCount) d) ListTest.List(ListCount – 1) 6) What code should ...