Hello World
Quiz by , created more than 1 year ago

2017

1095
6
0
Hello World
Created by Hello World almost 7 years ago
Close

WEB

Question 1 of 181

1

Variable names (PHP) can only contain _

Select one of the following:

  • letters, numbers and the underscore ( _ ) symbol

  • letters and numbers

  • letters, numbers and &^%$#@ ( _ ) symbol

  • no correct answer

Explanation

Question 2 of 181

1

Are all keywords (e.g. if, else, while, echo, etc.) in PHP, classes, functions, and user-defined functions case-sensitive

Select one of the following:

  • yes

  • no

  • do not know

  • not sure

Explanation

Question 3 of 181

1

A variable declared ________ a function has a GLOBAL SCOPE. (PHP)

Select one of the following:

  • outside

  • within

  • anywhere

  • nowhere

Explanation

Question 4 of 181

1

A variable declared ________ a function has a LOCAL SCOPE. (PHP)

Select one of the following:

  • outside

  • within

  • anywhere

  • nowhere

Explanation

Question 5 of 181

1

to access a numeric arrays elements, refer to the array (PHP) with___

Select one of the following:

  • appropriate index number in brackets

  • appropriate index number with dots

  • appropriate index number without brackets

  • no correct answer

Explanation

Question 6 of 181

1

The _______ is an array which associates an index value (instead of a number) to a certain value.(PHP)

Select one of the following:

  • string

  • associative array

  • dot

  • class

Explanation

Question 7 of 181

1

Syntax for associative array (PHP)

Select one of the following:

  • $arrayName[index_value] = value;

  • $arrayName[“index_value”] = value;

  • $arrayName(index_value) = value;

  • arrayName[index_value] = value;

Explanation

Question 8 of 181

1

PHP ______ function returns the length of a string

Select one of the following:

  • str_word_count()

  • strlen()

  • strops()

  • strrev()

Explanation

Question 9 of 181

1

PHP ______ function replaces some characters with some other characters in a string

Select one of the following:

  • str_word_count()

  • strlen()

  • str_replace()

  • strops()

Explanation

Question 10 of 181

1

To create a constant (PHP), use

Select one of the following:

  • define(name, value, case-insensitive)

  • constant(name, value, case-insensitive)

  • constant(name, value)

  • constant( value)

Explanation

Question 11 of 181

1

What will be the output of variable $a = abs(-123); (PHP)?

Select one of the following:

  • 321

  • -321

  • $a

  • 123

Explanation

Question 12 of 181

1

array indexes (PHP) start at ___

Select one of the following:

  • 0

  • 1

  • -1

  • no correct answer

Explanation

Question 13 of 181

1

The _______function is used to return the length (the number of elements) of an array (PHP).

Select one of the following:

  • length()

  • count()

  • array()

  • return length()

Explanation

Question 14 of 181

1

____________executes some code if one condition is true.(PHP)

Select one of the following:

  • if statement

  • if ….else statement

  • if….elseif…else statement

  • switch statement

Explanation

Question 15 of 181

1

_____ executes some code if a condition is true and another code if that condition is false.(PHP)

Select one of the following:

  • if statement

  • if ….else statement

  • if….elseif…else statement

  • switch statement

Explanation

Question 16 of 181

1

_____ executes different codes for more than two conditions.(PHP)

Select one of the following:

  • if statement

  • if ….else statement

  • if….elseif…else statement

  • switch statement

Explanation

Question 17 of 181

1

All variables in PHP start with symbol?

Select one of the following:

  • &

  • $

  • %

  • !

Explanation

Question 18 of 181

1

The PHP ________function counts the number of words in a string

Select one of the following:

  • str_word_count()

  • strlen()

  • strrev()

  • strops()

Explanation

Question 19 of 181

1

The PHP _____ function searches for a specific text within a string

Select one of the following:

  • str_word_count()

  • strlen()

  • strrev()

  • strops()

Explanation

Question 20 of 181

1

The ________ loop will always execute the block of code once, it will then check the condition, and repeat the loop while the specified condition is true

Select one of the following:

  • do…while

  • while

  • for

  • foreach

Explanation

Question 21 of 181

1

multiline comments declared with (PHP)

Select one of the following:

  • /

  • we cannot comment lines in PHP

  • //

  • /* */

Explanation

Question 22 of 181

1

Which of the following property (CSS) is used to make a font italic or oblique?

Select one of the following:

  • font-family

  • font-style

  • font-variant

  • font-weight

