Top 50+ Solved .NET Programming MCQ Questions Answer
Q. With A = False and B = True, which statement evaluates as True?
a. A AND A
b. A AND B
c. B AND A
d. B AND B
Q. A sub procedure is valuable because it:
a. makes code easier to maintain.
b. splits the logic to solve a problem into small, manageable units.
c. limits the number of times the code can be accessed.
d. Both a and b.
Q. Which method will return the number of elements in an array?
a. Dimension
b. Length
c. Number
d. Size
Q. What is required to reference an element in an array?
a. Array name
b. Index value of the element
c. Element value
d. Both a and b.
Q. Which method will arrange the elements of an array in alphabetical order?
a. Arrange
b. Assemble
c. Order
d. Sort
Q. Which dialog control allows the user to zoom in on a document?
a. PrintDialog
b. PrintPreview
c. PageSetupDialog
d. Both a and b.
Q. Which is not an ADO.NET DataAdapter Object?
a. OleDbDataAdapter
b. SQLDataAdapter
c. QueryDataAdapter
d. Both a and b.
Q. Where does a web application reside?
a. Web client
b. Web server
c. Visual Studio .NET
d. Both a and b.
Q. Which is an example of a web document?
a. Server script
b. Web page
c. Client browser
d. Both a and b.
Q. A postback occurs when:
a. a browser posts a form to the server.
b. a user’s action activates the handing of a server event.
c. a server posts a form to the client.
d. Both a and b.