eQuiz - Bài kiểm tra trắc nghiệm về ASP Server Side Include

Quản Trị Mạng - Chào mừng các bạn đến với series bài kiểm tra trắc nghiệm của Quản Trị Mạng với những chủ đề có liên quan đến các lĩnh vực của công nghệ thông tin. Và lần này chúng ta sẽ tiếp tục với bài kiểm tra kiến thức về ASP Server Side Include - SSI, tổng cộng sẽ có 11 câu hỏi với thời gian trả lời mỗi câu là không hạn chế.

Chúc các bạn trả lời được nhiều câu hỏi

  • 1. Server-Side Includes (also known as SSI) allows you to do what?
    • Allows you to include server executed code into any ASP application.
    • Allows you to use one file in several different web pages.
    • Allows you to use a piece of code more than once.
    • All of the above
  • 2. The include files can be written in which scripting language?
    • HTML
    • JavaScript
    • VBScript
    • Perl
    • 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?
    • Write a separate include file for those unique pages
    • Forget the include file. It is easier to just put the unique menu in using HTML code.
    • 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?
    • True
    • False
  • 5. Which of these page extensions WILL NOT recognize and execute an include file?
    • .shtml
    • .shtm
    • .stm
    • .html
    • .asp
  • 6. Which is the correct format of an include statement?
    • <% '#include virtual="banner.asp" %>
    • <!-- #include virtual="banner.asp" -->
    • <-- #include virtual="banner.asp" -->
  • 7. An include file that contains ASP code can be saved with a .inc extension?
    • True
    • False
  • 8. Where would you place an include statement that has functions subroutines and other configuration type of code?
    • At the beginning to keep the code neat and tidy
    • 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?
    • At the beginning to keep the code neat and tidy
    • 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\function.asp" -->
    • The include file is in the same directory as the file that is requesting it
    • 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
    • True
    • False
Thứ Tư, 01/07/2020 16:47
52 👨 804
0 Bình luận
Sắp xếp theo
    ❖ Quiz công nghệ