WEB

Descripción

2017
Hello World
Test por Hello World, actualizado hace más de 1 año
Hello World
Creado por Hello World hace casi 7 años
1095
6

Resumen del Recurso

Pregunta 1

Pregunta
Variable names (PHP) can only contain _
Respuesta
  • letters, numbers and the underscore ( _ ) symbol
  • letters and numbers
  • letters, numbers and &^%$#@ ( _ ) symbol
  • no correct answer

Pregunta 2

Pregunta
Are all keywords (e.g. if, else, while, echo, etc.) in PHP, classes, functions, and user-defined functions case-sensitive
Respuesta
  • yes
  • no
  • do not know
  • not sure

Pregunta 3

Pregunta
A variable declared ________ a function has a GLOBAL SCOPE. (PHP)
Respuesta
  • outside
  • within
  • anywhere
  • nowhere

Pregunta 4

Pregunta
A variable declared ________ a function has a LOCAL SCOPE. (PHP)
Respuesta
  • outside
  • within
  • anywhere
  • nowhere

Pregunta 5

Pregunta
to access a numeric arrays elements, refer to the array (PHP) with___
Respuesta
  • appropriate index number in brackets
  • appropriate index number with dots
  • appropriate index number without brackets
  • no correct answer

Pregunta 6

Pregunta
The _______ is an array which associates an index value (instead of a number) to a certain value.(PHP)
Respuesta
  • string
  • associative array
  • dot
  • class

Pregunta 7

Pregunta
Syntax for associative array (PHP)
Respuesta
  • $arrayName[index_value] = value;
  • $arrayName[“index_value”] = value;
  • $arrayName(index_value) = value;
  • arrayName[index_value] = value;

Pregunta 8

Pregunta
PHP ______ function returns the length of a string
Respuesta
  • str_word_count()
  • strlen()
  • strops()
  • strrev()

Pregunta 9

Pregunta
PHP ______ function replaces some characters with some other characters in a string
Respuesta
  • str_word_count()
  • strlen()
  • str_replace()
  • strops()

Pregunta 10

Pregunta
To create a constant (PHP), use
Respuesta
  • define(name, value, case-insensitive)
  • constant(name, value, case-insensitive)
  • constant(name, value)
  • constant( value)

Pregunta 11

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

Pregunta 12

Pregunta
array indexes (PHP) start at ___
Respuesta
  • 0
  • 1
  • -1
  • no correct answer

Pregunta 13

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

Pregunta 14

Pregunta
____________executes some code if one condition is true.(PHP)
Respuesta
  • if statement
  • if ….else statement
  • if….elseif…else statement
  • switch statement

Pregunta 15

Pregunta
_____ executes some code if a condition is true and another code if that condition is false.(PHP)
Respuesta
  • if statement
  • if ….else statement
  • if….elseif…else statement
  • switch statement

Pregunta 16

Pregunta
_____ executes different codes for more than two conditions.(PHP)
Respuesta
  • if statement
  • if ….else statement
  • if….elseif…else statement
  • switch statement

Pregunta 17

Pregunta
All variables in PHP start with symbol?
Respuesta
  • &
  • $
  • %
  • !

Pregunta 18

Pregunta
The PHP ________function counts the number of words in a string
Respuesta
  • str_word_count()
  • strlen()
  • strrev()
  • strops()

Pregunta 19

Pregunta
The PHP _____ function searches for a specific text within a string
Respuesta
  • str_word_count()
  • strlen()
  • strrev()
  • strops()

Pregunta 20

Pregunta
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
Respuesta
  • do…while
  • while
  • for
  • foreach

Pregunta 21

Pregunta
multiline comments declared with (PHP)
Respuesta
  • /
  • we cannot comment lines in PHP
  • //
  • /* */

Pregunta 22

Pregunta
Which of the following property (CSS) is used to make a font italic or oblique?
Respuesta
  • font-family
  • font-style
  • font-variant
  • font-weight