Explanation

Question 23 of 181

1

Which of the following property (CSS) specifies the top margin of an element?

Select one of the following:

  • :margin

  • :margin-bottom

  • :margin-top

  • :margin-left

Explanation

Question 24 of 181

1

Which of the following (CSS) defines a measurement as a percentage relative to another value, typically an enclosing element?

Select one of the following:

  • %

  • cm

  • em

  • ex

Explanation

Question 25 of 181

1

Which of the following property (CSS) is used to set the color of a text?

Select one of the following:

  • Color

  • Direction

  • Letter-spacing

  • Word-spacing

Explanation

Question 26 of 181

1

Which of the following property changes the width of bottom border?

Select one of the following:

  • :border-bottom-width

  • :border-top-width

  • :border-right-width

  • :border-left-width

Explanation

Question 27 of 181

1

Which of the following property (CSS) specifies a shorthand property for setting the margin properties in one declaration?

Select one of the following:

  • :margin

  • :margin-bottom

  • :margin-top

  • :margin-left

Explanation

Question 28 of 181

1

Which of the following property (CSS) is used to set the background color of an element?

Select one of the following:

  • Background-color

  • Background-image

  • Background-repeat

  • Background-position

Explanation

Question 29 of 181

1

Which of the following property (CSS) is used to add or subtract space between the words of a sentence?

Select one of the following:

  • Color

  • Direction

  • Letter-spacing

  • Word-spacing

Explanation

Question 30 of 181

1

Which of the following property (CSS) is used to set the opacity of an image?

Select one of the following:

  • Border

  • Height

  • Moz-opacity

  • Width

Explanation

Question 31 of 181

1

Which of the following property (CSS) specifies whether a border should be solid, dashed line, double line, or one of the other possible values?

Select one of the following:

  • :border-color

  • :border-style

  • :border-width

  • :border-bottom-color

Explanation

Question 32 of 181

1

Which of the following is correct about CSS?

Select one of the following:

  • Style sheets allow content to be optimized for more than one type of device.

  • Using CSS, we can view offline websites. The cache also ensures faster loading and better overall performance of the website.

  • CSS can store web applications locally with the help of an offline cache.

  • All

Explanation

Question 33 of 181

1

Which of the following (CSS) defines a measurement in screen pixels?

Select one of the following:

  • px

  • vh

  • vw

  • vmin

Explanation

Question 34 of 181

1

Which of the following property (CSS) is used as a shorthand to specify a number of other background properties?

Select one of the following:

  • background-attachment

  • background

  • background-repeat

  • background-position

Explanation

Question 35 of 181

1

Which of the following property (CSS) specifies whether a border should be solid, dashed line, double line, or one of the other possible values?

Select one of the following:

  • :border-color

  • :border-style

  • :border-width

  • :border-bottom-color

Explanation

Question 36 of 181

1

Which of the following is a component of CSS style rule?

Select one of the following:

  • Selector

  • Property

  • Value

  • All

Explanation

Question 37 of 181

1

Which of the following is a way to associate styles with your HTML document?

Select one of the following:

  • Embedded CSS - The <xmp><style></xmp> Element

  • Inline CSS –The style Attributes

  • None

  • Both of the above

Explanation

Question 38 of 181

1

Which of the following property (CSS) is used to create a small-caps effect?

Select one of the following:

  • font-family

  • font-style

  • font-weight

  • font-variant

Explanation

Question 39 of 181

1

Which of the following property (CSS) is used to increase or decrease how bold or light a font appears?

Select one of the following:

  • font-family

  • font-style

  • font-variant

  • font-weight

Explanation

Question 40 of 181

1

Which of the following property (CSS) is used to set the text shadow around a text?

Select one of the following:

  • white-space

  • text-shadow

  • text-decoration

  • text-transform

Explanation

Question 41 of 181

1

Which of the following property (CSS) of a table element specifies the width that should appear between table cells?

Select one of the following:

  • :Border – collapse

  • :Border-spacing

  • :Caption-side

  • :Empty-cell

Explanation

Question 42 of 181

1

Which of the following property (CSS) is used to increase or decrease the size of a font?

Select one of the following:

  • font-size

  • font

  • font-variant

  • font-weight

Explanation

Question 43 of 181

1

A relative measurement for the height of a font in_____ spaces. This unit is equivalent to the size of a given font. (CSS)

Select one of the following:

  • em

  • px

  • mm

  • cm

