Docsity

CPSC 130 Exam Solutions: Computer Science Fundamentals Review, Exams of Advanced Education

Toggle sidebar
bg1
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
pf3

Partial preview of the text

Download CPSC 130 Exam Solutions: Computer Science Fundamentals Review and more Exams Advanced Education in PDF only on Docsity!

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 , with individual rows identified by and entries within that row identified by . - 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- 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

In order for a button to change the attributes of another element, that element must first be assigned a unique identifier using the ID attribute - ANSWER-true Only numbers can be assigned to JavaScript variables but not any mathematical expression. - ANSWER-false Operating system is a collection of programs that controls how the CPU, memory, and I/O devices work together to execute programs. - ANSWER-true The contents of a text box (in JavaScript) can be converted to its corresponding numeric value by applying the predefined parseFloat function. - ANSWER-true The function math.floor returns the input - ANSWER-rounded down The memory is a part of computer that stores - ANSWER-programs and data The most critical functionality of the computer is controlled by the component of the operating system known as its - ANSWER-kernel The tags , , and can be used to display section headings of increasing sizes. - ANSWER-false The three essential components of a computer that make up the von Neumann architecture - ANSWER-Input/Output devices, Memory and CPU To embed an apostrophe inside a JavaScript string, precede the apostrophe with a - ANSWER-backslash What is HTML stands for? - ANSWER-HyperText Markup Language What is the correct HTML element for inserting a line break? - ANSWER- What is the correct HTML for adding background color? - ANSWER- What is the correct HTML for creating a centered heading? - ANSWER- What is the correct HTML for creating a hyperlink - ANSWER-Book Site What is the correct HTML for inserting an image? - ANSWER- What is the correct HTML for making a text input field? - ANSWER-