Saturday, November 21, 2009
Link Dir
Download
Resources
Music
Home
IT Quiz Menu
Quizzes Home Page
General Quizzes and Trivia
PC Troubleshooting
Networking Guide
Info Tech Glossary
Code Bank
Web Development
IT Quizzes Category
ASP
ASP 2
ASP ADO
ASP Server Side Include
ASP.NET
C# .NET
CISCO-CCNA
Computer Hardware
Computer Technolgy
Computer Trivia
CSS
Database Management
HTML
IIS 6 Administration
Java
JavaScript
Javascript Fundamental
Linux
MCSE 70-291
Network Plus
Networking
Networking 2
OSI Model
PERL
PHP
Project Management
Search Engine Optimization
Server Administrator
SQL
SQL Advanced
SQL Server Administration
VB.NET
Web Designer
Windows 2000 Server
Windows 2003 Server Adminstration
XHTML
XML
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
E-mail this Quiz to a friend
Bookmark this Quiz