Pregunta 23

Pregunta
Which of the following property (CSS) specifies the top margin of an element?
Respuesta
  • :margin
  • :margin-bottom
  • :margin-top
  • :margin-left

Pregunta 24

Pregunta
Which of the following (CSS) defines a measurement as a percentage relative to another value, typically an enclosing element?
Respuesta
  • %
  • cm
  • em
  • ex

Pregunta 25

Pregunta
Which of the following property (CSS) is used to set the color of a text?
Respuesta
  • Color
  • Direction
  • Letter-spacing
  • Word-spacing

Pregunta 26

Pregunta
Which of the following property changes the width of bottom border?
Respuesta
  • :border-bottom-width
  • :border-top-width
  • :border-right-width
  • :border-left-width

Pregunta 27

Pregunta
Which of the following property (CSS) specifies a shorthand property for setting the margin properties in one declaration?
Respuesta
  • :margin
  • :margin-bottom
  • :margin-top
  • :margin-left

Pregunta 28

Pregunta
Which of the following property (CSS) is used to set the background color of an element?
Respuesta
  • Background-color
  • Background-image
  • Background-repeat
  • Background-position

Pregunta 29

Pregunta
Which of the following property (CSS) is used to add or subtract space between the words of a sentence?
Respuesta
  • Color
  • Direction
  • Letter-spacing
  • Word-spacing

Pregunta 30

Pregunta
Which of the following property (CSS) is used to set the opacity of an image?
Respuesta
  • Border
  • Height
  • Moz-opacity
  • Width

Pregunta 31

Pregunta
Which of the following property (CSS) specifies whether a border should be solid, dashed line, double line, or one of the other possible values?
Respuesta
  • :border-color
  • :border-style
  • :border-width
  • :border-bottom-color

Pregunta 32

Pregunta
Which of the following is correct about CSS?
Respuesta
  • 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

Pregunta 33

Pregunta
Which of the following (CSS) defines a measurement in screen pixels?
Respuesta
  • px
  • vh
  • vw
  • vmin

Pregunta 34

Pregunta
Which of the following property (CSS) is used as a shorthand to specify a number of other background properties?
Respuesta
  • background-attachment
  • background
  • background-repeat
  • background-position

Pregunta 35

Pregunta
Which of the following property (CSS) specifies whether a border should be solid, dashed line, double line, or one of the other possible values?
Respuesta
  • :border-color
  • :border-style
  • :border-width
  • :border-bottom-color

Pregunta 36

Pregunta
Which of the following is a component of CSS style rule?
Respuesta
  • Selector
  • Property
  • Value
  • All

Pregunta 37

Pregunta
Which of the following is a way to associate styles with your HTML document?
Respuesta
  • Embedded CSS - The <xmp><style></xmp> Element
  • Inline CSS –The style Attributes
  • None
  • Both of the above

Pregunta 38

Pregunta
Which of the following property (CSS) is used to create a small-caps effect?
Respuesta
  • font-family
  • font-style
  • font-weight
  • font-variant

Pregunta 39

Pregunta
Which of the following property (CSS) is used to increase or decrease how bold or light a font appears?
Respuesta
  • font-family
  • font-style
  • font-variant
  • font-weight

Pregunta 40

Pregunta
Which of the following property (CSS) is used to set the text shadow around a text?
Respuesta
  • white-space
  • text-shadow
  • text-decoration
  • text-transform

Pregunta 41

Pregunta
Which of the following property (CSS) of a table element specifies the width that should appear between table cells?
Respuesta
  • :Border – collapse
  • :Border-spacing
  • :Caption-side
  • :Empty-cell

Pregunta 42

Pregunta
Which of the following property (CSS) is used to increase or decrease the size of a font?
Respuesta
  • font-size
  • font
  • font-variant
  • font-weight

Pregunta 43

