vi. Which of the following is use to read HTML page and render it? a) Web server b) Web browser c) Web Matrix d) Web cloud vii. What is DOM? a) Application program interface b) Hierarchy of object in ASP c) Convention for representing and interaction with object in html document d) None of the mentioned viii.Which is the storage that allows the caching of web pages and their associated resources? a) Offline web application b) cookies c) Web database d) FileSystem API ix. Which CSS property is used to specify the width of an element? a) Padding b) Margin c) Height d) Width x. XSL is, a) An XML based language to create style sheet b) Extensible solution language c) Extended stylesheet language d) A language which is not in XML Don’t Forget to Follow Uni Bytes Prepared by Uni Bytes / www.unibytes.xyz Don't use our content without permission. Tribhuvan University Faculty of Humanities and Social Science Semester: III Subject: Web Technology 2021 Batch Multiple Choice Questions i. What are empty elements and is it valid? a) No, there is no such term like empty elements b) No,it is not valid to use Empty Element c) Empty elements are elements with no data d) none of the above are element with no data ii. In the three-tier architecture, the intermediate layer between database and client servers is classified as: a) Functional server b) Transaction server c) Application server d) Disk server iii. CSS uses Tilde (~) operator for: a) General sibling selector b) Descendent selector c) Adjacent sibling selector d) Child selector iv. Namespace in XML is used to: a) Distinguishes one XML vocabulary from another b) Provides the spaces into name c) Querying language d) Provide tag name v. By default, session is destroyed on: a) Closing of browser b) Logging out of system c) Session can’t be destroyed d) Clearing all cookies from browser vi. Which of the following is not a type of screen frame in HTML? a) iframe b) noframe c) frameset d) uframe vii. Which protocol is used to transmit data on the WWW? a) FTP b) HTTP c) SMTP d) HTML viii.Which of the following is not a valid XPath expression? a) /hospital/patient b) //patient c) /hospital/patient(2) d) //hospital/patient ix. What is the default username for MySQL database? a) admin b) root c) manager d) There is no default username in MySQL x. Which of the following HTML tags is a special formatting tag? a) b) c) d) Don’t Forget to Follow Uni Bytes Prepared by Uni Bytes / www.unibytes.xyz Don't use our content without permission. Tribhuvan University Faculty of Humanities and Social Science Semester: III Subject: Web Technology 2020 Batch Multiple Choice Questions i. What is the correct syntax for a self-closing tag in XML? a) b) c) < tag/> d) / ii. How can you select an element based on its text content using CSS? a) Using the :contain() pseudo-class b) Using the :text() pseudo-class c) Using the :content() pseudo-class d) None of the above iii. How do you insert a new row into a table in SQL? a) INSERT INTO table_name VALUE(value1, value2, ...) b) ADD INTO table_name VALUES(...) c) CREATE INTO table_name VALUES(...) d) INSERT INTO table_name(column1, column2, ...) VALUES(value1, value2, ...) iv. How can you define a variable in an XQuery query? a) Using the "let" statement b) Using the "declare" statement c) Using the "var" statement d) Using the "define" statement v. How can you create a placeholder text in an input field in HTML5? a) Using the "label" attribute b) Using the "placeholder" attribute c) Using the "title" attribute d) Using the "alt" attribute vi. How do you create a variable in an XSLT stylesheet? a) Using the element b) Using the element c) Using the element d) Using the element vii. What is the purpose of a load balancer in a web application? a) To distribute incoming traffic across multiple servers b) To encrypt and decrypt data c) To store and manage session data d) To store and manage encrypted cookies viii.How do you specify that an element is required in a DTD? a) Using the #COMPULSORY keyword b) Using the #MANDATORY keyword c) Using the #REQUIRED keyword d) Using the #NEEDED keyword ix. What is the default lifetime for a cookie set? a) 1 hour b) 1 day c) 1 week d) The cookie will persist until the browser is closed x. How can you create a radio button input field in an HTML form? a) b) c) d) Don’t Forget to Follow Uni Bytes Prepared by Uni Bytes / www.unibytes.xyz Don't use our content without permission. Tribhuvan University Faculty of Humanities and Social Science Semester: III Subject: Web Technology 2018 Batch Multiple Choice Questions i. Which of the following is not a paired tag? a) b) c) d) ii. When should you use a path along with the file name of a picture in an HTML tag? a) Path is optional and not necessary b) Path is always necessary when inserting image c) When the location of image file and HTML file are different c) When image file and HTML file are in same location iii. Which CSS property will be used if we don't want to allow a floating div to the left side of the element? a) margin b) clear c) float d) padding iv. The most prevalent way to materialize XML documents is to utilize: a) SOAP b) DTD c) XSLT d) EBXML v. ........ are serious errors that require attention but don't stop scripts from executing. a) Fatal Errors b) Notices c) Warnings d) Error Report Level vi. Which of the following explains the nature of cookies? a) Non-volatile b) Volatile c) Intransient d) Transient vii. Which one of the following is the very first task executed by a session-enabled page? a) Delete the previous session b) Check whether a valid session exists c) Start a new session d) Handle the session viii.Which of the following XPath expressions selects the parent of the current node? a) . b) .. c) / d) // ix. Which of the following statements is not true about XML Schema? a) They are used to define the content and structure of data b) They have their own syntax c) They define a set of symbols and their relationships d) They are not XML documents x. DOM represents a web page in ...........? a) Hash table structure b) Tree structure c) Dynamic structure d) Recursive structure Don’t Forget to Follow Uni Bytes