This set of Visual Basic Multiple Choice Questions & Answers (MCQs) focuses on “Web Applications”.
1. A ________ is a special computer that serves webpages.
Explanation: A server is a computer program that provides services to other computer programs (and their users) in the same or other computers. The computer that a server program runs in is also frequently referred to as a server. That machine may be a dedicated server or used for other purposes as well.
2. A _______ computer requests web pages from the server.
Explanation: A given application in a computer may function as a client with requests for services from other programs and also as a server of requests from other programs.
3. A ________ web page is not interactive and is used to display information only.
Explanation: A static web page (sometimes called a flat page/stationary page) is a web page that is delivered to the user exactly as stored, in contrast to dynamic web pages which are generated by a web application.
4. A ________ web page is not interactive and is used to display information only.
Explanation: A dynamic web page is a web page that displays different content each time it’s viewed. For example, the page may change with the time of day, the user that accesses the webpage, or the type of user interaction.
5. ASP is a ________ language that tells the client’s browser how to render the page on the computer screen.
c) Structured Query
d) Data storage
Explanation: An Active Server Page (ASP) is an HTML page that includes one or more scripts (small embedded programs) that are processed on a Microsoft Web server before the page is sent to the user. An ASP is somewhat similar to a server-side include or a common gateway interface (CGI) application in that all involve programs that run on the server, usually tailoring a page for the user. Typically, the script in the Web page at the server uses input received as the result of the user’s request for the page to access data from a database and then builds or customizes the page on the fly before sending it to the requestor.
6. Text that cannot be changed by the user is termed as _____ text.
Explanation: Static text is the standard type of text. Static text is used when you need to add text to the Stage, Buttons or any text that doesn’t need to change or load from an external source. Static implies that the text content (words) does not change not that it is Static.
7. The first webpage added to an application is the _______ page.
Explanation: The first webpage added to an application is the default.aspx page. You can create any sort of application in that page. If the first webpage is the home page, you can name it as home.aspx.
8. _______ property sets the border of an image.
Explanation: Border property sets border of an image. You can set border width , border style etc, using this property.
9. _______ initializes a new instance of Line class.
Explanation: Line() is a consrtructor that initializes a new instance of a Line class. It has properties such as ActualHeight, ActualWidth etc.
10. The background color of a Web page is determined by the ______ property.
Explanation: Bgcolor is used to define the background colour of a web page. You can set the Bgcolor by giving the colour name or by giving hex such as Bgcolour =”FFFF”.
Sanfoundry Global Education & Learning Series – Visual Basic.
To practice all areas of Visual Basic, here is complete set of 1000+ Multiple Choice Questions and Answers.
Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!