Saturday, November 21, 2009
 
 
 IT Quizzes Category



Search Web Link
Search Software
Quizzes Main Page    IT Quizzes    ASP Server Side Include Quiz

ASP Server Side Include Quiz

There are 11 questions in this quiz. Good luck!
Passing grade is 70% = C.
1) Server-Side Includes (also known as SSI) allows you to do what?
       a) Allows you to include server executed code into any ASP application.
       b) Allows you to use one file in several different web pages.
       c) Allows you to use a piece of code more than once.
       d) All of the above


2) The include files can be written in which scripting language?
       a) HTML
       b) JavaScript
       c) VBScript
       d) Perl
       e) All of the above


3) Changing an include file will affect all the pages that link to it such as a navigation bar. Suppose you want certain pages to display a certain navigation bar not available on other pages. Which is the BEST method to do this?
       a) Write a separate include file for those unique pages.
       b) Forget the include file. It is easier to just put the unique menu in using HTML code.
       c) Have the include file test for the type of page and then print out the correct menu.


4) An include file can be saved with a .asp extension.
       a) True
       b) False


5) Which of these page extensions WILL NOT recognize and execute an include file?
       a) .shtml
       b) .shtm
       c) .stm
       d) .html
       e) .asp


6) Which is the correct format of an include statement?
       a) <% '#include virtual="banner.asp" %>
       b) <!-- #include virtual="banner.asp" -->
       c) <-- #include virtual="banner.asp" -->
       d) <-- #include virtual="banner.asp" -->


7) An include file that contains ASP code can be saved with a .inc extension.
       a) True
       b) False


8) Where would you place an include statement that has functions, subroutines and other configuration type of code?
       a) At the beginning to keep the code neat and tidy.
       b) Anywhere in the code where it is actually needed.


9) Lets say that your include file is a piece of code that will print out your navigation menu. Where would you place the include statement?
       a) At the beginning to keep the code neat and tidy
       b) Anywhere in the code where it is actually needed.


10) You are working on a file called index.asp and have put in the include statement below. Where is the include file actually located on the web server? ..<!-- #include file="config\functions.asp" -->
       a) The include file is in the same directory as the file that is requesting it.
       b) The include file is in another directory away from the file that is requesting it.


11) When viewing the source code of a web page, the JavaScript code can be seen and copied; thus, the code is not secure. Since JavaScript and include statements are both written with the same HTML delimiters: <!-- and -->, this also means that the include st
       a) True
       b) False






HOME | ARTICLES | MUSIC | DOWNLOADS | LINK DIRECTORY |  GAMES | TEST-QUIZZES | SITEMAP | ABOUT | HELP
Copyright © 2000 - 2007 Ex-designz. All rights reserved. Website Developed By Dexter Zafra of Myasp-net.com
Link to us | Advertisement | Contact us | Privacy Policy | Terms of use | Accessibility