Top 50+ Solved .NET Programming MCQ Questions Answer

From 31 to 45 of 49

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

  • d. B AND B

Q. Which operator is evaluated first?

a. NOT

b. AND

c. XOR

d. OR

  • a. NOT

Q. Which is a type of procedure found in VB.Net?

a. Event

b. Function

c. Sub

d. All of the above.

  • d. All of the above.

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.

  • 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

  • b. Length

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.

  • 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

  • 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.

  • b. PrintPreview

Q. Which is not an ADO.NET DataAdapter Object?

a. OleDbDataAdapter

b. SQLDataAdapter

c. QueryDataAdapter

d. Both a and b.

  • c. QueryDataAdapter

Q. Where does a web application reside?

a. Web client

b. Web server

c. Visual Studio .NET

d. Both a and b.

  • b. Web server

Q. Which is an example of a web document?

a. Server script

b. Web page

c. Client browser

d. Both a and b.

  • 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.

  • d. Both a and b.

Q. Which is the file extension used for an ASP.NET file?

a. asn

b. asp

c. aspn

d. aspx

  • d. aspx
Subscribe Now

Get All Updates & News