Pregunta
A relative measurement for the height of a font in_____ spaces. This unit is equivalent to the size of a given font. (CSS)
Respuesta
  • em
  • px
  • mm
  • cm

Pregunta 44

Pregunta
The _______ property specifies the stack order of an element (CSS).
Respuesta
  • z-index
  • type
  • p

Pregunta 45

Pregunta
This property is used to capitalize text or convert text to uppercase or lowercase letters. (CSS)
Respuesta
  • text-decoration
  • text-transform
  • font-family
  • white-space

Pregunta 46

Pregunta
This property is used to control the flow and formatting of text. (CSS)
Respuesta
  • text-decoration
  • text-transform
  • font-family
  • white-space

Pregunta 47

Pregunta
This property is used to add or subtract space between the letters that make up a word. (CSS)
Respuesta
  • letter-spacing
  • word-spacing
  • text-indent
  • text-align

Pregunta 48

Pregunta
This property is used to set the text shadow around a text.(CSS)
Respuesta
  • text-shadow
  • word-spacing
  • text-indent
  • text-align

Pregunta 49

Pregunta
This property is used to indent the text of a paragraph. (CSS)
Respuesta
  • letter-spacing
  • word-spacing
  • text-indent
  • text-align

Pregunta 50

Pregunta
___________ properties are CSS properties that let you set the values of several other CSS properties simultaneously
Respuesta
  • Shortland
  • Sortland

Pregunta 51

Pregunta
Which stylesheet has the second highest priority?
Respuesta
  • Inline stylesheets
  • Internal stylesheets
  • External stylesheets
  • stylesheets

Pregunta 52

Pregunta
Which stylesheet has the third highest priority?
Respuesta
  • Inline stylesheets
  • Internal stylesheets
  • stylesheets
  • External stylesheets

Pregunta 53

Pregunta
An external stylesheet is declared in an external file with a ________extension.
Respuesta
  • css
  • html
  • doc
  • txt

Pregunta 54

Pregunta
External stylesheets are called using the _______ tag.
Respuesta
  • <xmp><link></xmp>
  • <xmp><class></xmp>
  • <xmp><id></xmp>
  • <xmp><stylesheets></xmp>

Pregunta 55

Pregunta
If you define the position to be _________ it will be calculated from the upper left corner of the page. (CSS)
Respuesta
  • absolute
  • relative
  • stylesheets
  • normal

Pregunta 56

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

Pregunta 57

Pregunta
When using an external stylesheet on a webpage, this attribute takes the value "stylesheet"
Respuesta
  • rel
  • type
  • href
  • abs

Pregunta 58

Pregunta
When using an external stylesheet on a webpage, this attribute takes the value "text/css".
Respuesta
  • type
  • rel
  • href
  • abs

Pregunta 59

Pregunta
Denotes the name and location of the external stylesheet to be used.
Respuesta
  • rel
  • abs
  • type
  • href

Pregunta 60

Pregunta
___________ stylesheets are declared within individual tags and affect those tags only.
Respuesta
  • Inline stylesheets
  • Internal stylesheets
  • External stylesheets
  • define stylesheets

Pregunta 61

Pregunta
element is a block-level element that is often used as a container for other HTML elements. (CSS)
Respuesta
  • <xmp><div></xmp>
  • <xmp><span></xmp>
  • <xmp><spad></xmp>
  • None

Pregunta 62

Pregunta
The _______ element is an inline element that is often used as a container for some text. (CSS)
Respuesta
  • <xmp><div></xmp>
  • <xmp><ul></xmp>
  • <xmp><span></xmp>
  • None

Pregunta 63

Pregunta
You can define style rules based on the ______ attribute of the elements. (CSS)
Respuesta
  • class
  • type
  • img

Pregunta 64

Pregunta
Can we use negative values for position of the layer? (CSS)
Respuesta
  • True
  • False

Pregunta 65

