The top-level items are the course learning objectives from the syllabus.
Learning objectives from before mid-semester were covered on the midterm review guide (should these be covered on the final exam?):
Define the field of informatics and describe several of its areas of application.
Develop problem solving strategies and skills that can be applied to information and to problems in other areas.
Analyze numerical data using spreadsheets.
Design, develop, and use a database.
Describe digital representations of information; interpret common digital representations.
Describe how computers work internally.
Design and code basic HTML (web) pages.
Use appropriate standards of ethics and etiquette for information and information systems.
Reference: Chapter 11; Social Aspects.
Discuss and critically evaluate legal and social issues involving information technology.
Reference: Chapter 12; Security and Privacy.
Design, code, debug, and interpret simple programs using sequences of instructions, selection and iteration control structures.
Reference: Introduction to the Hour of Code; Lecture notes on algorithms; Introduction to JavaScript; see especially Summary of JavaScript.
Describe the potentials and limits of computation.
Reference: Chapter 22; Limits of computing (see espcially the “Building Watson” video and the “Reflections on Limits of Computing”).
The remaining questions are about JavaScript.
age and make it store the value 72.age by 1.if ... else).Consider the following:
var uppity = function (x) {
return x * x + 3 * x + 9;
};
uppity(10)?How many times does the for loop below print “Hello”?
for (var i = 0; i < 100; i++)
{
console.log("Hello");
}Consider the following code:
var count = 0;
var x = prompt("Enter a number greater than zero");
while (x < 100)
{
x = 2 * x + 1;
count = count + 1;
}
console.log(count, x);
count that will be printed by console.log when the loop ends?x that will be printed by console.log when the loop ends? Can we say, for example, x < 100, x = 100, or x > 100?count be 0 when printed by the console.log after the loop ends?