Anda di halaman 1dari 9

CIS 131 Final Examination Practice

Multiple Choice Identify the choice that best completes the statement or answers the question. 1. An important part of Web development is testing to ensure that you are following ____ standards. a. XML c. b. XHTML d. D ____ 2. In the past, most people dialed up to connect to the Internet, so the ____ was not there to accommodate the large files required for audio, video, and even some graphic images. a. indexing c. b. telemetry d. C ____ 3. A Java ____ is a program written in the Java programming language that can be included in a Web page. a. plug-in c. b. player d. If you use any portion of files that have been professionally developed, be C ____ 4. certain that you understand and apply all ____ requirements. a. server c. b. filtering d. For the Windows environment, ____ is available on many new computers. D ____ 5. a. iMovie c. b. Final Cut Studio d. D____ 6. MAGIX Movie Edit Pro software provides ____. a. blogs c. b. newsletters d. ____ 7. For Mac users, ____ is installed on most new computers and is an excellent C option. a. Final Cut Studio c. b. Adobe Premiere Elements d. ____ 8. For Mac users, ____ allows you to have technical control together with D creative options. a. Adobe Premiere Elements c. b. Roxio Creator d. A ____ 9. ____ is a highly rated software solution for movie editing that can be used on either the Mac or Windows operating systems. a. Adobe Premiere Elements c. b. Corel VideoStudio d. B ____ 10. ____ media is similar in concept to inserting inline images. a. Enmeshing c. b. Embedding d. B ____ 11. ____ media files appear within the Web page and users have access to the audio or video player controls right on the page. a. Linked c. b. Embedded d. C ____ 12. The ____ tag is used to insert embedded content. a. <embed> c. b. <external> d. D ____ 13. ____ media files are accessed through a link that your Web site visitor clicks. a. Absolute c. b. Relative d. A ____ 14. The ____ tag is used to define external interactive content or plug-ins. a. <embed> c. b. <external> d. C ____ 15. Mac operating systems are preloaded with ____ for playing movies. a. iTunes c. b. Windows Media Player d. ____ 16. All of the following are common plug-ins EXCEPT ____. D a. Adobe Acrobat c. b. Apple QuickTime Player d. A ____ 17. When Internet Explorer encounters a multimedia file, it searches for the appropriate ____ control. a. ActiveX c. b. JavaScript d. B ____ 18. The standard audio file format used by Apple is ____. a. AU c. b. AIFF d.

B ____

DHTML all of the above

resolution bandwidth applet icon licensing indexing DVD Studio Pro none of the above online support all of the above iMovie MAGIX Movie Edit Pro Windows Movie Maker Final Cut Studio Roxio Creator Final Cut Studio Linking Baselining Pasted Mesh <object> <content> Internal External <object> <plug> QuickTime Player both a and c Adobe Flash Microsoft Internet Explorer Java Perl MIDI MP3

A
D

C
B
C

B D

D
A

D
C

a. AU c. b. AIFF d. ____ 19. Which of the following can be used with QuickTime Player, Adobe Flash Player, and RealPlayer? a. MP4 c. b. MIDI d. ____ 20. ____ is the standard audio format for Windows. a. MP3 c. b. AU d. ____ 21. The ____ video file format was developed by Microsoft for use with Windows. a. Flash Video c. b. RealVideo d. ____ 22. The ____ video file format was developed by Adobe. a. AVI c. b. QuickTime d. ____ 23. The ____ video file format is used by YouTube and Google. a. Windows Media c. b. Flash Video d. ____ 24. The ____ video file format was developed by Apple Computer for both Windows and Apple computers. a. RealVideo c. b. MP4 d. ____ 25. The ____ element supports many different media types, including pictures, sounds, videos, as well as other objects. a. embed c. b. object d. ____ 26. For the insertion of an audio clip, you can use the ____ for Windows Media Player. a. index c. b. classid d. ____ 27. Each type of player has various <object> tag ____ that can be used. a. attributes c. b. applets d. ____ 28. The ____ parameter for Windows Media Player specifies whether the current media item begins playing automatically. a. autoplay c. b. playcount d. ____ 29. The ____ parameter for Windows Media Player specifies the base URL used for relative path resolution with URL script commands that are embedded in media items. a. baseURL c. b. relativePath d. ____ 30. What is the default value for the baseURL parameter for Windows Media Player? a. true c. b. false d. ____ 31. In specifying the current stereo balance with the appropriate parameter for Windows Media Player, what is the high end of the range? a. 1 c. b. 50 d. ____ 32. What is the default value for the playcount parameter for Windows Media Player? a. 0 c. b. 1 d. ____ 33. What is the default value for the uimode parameter for Windows Media Player? a. invisible c. b. mini d. ____ 34. When the ____ parameter for Windows Media Player is set to true, the player control renders video directly in the client area. a. fullscreen c. b. showcontrols d. ____ 35. The ____ parameter for Apple QuickTime specifies if the player controls should show. a. showControl c. b. controller d. ____ 36. The ____ parameter for Apple QuickTime specifies the source of the clip. a. clip c. b. URL d. ____ 37. If you do not want to start an .mp3 file automatically, you would add a

MIDI MP3 RealAudio WAV AIFF WAV AVI MP4 Flash Video MP4 Shockwave Flash QuickTime QuickTime AVI class media codec attribute indices parameters selfstart autostart fullscreen embeddedScript 1 There is no default 100 500 true There is no default. none full uimode windowlessvideo displayControls autoshow src source

<param name="____" value="false" /> statement within the <object></object> container. a. autoplay c. b. selfstart d. ____ 38. Internet Explorer sets security to ____ by default. a. high c. b. medium d. ____ 39. Internet Explorer's default security setting prohibits ____ controls from running without your intervention. a. indexed c. b. JavaScript d. ____ 40. ActiveX controls display in the ____ browser. a. Safari c. b. Chrome d. ____ 41. On which of the following is JavaScript based? a. methods c. b. objects d. ____ 42. Which of the following is a built-in JavaScript object? a. page c. b. instance d. ____ 43. Which of the following objects represents the content of a browsers window? a. document c. b. frame d. ____ 44. Which of the following objects returns an ordered set of values? a. Boolean c. b. function d. ____ 45. Which of the following objects obtains information about the current Web browser? a. window c. b. navigator d. ____ 46. Which of the following objects keeps track of Web pages visited? a. tracking c. b. history d. ____ 47. Which of the following objects switches to a new Web page? a. new c. b. page d. ____ 48. Which of the following objects represents a set of characters? a. chars c. b. set d. ____ 49. Given car.drive(), where car is the object, drive is the ____ of the car object. a. feature c. b. function d. ____ 50. ____ are actions that an object can perform. a. Parameters c. b. Methods d. ____ 51. A(n) ____ is a value given to a method. a. parameter c. b. argument d. ____ 52. Some methods require a(n) ____. a. argument c. b. definition d. ____ 53. A(n) ____ is the result of a user's action. a. event c. b. outcome d. ____ 54. Event ____ are the way to associate an event with a function. a. handlers c. b. features d. ____ 55. A(n) ____ function is JavaScript code written to perform certain tasks repeatedly. a. script c. b. looping d. ____ 56. Functions are placed in a JavaScript section within the ____ section on the HTML code. a. <head> c. b. <body> d. ____ 57. Which of the following refers to JavaScript code written to perform certain tasks repeatedly? a. function c. b. method d.

autostart autocount medium-low low playback ActiveX Firefox Internet Explorer properties windows key document window form set array document math visits navigator location switch array string method event Handles Events baseline index handler script index method actions links user-defined iterative <code> <script> object form

____ a. b. ____ a. b.

58.

59.

Which of the following is an HTML comment line? <script c. language="javascript"> document.bgColor=red d. Which of the following is true regarding naming conventions for functions? it must include an underscore c. it must include a period d.

<!--Hide from old browsers-> all of the above it must include a hyphen it must begin with a letter or an underscore comments indices iterative dynamic iterative global Symbol Decimal Boolean Iterative loosely typed indexed def this definition keyword undefined null def var Last_Name Prices global string Boolean alpha inside variable none of the above 1 2 Brackets Curly braces color coding cmyk()