Pregunta
How do you display hyperlinks without an underline? (CSS)
Respuesta
  • {decoration: no underline}
  • {underline: none}
  • {text-decoration: none}
  • {text-decoration: underline}

Pregunta 66

Pregunta
Which is the correct CSS syntax?
Respuesta
  • {body:color=black(body;}
  • {body;color:black;}
  • body:color=black;
  • body {color: black;}

Pregunta 67

Pregunta
What is the correct CSS syntax for making all the <xmp><p></xmp> elements bold?
Respuesta
  • p {text-decoration:bold;}
  • p {text-size:bold;}
  • p {text-style:bold;}
  • p {font-weight:bold;}

Pregunta 68

Pregunta
What is the correct XHTML for referring to an external style sheet?
Respuesta
  • <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>

Pregunta 69

Pregunta
What is the correct CSS syntax for making all the <xmp><p></xmp> elements bold?
Respuesta
  • <xmp><p style=”text-size:bold;”></xmp>
  • <xmp><p style=”font-size:bold;”></xmp>
  • d. p {text-size:bold;}
  • p {font-weight:bold;}

Pregunta 70

Pregunta
This property is used to underline, overline, and strike through text (CSS).
Respuesta
  • text-decoration
  • text-transform
  • font-family
  • white-space

Pregunta 71

Pregunta
Which of the following is correct about features of JavaScript
Respuesta
  • JavaScript is complementary to and integrated with HTML.
  • JavaScript is open and cross-platform
  • Both of the above
  • None of them

Pregunta 72

Pregunta
Which of the following type of variable is visible everywhere in your JavaScript code? (JavaScript)
Respuesta
  • local variable
  • global variable
  • both
  • none

Pregunta 73

Pregunta
Which built-in method returns the calling string value converted to upper case? (JavaScript)
Respuesta
  • toUpperCase()
  • toUpper()
  • changeCase()
  • none

Pregunta 74

Pregunta
Which of the following function of String object returns the character at the specified index? (JavaScript)
Respuesta
  • charAt()
  • charCodeAt()
  • concat()
  • indexOf()

Pregunta 75

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

Pregunta 76

Pregunta
Which of the following function of String object creates an HTML anchor that is used as a hypertext target? (JavaScript)
Respuesta
  • anchor()
  • link()
  • blink()
  • big()

Pregunta 77

Pregunta
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)
Respuesta
  • fixed()
  • fontcolor()
  • fontsize()
  • italics()

Pregunta 78

Pregunta
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)
Respuesta
  • indexOf()
  • join()
  • lastIndexOf()
  • map()

Pregunta 79

Pregunta
Which of the following function of Array object adds and/or removes elements from an array? (JavaScript)
Respuesta
  • sort()
  • toSourse()
  • splice()
  • unshift()

Pregunta 80

Pregunta
Which of the following is correct about features of JavaScript?
Respuesta
  • JavaScript is a lightweight, interpreted programming language.
  • JavaScript is designed for creating network-centric applications.
  • JavaScript is complementary to and integrated with Java
  • all

Pregunta 81

Pregunta
Which of the following function of String object returns a string representing the specified object? (JavaScript)
Respuesta
  • toLocaleUpperCase()
  • toUpperCase()
  • toString()
  • substring()

Pregunta 82

Pregunta
Which of the following function of String object creates an HTML hypertext link that requests another URL? (JavaScript)
Respuesta
  • link()
  • sub()
  • sup()
  • small()

Pregunta 83

Pregunta
Which of the following function of Array object joins all elements of an array into a string? (JavaScript)
Respuesta
  • concat()
  • join()
  • pop()
  • map()

Pregunta 84

Pregunta
Which of the following function of Array object sorts the elements of an array? (JavaScript)
Respuesta
  • toSourse()
  • sort()
  • toString()
  • unshift()

Pregunta 85

Pregunta
Which of the following is an advantage of using JavaScript?
Respuesta
  • Less server interaction
  • Immediate feedback to the visitors
  • Increased interactivity
  • All

Pregunta 86

Pregunta
86. How can you get the type of arguments passed to a function? (JavaScript)
Respuesta
  • using typeof operator
  • using getType function
  • both
  • none

Pregunta 87

Pregunta
Which built-in method returns the length of the string? (JavaScript)
Respuesta
  • length()
  • size()
  • index()
  • none

Pregunta 88

Pregunta
Which of the following function of Number object returns the number's value? (JavaScript)
Respuesta
  • toString()
  • valueOf()
  • toLocaleString()
  • toPrecision()

Pregunta 89

Pregunta
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)
Respuesta
  • anchor()
  • big()
  • blink()
  • italics()

Pregunta 90

Pregunta
Which of the following function of Array object returns true if every element in this array satisfies the provided testing function? (JavaScript)
Respuesta
  • concat()
  • every()
  • push()
  • some()

Pregunta 91

Pregunta
Is JavaScript a case-sensitive language?
Respuesta
  • true
  • false
  • not given

Pregunta 92

Pregunta
Which of the following function of Boolean object returns a string containing the source of the Boolean object? (JavaScript)
Respuesta
  • toSource()
  • valueOf()
  • toString()
  • none

Pregunta 93

Pregunta
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)
Respuesta
  • lastIndexOf()
  • search()
  • substr()
  • indexOf()

Pregunta 94

Pregunta
To access an HTML element, JavaScript can use the ___________ method.
Respuesta
  • document.getElementById(id)
  • var
  • sort
  • map

Pregunta 95

Pregunta
You declare a JavaScript variable with the ______ keyword
Respuesta
  • document.getElementById(id)
  • var
  • sort
  • map

Pregunta 96

Pregunta
To assign (JavaScript) a value to the variable, use the sign
Respuesta
  • =
  • ++
  • /
  • #

Pregunta 97

Pregunta
Once you create an _______, you can create new objects (JavaScript) of the same type.
Respuesta
  • object constructor
  • link
  • map
  • array

Pregunta 98

Pregunta
A JavaScript ______ is a block of JavaScript code, that can be executed when "asked" for
Respuesta
  • function
  • constant
  • link
  • map

Pregunta 99

Pregunta
External JavaScript files have the file extension _____
Respuesta
  • js
  • doc
  • jpg

Pregunta 100

Pregunta
Can functions return a value? (JavaScript)
Respuesta
  • True
  • False

Pregunta 101

Pregunta
JavaScript objects are containers for _____________
Respuesta
  • named values and methods
  • link
  • maps
  • fils

Pregunta 102

Pregunta
HTML DOM methods are ______ you can perform (on HTML Elements). (JavaScript)
Respuesta
  • actions
  • values
  • constants
  • links

Pregunta 103

Pregunta
The body section in HTML is set with the tag
Respuesta
  • <xmp><html></xmp>
  • <xmp><begin></xmp>
  • <xmp><body></xmp>
  • <xmp><title></xmp>

Pregunta 104

Pregunta
Which tag is used in HTML to set text size, font type, and color
Respuesta
  • <xmp>< font ></xmp>
  • <xmp>< size ></xmp>
  • <xmp>< type ></xmp>
  • <xmp>< color ></xmp>

Pregunta 105

Pregunta
Which attributes of the <xmp><font></xmp>tag in HTML specifies the size of the text?
Respuesta
  • Color
  • Size
  • Type
  • Face

Pregunta 106

Pregunta
Which attributes of the <xmp><font></xmp>tag in HTML specifies the font of the text?
Respuesta
  • Color
  • Size
  • Face
  • Type

Pregunta 107

Pregunta
Which attributes of the <xmp><font></xmp>tag in HTML specifies the color of the text?
Respuesta
  • Color
  • Size
  • Type
  • Face

Pregunta 108

