online exsam
Alan Berens
Joshua Rowland
Mohammed Abukhalil
Austin Barnes
Nandi Baccus
Eric Sowers
Questions:
8-9. Students will be able to construct or evaluate Javascript statements that include ifthen,
if-then-else, if-then-else if, or looping statements.
Students will be able to determine when an expression results in NaN in Javascript.
8-6. Students will be able to evaluate and determine the output for statements that include
Strings, numbers, and associated functions.
7-13. Students will be able to construct an algorithm in English to solve a particular
problem.
7-24. Be able to apply either a sequential search or a binary search to an array of items.
Answers:
8-9
Var x = prompt(‘enter an integer’);
If (x<0) {
Alert(red);
}else if(x<20){
Alert(‘blue);
}else if(x==20&&(!false)){
Alert(‘green’);
}else{
Alert(‘NOICE!!’);
}
What is the output when x is 69?
7-24
Sequential searches move through an array one at a time until the item is found. Binary searches move through an array. It moves to the Midpoint of the array and excludes large amounts of the array. It moves to the midpoint of the array and excludes the part that is not included, then moves to the midpoint of the array that is left. It continues until the item is found.
8-6
Which customer(s) ordered there items from the summer 2006 order source on June 1st?
Tables:Order_Source, Orders, Customers
Attributes:Os_Desc, OS_ID, O_Date,, C_ID
C_Last, C_First
Result:Paul Phelps
7-13
Step 1 Exit the building
Step 2 Make sure you exit the building from front
Step 3 If you exit from the otherside go back inside and exit from front
Step 4 Go east with colonel glenn hwy
Step 5 go south with Fairfield rd
The mall will be on your right after 5 traffic lights