GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Microsoft  >  ASP
Go To First  |  Previous Question  |  Next Question 
 ASP  |  Question 83 of 147    Print  
<%@ Language=VBScript %>
<%If false then>
<!-- #INCLUDE FILE="FunctionOne.inc"-->
<%Else>
<!-- #INCLUDE FILE="FunctionTwo.inc"-->
<%End If>
What would the above code load?
A. Only the FunctionTwo.inc file into the ASP page.
B. Both files, since Server Side Includes are processed before ASP interpreting.
C. Only the FunctionOne.inc file into the ASP page.
D. Neither file, since Server Side Includes are processed before ASP interpreting.
E. Neither file, since the #INCLUDE statements are commented out.



  
Total Answers and Comments: 7 Last Update: March 11, 2008   
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
June 29, 2005 15:19:33   #1  
Mubeen        

RE: <%@ Language=VBScript %> <%If false then> <!-- #INCLUDE FILE="FunctionOne.inc"--> ...
Answer is E.
 
Is this answer useful? Yes | No
February 21, 2006 22:41:58   #2  
Rana        

RE: <%@ Language=VBScript %> <%If false t...
Answer is B bez includes are processed before ASP interpreting
 
Is this answer useful? Yes | No
January 22, 2007 05:33:11   #3  
Yogita        

RE: <%@ Language=VBScript %> <%If false t...
ans is A i used this code in my page
 
Is this answer useful? Yes | No
March 11, 2007 17:52:29   #4  
Siva K Reddy        

RE: <%@ Language=VBScript %> <%If false t...
Answer is A
 
Is this answer useful? Yes | No
March 21, 2007 04:48:14   #5  
Renjith        

RE: <%@ Language=VBScript %> <%If false t...
answer is B
 
Is this answer useful? Yes | No
March 11, 2008 07:18:36   #6  
subrataadhyaroy Member Since: March 2008   Contribution: 5    

RE: <%@ Language=VBScript %> <%If false then> <!-- #INCLUDE FILE="FunctionOne.inc"--> <%Else> <!-- #INCLUDE FILE="FunctionTwo.inc"--> <%End If> What would the above code load?
Ans is A
 
Is this answer useful? Yes | No
March 11, 2008 12:09:26   #7  
jbanx Member Since: February 2007   Contribution: 38    

RE: <%@ Language=VBScript %> <%If false then> <!-- #INCLUDE FILE="FunctionOne.inc"--> <%Else> <!-- #INCLUDE FILE="FunctionTwo.inc"--> <%End If> What would the above code load?
Answere is A the reason is that when the if condition is check the boolean result in this case the result is false so it will go to else part and include the FunctionTwo.inc.

Thanks
Jai

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape