Web Technology Questions – Set 5

Dear Aspirants,
Welcome to the Professional Knowledge Section in Affairscloud.com. Here we are providing sample questions in Web Technology. It will be useful for the IBPS SO IT officer and SBI Assistant Manager(System). We have also included some important questions that are repeatedly asked in previous exams.

  1. Which of the following is used to specify the layout of web pages?
    (A) HTML
    (B) CSS
    (C) Java Script
    (D) None of the above
    Answer
    (B) CSS
  2. In Java Script, the multi-line comment is denoted as ________
    (A) //
    (B) /*/
    (C) /* */
    (D) None of the above
    Answer
    (C) /* */
  3. In JS, The ______ method searches a string for a specified value and returns the position of match.
    (A) slice()
    (B) substr()
    (C) index()
    (D) search()
    Answer
    (D) search()
  4. In Java Script, the _____ method returns the new array length.
    (A) shift()
    (B) substr()
    (C) index()
    (D) unshift()
    Answer
    (D) unshift()
  5. In Java Script, which statement lets you to handle the error?
    (A) try
    (B) catch
    (C) Both (A) & (B)
    (D) None of the above
    Answer
    Both (A) & (B)
  6. Which property is very useful for getting or replacing the content of HTML elements?
    (A) innerHTML
    (B) outerHTML
    (C) Both(A) & (B)
    (D) None of the above
    Answer
    (A) innerHTML
  7. Which of the following function converts an object’s value to a number?
    (A) Number()
    (B) isNaN()
    (C) isFinite()
    (D) None of the above
    Answer
    (A) Number()
  8. ________message denotes the requested page could not be found and it may be available in future?
    (A) 202 Accepted
    (B) 201 created
    (C) 403 Forbidden
    (D) 404 Not Found
    Answer
    (D) 404 Not Found
  9. Which of the following method can be cached?
    (A) GET
    (B) POST
    (C) Both (A) and (B)
    (D) None of the above
    Answer
    (A) GET
  10. Which can reduce the number of server requests and save bandwidth?
    (A) Image Gallery
    (B) Image Opacity
    (C) Image Sprites
    (D) None of the above
    Answer
    (C) Image Sprites
Comments