____ 60. JavaScript ____ are temporary places to store data. a. handlers c. b. variables d. ____ 61. If a variable value is available anywhere inside the Web page, the variable is ____. a. local c. b. global d. ____ 62. A(n) ____ variable is one whose value is available only in the function in which it is defined. a. static c. b. local d. ____ 63. ____ data types are variables that hold characters or a combination of letters, numbers, or symbols. a. String c. b. Boolean d. ____ 64. ____ data types contain logical data. a. Logical c. b. String d. ____ 65. JavaScript variables are ____, which means they do not have to be assigned a specific data type. a. concatenated c. b. logical d. ____ 66. The ____ keyword is required if variables are being defined within a function. a. res c. b. var d. ____ 67. A(n) ____ is a word with special meaning in a programming language like JavaScript. a. index c. b. baseline d. ____ 68. If a JavaScript variables value, which has not been declared previously, is used or displayed on a Web page, JavaScript assigns the value ____ to that variable. a. undeclared c. b. baseless d. ____ 69. It is good programming practice to precede a variable name with the ____ keyword. a. res c. b. this d. ____ 70. Which of the following is not a valid JavaScript variable name? a. Months c. b. Zip.Code d. ____ 71. To define a variable as ____, it must be declared in the <script> section before any of the user-defined functions. a. loosely typed c. b. local d. ____ 72. Which of the following data types contain logical data as True or False? a. string c. b. numeric d. ____ 73. Which of the following refers to a variable value that is available only in the function in which it is defined? a. global variable c. b. local variable d. ____ 74. The address of the first byte in a string of characters is ____. a. -1 c. b. 0 d. ____ 75. ____ are used to enclose the entire content of a string. a. Single quotation marks c. b. Double quotation marks d. ____ 76. For the most flexibility in using colors, Web developers suggest using either the hexadecimal version or the ____ method version to assign a color. a. decimal c. b. rgb() d.

a. decimal c. color coding b. rgb() d. cmyk() ____ 77. The general form of the location property is ____. a. location.window=URL c. window/location=URL b. window(location)=URL d. window.location=URL ____ 78. Which of the following hides any script language that a browser may not be able to interpret? a. numeric function c. start tags b. <script> tags d. HTML comment line ____ 79. JavaScript ____ make Web pages more dynamic and interactive by allowing JavaScript code to execute only in response to a user action. a. event handlers c. numeric functions b. start tags d. comment locators ____ 80. Which of the following is the general form of an event handler? a. <tag attribute eventHandler = "JavaScript code"> b. <tag attribute> eventHandler "JavaScript code" c. eventHandler = "JavaScript code" <TAG attribute> d. none of the above ____ 81. The ____ object component of a scrolling message defines where the scrolling message displays. a. visibility c. display b. message d. text ____ 82. The ____ component of a scrolling message is the location of the next character in a text string. a. display c. location b. position d. space ____ 83. A scrolling message displays either in a text box within the Web page or on the ____. a. status bar c. menu bar b. address bar d. any of the above ____ 84. When naming a text box for use in a scrolling message, the ____ attribute indicates the display width of the text field. a. width c. space b. characters d. size ____ 85. The ____ component of a scrolling message regulates the speed in which the characters display in the text field. a. delay c. timing b. chronological d. speed ____ 86. The HTML <____> tag was developed by Microsoft to make it easier to build scrolling messages. a. message c. msg b. marquee d. scroll ____ 87. Although scrolling text can be assigned to a <div> tag container using the ____ property, it does not allow for as much control as a form object like a text field or button. a. outerHTML c. scrollText b. marquee d. innerHTML ____ 88. The JavaScript statement, ____, automatically adds 1 to a variable. a. variable*1 c. variable+++ b. variable = variable * 1 d. variable++ ____ 89. A(n) ____ is any expression that evaluates to true or false. a. operand c. concatenation b. logical d. condition ____ 90. An operand is a ____ data type or value. a. numerical c. logical b. string d. all of the above ____ 91. Condition operators are used to compare two ____. a. formulas c. functions b. objects d. operands ____ 92. To determine if the current value of the beginPos variable is greater than the length of the message, use the ____ statement. a. for c. if b. comp d. while ____ 93. The first part of the if statement includes ____. a. JavaScript statements to execute if condition is true b. JavaScript statements to execute if condition is false c. the if (condition) d. none of the above ____ 94. Which of the following conditional operators always evaluates as true if a does not equal b?

