IS245 - CHAPTER 01 TO 06 / EXCEPT CH 5

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

d) Color

1. The ________ input type enables the user to enter a color. a) text b) value c) range d) * color ********************

b) field

10. A ________ is a group of characters or bytes that conveys meaning. Select one: a. database b. * field ************************* c. record d. character set

d) background-attachment

11. Which of the following settings for a background image can be modified to create a "watermark" effect where scrolling will not move the image from its set position? Select one: a. background-repeat b. background-position c. background-image ******************** d. * background-attachment

c) Tim Berners-Lee

12. ________ wrote communication protocols to form the backbone the World Wide Web. Select one: a. Dale Dougherty b. Bill Gates c. * Tim Berners-Lee ******************** d. Marc Andreessen

a) <li><em>text</em></li>

13. To which text does the following CSS rule apply: li em { color: red; font-weight: bold } Select one: a. <li><em>text</em></li> ******************* b. both of the li statements are correct c. neither of the li statements are correct d. <li>text</li> and <em>text</em>

c) 1/2

14. The code &frac12; will produce which fraction? Select one: a. 2/1 b. an error c. 1/2 ********************** d. 1/12

b) summary

15. The ________ element displays a right-pointing arrow next to a summary or caption when the document is rendered in a browser. Select one: a. figcaption b. * summary ****************** c. details d. article

a) drop-down list

16. Which of the following accurately describes the select element? Select one: a. * drop-down list ***************** b. check box c. text input d. command button

b) autocomplete

17. The ________ attribute can be used on input types to automatically fill in the user's information based on previous input. Select one: a. value b. * autocomplete ******************** c. autofill d. datalist The correct answer is: autocomplete

a) @media all

18. We define styles for all media types with the declaration ________. Select one: a. @media all ************************ b. #media screen c. #media all d. #media screen The correct answer is: @media all

c) <ul>

19. An unordered list is created using which notation? Select one: a. <un> b. <list type = " unordered"> c. <ul> *************************************** d. <unordered> The correct answer is: <ul>

c) web servers

2. Machines called ________ store HTML5 documents. a) web controllers b) controlers c) * web servers ******************* d) web services

d) get, post

20. The two most common HTTP request types (also known as request methods) are ________ and ________. Select one: a. query, post b. retrieve, send c. retrieve, post d. * get, post ************************ The correct answer is: get, post

d) bit

21. The smallest data item in a computer, called a ________, can assume the value 0 or the value 1. Select one: a. digit b. field c. character d. * bit *************************8 The correct answer is: bit

a) margin

22. The ________ property specifies the distance from other page elements. Select one: a. * margin **************** b. padding c. float d. border The correct answer is: margin

a) aside

23. The ________ element describes content that's related to the surrounding content (such as an article) but that's somewhat separate from the flow of the text. Select one: a. * aside ************************** b. figcaption c. header d. summary The correct answer is: aside

c) li

24. Each list item in an unordered list is delineated by the ________ element. Select one: a. disc b. ul c. li ************************* d. href The correct answer is: li

b) 55

25. What will the browser display if the following script is executed and the user enters 5 at both prompts? Select one: a. 10 b. 55 c. nothing d. 0 Feedback The correct answer is: 55

c) c. window.alert( "Welcome!" );

26. An alert dialog displaying the text "Welcome!" is created by calling _________. Select one: a. alert.window( "Welcome!" ); b. window( "<alert> Welcome! </alert>" ); c. window.alert( "Welcome!" ); ******************** d. window( "alert = \"Welcome!\"" ); The correct answer is: window.alert( "Welcome!" );

b) <p style = "font-size: 20pt">

27. An example of the proper format for inline styles is: Select one: a. <p font-style = "20pt"> b. <p style = "font-size: 20pt"> ******************* c. <p style: "font-size = 20pt"> d. <p style = "font-size = 20pt"> The correct answer is: <p style = "font-size: 20pt">

c) author styles over user styles

29. If an author and a user both define absolute measurements, the CSS specification gives precedence to ________. Select one: a. neither author styles nor user styles b. user styles over author styles c. author styles over user styles ****************** d. both author styles and user styles The correct answer is: author styles over user styles

b) jQuery

3. ________ simplifies JavaScript programming by making it easier to manipulate a web page's elements and interact with servers in a portable manner across various web browsers. a) CSS3 b) * jQuery ********************** c) JavaScriptQuery d) PHP

