programming language

  Dazza40 18:13 22 Jun 2007
Locked

hi,

I have an interview next week and as I have no experience i have been given some questions to answer. I am looking for a site that I can do some howmework on so that I can build up a basic knowledge on ASP SQL and Javascript.
The question I have are

What language are the following functions written in & what do they do ?

CREATE PROCEDURE usp_i_Audience_nrs

(@vchrAudience varchar(35),

@intAudienceId int Output) AS

IF NOT EXISTS(SELECT 'True' FROM tblAudiences WHERE vchrAudience = @vchrAudience)

BEGIN

INSERT INTO [Dbo].[tblAudiences] (

[vchrAudience])

VALUES

(@vchrAudience)

SELECT @[email protected]@Identity

END

Language

ASP

SQL

Javascript Purpose


Function ??????????(str)

Dim retVal

Select Case True

Case str = "-- Please Select --"

retVal = "'"

Case IsDate(str) and LEN(str) >7

retVal = "'" & FormatDateTime(str, vbLongDate) & "'"

Case ""

retVal = "Null"

Case Else

retVal = "'" & Replace(str,"'", "'") & "'"

End Select

??????????? = retVal

End Function

Language

ASP

SQL

Javascript Purpose


function insertAddress(){

var str=document.frm.strAddresses[document.frm.strAddresses.selectedIndex].value

document.frm.r_address.value = str

}

Language

ASP

SQL

Javascript Purpose


function ????????(objRadio)

{

var retVal = false;

for (i = 0; i objRadio.length; i++)

{

if (objRadio[i].checked)

retVal = true;

}

return retVal;

}

Language

ASP

SQL

Javascript Purpose


There are two problems with the following line of code. Can you identify them ?

html>
body>
%
response.print(" h2>You can use HTML tags to format the text! ")
%>

/body>
/html>

If you know the answers, great but I also want to build up my knowledge.

Any help would be welcome.

Cheers

Daz

  Dazza40 17:37 23 Jun 2007

anyideas?

  freaky 20:08 23 Jun 2007

It would appear that (whoever they are) think you have experience, hence the questions !

  recap 20:24 23 Jun 2007

click here it may help you?

  Dazza40 20:46 23 Jun 2007

I think that's the point. The manager has vast and I mean vast experience.
The others applying state they have experience so they will be tested on the day.

My test as I have no knowledge at all is to see what I can find out.

So fay my answers are
SQL
ASP
Javascript
Javascript

  Dazza40 21:12 26 Jun 2007

any receommendations for some background reading sites/tutorials for
ASP
SQL or
Javascript?

Thanks


Dazza

  recap 21:27 26 Jun 2007

click here ASP tutorials for beginners.

click here SQL online course material

click here for Java Script for beginners.

  Dazza40 21:36 26 Jun 2007

Cheers,
But the first 2 links do not work. Can you check for me?

  bluto1 22:09 26 Jun 2007

Good luck on your interview.

  Dazza40 22:21 26 Jun 2007

I'll need it.

Anybody got any views on my answers above?

This thread is now locked and can not be replied to.

Elsewhere on IDG sites

Xiaomi Mi Mix 2 review

What went wrong at the Designs of the Year 2017

iPhone X news: Release date, price, new features & specs

Comment utiliser Live Photos ?