COSC 109
______ can be used to make the program execute non sequentially
all of the above
A difference between a function and a procedure is that a _____ returns a value to the calling statement
function
To define a function in JavaScript, you use the keyword _____
function
What is a valid variable name in JavaScript
high_score
Fill in the correct starting tags and end tags to create a basic HTML document <_________> <_________> <_________> This is the page title <_____> <_________> <_________> This is the content of the web page <_________> <_________>
html, head, page title, /title, /header, body, /body, /html
For the site shown in figure 8.12, to embed the image logo.png on the homepage index.html (in the my-site folder) the document-relative file path is ____.
images/logo.png
JavaScript is a _____ language
loosely tied
Fill in the blanks for the HTML code to create a list as shown. 1. Preheat the oven to 450 degrees. 2. Head butter and oil in a large saucepan. 3. Cook the shrimp for 10 minutes. <______> <______> Preheat oven to 450 degrees <_____> <______> Heat the butter and oil in a large saucepan. <______> <______> Cook the shrimp for 10 minutes. <______> <______>
ol, li, /li, li, /li, li, /li, /ol
The statement in JavaScript ends with an OPTIONAL
semicolon
Fill in the blanks for the HTML code to create a list as shown *elephants *tigers *frogs <______> <______> Elephants. <______> <______> Tigers <______> <______> Frogs <______> <______>
ul, li, /li, li, /li, li, /li, /ul
For the site shown in figure 8.12, to embed the image logo.png on the Web page french-roast.html, the document-relative file path is ____.
.exiting from coffee./exit from product to my site../images/logo.png
Indicate the correct order for multimedia production process
1. Assemble media elements 2. Add interactivity 3. Collect media elements 4. Export the project into a format that your target audience can play
The _____ tag is used to create a line break- to force a new line without starting a new paragraph. By default the line created using this tag has ___ line spacing.
<b>, 1
The _____ tag is used to create a heading 1 element
<h1>
In adobe Animation Timeline, a solid circle in a fram signifies _____
A keyframe without a content on a stage
Values passed into functions or procedures are called ______
Arguments
A poster image is an image that is shown in place of the video _____
Before the HTML5 video starts
HTML5 video and audio are played back by ______
By the web browser's built in player
Sum=addTogether(2,5) By looking at the previous statement you can tell that addTogether()______
Definitely returns a value, takes arguments
True/False A function definition is executed automatically when the program runs
False
A(n) ________ contains a block of program instructions, which form a discrete unit with a name
Function or procedure
Text files
HTML documents
Write an if statement to do the following (assume the variables have been declared. You do not need to declare the variables. Simply construct a statement) Hint : you will need to use comparison operators and a logical operator. If both variables a and b are greater than 0, then increment of the value c by 1
If (a>0&&b>0) {c+=1;}
By means of _______ the computer achieve the changes between two keyframes during a tweening process
Interpolation
A key aspect of shape tween is that
It changes a shape into another
A _____ layer is used to define areas of the underlying (linked) layer to be revealed
Mask
Tag and attribute names for HTML5
No restrictions on cases
End tags in HTML5
Not required
Quotation marks for attribute in HTML5
Not required
What is not a media element supported by Adobe Animate?
If there are multiple videos on a page, you should avoid turning on _____ to reduce network traffic
Preload
For the site shown in Figure 8.12 above to add a link on the page mocha-java.html to link to the Web Page french-roast.html, the document-relative file path is ____
Right to the link
For the URL: http://www.schoolname.edu/departments/art/index.html, find the: Domain Name, Web Address of file named, file is located in folder, inside another key folder
School name, index.html, arts, departments
To provide multiple video or audio sources for different browsers ______
Set up a source list using <source> elements
Using a classic tween, which of these properties of a symbol instance cannot be tweened
Shape
In the HTML Code: <p> This is a paragraph. </p> <p> is the _________, and </p> is the _______. The paragraph is the _____
Start tag, end tag, element content
Motion guides work with
Symbols
Classic tween is mostly used for _____
Symbols only
Markup codes in HTML document, tells the web browser how to format the text when displayed
Tags
True/False JavaScript syntax is case-sensitive
True
True/False To add a sound file, a new separate layer must be created in the timeline soley for the file.
True
True/False If is is strict data typing, a programming language requires that you explicitly declare the datatype of a variable when the variable is first created. The type of value is called a(n)
True, data type
_______ is a technique for creating animation in multimedia authoring program
Tweening
To display the controller for the video or audio ______
Use the controls attribute
To display an image in place of the video before it starts
Use the poster attribute
To declare a variable in JavaScript, you use the keyword _______
Var
______ are used to store values, which can be updated and retrieved when the program is running.
Variables
New key features of HTML5
Video and audio tags, content specific tags