d) datetime-local

30. The ________ input type enables the user to enter the date and time in a single control. Select one: a. date-time b. datetime c. date d. datetime-local *********************** The correct answer is: datetime-local

b) 2

31. What is the result of the statement 17 % 5? Select one: a. 12 b. 2 *************************** c. 3 d. 0 The correct answer is: 2

a) architecture of participation

32. Web 2.0 embraces a(n) ________—a design that encourages user interaction and community contributions. Select one: a. architecture of participation *************** b. architecture of trust c. semantic web d. social network The correct answer is: architecture of participation

c) placeholder

33. The ________ attribute allows you to put temporary text in a text field. Select one: a. autofocus b. required c. placeholder ******************** d. formvalidate The correct answer is: placeholder

a) The word var must be placed before thirdNumber in line 3.

34. Consider the following script. What is wrong with the following code? Select one: a. The word var must be placed before thirdNumber in line 3. ************** b. The words Enter an integer in line 6 should not be in quotes. c. The word thirdnumber in line 3 should have a comma after it. d. thirdNumber in line 7 must be in quotes. The correct answer is: The word var must be placed before thirdNumber in line 3.

d) 10 times larger than the font size

35. Setting the width property to 10em will create an element that has a width that is ________. Select one: a. 10 times smaller than the font size b. size 10pt c. italicized and 10pt in size d. 10 times larger than the font size ********* The correct answer is: 10 times larger than the font size

b) section

36. The ________ element describes a section of a document, usually with a heading for each section. Select one: a. sectionheading b. * section ********************** c. article d. details The correct answer is: section

a) replaces the previous value in that location

37. Whenever a value is placed in a memory location, the value________. Select one: a. * replaces the previous value in that location ********* b. will be assigned to another identifier if a value already exists c. can share a location in memory with another value d. cannot be added if a value already exists The correct answer is: replaces the previous value in that location

a) <p class = "blue">

38. Which of the following selections is the proper way to apply this CSS rule: .blue { color: blue } Select one: a. <p class = "blue"> ********************* b. <p class = .blue> c. <p color = "blue"> d. <p color = .blue> The correct answer is: <p class = "blue">

d) wbr

39. The ________ element indicates the appropriate place to break a word when the text wraps to multiple lines. Select one: a. mark b. brk c. break d. wbr *********************** The correct answer is: wbr

week

4. The ________ input type enables the user to select a year and week number in the format yyyy-Wnn. a) date b) datetime c) * week ********************* d) datetime-local

d) all of the answers are correct

40. Which of the following is an example of an inline element? Select one: a. em b. image c. span d. * all of the answers are correct ************ The correct answer is: all of the answers are correct

c) name, content

41. Two important attributes of the meta element are ________, which identifies the type of meta element and ________, which provides the information search engines use to catalog pages. Select one: a. type, info b. type, catalog c. * name, content ******************** d. id, desc The correct answer is: name, content

b) web server

42. When the user clicks a hyperlink, a ________ locates the requested web page and sends it to the user's web browser. Select one: a. packet b. * web server ****************** c. URL d. host The correct answer is: web server

c) text editor

43. HTML5 documents are edited using a(n) ________. Select one: a. operating system b. browser c. * text editor *********************** d. compiler The correct answer is: text editor

b) mark

44. The ________ element enables you to highlight text. Select one: a. section b. * mark *********************** c. label d. highlight The correct answer is: mark

c) Cascading Style Sheets

45. ________ allow you to specify the style of your page elements (spacing, margins, etc.) separately from the structure of your document. Select one: a. Style declarations b. Text flows c. * Cascading Style Sheets ***************** d. Filters The correct answer is: Cascading Style Sheets

c) <title></title>

46. Text put between the ________ tags appears in the browser's title bar (i.e., the dark bar at the top of the browser window). Select one: a. <h6></h6> b. <head></head> c. <title></title> ************************8 d. <h1></h1> The correct answer is: <title></title>

a) PHP

47. Which of the following is a server-side programming technology used to build web pages? Select one: a. PHP ******************** b. CSS3 c. JavaScript d. HTML5 The correct answer is: PHP

a) method

48. In the following line, the word writeln is a(n) _________ that performs a task or action in the script. document.writeln("Hello World"); Select one: a. * method ****************** b. object c. structure d. collection The correct answer is: method

a) =

49. Which of the following operators associates from right to left? Select one: a. = ********************************** b. + c. == d. % The correct answer is: =