Pregunta
Headings can be displayed in HTML using the tags
Respuesta
  • <xmp><i1> …<i6></xmp>
  • <xmp><u1> …<u6></xmp>
  • <xmp><f1> …<f6></xmp>
  • <xmp>< h1> …<h6></xmp>

Pregunta 109

Pregunta
The smallest heading in HTML:
Respuesta
  • <xmp><h1></xmp>
  • <xmp><h7></xmp>
  • <xmp><smallest></xmp>
  • <xmp><h6></xmp>

Pregunta 110

Pregunta
The <xmp><hr></xmp> tag has no closing tag in HTML
Respuesta
  • True
  • False

Pregunta 111

Pregunta
The <xmp><br></xmp> tag has no closing tag in HTML
Respuesta
  • True
  • False

Pregunta 112

Pregunta
The <xmp><u></xmp> tag has no closing tag in HTML
Respuesta
  • True
  • False

Pregunta 113

Pregunta
The <xmp><ol></xmp> tag has no closing tag in HTML
Respuesta
  • True
  • False

Pregunta 114

Pregunta
The <xmp><basefont></xmp> tag has no closing tag in HTML
Respuesta
  • True
  • False

Pregunta 115

Pregunta
The <xmp><font></xmp>tag has no closing tag in HTML
Respuesta
  • True
  • False

Pregunta 116

Pregunta
______________is the standard markup language used to create web pages
Respuesta
  • PHP
  • CSS
  • JavaScript
  • HTML

Pregunta 117

Pregunta
You can center text in HTML using the tag
Respuesta
  • <xmp><basefont></xmp>
  • <xmp><b></xmp>
  • <xmp><t></xmp>
  • <xmp><center></xmp>

Pregunta 118

Pregunta
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
Respuesta
  • <xmp><basefont></xmp>
  • <xmp><abbr></xmp>
  • <xmp>< acronym ></xmp>
  • <xmp><center></xmp>

Pregunta 119

Pregunta
Addresses in HTML are placed on a webpage with the tag
Respuesta
  • <xmp><address></xmp>
  • <xmp>< acronym ></xmp>
  • <xmp><abbr></xmp>
  • <xmp><center></xmp>

Pregunta 120

Pregunta
Computer output tags in HTML are used to display text as computer programming code
Respuesta
  • <xmp><address ></xmp>
  • <xmp>< code>, <kbd>, <tt>, <samp>, <var ></xmp>
  • <xmp>< dl>,<dt>,<dd ></xmp>
  • <xmp>< b>,<i ></xmp>

Pregunta 121

Pregunta
Definition lists in HTML are created using the tags
Respuesta
  • <xmp><address ></xmp>
  • <xmp>< code>, <kbd>, <tt>, <samp>, <var ></xmp>
  • <xmp>< dl>,<dt>,<dd ></xmp>
  • <xmp>< b>,<i ></xmp>

Pregunta 122

Pregunta
Deleted text in HTML is displayed with the tag
Respuesta
  • <xmp>< dt></xmp>
  • <xmp>< code ></xmp>
  • <xmp><dl></xmp>
  • <xmp>< del></xmp>

Pregunta 123

Pregunta
Inserted text in HTML is displayed with the tag
Respuesta
  • <xmp><i ></xmp>
  • <xmp><code ></xmp>
  • <xmp><ins></xmp>
  • <xmp><tt ></xmp>

Pregunta 124

Pregunta
Long quotations in HTML are displayed with the tag
Respuesta
  • <xmp>< blockquote ></xmp>
  • <xmp><q></xmp>
  • <xmp><ququ></xmp>
  • <xmp><tt ></xmp>

Pregunta 125

Pregunta
Short quotations in HTML are displayed with the tag
Respuesta
  • <xmp>< blockquote ></xmp>
  • <xmp><q></xmp>
  • <xmp><ququ></xmp>
  • <xmp><tt ></xmp>

Pregunta 126

Pregunta
Where in an HTML document is the correct place to refer to an external style sheet?
Respuesta
  • In the <head> section
  • In the <body> section

