ICT1512 ASSIGNMENT 3.docx - ICT1512 ASSIGNMENT 3 Part 1 of 3 True or False Question 1 of 201.0 Points The concat method changes the original string and

ICT1512 ASSIGNMENT 3.docx - ICT1512 ASSIGNMENT 3 Part 1 of...

This preview shows page 1 - 4 out of 13 pages.

ICT1512 ASSIGNMENT 3 Part 1 of 3 - True or False Question 1 of 201.0 Points The concat() method changes the original string and returns a new string. TrueFalse Reset Selection Question 2 of 201.0 PointsWhen comparing Unicode characters, the lowercase letters are evaluated as being “greater” than theuppercase letters. Reset Selection Question 3 of 201.0 PointsThe differences between parsing cookie data and parsing query strings is there is no question mark atthe beginning of the string to work round; also individual cookies are separated by semicolon and a space instead of an ampersand. Reset Selection Question 4 of 201.0 PointsThe length property counts escape sequences such as \n as two characters. Reset Selection Question 5 of 201.0 PointsWhen you pass a simple text string as the pattern argument of the replace() method, only the first instance of the pattern is replaced with the specified text.
ICT1512 ASSIGNMENT 3 TrueFalse Reset Selection Question 6 of 201.0 PointsIf you need to create a unique object in a program, an object literal is the easiest solution. Reset Selection Question 7 of 201.0 PointsThere are two types of string search methods: methods that return a numeric position in a text stringand methods that return a character or substring. Reset Selection Question 8 of 201.0 PointsThe value of the lastIndex property is automatically set by the JavaScript interpreter. Reset Selection Question 9 of 201.0 PointsYou append the unshift() method to the name of an array and pass the method a comma-separated list of values for the elements you want to add. TrueFalse Reset Selection Question 10 of 201.0 Points
ICT1512 ASSIGNMENT 3 The Date class method setTime() returns the current time as the number of milliseconds that have elapsed since midnight, January 1, 1970. Reset Selection Question 11 of 201.0 PointsIt is easier to use a constructor than instantiating objects with literals. Reset Selection

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture