Web design and programming UE Past Papers Questions.


View All Courses

(973) Question Category: True OR False

State whether the following is true or false and if the statement is false state why.

  1. Javascript can  use either single or double quotes around its strings.
  2. We use a dot(.) operator to concatenate strings in Javascript.
  3. In Javascript , "5"===5 yields the boolean value TRUE.
  4. The javascript statement var book[10] creates an array that will hold ten books.

Answer / Solution

UNSOLVED

(974) Question Category: True OR False

Suppose you want to create a Javascript function that will prompt the user to enter the name and then display back his/her name on the browser, then

  • Describe how the alert and prompt function can be used to achieve this job
  • Write a user defined function named greeting that achieves the mentioned objective.

Answer / Solution

UNSOLVED

(976) Question Category: Matching items

Match the items from column A to those in column B.

A B
  1. CSS
  2. margin
  3. float
  4. a:hover
  5. style
  6. inline stylesheet
  7. link tag
  8. function
  9. prompt
  10. script
  • keyword used to write a function in javascript
  • cascading sheet style
  • clears an area around the content
  • HTML tag used in stylesheets
  • one javascript function that can be used to capture some input
  • cascading style sheet
  • uses a `script`` attribute  of  a html tag include the css
  • used to style a link tag when the mouse cursor is over it
  • clears an area around the border
  • html tag used in external linking of css
  • the float property specifies whether or not the box (an element ) should float
  • the tag used to include javascript code in a html file
  • has a higher precedence than embedded stylesheets
  • javascript function used to create other functions

 

Answer / Solution

UNSOLVED

(978) Question Category: Short answers

For each of the following questions fill in the blacks that give the complete meaning.

  1. A piece of information that javascript function needs between its parentheses in order to work correctly is called -------------
  2. The information put in front of a curly brace in a css rule is called a(n) ---------
  3. -------- html tag is used to define an internal style sheet.
  4. Use ---- selector when you want to apply certain style for all occurrences of a certain tag.
  5. --- keyword is used to declare variables in javascrip
  6. ------- is a css property that controls the text size
  7. ---- is a javascript function that converts string  literals to integers
  8. In css a comment is written using ---------- notation
  9. The child selector is represented  using ---- symbol.

Answer / Solution

UNSOLVED

(980) Question Category: True OR False

Javascript can use either single or double quotes around its strings.

Answer / Solution

Unlock

View All Courses
News & Updates | Recently
Recent Updates
questions

2024-05-02: questions

Questions Uploaded on 2024-05-02


questions

2024-03-29: questions

Questions Uploaded on 2024-03-29


questions

2024-03-19: questions

Questions Uploaded on 2024-03-19

Dismissible in 10 seconds