Pregunta 127

Pregunta
Which HTML tag is used to define an internal style sheet?
Respuesta
  • <style>
  • <script>

Pregunta 128

Pregunta
Which of the following property (CSS) is used to align the text of a document?
Respuesta
  • text-align
  • font-family

Pregunta 129

Pregunta
Which of the following property (CSS) of a table element controls the placement of the table caption?
Respuesta
  • :caption-side
  • :border-left-width

Pregunta 130

Pregunta
Which of the following property (CSS) changes the width of left border?
Respuesta
  • :border-left-width
  • :caption-side

Pregunta 131

Pregunta
Which of the following property specifies the width of a border?
Respuesta
  • :border-width
  • :border-left-width

Pregunta 132

Pregunta
CSS Comments:
Respuesta
  • /* */
  • * *

Pregunta 133

Pregunta
133. The ______________ is the HTML tag that a style will be applied to. (CSS)
Respuesta
  • Selector
  • Inlinestyle

Pregunta 134

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

Pregunta 135

Pregunta
The ______ that the property of a selector will have. (CSS)
Respuesta
  • value
  • property

Pregunta 136

Pregunta
Which stylesheet has the highest priority?
Respuesta
  • Inlinestyle
  • :link

Pregunta 137

Pregunta
We use this pseudo-classes to add special style to an unvisited link. (CSS)
Respuesta
  • :link
  • :hover

Pregunta 138

Pregunta
138. We use this class to add special style to a visited link. (CSS)
Respuesta
  • :visited
  • :hover

Pregunta 139

Pregunta
We use this class to add special style to an element when you mouse over it. (CSS)
Respuesta
  • :visited
  • :hover

Pregunta 140

Pregunta
What is the correct CSS syntax for making all the <p> elements bold?
Respuesta
  • p {font-weight:bold}
  • p {font:bold}

Pregunta 141

Pregunta
PHP stands for
Respuesta
  • Hypertext Preprocessor
  • Hypertext Postprocessor

Pregunta 142

Pregunta
PHP files have a default file extension of _____ .
Respuesta
  • php
  • p
  • css

Pregunta 143

Pregunta
PHP is a _______
Respuesta
  • Server-scripting language
  • WEB-scripting language

Pregunta 144

Pregunta
Syntax for declaring variables (PHP)
Respuesta
  • $txt = "Hello world!"; $x = 5; $y = 10.5;
  • $txt == "Hello world!"; $x == 5; $y == 10.5;

Pregunta 145

Pregunta
A PHP script begins with ____ and ends with ___.
Respuesta
  • <?php__?>
  • <? __?>

Pregunta 146

Pregunta
Single line comments (PHP) are declared with
Respuesta
  • // 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

Pregunta 147

Pregunta
Multi-line comments (PHP) are declared with a starting ____ and an ending ___.
Respuesta
  • /* */
  • //

Pregunta 148

Pregunta
You can print text on a webpage in PHP using the ____ or ____ commands.
Respuesta
  • print or echo
  • cout
  • printf

Pregunta 149

Pregunta
Are all variable names case-sensitive in PHP?
Respuesta
  • True
  • False

Pregunta 150

Pregunta
Correct syntax for a function (PHP):
Respuesta
  • Function function_name () {code for runction goes here;}
  • Function function_name {code for runction goes here;}

Pregunta 151

Pregunta
To call a function (PHP)_______________(if the function has any parameters).
Respuesta
  • function_name(parameters);
  • function_name(parameters).

Pregunta 152

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

Pregunta 153

Pregunta
For text variables (PHP), the value is surrounded by “”
Respuesta
  • True
  • False

Pregunta 154

Pregunta
You can print variables together (PHP) with regular text using Dot
Respuesta
  • True
  • False

Pregunta 155

Pregunta
Which of the PHP's built-in functions will return the absolute value of a number?
Respuesta
  • abs()
  • max()

