[3] Which of the following lines of code will open a
sequential text file (MyFile.txt which is located on
floppy disk)?
(a) FileOpen(1, “A:MyFile.txt”, OpenMode.Input)
(b) FileOpen (1, “A:MyFile.txt”, LOF, OpenMode.Input)
(c) System.IO(“A:MyFile.txt”, Len, Mode = Open; 1)
(d) System.IO(“A:MyFile.txt”, CharCount, Mode.Input
[17] What character precedes the region
keyword for defining a region?

(a) [+]
(b) <
(c) {
(d) #
[5] Which of the following is not a new feature
of VB.NET:

(a) COM
(b) Garbage Collection
(c) MSIL
(d) Structured Exception Handling
[11] The area at the top of a standard code
window in which variables can be declared is
known as the?

(a) Variable Declaration Area
(b) General Declaration Area
(c) Variables Region
(d) Module
[21] You create a variable using a[n]:

(a) Variable statement
(b) Option statement
(c) Declaration statement
(d) Assignment statement

Mcq sample

  • 1.
    [3] Which ofthe following lines of code will open a sequential text file (MyFile.txt which is located on floppy disk)? (a) FileOpen(1, “A:MyFile.txt”, OpenMode.Input) (b) FileOpen (1, “A:MyFile.txt”, LOF, OpenMode.Input) (c) System.IO(“A:MyFile.txt”, Len, Mode = Open; 1) (d) System.IO(“A:MyFile.txt”, CharCount, Mode.Input
  • 2.
    [17] What characterprecedes the region keyword for defining a region? (a) [+] (b) < (c) { (d) #
  • 3.
    [5] Which ofthe following is not a new feature of VB.NET: (a) COM (b) Garbage Collection (c) MSIL (d) Structured Exception Handling
  • 4.
    [11] The areaat the top of a standard code window in which variables can be declared is known as the? (a) Variable Declaration Area (b) General Declaration Area (c) Variables Region (d) Module
  • 5.
    [21] You createa variable using a[n]: (a) Variable statement (b) Option statement (c) Declaration statement (d) Assignment statement