Wednesday, December 4, 2019

Exam 4 19FL-IT250-01 - Advanced Web Design

  • Question 1

    3.33 out of 3.33 points
    _________________________ are patterns that are used for matching and manipulating strings according to specified rules.
    Correct Answer:
    Evaluation MethodCorrect AnswerCase Sensitivity
    CorrectExact MatchRegular expressions
  • Question 2

    3.33 out of 3.33 points
    ____ define information about the request or response message and about the contents of the message body.
    Answers:
    Correcta. 
    b. 
    c. 
    d. 
  • Question 3

    3.33 out of 3.33 points
    A Web document containing PHP code must have an extension of ____________________.
    Correct Answer:
    Evaluation MethodCorrect AnswerCase Sensitivity
    CorrectExact Match.php
    CorrectExact Matchphp
  • Question 4

    3.33 out of 3.33 points
    A comparison operator returns a Boolean value of TRUE or FALSE after two operands have been compared.
    Answers:
    Correct
    True
    False
  • Question 5

    3.33 out of 3.33 points
    A hyphen and a greater-than symbol used to access the methods and properties contained in an object are referred to as ____.
    Answers:
    Correct 
  • Question 6

    3.33 out of 3.33 points
    A particular instance of an object ____ the methods and properties its class.
    Answers:
    Correct 
  • Question 7

    3.33 out of 3.33 points
    A programming object and its interface can be compared to a handheld ____________________.
    Correct Answer:
    Evaluation MethodCorrect AnswerCase Sensitivity
    CorrectExact Matchcalculator
  • Question 8

    3.33 out of 3.33 points
    A web server’s reply to a request is known as the ____________________.
    Correct Answer:
    Evaluation MethodCorrect AnswerCase Sensitivity
    CorrectExact Matchresponse
  • Question 9

    3.33 out of 3.33 points
    A(n) ____ is a literal value or variable that can be evaluated by the PHP scripting engine to produce a result.
    Answers:
    Correct 
  • Question 10

    3.33 out of 3.33 points
    A(n) ____________________ request allows JavaScript to continue processing while it waits for a server response.​
    Correct Answer:
    Evaluation MethodCorrect AnswerCase Sensitivity
    CorrectExact Matchasynchronous
  • Question 11

    3.33 out of 3.33 points
    After you have defined the basic request criteria, you use the ____ method with the instantiated XMLHttpRequest object to submit the request to the server.
    Answers:
    a. 
    Correctb. 
    c. 
    d. 
  • Question 12

    3.33 out of 3.33 points
    After you instantiate an XMLHttpRequest object, you use the ____ method with the instantiated XMLHttpRequest object to specify the request method (such as GET or POST) and URL.
    Answers:
    a. 
    b. 
    Correctc. 
    d. 
  • Question 13

    3.33 out of 3.33 points
    Ajax gets its name from the fact that when it was first used, it was practical only with JavaScript and ____.
    Answers:
    a. 
    b. 
    Correctc. 
    d. 
  • Question 14

    3.33 out of 3.33 points
    All Web pages containing PHP code must have an extension of .php.
    Answers:
    Correct
    True
    False
  • Question 15

    3.33 out of 3.33 points
    All literal strings and string variables in JavaScript are represented by a(n) ____________________ class, which contains methods for manipulating text strings.
    Correct Answer:
    Evaluation MethodCorrect AnswerCase Sensitivity
    CorrectExact MatchString
  • Question 16

    3.33 out of 3.33 points
    An HTTP response code of 200 indicates that the request was successful.​
    Answers:
    Correct
    True
    False
  • Question 17

    3.33 out of 3.33 points
    Because the client and server are defined in relation to MySQL, the Web server where the PHP script is running is the ____________________ when communicating with the MySQL server.
    Correct Answer:
    Evaluation MethodCorrect AnswerCase Sensitivity
    CorrectExact Matchclient
  • Question 18

    3.33 out of 3.33 points
    By combining the ____ object with DHTML techniques, you can update and modify individual portions of your web page with data received from a web server.
    Answers:
    Correcta. 
    b. 
    c. 
    d. 
  • Question 19

    3.33 out of 3.33 points
    CORS is supported by all browsers in use today.​
    Answers:
    True
    Correct
    False
  • Question 20

    3.33 out of 3.33 points
    Characters contained in a set of parentheses within a regular expression are referred to as a subexpression or ____.
    Answers:
    a. 
    b. 
    c. 
    Correctd. 
  • Question 21

    3.33 out of 3.33 points
    Every web page is identified by a unique address called the ____.
    Answers:
    a. 
    Correctb. 
    c. 
    d. 
  • Question 22

    3.33 out of 3.33 points
    In PHP, use the mysql_query() function to send SQL statements to ____________________.
    Correct Answer:
    Evaluation MethodCorrect AnswerCase Sensitivity
    CorrectExact MatchMySQL
  • Question 23

    3.33 out of 3.33 points
    In PHP, each statement must be placed on a separate line.
    Answers:
    True
    Correct
    False
  • Question 24

    3.33 out of 3.33 points
    Match each item with a statement below:
    • QuestionCorrect Match
      Text contained within double or single quotation marks
      Correct h. 
      string
      Converts a JSON string value to an object
      Correct c. 
      ​parse()
      Separates alternate sets of substrings in a regular expression
      Correct b. 
      ​|
      A standardized set of characters from many of the world’s languages
      Correct f. 
      Unicode
      Removes the last element from the end of an array
      Correct d. 
      ​pop()
      ​Combines array elements into a string
      Correct j. 
      ​join()
      Compares strings according to the particular sort order of a language or country
      Correct g. 
      localeCompare() method
      Special character that defines pattern matching rules in a regular expression
      Correct a. 
      metacharacter
      Metacharacter that specifies the quantity of a match
      Correct i. 
      quantifier
      ​Adds one or more elements to the end of an array
      Correct e. 
      ​push()
    • All Answer Choices
      a. 
      metacharacter
      b. 
      ​|
      c. 
      ​parse()
      d. 
      ​pop()
      e. 
      ​push()
      f. 
      Unicode
      g. 
      localeCompare() method
      h. 
      string
      i. 
      quantifier
      j. 
      ​join()
  • Question 25

    3.33 out of 3.33 points
    Methods and properties that are required for a source program to communicate with an object are referred to as a(n) ____.
    Answers:
    Correct 
  • Question 26

    3.33 out of 3.33 points
    Objects are organized into ____.
    Answers:
    Correct 
  • Question 27

    3.33 out of 3.33 points
    Objects are often called ____.
    Answers:
    Correct 
  • Question 28

    3.33 out of 3.33 points
    Regular expression patterns consist of literal characters and ____.
    Answers:
    a. 
    b. 
    Correctc. 
    d. 
  • Question 29

    0 out of 3.33 points
    The ____ method of the String class returns the position number in a string of the first character in the argument.
    Answers:
    a. 
    Correctb. 
    c. 
    d. 
  • Question 30

    0 out of 3.33 points
    The ____ method returns the position number in a string of the first instance of the first character in the pattern argument.
    Answers:
    a. 
    b. 
    c. 
    Correctd. 

0 comments:

Post a Comment