Pregunta 156

Pregunta
Which of the PHP's built-in functions returns the highest value from a set of specified numbers?
Respuesta
  • abs()
  • max()

Pregunta 157

Pregunta
Which of the PHP's built-in functions will print a text string backwards?
Respuesta
  • strrev()
  • strtoupper()

Pregunta 158

Pregunta
Which of the PHP's built-in functions will print a text string in all uppercase letters?
Respuesta
  • strtoupper()
  • strrev()

Pregunta 159

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

Pregunta 160

Pregunta
The ____ keyword is used to access a global variable from within a function. (PHP)
Respuesta
  • $GLOBALS
  • $SESSION

Pregunta 161

Pregunta
PHP stores all __________in an array called $GLOBALS[index].
Respuesta
  • Global variables
  • Local variables

Pregunta 162

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

Pregunta 163

Pregunta
The PHP ________function returns the data type and value.
Respuesta
  • var_dump()
  • var_value()

Pregunta 164

Pregunta
A ____ is a number with a decimal point or a number in exponential form. (PHP)
Respuesta
  • Floating point number
  • Fixed point number

Pregunta 165

Pregunta
Syntax for array (PHP):
Respuesta
  • $cars = array("Volvo","BMW","Toyota");
  • $cars = array{"Volvo","BMW","Toyota"};

Pregunta 166

Pregunta
How do you write "Hello World" in PHP
Respuesta
  • echo "Hello World";
  • "Hello World";

Pregunta 167

Pregunta
What is the correct way to end a PHP statement?
Respuesta
  • ;
  • }
  • .

Pregunta 168

Pregunta
In PHP you can use both single quotes ( ' ' ) and double quotes ( " " ) for strings:
Respuesta
  • True
  • False

Pregunta 169

Pregunta
The PHP ______ function reverses a string.
Respuesta
  • strrev
  • strtoupper()

Pregunta 170

Pregunta
The while loop executes a block of code as long as the specified condition is ____. (PHP)
Respuesta
  • True
  • False

Pregunta 171

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

Pregunta 172

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

Pregunta 173

Pregunta
How do you get information from a form that is submitted using the "get" method?
Respuesta
  • $_GET[];
  • $_POST[];

Pregunta 174

Pregunta
Include files must have the file extension ".inc"
Respuesta
  • True
  • False

Pregunta 175

Pregunta
When using the POST method, variables are displayed in the URL:
Respuesta
  • True
  • False

Pregunta 176

Pregunta
In this example variable x has the _____scope. (PHP)
Respuesta
  • LOCAL
  • GLOBAL

Pregunta 177

Pregunta
In this example variable x has the _____scope.(PHP)
Respuesta
  • LOCAL
  • GLOBAL

Pregunta 178

Pregunta
How do you display a border like this(CSS):
Respuesta
  • border-width:10px 1px 5px 20px
  • border-width:20px 10px 1px 5px

Pregunta 179

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

Pregunta 180

Pregunta
You access an object method (JavaScript)with the following syntax: ObjectName.methodName()
Respuesta
  • True
  • False

Pregunta 181

Pregunta
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?
Respuesta
  • border-width:11px 21px 51px 11px
  • border-width:11px 11px 51px 21px
  • border-width:51px 21px 11px 11px
  • border-width:11px 51px 21px 11px
Mostrar resumen completo Ocultar resumen completo

Similar

Biology Revision - Y10 Mock
Tom Mitchell
Biology- Genes and Variation
Laura Perry
AQA Physics P1 Quiz
Bella Statham
Acids and Bases
Sarah Egan
Using GoConqr to teach science
Sarah Egan
Using GoConqr to study science
Sarah Egan
GCSE Combined Science
Derek Cumberbatch
Physics Revision
Tom Mitchell
The Circulatory System
Shane Buckley
Acids and Bases
silviaod119
Elements, Compounds and Mixtures
silviaod119