Web Development Fundamentals 1

Approved & Edited by ProProfs Editorial Team
The editorial team at ProProfs Quizzes consists of a select group of subject experts, trivia writers, and quiz masters who have authored over 10,000 quizzes taken by more than 100 million users. This team includes our in-house seasoned quiz moderators and subject matter experts. Our editorial experts, spread across the world, are rigorously trained using our comprehensive guidelines to ensure that you receive the highest quality quizzes.
Learn about Our Editorial Process
| By Philanderson888
P
Philanderson888
Community Contributor
Quizzes Created: 7 | Total Attempts: 7,433
Questions: 25 | Attempts: 2,883

SettingsSettingsSettings
Web Development Fundamentals 1 - Quiz


Questions and Answers
  • 1. 

    Which ASP command sends a web page to another web page but keeps the URL the same?

    • A.

      Session["URL"]

    • B.

      Response.Redirect("URL")

    • C.

      Server.Transfer("URL")

    Correct Answer
    C. Server.Transfer("URL")
    Explanation
    The correct answer is Server.Transfer("URL"). This ASP command transfers control from one web page to another while keeping the URL the same. It is useful when you want to navigate to another page but maintain the original URL for various reasons, such as maintaining the user's context or hiding sensitive information. Unlike Response.Redirect, which performs a client-side redirect and changes the URL in the browser, Server.Transfer is a server-side transfer that maintains the original URL in the address bar.

    Rate this question:

  • 2. 

    Which ASP command allows easy navigation between web pages in a web site?  The URL which the user sees changes also for each web page.

    • A.

      Convert.ToString(number)

    • B.

      Response.Redirect("URL")

    • C.

      Server.Transfer("URL")

    • D.

      Data Validation

    Correct Answer
    B. Response.Redirect("URL")
    Explanation
    The correct answer is Response.Redirect("URL"). This ASP command allows easy navigation between web pages in a web site by redirecting the user to a different URL. This means that the URL which the user sees changes for each web page, providing a seamless browsing experience.

    Rate this question:

  • 3. 

    What are four ways of navigating to another web page in ASP?

    • A.

      Cross-page posting using PostBackURL

    • B.

      Response.Redirect("URL")

    • C.

      Response.Write("URL")

    • D.

      Server.Transfer("URL")

    • E.

      Response.Write("a href="URL">click here")

    • F.

      Server.Write("a href="URL">click here")

    Correct Answer(s)
    A. Cross-page posting using PostBackURL
    B. Response.Redirect("URL")
    D. Server.Transfer("URL")
    E. Response.Write("a href="URL">click here")
    Explanation
    The question asks for four ways of navigating to another web page in ASP. The correct answer includes four options: Cross-page posting using PostBackURL, Response.Redirect("URL"), Server.Transfer("URL"), and Response.Write("a href="URL">click here"). These methods allow for different ways of redirecting the user to another web page in ASP.

    Rate this question:

  • 4. 

    Which is a server-side technology that allows tracking of data for all users of an application?

    • A.

      View State

    • B.

      Session State

    • C.

      Control State

    • D.

      Application State

    Correct Answer
    D. Application State
    Explanation
    Application State is a server-side technology that allows tracking of data for all users of an application. It stores data that is accessible across multiple sessions and users, making it suitable for scenarios where shared data needs to be maintained. Unlike Session State, which is specific to individual users, Application State can be accessed and modified by all users of the application. This makes it useful for storing global information such as application settings, user preferences, or any other data that needs to be shared among users. Control State and View State, on the other hand, are specific to individual controls and user sessions respectively.

    Rate this question:

  • 5. 

    Which is a client-side technology that saves data on a web page between refreshes?  It saves the state of the form and controls between postback page refreshes.

    • A.

      Application State

    • B.

      Control State

    • C.

      View State

    • D.

      Session State

    Correct Answer
    C. View State
    Explanation
    View State is a client-side technology that saves data on a web page between refreshes. It is used to save the state of the form and controls between postback page refreshes. View State allows the web page to retain its state and data, providing a seamless user experience without losing any inputted information.

    Rate this question:

  • 6. 

    Which technology is a client-side technology and allows a control to continue functioning even when the ViewState property is turned off?

    • A.

      Session State

    • B.

      Control State

    • C.

      Application State

    • D.

      View State

    Correct Answer
    B. Control State
    Explanation
    Control State is a client-side technology that allows a control to continue functioning even when the ViewState property is turned off. Control State is similar to ViewState, but it is independent of ViewState and is used to persist control-specific data. It is useful when the control's state needs to be maintained even if the ViewState is disabled or cleared. Control State ensures that the control's data is retained across postbacks, providing a reliable and consistent user experience.

    Rate this question:

  • 7. 

    What alters the layout of a web page?

    • A.

      XML

    • B.

      XHTML

    • C.

      CSS

    • D.

      JavaScript

    • E.

      HTML

    Correct Answer
    C. CSS
    Explanation
    CSS (Cascading Style Sheets) is responsible for altering the layout of a web page. It is a style sheet language used to describe the presentation of a document written in HTML or XML. With CSS, web designers can control the appearance of various elements on a web page, such as fonts, colors, margins, and positioning. By applying CSS rules to HTML elements, the layout and visual presentation of the web page can be customized and modified according to specific design requirements.

    Rate this question:

  • 8. 

    Which image tag is required for strict XHTML compliance?  It specifies text to be displayed whilst the image is loading which shows on the web page particularly if there is a slow connection and the image takes a long time to load

    • A.

      Jpg

    • B.

      Img

    • C.

      Src

    • D.

      Alt

    Correct Answer
    D. Alt
    Explanation
    The "alt" attribute is required for strict XHTML compliance. This attribute specifies alternative text to be displayed in case the image cannot be loaded or if the user is using a screen reader. It is important for accessibility purposes and helps improve the user experience for those with visual impairments or slow internet connections.

    Rate this question:

  • 9. 

    Which technologies can be used to initialise variables etc on a page? (Select Four)

    • A.

      Global.asax

    • B.

      Page_Load

    • C.

      Application_Start

    • D.

      DTD Validation

    • E.

      Session_Start

    Correct Answer(s)
    A. Global.asax
    B. Page_Load
    C. Application_Start
    E. Session_Start
    Explanation
    The correct answer is Global.asax, Page_Load, Application_Start, Session_Start. These technologies can be used to initialize variables on a page. Global.asax is a file that contains events for the application's lifecycle, including Application_Start and Session_Start. Page_Load is an event that occurs when a page is loaded, and it can be used to initialize variables. Application_Start is an event that occurs when the application starts, and it can be used to initialize application-level variables. Session_Start is an event that occurs when a new user session starts, and it can be used to initialize session-level variables.

    Rate this question:

  • 10. 

    Which is a read-only control that a user cannot modify directly, but the contents of which may be changed programatically if required?

    • A.

      ListBox

    • B.

      TextBox

    • C.

      Label

    • D.

      ComboBox

    Correct Answer
    C. Label
    Explanation
    A label is a read-only control that a user cannot modify directly. It is typically used to display text or information that does not require user input. Although the user cannot edit the label's contents, the contents can be changed programmatically if needed. Therefore, a label fits the description of a read-only control that can be modified programmatically.

    Rate this question:

  • 11. 

    What is used to make sure the user input is correct?

    • A.

      XHTML

    • B.

      Validation

    • C.

      Cross-page posting

    • D.

      Javascript

    Correct Answer
    B. Validation
    Explanation
    Validation is used to ensure that user input is correct. This process involves checking the input data against specified rules or constraints to ensure its accuracy and integrity. By validating user input, errors and inconsistencies can be detected and prevented, improving the overall reliability and usability of the system.

    Rate this question:

  • 12. 

    Which has stricter standards of coding?

    • A.

      CSS

    • B.

      HTML

    • C.

      XHTML

    Correct Answer
    C. XHTML
    Explanation
    XHTML has stricter standards of coding compared to CSS and HTML. XHTML is a stricter version of HTML, following stricter rules and guidelines. It requires well-formed and valid code, meaning that all elements must be properly nested and closed, and attribute values must be enclosed in quotes. This strictness ensures consistency and compatibility across different browsers and devices, making XHTML a preferred choice for developers who prioritize code quality and adherence to standards.

    Rate this question:

  • 13. 

    What allows data to be sent between a web page and a server without fully refreshing the web page?

    • A.

      DOM Document Object Model

    • B.

      JavaScript

    • C.

      AJAX

    • D.

      Session State

    Correct Answer
    C. AJAX
    Explanation
    AJAX (Asynchronous JavaScript and XML) allows data to be sent between a web page and a server without fully refreshing the web page. It is a combination of technologies including JavaScript, XML, and HTTP requests. With AJAX, web pages can make asynchronous requests to the server, retrieve data in the background, and update parts of the web page dynamically without the need for a full page reload. This enhances the user experience by providing smooth and responsive interactions on the web page.

    Rate this question:

  • 14. 

    What is the name given to the library of all items stored in .NET?

    • A.

      AJAX

    • B.

      FCL Framework Class Library

    • C.

      JQuery

    • D.

      DLL Dynamic Link Library

    Correct Answer
    B. FCL Framework Class Library
    Explanation
    The correct answer is FCL Framework Class Library. The FCL, or Framework Class Library, is a library of pre-built code that is included with the .NET framework. It provides a wide range of classes and functions that developers can use to build applications. The FCL includes classes for tasks such as file input/output, networking, database access, and user interface development. It serves as a foundation for .NET development and allows developers to quickly and easily access and utilize common functionality without having to write all the code from scratch.

    Rate this question:

  • 15. 

    Which tool can be used to manage a website???

    • A.

      HTML Hypertext Markup Language

    • B.

      WSAT Website Administration Tool

    • C.

      SQL Structured Query Language

    • D.

      ASP Active Server Pages

    Correct Answer
    B. WSAT Website Administration Tool
    Explanation
    The WSAT Website Administration Tool can be used to manage a website. This tool provides a user-friendly interface for managing various aspects of a website, such as user accounts, roles, and security settings. It allows website administrators to easily add, edit, and delete users, assign roles and permissions, and configure website settings. This tool is particularly useful for managing websites built on the ASP.NET framework.

    Rate this question:

  • 16. 

    Which command is used to link an ASP.NET web page with a programming language eg C# so that C# commands are executed and linked to buttons and other controls on the web page?

    • A.

      Cross Page Posting

    • B.

      AutoEvent Wireup

    • C.

      Postback

    • D.

      Visual Studio

    Correct Answer
    B. AutoEvent Wireup
    Explanation
    AutoEvent Wireup is the correct answer because it is a feature in ASP.NET that allows the automatic wiring up of event handlers to the corresponding events in the code-behind file. This means that when a button or control is clicked on the web page, the associated C# code will be executed without the need for explicit event handler assignment. It simplifies the process of linking C# commands to buttons and controls on the web page, making development easier and more efficient.

    Rate this question:

  • 17. 

    Which technology can be used like a database but read by any text editor?

    • A.

      XML

    • B.

      HTML

    • C.

      CSS

    • D.

      JavaScript

    Correct Answer
    A. XML
    Explanation
    XML can be used like a database but read by any text editor. XML stands for Extensible Markup Language and is a markup language that is designed to store and transport data. It is a text-based format that uses tags to define elements and their attributes. XML can be easily read and edited using any text editor, making it a versatile technology for storing and exchanging data. HTML, CSS, and JavaScript are also web technologies but they are not typically used as databases and may not be as easily readable in a text editor.

    Rate this question:

  • 18. 

    When HTML code is written to a structured, XML structure  what is the technology called?

    • A.

      AJAX

    • B.

      XHTML

    • C.

      HTML5

    • D.

      JQuery

    Correct Answer
    B. XHTML
    Explanation
    XHTML stands for Extensible Hypertext Markup Language. It is a stricter and more structured version of HTML that follows the rules of XML. When HTML code is written in a structured, XML-like manner, it is referred to as XHTML. This allows for better organization and compatibility with XML-based technologies. AJAX, HTML5, and JQuery are not specifically related to writing HTML code in a structured XML structure.

    Rate this question:

  • 19. 

    Which two objects can be used to read and write XML data eg to a text file?

    • A.

      XHTML

    • B.

      XML

    • C.

      XMLReader

    • D.

      XMLWriter

    Correct Answer(s)
    C. XMLReader
    D. XMLWriter
    Explanation
    XMLReader and XMLWriter are both objects that can be used to read and write XML data to a text file. XMLReader is used for reading XML data, allowing the user to navigate through the XML structure and extract the required information. XMLWriter, on the other hand, is used for writing XML data, allowing the user to create and modify XML documents by adding elements, attributes, and values. Both objects are commonly used in XML processing to handle the input and output of XML data.

    Rate this question:

  • 20. 

    How many top-level elements can an XML document contain?

    • A.

      0

    • B.

      1

    • C.

      2

    • D.

      Unlimited

    Correct Answer
    B. 1
    Explanation
    An XML document can contain only one top-level element. This is because XML follows a hierarchical structure where all elements must be nested within a single root element. Therefore, there can only be one element at the highest level in an XML document.

    Rate this question:

  • 21. 

    What can be used to create XML rules to force data to adhere to certain standards and structure?

    • A.

      Black Box Testing

    • B.

      DTD Validation (Document Type Definition)

    • C.

      Input Validation

    • D.

      User Validation

    Correct Answer
    B. DTD Validation (Document Type Definition)
    Explanation
    DTD Validation (Document Type Definition) can be used to create XML rules to force data to adhere to certain standards and structure. DTD is a set of rules that defines the structure and elements of an XML document. It specifies the allowed elements, their order, attributes, and data types. By validating XML against a DTD, it ensures that the data follows the defined rules and meets the required standards and structure.

    Rate this question:

  • 22. 

    When an HTML or XHTML document passes validation eg at http://validator.w3.org/ it is said to be ...... ....

    • A.

      Correct

    • B.

      Well formed

    • C.

      Structured Query Language

    • D.

      Web based language

    Correct Answer
    B. Well formed
    Explanation
    When an HTML or XHTML document passes validation, it is said to be "well-formed". This means that the document follows the syntax rules and guidelines set by the HTML or XHTML specifications. A well-formed document is free from syntax errors and can be parsed correctly by web browsers or other HTML processors. It ensures that the document is structured correctly and all elements are properly nested and closed.

    Rate this question:

  • 23. 

    What is used to define the structure of an XML document, in a more advanced way than DTD Document Type Definition Validation?

    • A.

      HTML5

    • B.

      XHTML

    • C.

      CSS

    • D.

      XML Schema

    Correct Answer
    D. XML Schema
    Explanation
    XML Schema is used to define the structure of an XML document in a more advanced way than DTD validation. XML Schema provides a more comprehensive and powerful set of tools for defining the structure, data types, and constraints of XML documents. It allows for more precise validation and enables the definition of complex data structures, data types, and relationships between elements. Unlike DTD, XML Schema supports features like data typing, namespaces, and regular expressions, making it a more robust and flexible choice for validating XML documents.

    Rate this question:

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Aug 19, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Jul 12, 2013
    Quiz Created by
    Philanderson888
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.