Exam 18: A Javascript Program

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

To keep an area of page that contains related content together on a web page, use the ________ tag pair .

(Multiple Choice)
4.9/5
(93)

A programming style that responds to things that happen, such as a mouse click or an entry into an input box, is known as ________ programming .

(Short Answer)
4.9/5
(90)

Given the following statement, when will the event be generated? <button onclick = 'ounce = 8'> Small </button>

(Multiple Choice)
4.8/5
(89)

In JavaScript, a(n) ________ attribute tells the browser how to respond to an event .

(Short Answer)
4.9/5
(76)

JavaScript code is entered between <script> . . . </script> tags .

(True/False)
4.8/5
(79)

In programming, when two strings are compared, the comparison is not case sensitive .

(True/False)
4.8/5
(84)

The variables for The Bean Counter JavaScript program in the textbook are declared right before the opening <body> tag and inside <script> </script> tags .

(True/False)
4.9/5
(78)

Event handlers are limited to a single JavaScript statement .

(True/False)
4.9/5
(68)

The <hr/> tag is used to display a horizontal line .

(True/False)
4.9/5
(82)

<script> . . . </script> tags are not needed for event handlers .

(True/False)
4.7/5
(81)

A grid of rows and columns can be created using which of the following tags?

(Multiple Choice)
5.0/5
(79)

A web page can only have one form .

(True/False)
5.0/5
(86)

Given the following styles in the <head> section of a web page, what would the page look like? <style type = "text/css"> Body {background-color: green; color: white;} H1 {text-align: center; color: blue;} P {color: red;} </style>

(Multiple Choice)
4.8/5
(81)

What is the value of the variable shipping if cost = 50 and country = "Canada"? If (cost < 50 && country == "Canada") Shipping = 6 . 00; If (cost < 100 && cost > 49 && country == "Canada") Shipping = 9 . 00; Else Shipping = 12 . 00;

(Multiple Choice)
4.9/5
(78)

The best way to develop a program is start writing code and modify it as needed .

(True/False)
4.9/5
(79)

An advantage of the <button> tag over <input type = "button"> is that

(Multiple Choice)
4.7/5
(80)

Which of the following statements is TRUE, given: <button onclick = 'ounce = 8'> Small </button>

(Multiple Choice)
4.9/5
(93)

A <select> tag surrounds a series of ________ tags and ends with a closing </select> tag .

(Multiple Choice)
5.0/5
(76)

JavaScript is an event-based programming language .

(True/False)
4.8/5
(68)

To center a section of a web page within <section> . . . </section> tags, with CSS, use which of the following style definitions?

(Multiple Choice)
4.9/5
(84)
Showing 21 - 40 of 40
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)