Explanation

Question 44 of 181

1

The _______ property specifies the stack order of an element (CSS).

Select one of the following:

  • z-index

  • type

  • p

Explanation

Question 45 of 181

1

This property is used to capitalize text or convert text to uppercase or lowercase letters. (CSS)

Select one of the following:

  • text-decoration

  • text-transform

  • font-family

  • white-space

Explanation

Question 46 of 181

1

This property is used to control the flow and formatting of text. (CSS)

Select one of the following:

  • text-decoration

  • text-transform

  • font-family

  • white-space

Explanation

Question 47 of 181

1

This property is used to add or subtract space between the letters that make up a word. (CSS)

Select one of the following:

  • letter-spacing

  • word-spacing

  • text-indent

  • text-align

Explanation

Question 48 of 181

1

This property is used to set the text shadow around a text.(CSS)

Select one of the following:

  • text-shadow

  • word-spacing

  • text-indent

  • text-align

Explanation

Question 49 of 181

1

This property is used to indent the text of a paragraph. (CSS)

Select one of the following:

  • letter-spacing

  • word-spacing

  • text-indent

  • text-align

Explanation

Question 50 of 181

1

___________ properties are CSS properties that let you set the values of several other CSS properties simultaneously

Select one of the following:

  • Shortland

  • Sortland

Explanation

Question 51 of 181

1

Which stylesheet has the second highest priority?

Select one of the following:

  • Inline stylesheets

  • Internal stylesheets

  • External stylesheets

  • stylesheets

Explanation

Question 52 of 181

1

Which stylesheet has the third highest priority?

Select one of the following:

  • Inline stylesheets

  • Internal stylesheets

  • stylesheets

  • External stylesheets

Explanation

Question 53 of 181

1

An external stylesheet is declared in an external file with a ________extension.

Select one of the following:

  • css

  • html

  • doc

  • txt

Explanation

Question 54 of 181

1

External stylesheets are called using the _______ tag.

Select one of the following:

  • <xmp><link></xmp>

  • <xmp><class></xmp>

  • <xmp><id></xmp>

  • <xmp><stylesheets></xmp>

Explanation

Question 55 of 181

1

If you define the position to be _________ it will be calculated from the upper left corner of the page. (CSS)

Select one of the following:

  • absolute

  • relative

  • stylesheets

  • normal

Explanation

Question 56 of 181

1

If you define the position to be _______ it will be relative to the position of the tag that carries the style. (CSS)

Select one of the following:

  • absolute

  • relative

  • normal

  • define

Explanation

Question 57 of 181

1

When using an external stylesheet on a webpage, this attribute takes the value "stylesheet"

Select one of the following:

  • rel

  • type

  • href

  • abs

Explanation

Question 58 of 181

1

When using an external stylesheet on a webpage, this attribute takes the value "text/css".

Select one of the following:

  • type

  • rel

  • href

  • abs

Explanation

Question 59 of 181

1

Denotes the name and location of the external stylesheet to be used.

Select one of the following:

  • rel

  • abs

  • type

  • href

Explanation

Question 60 of 181

1

___________ stylesheets are declared within individual tags and affect those tags only.

Select one of the following:

  • Inline stylesheets

  • Internal stylesheets

  • External stylesheets

  • define stylesheets

Explanation

Question 61 of 181

1

element is a block-level element that is often used as a container for other HTML elements. (CSS)

Select one of the following:

  • <xmp><div></xmp>

  • <xmp><span></xmp>

  • <xmp><spad></xmp>

  • None

Explanation

Question 62 of 181

1

The _______ element is an inline element that is often used as a container for some text. (CSS)

Select one of the following:

  • <xmp><div></xmp>

  • <xmp><ul></xmp>

  • <xmp><span></xmp>

  • None

Explanation

Question 63 of 181

1

You can define style rules based on the ______ attribute of the elements. (CSS)

Select one of the following:

  • class

  • type

  • img

Explanation

Question 64 of 181

1

Can we use negative values for position of the layer? (CSS)

Select one of the following:

  • True
  • False

Explanation

Question 65 of 181

1

How do you display hyperlinks without an underline? (CSS)

Select one of the following:

  • {decoration: no underline}

  • {underline: none}

  • {text-decoration: none}

  • {text-decoration: underline}

Explanation

Question 66 of 181

1

Which is the correct CSS syntax?

