In the name of ALLAH, the most beneficient, the most merciful

Fundamentals of Front End Development (CS202)

Multiple Choice Questions (MCQs)

Objective Questions

  1. Which of the following CSS property can be used to turn off the float?

    1. Char
    2. Float
    3. Z-index
    4. Position
  2. Java script code is written within the file having extension of

    1. .js
    2. .j
    3. .jvm
    4. .jvs
  3. ________ element is used to define links in HTML and link address is specified in ________ attribute?

    1. <link>, address
    2. <a>, href
    3. <hyperlink>, href
    4. <anchor>, ID
  4. In HTML, headings are defined with ________ tag(s).

    1. <heading>
    2. <h>
    3. <h1> to <h6>
    4. <hd>
  5. Which of the following is not a loop in JavaScript?

    1. for/in
    2. for
    3. while
    4. do in
  6. In CSS, which of the following CSS selector can be used to select all the input elements with text type?

    1. input [type="text"]
    2. input [type text]
    3. input [ type = "text" ]
    4. input {type = "text"}
  7. To sort an array in descending order, sort() function can be used with the combination of ________ function.

    1. Shift()
    2. Reverse()
    3. Concat()
    4. Slice()
  8. Which of the following list-style-type is supported by <ol> in HTML?

    1. lower-alpha
    2. square
    3. circle
    4. disc
  9. The character set used in the web page is specified in the ________ tag.

    1. <character set>
    2. <meta>
    3. <set>
    4. <chset>
  10. What is the impact of the following CSS statement?
    li{display: inline;}

    1. <li> is a block element and it will be converted into inline element.
    2. <li> is an inline element and it will be converted into block element.
    3. <li> is an inline element and there will be no impact on <li> element.
    4. <li> is a block element and there will be no impact on <li> element.
  11. Which of the following function is used to remove last element of the array?

    1. Push()
    2. Pop()
    3. Shift()
    4. Delete()
  12. What value will be returned by the following expression?
    0 == true

    1. TRUE
    2. FALSE
    3. NaN
    4. Infinity
  13. CSS stands for ________.

    1. Central Style Sheets
    2. Common Style Sheets
    3. Cascading Style Sheets
    4. Control Style Sheets
  14. HTTP stands for ________.

    1. Hypertext Transform Protocol
    2. Hypertext Transfer Path
    3. Hypertext Transfer Protocol
    4. Hypertext Transmission Path