Which of the following operations will this code perform?
Consider the following PHO script:
$userNAME = “DR King”
Which of the following operations will this code perform?
which statement permits the programmer to use custom error-handling code in an ASP script?
In VBScript, which statement permits the programmer to use custom error-handling code in an
ASP script?
What function does the ‘while’ statement perform in this code?
Consider the following ASP code:
<%
pos = Instr(s, “”)
While pos > 0
s = Mid(s, 1,pos) & “” & Mid(s,pos+1)
pos = InStr(pos+2, s, “”)
Wend
%>
What function does the ‘while’ statement perform in this code?
Which one of the following statements will open the file /etc/passwd for reading?
Which one of the following statements will open the file /etc/passwd for reading?
How should Ann rewrite the third line of code to correct the errors in that line?
Ann wrote the following ASP code:
<%
For i=0 to rs.Fields.Count -1
Response,Write(<td>)
S=Trim(cStr(rs,Fields (i).Name & ))
Response,Write(<b>” & S & “</b>)
Response,Write(</td>)
Next
%>
She is having difficulty debugging the program.
How should Ann rewrite the third line of code to correct the errors in that line?
How should Mr. King rewrite the first line to correct the errors in that line?
Mr. King is trying to correct the following ASP code:
<%
If len(S)=0 Then(S)=’ ’
If i=0 then
Response.Write(‘ <a hrep = AspADO2.asp’?’AUID=’ & S & ‘>’ & s & ‘</a>’)
else
Reponse.Write(S)
end if
%>
How should Mr. King rewrite the first line to correct the errors in that line?
What function does the ‘if’ statement perform in this code?
Consider the following ASP code:
<%
If QuantityStatus = None Then
ObjectContext.SetAbort
Response.Write “Sorry, there is not sufficient quantity on hand to process your sale.”
Else
ObjectContext.SetComplete
Account = Request.Form(“AccountIn”)
Salesupdate = CurrentSales.PostIt(AccountIn)
End if
%>
What function does the ‘if’ statement perform in this code?
which of the following?
Hans has been working on a project for this company for several months. Over time, the project
cost have risen, and the size of the project has steadily grown.
Hans’s project is experiencing which of the following?
Where will the array index begin counting?
Where will the array index begin counting?
Which code should he use for the first line used to construct the component?
Urban wants to create a component on his ASP pages.
Which code should he use for the first line used to construct the component?