Select one of the following:

  • {body:color=black(body;}

  • {body;color:black;}

  • body:color=black;

  • body {color: black;}

Explanation

Question 67 of 181

1

What is the correct CSS syntax for making all the <xmp><p></xmp> elements bold?

Select one of the following:

  • p {text-decoration:bold;}

  • p {text-size:bold;}

  • p {text-style:bold;}

  • p {font-weight:bold;}

Explanation

Question 68 of 181

1

What is the correct XHTML for referring to an external style sheet?

Select one of the following:

  • <xmp><style src="style.css"></xmp>

  • <xmp><stylesheet></xmp>style.css</xmp></stylesheet></xmp>

  • <xmp><link rel="stylesheet" type="text/css" href="style.css" /></xmp>

  • <xmp><script rel="stylesheet" type="text/css" href="style.css" /></xmp>

Explanation

Question 69 of 181

1

What is the correct CSS syntax for making all the <xmp><p></xmp> elements bold?

Select one of the following:

  • <xmp><p style=”text-size:bold;”></xmp>

  • <xmp><p style=”font-size:bold;”></xmp>

  • d. p {text-size:bold;}

  • p {font-weight:bold;}

Explanation

Question 70 of 181

1

This property is used to underline, overline, and strike through text (CSS).

Select one of the following:

  • text-decoration

  • text-transform

  • font-family

  • white-space

Explanation

Question 71 of 181

1

Which of the following is correct about features of JavaScript

Select one of the following:

  • JavaScript is complementary to and integrated with HTML.

  • JavaScript is open and cross-platform

  • Both of the above

  • None of them

Explanation

Question 72 of 181

1

Which of the following type of variable is visible everywhere in your JavaScript code? (JavaScript)

Select one of the following:

  • local variable

  • global variable

  • both

  • none

Explanation

Question 73 of 181

1

Which built-in method returns the calling string value converted to upper case? (JavaScript)

Select one of the following:

  • toUpperCase()

  • toUpper()

  • changeCase()

  • none

Explanation

Question 74 of 181

1

Which of the following function of String object returns the character at the specified index? (JavaScript)

Select one of the following:

  • charAt()

  • charCodeAt()

  • concat()

  • indexOf()

Explanation

Question 75 of 181

1

Which of the following function of String object executes the search for a match between a regular expression and a specified string? (JavaScript)

Select one of the following:

  • match()

  • concat()

  • replace()

  • search()

Explanation

Question 76 of 181

1

Which of the following function of String object creates an HTML anchor that is used as a hypertext target? (JavaScript)

Select one of the following:

  • anchor()

  • link()

  • blink()

  • big()

Explanation

Question 77 of 181

1

Which of the following function of String object causes a string to be italic, as if it were in an <xmp><i></xmp> tag? (JavaScript)

Select one of the following:

  • fixed()

  • fontcolor()

  • fontsize()

  • italics()

Explanation

Question 78 of 181

1

Which of the following function of Array object returns the last (greatest) index of an element within the array equal to the specified value, or -1 if none is found? (JavaScript)

Select one of the following:

  • indexOf()

  • join()

  • lastIndexOf()

  • map()

Explanation

Question 79 of 181

1

Which of the following function of Array object adds and/or removes elements from an array? (JavaScript)

Select one of the following:

  • sort()

  • toSourse()

  • splice()

  • unshift()

Explanation

Question 80 of 181

1

Which of the following is correct about features of JavaScript?

Select one of the following:

  • JavaScript is a lightweight, interpreted programming language.

  • JavaScript is designed for creating network-centric applications.

  • JavaScript is complementary to and integrated with Java

  • all

Explanation

Question 81 of 181

1

Which of the following function of String object returns a string representing the specified object? (JavaScript)

Select one of the following:

  • toLocaleUpperCase()

  • toUpperCase()

  • toString()

  • substring()

Explanation

Question 82 of 181

1

Which of the following function of String object creates an HTML hypertext link that requests another URL? (JavaScript)

Select one of the following:

  • link()

  • sub()

  • sup()

  • small()

Explanation

Question 83 of 181

1

Which of the following function of Array object joins all elements of an array into a string? (JavaScript)

Select one of the following:

  • concat()

  • join()

  • pop()

  • map()

Explanation

Question 84 of 181

1

Which of the following function of Array object sorts the elements of an array? (JavaScript)

Select one of the following:

  • toSourse()

  • sort()

  • toString()

  • unshift()

Explanation

Question 85 of 181

1

Which of the following is an advantage of using JavaScript?

Select one of the following:

  • Less server interaction

  • Immediate feedback to the visitors

  • Increased interactivity

  • All

Explanation

Question 86 of 181

1

86. How can you get the type of arguments passed to a function? (JavaScript)

Select one of the following:

  • using typeof operator

  • using getType function

  • both

  • none

Explanation

Question 87 of 181

1

Which built-in method returns the length of the string? (JavaScript)

Select one of the following:

  • length()

  • size()

  • index()

  • none

Explanation

Question 88 of 181

1

Which of the following function of Number object returns the number's value? (JavaScript)

Select one of the following:

  • toString()

  • valueOf()

  • toLocaleString()

  • toPrecision()

Explanation

Question 89 of 181

1

Which of the following function of String object creates a string to be displayed in a big font as if it were in a <xmp><big></xmp> tag? (JavaScript)

Select one of the following:

  • anchor()

  • big()

  • blink()

  • italics()

Explanation

Question 90 of 181

1

Which of the following function of Array object returns true if every element in this array satisfies the provided testing function? (JavaScript)

Select one of the following:

  • concat()

  • every()

  • push()

  • some()

Explanation

Question 91 of 181

1

Is JavaScript a case-sensitive language?

Select one of the following:

  • true

  • false

  • not given

Explanation

Question 92 of 181

1

Which of the following function of Boolean object returns a string containing the source of the Boolean object? (JavaScript)

Select one of the following:

  • toSource()

  • valueOf()

  • toString()

  • none

Explanation

Question 93 of 181

1

Which of the following function of String object returns the index within the calling String object of the last occurrence of the specified value? (JavaScript)

Select one of the following:

  • lastIndexOf()

  • search()

  • substr()

  • indexOf()

Explanation

Question 94 of 181

1

To access an HTML element, JavaScript can use the ___________ method.

Select one of the following:

  • document.getElementById(id)

  • var

  • sort

  • map

Explanation

Question 95 of 181

1

You declare a JavaScript variable with the ______ keyword

Select one of the following:

  • document.getElementById(id)

  • var

  • sort

  • map

Explanation

Question 96 of 181

1

To assign (JavaScript) a value to the variable, use the sign

Select one of the following:

  • =

  • ++

  • /

  • #

Explanation

Question 97 of 181

1

Once you create an _______, you can create new objects (JavaScript) of the same type.

Select one of the following:

  • object constructor

  • link

  • map

  • array

Explanation

Question 98 of 181

1

A JavaScript ______ is a block of JavaScript code, that can be executed when "asked" for

Select one of the following:

  • function

  • constant

  • link

  • map

Explanation

Question 99 of 181

1

External JavaScript files have the file extension _____

Select one of the following:

  • js

  • doc

  • jpg

Explanation

Question 100 of 181

1

Can functions return a value? (JavaScript)

Select one of the following:

  • True
  • False

Explanation

Question 101 of 181

1

JavaScript objects are containers for _____________

Select one of the following:

  • named values and methods

  • link

  • maps

  • fils

Explanation

Question 102 of 181

1

HTML DOM methods are ______ you can perform (on HTML Elements). (JavaScript)

Select one of the following:

  • actions

  • values

  • constants

  • links

Explanation

Question 103 of 181

1

The body section in HTML is set with the tag

Select one of the following:

  • <xmp><html></xmp>

  • <xmp><begin></xmp>

  • <xmp><body></xmp>

  • <xmp><title></xmp>

Explanation

Question 104 of 181

1

Which tag is used in HTML to set text size, font type, and color

Select one of the following:

  • <xmp>< font ></xmp>

  • <xmp>< size ></xmp>

  • <xmp>< type ></xmp>

  • <xmp>< color ></xmp>

Explanation

Question 105 of 181

1

Which attributes of the <xmp><font></xmp>tag in HTML specifies the size of the text?

Select one of the following:

  • Color

  • Size

  • Type

  • Face

Explanation

Question 106 of 181

1

Which attributes of the <xmp><font></xmp>tag in HTML specifies the font of the text?

Select one of the following:

  • Color

  • Size

  • Face

  • Type

Explanation

Question 107 of 181

1

Which attributes of the <xmp><font></xmp>tag in HTML specifies the color of the text?

Select one of the following:

  • Color

  • Size

  • Type

  • Face

Explanation

Question 108 of 181

1

Headings can be displayed in HTML using the tags

Select one of the following:

  • <xmp><i1> …<i6></xmp>

  • <xmp><u1> …<u6></xmp>

  • <xmp><f1> …<f6></xmp>

  • <xmp>< h1> …<h6></xmp>

Explanation

Question 109 of 181

1

The smallest heading in HTML:

Select one of the following:

  • <xmp><h1></xmp>

  • <xmp><h7></xmp>

  • <xmp><smallest></xmp>

  • <xmp><h6></xmp>

Explanation

Question 110 of 181

1

The <xmp><hr></xmp> tag has no closing tag in HTML

Select one of the following:

  • True
  • False

Explanation

Question 111 of 181

1

The <xmp><br></xmp> tag has no closing tag in HTML

Select one of the following:

  • True
  • False

Explanation

Question 112 of 181

1

The <xmp><u></xmp> tag has no closing tag in HTML

Select one of the following:

  • True
  • False

Explanation

Question 113 of 181

1

The <xmp><ol></xmp> tag has no closing tag in HTML

Select one of the following:

  • True
  • False

Explanation

Question 114 of 181

1

The <xmp><basefont></xmp> tag has no closing tag in HTML

Select one of the following:

  • True
  • False

Explanation

Question 115 of 181

1

The <xmp><font></xmp>tag has no closing tag in HTML

Select one of the following:

  • True
  • False

Explanation

Question 116 of 181

1

______________is the standard markup language used to create web pages

Select one of the following:

  • PHP

  • CSS

  • JavaScript

  • HTML

Explanation

Question 117 of 181

1

You can center text in HTML using the tag

Select one of the following:

  • <xmp><basefont></xmp>

  • <xmp><b></xmp>

  • <xmp><t></xmp>

  • <xmp><center></xmp>

Explanation

Question 118 of 181

1

This tag in HTML works similarly to the <xmp><abbr></xmp> tag but is used to display the value of data which is displayed as an acronym

Select one of the following:

  • <xmp><basefont></xmp>

  • <xmp><abbr></xmp>

  • <xmp>< acronym ></xmp>

  • <xmp><center></xmp>

Explanation

Question 119 of 181

1

Addresses in HTML are placed on a webpage with the tag

Select one of the following:

  • <xmp><address></xmp>

  • <xmp>< acronym ></xmp>

  • <xmp><abbr></xmp>

  • <xmp><center></xmp>

Explanation

Question 120 of 181

1

Computer output tags in HTML are used to display text as computer programming code

Select one of the following:

  • <xmp><address ></xmp>

  • <xmp>< code>, <kbd>, <tt>, <samp>, <var ></xmp>

  • <xmp>< dl>,<dt>,<dd ></xmp>

  • <xmp>< b>,<i ></xmp>

Explanation

Question 121 of 181

1

Definition lists in HTML are created using the tags

Select one of the following:

  • <xmp><address ></xmp>

  • <xmp>< code>, <kbd>, <tt>, <samp>, <var ></xmp>

  • <xmp>< dl>,<dt>,<dd ></xmp>

  • <xmp>< b>,<i ></xmp>

Explanation

Question 122 of 181

1

Deleted text in HTML is displayed with the tag

Select one of the following:

  • <xmp>< dt></xmp>

  • <xmp>< code ></xmp>

  • <xmp><dl></xmp>

  • <xmp>< del></xmp>

Explanation

Question 123 of 181

1

Inserted text in HTML is displayed with the tag

Select one of the following:

  • <xmp><i ></xmp>

  • <xmp><code ></xmp>

  • <xmp><ins></xmp>

  • <xmp><tt ></xmp>

Explanation

Question 124 of 181

1

Long quotations in HTML are displayed with the tag

Select one of the following:

  • <xmp>< blockquote ></xmp>

  • <xmp><q></xmp>

  • <xmp><ququ></xmp>

  • <xmp><tt ></xmp>

Explanation

Question 125 of 181

1

Short quotations in HTML are displayed with the tag

Select one of the following:

  • <xmp>< blockquote ></xmp>

  • <xmp><q></xmp>

  • <xmp><ququ></xmp>

  • <xmp><tt ></xmp>

Explanation

Question 126 of 181

1

Where in an HTML document is the correct place to refer to an external style sheet?

Select one of the following:

  • In the <head> section

  • In the <body> section

Explanation

Question 127 of 181

1

Which HTML tag is used to define an internal style sheet?

Select one of the following:

  • <style>

  • <script>

Explanation

Question 128 of 181

1

Which of the following property (CSS) is used to align the text of a document?

Select one of the following:

  • text-align

  • font-family

Explanation

Question 129 of 181

1

Which of the following property (CSS) of a table element controls the placement of the table caption?

Select one of the following:

  • :caption-side

  • :border-left-width

Explanation

Question 130 of 181

1

Which of the following property (CSS) changes the width of left border?

Select one of the following:

  • :border-left-width

  • :caption-side

Explanation

Question 131 of 181

1

Which of the following property specifies the width of a border?

Select one of the following:

  • :border-width

  • :border-left-width

Explanation

Question 132 of 181

1

CSS Comments:

Select one of the following:

  • /* */

  • * *

Explanation

Question 133 of 181

1

133. The ______________ is the HTML tag that a style will be applied to. (CSS)

Select one of the following:

  • Selector

  • Inlinestyle

Explanation

Question 134 of 181

1

The __________ is an aspect of the HTML tag that will be affected by the stylesheet definition. (CSS)

Select one of the following:

  • value

  • property

Explanation

Question 135 of 181

1

The ______ that the property of a selector will have. (CSS)

Select one of the following:

  • value

  • property

Explanation

Question 136 of 181

1

Which stylesheet has the highest priority?

Select one of the following:

  • Inlinestyle

  • :link

Explanation

Question 137 of 181

1

We use this pseudo-classes to add special style to an unvisited link. (CSS)

Select one of the following:

  • :link

  • :hover

Explanation

Question 138 of 181

1

138. We use this class to add special style to a visited link. (CSS)

Select one of the following:

  • :visited

  • :hover

Explanation

Question 139 of 181

1

We use this class to add special style to an element when you mouse over it. (CSS)

Select one of the following:

  • :visited

  • :hover

Explanation

Question 140 of 181

1

What is the correct CSS syntax for making all the <p> elements bold?

Select one of the following:

  • p {font-weight:bold}

  • p {font:bold}

Explanation

Question 141 of 181

1

PHP stands for

Select one of the following:

  • Hypertext Preprocessor

  • Hypertext Postprocessor

Explanation

Question 142 of 181

1

PHP files have a default file extension of _____ .

Select one of the following:

  • php

  • p

  • css

Explanation

Question 143 of 181

1

PHP is a _______

Select one of the following:

  • Server-scripting language

  • WEB-scripting language

Explanation

Question 144 of 181

1

Syntax for declaring variables (PHP)

Select one of the following:

  • $txt = "Hello world!";
    $x = 5;
    $y = 10.5;

  • $txt == "Hello world!";
    $x == 5;
    $y == 10.5;

Explanation

Question 145 of 181

1

A PHP script begins with ____ and ends with ___.

Select one of the following:

  • <?php__?>

  • <? __?>

Explanation

Question 146 of 181

1

Single line comments (PHP) are declared with

Select one of the following:

  • // This is a single-line comment
    # This is also a single-line comment

  • /* This is a single-line comment
    # This is also a single-line comment

Explanation

Question 147 of 181

1

Multi-line comments (PHP) are declared with a starting ____ and an ending ___.

Select one of the following:

  • /* */

  • //

Explanation

Question 148 of 181

1

You can print text on a webpage in PHP using the ____ or ____ commands.

Select one of the following:

  • print or echo

  • cout

  • printf

Explanation

Question 149 of 181

1

Are all variable names case-sensitive in PHP?

Select one of the following:

  • True
  • False

Explanation

Question 150 of 181

1

Correct syntax for a function (PHP):

Select one of the following:

  • Function function_name () {code for runction goes here;}

  • Function function_name {code for runction goes here;}

Explanation

Question 151 of 181

1

To call a function (PHP)_______________(if the function has any parameters).

Select one of the following:

  • function_name(parameters);

  • function_name(parameters).

Explanation

Question 152 of 181

1

An external file in which a PHP script is declared will be included within the PHP source code of a webpage using the ________ function

Select one of the following:

  • Include

  • link

Explanation

Question 153 of 181

1

For text variables (PHP), the value is surrounded by “”

Select one of the following:

  • True
  • False

Explanation

Question 154 of 181

1

You can print variables together (PHP) with regular text using Dot

Select one of the following:

  • True
  • False

Explanation

Question 155 of 181

1

Which of the PHP's built-in functions will return the absolute value of a number?

Select one of the following:

  • abs()

  • max()

Explanation

Question 156 of 181

1

Which of the PHP's built-in functions returns the highest value from a set of specified numbers?

Select one of the following:

  • abs()

  • max()

Explanation

Question 157 of 181

1

Which of the PHP's built-in functions will print a text string backwards?

Select one of the following:

  • strrev()

  • strtoupper()

Explanation

Question 158 of 181

1

Which of the PHP's built-in functions will print a text string in all uppercase letters?

Select one of the following:

  • strtoupper()

  • strrev()

Explanation

Question 159 of 181

1

What will be the output of variable ? (PHP) $highest = max(5, 10, 15, 20);

Select one of the following:

  • 20

  • 5

Explanation

Question 160 of 181

1

The ____ keyword is used to access a global variable from within a function. (PHP)

Select one of the following:

  • $GLOBALS

  • $SESSION

Explanation

Question 161 of 181

1

PHP stores all __________in an array called $GLOBALS[index].

Select one of the following:

  • Global variables

  • Local variables

Explanation

Question 162 of 181

1

When we want a local variable NOT to be deleted, use the ________ keyword when you first declare the variable. (PHP)

Select one of the following:

  • static keyword

  • final keyword

Explanation

Question 163 of 181

1

The PHP ________function returns the data type and value.

Select one of the following:

  • var_dump()

  • var_value()

Explanation

Question 164 of 181

1

A ____ is a number with a decimal point or a number in exponential form. (PHP)

Select one of the following:

  • Floating point number

  • Fixed point number

Explanation

Question 165 of 181

1

Syntax for array (PHP):

Select one of the following:

  • $cars = array("Volvo","BMW","Toyota");

  • $cars = array{"Volvo","BMW","Toyota"};

Explanation

Question 166 of 181

1

How do you write "Hello World" in PHP

Select one of the following:

  • echo "Hello World";

  • "Hello World";

Explanation

Question 167 of 181

1

What is the correct way to end a PHP statement?

Select one of the following:

  • ;

  • }

  • .

