CPSC 130 Exam with Complete Solutions
A directory is a collection of files that are organized together and labeled with a common
name. - ANSWER-true
A hard disk is classified as volatile memory, because it requires a constant power
supply in order to retain its information. - ANSWER-false
A JavaScript assignment statement is used to assign a new value to an attribute of an
element. The general form of a JavaScript assignment is: - ANSWER-
this.ATTRIBUTE_NAME=NEW_ATTRIBUTE_VALUE;
A router is special-purpose computer on the Internet that receives message packets,
accesses routing information, and passes the packets on toward their destination. -
ANSWER-true
A table is identified by <table></table>, with individual rows identified by <tr></tr> and
entries within that row identified by <td></td>. - ANSWER-true
A web server is a computer that runs special software for storing and retrieving pages. -
ANSWER-true
An alert statement is a JavaScript statement with the following general form:
alt('ALERT_MESSAGE'); - ANSWER-false
As computer programs can be complex and difficult to write, they are known as
"hardware." - ANSWER-false
By default, JavaScript statements always assume that the contents of a text box are
intended to be a - ANSWER-string
Cache and RAM together form a computer's main memory( or primary memory), holding
any and all data that the CPU is actively using - ANSWER-true
Functions simplify the programmers's task by 1) minimizing the amount of detail that the
programmer must keep track of and 2) minimizing the size and complexity of code. -
ANSWER-true
GIF and JPEG images can be embedded in a Web page using an image tag -
ANSWER-<img src="reed.gif" alt="Dave Reed">
HTML specifies formatting within a page using - ANSWER-tags
In JavaScript, a variable name can be any sequence of letters, digits and underscores
that starts with a number. - ANSWER-false
A directory is a collection of files that are organized together and labeled with a common
name. - ANSWER-true
A hard disk is classified as volatile memory, because it requires a constant power
supply in order to retain its information. - ANSWER-false
A JavaScript assignment statement is used to assign a new value to an attribute of an
element. The general form of a JavaScript assignment is: - ANSWER-
this.ATTRIBUTE_NAME=NEW_ATTRIBUTE_VALUE;
A router is special-purpose computer on the Internet that receives message packets,
accesses routing information, and passes the packets on toward their destination. -
ANSWER-true
A table is identified by <table></table>, with individual rows identified by <tr></tr> and
entries within that row identified by <td></td>. - ANSWER-true
A web server is a computer that runs special software for storing and retrieving pages. -
ANSWER-true
An alert statement is a JavaScript statement with the following general form:
alt('ALERT_MESSAGE'); - ANSWER-false
As computer programs can be complex and difficult to write, they are known as
"hardware." - ANSWER-false
By default, JavaScript statements always assume that the contents of a text box are
intended to be a - ANSWER-string
Cache and RAM together form a computer's main memory( or primary memory), holding
any and all data that the CPU is actively using - ANSWER-true
Functions simplify the programmers's task by 1) minimizing the amount of detail that the
programmer must keep track of and 2) minimizing the size and complexity of code. -
ANSWER-true
GIF and JPEG images can be embedded in a Web page using an image tag -
ANSWER-<img src="reed.gif" alt="Dave Reed">
HTML specifies formatting within a page using - ANSWER-tags
In JavaScript, a variable name can be any sequence of letters, digits and underscores
that starts with a number. - ANSWER-false