d) parentheses, subtraction, modulus

50. Which of the following sequences does not follow the rules of operator precedence? Assume that operators are evaluated in the order listed from left to right. Select one: a. parentheses, modulus, subtraction b. division, multiplication, addition c. multiplication, division, addition d. * parentheses, subtraction, modulus ************ The correct answer is: parentheses, subtraction, modulus

a) src

51. The location of an image is specified in the img element's _______ attribute. Select one: a. src **************************** b. location c. image d. source The correct answer is: src

d) document.write( "<p style = \"color: blue\">"); document.write( "Hello World </p>");

52. Which of the following statements would correctly print out the sentence "Hello World" in blue? Select one: a. document.write( "<p style = \"color: blue\" Hello World + "</p>"); b. document.write( "<p style = \"color: blue\");document.write( "Hello World >"); c. document.write( "<p> style = \"color: blue\" Hello World </p>); d. document.write( "<p style = \"color: blue\">");document.write( "Hello World </p>"); The correct answer is: document.write( "<p style = \"color: blue\">");document.write( "Hello World </p>");

b) date

53. The time element enables you to identify a ________. Select one: a. value b. date ****************************** c. location d. time zone The correct answer is: date

b) Windows is an open source operating system

54. Which of the following statements is false? Select one: a. Linux source code is available to the public for examination and modification b. * Windows is an open source operating system **** c. The software that contains the core components of the operating system is called the kernel d. The concepts of icons, menus and windows were originally developed by Xerox PARC The correct answer is: Windows is an open source operating system

c) database

55. A ________ is an electronic collection of data that's organized for easy access and manipulation. Select one: a. field b. file c. * database ****************** d. record The correct answer is: database

d) both absolute and relative are correct

56. When using the width, height and overflow properties of an element, position can be ________. Select one: a. none of the answers are correct b. absolute c. relative d. * both absolute and relative are correct **** The correct answer is: both absolute and relative are correct

d) figure

57. The ________ element describes an image in the document so that it could be moved to the side of the page or to another page. Select one: a. figcaption b. article c. header d. * figure ***************** The correct answer is: figure

c) nothing

58. Consider the following HTML5 code. - What would a browser capable of scripting display when executing this code? - Select one: a. Hello World b. document.writeln("Hello World"); c. nothing d. ----- coding - not allow to write. see picture The correct answer is: nothing

b) tr, td

59. An HTML5 table contains rows delimited by ________ elements, which contain cells delimited by ________ elements. Select one: a. table, td b. tr, td ***************** c. tr, tr d. td, tr The correct answer is: tr, td

c) =

6. Which of the following is not a valid JavaScript equality or relational operator? Select one: a. != b. > c. = ****************************** d. <

b) TCP (Transmission Control Protocol)

60. The protocol for communicating over the ARPANET became known as ________. Select one: a. JavaScript b. * TCP (Transmission Control Protocol) **** c. packet switching d. the Internet The correct answer is: TCP (Transmission Control Protocol)

b) h6

7. The _____ displays the smallest heading on a web page. Select one: a. h5 b. * h6 ********************* c. h1 d. h0

d) 14

8. What does the following expression evaluate to? ( ( 3 + ( 5 + 4 ) * 7 ) + 4 ) / 5 Select one: a. 17.6 b. 26.4 c. 8 d. 14 *********************

c) C or C++

9. Today, virtually all new major operating systems are written in: Select one: a. Visual C# b. Objective-C c. C or C++ ***************************** d. Ada

28) .css

External style sheets are saved with the ________ extension. Select one: a. .txt b. .css ************************** c. .html d. .txtcss The correct answer is: .css

c) The del element is used to delete text.

Which statement is false? Select one: a. The sup and sub elements are used to denote superscript and subscript characters. b. The hr element introduces a horizontal rule. c. * The DEL element is used to delete text. ***** d. The &code; syntax is reserved for special characters.


Kaugnay na mga set ng pag-aaral

Transporting Infectious Substances

View Set

HESI Remediation Safety and Infection

View Set

AP Stat Unit 2 Progress Check: MCQ Part B

View Set

Chapter 17 Chapter checkpoints and review test The Autonomic Nervous System

View Set

Franska åk 7 vecka 37 räkneord 13-20 (repetera 0-12 + förra veckans glosor!)

View Set

26. Tort Liability of Agents and Principals

View Set