a. a{b} c. a>b b. a==b d. a!=b ____ 95. The comparison, ____, is true if a equals b and the data are of the same type. a. a=b c. a===b b. a==b d. a<>b ____ 96. Which of the following conditional operators evaluates as true if both conditions are true? a. && c. == b. !! d. != ____ 97. A ____ function should have a mechanism that terminates the function when it completes its task. a. recursive c. timeout b. delay d. concatenated ____ 98. When the user performs an action, such as a mouse click, which of the following associates that action with a function? a. an event handler c. a conditional operand b. the <body> tag d. the setTimeout() method ____ 99. A(n) ____ is an action, such as a mouse click or a window loading. a. index c. method b. radix d. event ____ 100. Which of the following event handlers triggers JavaScript code when used with buttons and links? a. onLoad c. onClick b. onUnload d. onSubmit ____ 101. Which of the following event handlers is used to trigger an action when a document is loaded into the browser window? a. onClick c. onBlur b. onSubmit d. onLoad ____ 102. If a condition in an ifelse statement is true, the statements between the ____ after the if statement execute. a. single quotation marks c. parentheses b. angle brackets d. curly braces ____ 103. Which of the following is a built-in function of JavaScript? a. parseInt() c. isNaN() b. parseFloat() d. all of the above ____ 104. With the parseFloat() function, if the first character cannot be converted to a number, what is the result? a. Null c. Word b. NaN d. Radix ____ 105. What type of value does the isNaN() function return? a. variable c. integer b. Boolean d. decimal ____ 106. If a value of 12Wre is entered, parseInt() will convert to ____. a. 12 c. 12Wr b. 12W d. Wre ____ 107. Which of the following is the general form of the focus() method? a. document.objectname.eventn c. formname.objectname.docum ame.focus() ent.focus() b. document.formname.objectna d. document.focus() me.focus() ____ 108. When you set the focus to a text box, the JavaScript statement automatically positions which of the following in the text box? a. the insertion point c. both a and b b. the END statement d. neither a nor b ____ 109. Which of the following is the general form for the JavaScript statement used to assign a value to a text box object within a form? a. document.textfieldname.formname.value b. textfieldname.value = variable_or_literal c. document.formname.textfieldname.value = variable_or_literal d. document.formname.textfieldname.value = variable_or_literal = documentname ____ 110. Which of the following operators is used by the isNaN() built-in function? a. NOT c. OR b. AND d. none of the above ____ 111. Using an HTML ____ list can ensure that accurate values are entered. a. option c. radio b. select d. validated ____ 112. Which of the following raises 2 to the power of 3? a. Math.pow(3,2) c. Math.pow(2,3) b. Math.pow*2 *3 d. Pow.math(2,3)

a. b. ____ a. b.

113.

____ 114. function? a. b. c. d.

Math.pow(3,2) c. Math.pow*2 *3 d. The general form of the pow() method is ____. Math.pow(number,exponent) c. Math.pow(exponent, d. constant) Which of the following is NOT a step peformed by the dollarFormat()

Math.pow(2,3) Pow.math(2,3) Math.pow(exponent) Math.pow(number,constant)

____ 115. condition. a. index c. b. baseline d. ____ 116. The ____ loop relies on a conditional statement using numeric values. a. do c. b. while d. ____ 117. The ____ loop often is referred to as a counter-controlled loop. a. while c. b. until d. ____ 118. Which of the following relies on a conditional statement that can use either a numeric value or a string? a. while loop c. b. for loop d. ____ 119. Which of the following methods creates a pop-up window? a. window() c. b. valueIn() d. ____ 120. Which of the following attributes supplied in the open() method allow you to determine the size at which the new window initially displays? a. top and bottom c. b. width and height d.

separating the value to the left of the decimal point as the dollar amount separating the value to the right of the decimal point as the cents amount performing a calculation that returns a dollar amount inserting a dollar sign immediately to the left of the first digit without spaces A(n) ____ is a series of statements that executes repeatedly until it satisfies a loop rotation until for do for until loop none of the above open() none of the above size and resolution extend and contract

CIS 131 Final Examination Practice Answer Section


MULTIPLE CHOICE 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. 24. 25. 26. 27. 28. 29. ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: B D C C D D C D A B B C D A C D A B A D C C B C B B D D A PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

30. 31. 32. 33. 34. 35. 36. 37. 38. 39. 40. 41. 42. 43. 44. 45. 46. 47. 48. 49. 50. 51. 52. 53. 54. 55. 56. 57. 58. 59. 60. 61. 62. 63. 64. 65. 66. 67. 68. 69. 70. 71. 72. 73. 74. 75. 76. 77. 78. 79. 80. 81. 82. 83. 84. 85. 86. 87. 88. 89. 90. 91. 92. 93. 94. 95. 96. 97. 98. 99.

ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS:

D C B D D B C C A D D B D A D B B C D C B B A A A C A A C D B B B A C C B D C D B C C B B B B D D A A C B A D A B D D D D D C C D C A A A D

PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

100. 101. 102. 103. 104. 105. 106. 107. 108. 109. 110. 111. 112. 113. 114. 115. 116. 117. 118. 119. 120.

ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS:

C D D D B B A B A C A B C A C C D D A C B

PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS: PTS:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

Anda mungkin juga menyukai