randFromArray(['statements','examples'])
function() {
if (statementsOrExamples == 'statements') {
var sequence = ['Give invitation signal to converse',
'Respond with signal to accept invitation',
'Exchange conversation',
'Give signal to end conversation',
'Respond with signal to end conversation'];
hintInfo1.push('Establishing a face-to-face conversation typically begins with one party giving an invitation signal to converse. The invited party returns an acceptance signal that they are willing to engage. Signalling complete, the conversation exchange begins. When ready, one party signals to the other he is done - a signal typically acknowledged by the other party');
}
else {
var sequence = ['“Hey Nath… ”',
'“What\'s up?”',
'“How do you change the… “ “Go to settings...” ',
'“Thanks. Bye”',
'“My pleasure. Bye”'];
hintInfo1.push('The structure of a face-to-face conversation might be something like... Dave: " Hey Nath..." \(invitation signal\), Nath: "What?" \(acceptance signal\), Dave: "How do I change the...", Nath: "Go to settings..." \(conversation exchange\), Dave: "Thanks. Bye" \(termination signal\), Nath: "OK. Bye" \(acknowledge termination signal\)');
}
return sequence;
} ()
randFromArray(['next', 'previous'])
''
''
''
''
function () {
if (beforeOrAfter == 'previous') {
focusStatementArrayPosition = randRange(1, arrayOfSequencedStatements.length-1);
answerStatementArrayPosition = focusStatementArrayPosition-1;
}
else {
focusStatementArrayPosition = randRange(0, arrayOfSequencedStatements.length-2);
answerStatementArrayPosition = focusStatementArrayPosition+1
}
focusStatement = arrayOfSequencedStatements[focusStatementArrayPosition];
answerStatement = arrayOfSequencedStatements[answerStatementArrayPosition];
var listOfStatements_WithoutFocusStatement = [];
for (i=0; i < arrayOfSequencedStatements.length; i++) {
if (i != focusStatementArrayPosition) {
listOfStatements_WithoutFocusStatement.push(arrayOfSequencedStatements[i]);
}
}
return listOfStatements_WithoutFocusStatement;
} ()
SS.img('//s3.amazonaws.com/cdn.calibrae.com/sipsense/exercise_images/1.1-1-' + focusStatementArrayPosition + '.png', {width: 500})
A face-to-face conversation typically begins and ends with words or gestures that signal intent.
Relative to focusStatement, what is beforeOrAfter in the sequence?
answerStatement
hintInfo1[0]
beforeOrAfter: answerStatement
{
signaling: [
'"Excuse me..."',
'"Hi"',
'"I\'m off. Bye"',
'"OK. Bye"'
],
conversation: [
'"It will be ready tomorrow..."',
'"I found it"',
'"What time is the game?"',
'"I\'ll be there at six"'
]
}
Object.keys(setofProperties)
KhanUtil.randFromArray(arrayOfPropertyNames)
''
function () {
var answer_Options = [''];
if (nameOfFocusProperty == 'signaling') {
answer_Options = setofProperties.signaling;
answer = KhanUtil.randFromArray(setofProperties.conversation);
answer_Options.push(answer);
}
else {
answer_Options = setofProperties.conversation;
answer = KhanUtil.randFromArray(setofProperties.signaling);
answer_Options.push(answer);
}
hintInfo2.push('Examples of signals to begin a conversation might include: "Excuse me, but..." and "Hi". Examples of signals to end a conversation might incude: "I\'m off. Bye" and "OK. Bye". Examples of conversation type exchange are "It will be ready tomorrow", "I found it", "What time is the game?", "I\'ll be there at six"');
return shuffle(answer_Options);
} ()
The exchange in a typical face-to-face conversation begins and ends with signaling type phrases, with conversation (or media) type phrases in between
Most phrases in the Answer list represent nameOfFocusProperty phrases. Which one does not?
SS.img('//s3.amazonaws.com/cdn.calibrae.com/sipsense/exercise_images/1.1-1-5.png', {width: '100%'})
answer
hintInfo2[0]
The phrase which does not represent nameOfFocusProperty is answer
[
"Hey Dave…",
"Yes?",
"I’m going now. Bye.",
"OK. Bye."
]
[
"Did you hear about…",
"What time are you going to...",
"Do you mind if I use your...",
"Are you ready for..."
]
function(){
var total = 4;
var numFromFirst = randRange(0, total);
console.warn(numFromFirst);
var first = SS.Random.uniqueFromArray(trueOptions, numFromFirst);
var second = SS.Random.uniqueFromArray(falseOptions, total - numFromFirst);
return shuffle(first.concat(second));
}()
A face-to-face discussion typically begins and ends with signaling phrases, with conversation / media phrases in between
Sort the items as signalling or 'conversation' media. Drag items to the relevant categories.
Signalling
SS.Displayer.arrayToHTML(selection).draggable()
Media
trueOptions
Signalling phrases include 'trueOptions[0]', 'trueOptions[1]', 'trueOptions[2]' and 'trueOptions[3]'
Media/conversation phrases include 'falseOptions[0]', 'falseOptions[1]', 'falseOptions[2]' and 'falseOptions[3]'
{
's1': {
sentence: 'SIP defines how one party ________ the other.',
missingWord: ['locates', 'finds', 'dials', 'invites', 'INVITEs', 'INVITES', 'calls', 'signals']
},
's2': {
sentence: 'SIP defines how parties agree which ________ to use.',
missingWord: ['codec', 'codecs', 'encoder', 'encoders']
},
's3': {
sentence: 'SIP describes how to construct _______ packets.',
missingWord: ['signaling', 'signalling','SIGNALING','SIGNALLING']
},
's4': {
sentence: 'SIP describes how to _______ a communication session.',
missingWord: ['manage', 'initiate', 'setup', 'begin', 'terminate', 'end', 'teardown', 'modify', 'start']
}
}
Object.keys(setofProperties)
KhanUtil.randFromArray(arrayOfPropertyNames)
function () {
if (nameOfFocusProperty == 's1') {
return setofProperties.s1.missingWord;
}
else if (nameOfFocusProperty == 's2') {
return setofProperties.s2.missingWord;
}
else if (nameOfFocusProperty == 's3') {
return setofProperties.s3.missingWord;
}
else {
return setofProperties.s4.missingWord;
}
} ()
The Session Initiation Protocol is a set of rules, descriptions and definitions that determine how an IP communication session is established.
Write the missing word in the text box. Nb: answer words are capitalised as per RFC 3261
setofProperties[nameOfFocusProperty].sentence
SS.img('//s3.amazonaws.com/cdn.calibrae.com/sipsense/exercise_images/1.1-7.png', {width: 600})
Acceptable answers are: answers