Explanation

Question 168 of 181

1

In PHP you can use both single quotes ( ' ' ) and double quotes ( " " ) for strings:

Select one of the following:

  • True
  • False

Explanation

Question 169 of 181

1

The PHP ______ function reverses a string.

Select one of the following:

  • strrev

  • strtoupper()

Explanation

Question 170 of 181

1

The while loop executes a block of code as long as the specified condition is ____. (PHP)

Select one of the following:

  • True
  • False

Explanation

Question 171 of 181

1

Which built-in method adds one or more elements to the end of an array and returns the new length of the array? (JavaScript)

Select one of the following:

  • Push()

  • Add()

Explanation

Question 172 of 181

1

Which of the following function of String object causes a string to be italic, as if it were in an <i> tag? (JavaScript)

Select one of the following:

  • italics()

  • toitalics()

Explanation

Question 173 of 181

1

How do you get information from a form that is submitted using the "get" method?

Select one of the following:

  • $_GET[];

  • $_POST[];

Explanation

Question 174 of 181

1

Include files must have the file extension ".inc"

Select one of the following:

  • True
  • False

Explanation

Question 175 of 181

1

When using the POST method, variables are displayed in the URL:

Select one of the following:

  • True
  • False

Explanation

Question 176 of 181

1

In this example variable x has the _____scope. (PHP)

Select one of the following:

  • LOCAL

  • GLOBAL

Explanation

Question 177 of 181

1

In this example variable x has the _____scope.(PHP)

Select one of the following:

  • LOCAL

  • GLOBAL

Explanation

Question 178 of 181

1

How do you display a border like this(CSS):

Select one of the following:

  • border-width:10px 1px 5px 20px

  • border-width:20px 10px 1px 5px

Explanation

Question 179 of 181

1

You can access object properties(JavaScript) in two ways:
ObjectName.propertyName or objectName[“propertyName”]

Select one of the following:

  • True
  • False

Explanation

Question 180 of 181

1

You access an object method (JavaScript)with the following syntax:
ObjectName.methodName()

Select one of the following:

  • True
  • False

Explanation

Question 181 of 181

1

How do you display a border like this (CSS): - The top border = 11 pixels; - The bottom border = 51 pixels; - The left border = 21 pixels; - The right border = 11pixel?

Select one of the following:

  • border-width:11px 21px 51px 11px

  • border-width:11px 11px 51px 21px

  • border-width:51px 21px 11px 11px

  • border-width:11px 51px 21px 11px

Explanation