Questão 1
Questão
Variable names (PHP) can only contain _
Responda
-
letters, numbers and the underscore ( _ ) symbol
-
letters and numbers
-
letters, numbers and &^%$#@ ( _ ) symbol
-
no correct answer
Questão 2
Questão
Are all keywords (e.g. if, else, while, echo, etc.) in PHP, classes, functions, and user-defined functions case-sensitive
Responda
-
yes
-
no
-
do not know
-
not sure
Questão 3
Questão
A variable declared ________ a function has a GLOBAL SCOPE. (PHP)
Responda
-
outside
-
within
-
anywhere
-
nowhere
Questão 4
Questão
A variable declared ________ a function has a LOCAL SCOPE. (PHP)
Responda
-
outside
-
within
-
anywhere
-
nowhere
Questão 5
Questão
to access a numeric arrays elements, refer to the array (PHP) with___
Responda
-
appropriate index number in brackets
-
appropriate index number with dots
-
appropriate index number without brackets
-
no correct answer
Questão 6
Questão
The _______ is an array which associates an index value (instead of a number) to a certain value.(PHP)
Responda
-
string
-
associative array
-
dot
-
class
Questão 7
Questão
Syntax for associative array (PHP)
Responda
-
$arrayName[index_value] = value;
-
$arrayName[“index_value”] = value;
-
$arrayName(index_value) = value;
-
arrayName[index_value] = value;
Questão 8
Questão
PHP ______ function returns the length of a string
Responda
-
str_word_count()
-
strlen()
-
strops()
-
strrev()
Questão 9
Questão
PHP ______ function replaces some characters with some other characters in a string
Responda
-
str_word_count()
-
strlen()
-
str_replace()
-
strops()
Questão 10
Questão
To create a constant (PHP), use
Responda
-
define(name, value, case-insensitive)
-
constant(name, value, case-insensitive)
-
constant(name, value)
-
constant( value)
Questão 11
Questão
What will be the output of variable $a = abs(-123); (PHP)?
Questão 12
Questão
array indexes (PHP) start at ___
Questão 13
Questão
The _______function is used to return the length (the number of elements) of an array (PHP).
Responda
-
length()
-
count()
-
array()
-
return length()
Questão 14
Questão
____________executes some code if one condition is true.(PHP)
Questão 15
Questão
_____ executes some code if a condition is true and another code if that condition is false.(PHP)
Questão 16
Questão
_____ executes different codes for more than two conditions.(PHP)
Questão 17
Questão
All variables in PHP start with symbol?
Questão 18
Questão
The PHP ________function counts the number of words in a string
Responda
-
str_word_count()
-
strlen()
-
strrev()
-
strops()
Questão 19
Questão
The PHP _____ function searches for a specific text within a string
Responda
-
str_word_count()
-
strlen()
-
strrev()
-
strops()
Questão 20
Questão
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
Responda
-
do…while
-
while
-
for
-
foreach
Questão 21
Questão
multiline comments declared with (PHP)
Questão 22
Questão
Which of the following property (CSS) is used to make a font italic or oblique?
Responda
-
font-family
-
font-style
-
font-variant
-
font-weight
Questão 23
Questão
Which of the following property (CSS) specifies the top margin of an element?
Responda
-
:margin
-
:margin-bottom
-
:margin-top
-
:margin-left
Questão 24
Questão
Which of the following (CSS) defines a measurement as a percentage relative to another value, typically an enclosing element?
Questão 25
Questão
Which of the following property (CSS) is used to set the color of a text?
Responda
-
Color
-
Direction
-
Letter-spacing
-
Word-spacing
Questão 26
Questão
Which of the following property changes the width of bottom border?
Responda
-
:border-bottom-width
-
:border-top-width
-
:border-right-width
-
:border-left-width
Questão 27
Questão
Which of the following property (CSS) specifies a shorthand property for setting the margin properties in one declaration?
Responda
-
:margin
-
:margin-bottom
-
:margin-top
-
:margin-left
Questão 28
Questão
Which of the following property (CSS) is used to set the background color of an element?
Responda
-
Background-color
-
Background-image
-
Background-repeat
-
Background-position
Questão 29
Questão
Which of the following property (CSS) is used to add or subtract space between the words of a sentence?
Responda
-
Color
-
Direction
-
Letter-spacing
-
Word-spacing
Questão 30
Questão
Which of the following property (CSS) is used to set the opacity of an image?
Responda
-
Border
-
Height
-
Moz-opacity
-
Width
Questão 31
Questão
Which of the following property (CSS) specifies whether a border should be solid, dashed line, double line, or one of the other possible values?
Responda
-
:border-color
-
:border-style
-
:border-width
-
:border-bottom-color
Questão 32
Questão
Which of the following is correct about CSS?
Responda
-
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
Questão 33
Questão
Which of the following (CSS) defines a measurement in screen pixels?
Questão 34
Questão
Which of the following property (CSS) is used as a shorthand to specify a number of other background properties?
Responda
-
background-attachment
-
background
-
background-repeat
-
background-position
Questão 35
Questão
Which of the following property (CSS) specifies whether a border should be solid, dashed line, double line, or one of the other possible values?
Responda
-
:border-color
-
:border-style
-
:border-width
-
:border-bottom-color
Questão 36
Questão
Which of the following is a component of CSS style rule?
Responda
-
Selector
-
Property
-
Value
-
All
Questão 37
Questão
Which of the following is a way to associate styles with your HTML document?
Questão 38
Questão
Which of the following property (CSS) is used to create a small-caps effect?
Responda
-
font-family
-
font-style
-
font-weight
-
font-variant
Questão 39
Questão
Which of the following property (CSS) is used to increase or decrease how bold or light a font appears?
Responda
-
font-family
-
font-style
-
font-variant
-
font-weight
Questão 40
Questão
Which of the following property (CSS) is used to set the text shadow around a text?
Responda
-
white-space
-
text-shadow
-
text-decoration
-
text-transform
Questão 41
Questão
Which of the following property (CSS) of a table element specifies the width that should appear between table cells?
Responda
-
:Border – collapse
-
:Border-spacing
-
:Caption-side
-
:Empty-cell
Questão 42
Questão
Which of the following property (CSS) is used to increase or decrease the size of a font?
Responda
-
font-size
-
font
-
font-variant
-
font-weight
Questão 43
Questão
A relative measurement for the height of a font in_____ spaces. This unit is equivalent to the size of a given font. (CSS)
Questão 44
Questão
The _______ property specifies the stack order of an element (CSS).
Questão 45
Questão
This property is used to capitalize text or convert text to uppercase or lowercase letters. (CSS)
Responda
-
text-decoration
-
text-transform
-
font-family
-
white-space
Questão 46
Questão
This property is used to control the flow and formatting of text. (CSS)
Responda
-
text-decoration
-
text-transform
-
font-family
-
white-space
Questão 47
Questão
This property is used to add or subtract space between the letters that make up a word. (CSS)
Responda
-
letter-spacing
-
word-spacing
-
text-indent
-
text-align
Questão 48
Questão
This property is used to set the text shadow around a text.(CSS)
Responda
-
text-shadow
-
word-spacing
-
text-indent
-
text-align
Questão 49
Questão
This property is used to indent the text of a paragraph. (CSS)
Responda
-
letter-spacing
-
word-spacing
-
text-indent
-
text-align
Questão 50
Questão
___________ properties are CSS properties that let you set the values of several other CSS properties simultaneously
Questão 51
Questão
Which stylesheet has the second highest priority?
Responda
-
Inline stylesheets
-
Internal stylesheets
-
External stylesheets
-
stylesheets
Questão 52
Questão
Which stylesheet has the third highest priority?
Responda
-
Inline stylesheets
-
Internal stylesheets
-
stylesheets
-
External stylesheets
Questão 53
Questão
An external stylesheet is declared in an external file with a ________extension.
Questão 54
Questão
External stylesheets are called using the _______ tag.
Responda
-
<xmp><link></xmp>
-
<xmp><class></xmp>
-
<xmp><id></xmp>
-
<xmp><stylesheets></xmp>
Questão 55
Questão
If you define the position to be _________ it will be calculated from the upper left corner of the page. (CSS)
Responda
-
absolute
-
relative
-
stylesheets
-
normal
Questão 56
Questão
If you define the position to be _______ it will be relative to the position of the tag that carries the style. (CSS)
Responda
-
absolute
-
relative
-
normal
-
define
Questão 57
Questão
When using an external stylesheet on a webpage, this attribute takes the value "stylesheet"
Questão 58
Questão
When using an external stylesheet on a webpage, this attribute takes the value "text/css".
Questão 59
Questão
Denotes the name and location of the external stylesheet to be used.
Questão 60
Questão
___________ stylesheets are declared within individual tags and affect those tags only.
Responda
-
Inline stylesheets
-
Internal stylesheets
-
External stylesheets
-
define stylesheets
Questão 61
Questão
element is a block-level element that is often used as a container for other HTML elements. (CSS)
Responda
-
<xmp><div></xmp>
-
<xmp><span></xmp>
-
<xmp><spad></xmp>
-
None
Questão 62
Questão
The _______ element is an inline element that is often used as a container for some text. (CSS)
Responda
-
<xmp><div></xmp>
-
<xmp><ul></xmp>
-
<xmp><span></xmp>
-
None
Questão 63
Questão
You can define style rules based on the ______ attribute of the elements. (CSS)
Questão 64
Questão
Can we use negative values for position of the layer? (CSS)
Questão 65
Questão
How do you display hyperlinks without an underline? (CSS)
Questão 66
Questão
Which is the correct CSS syntax?
Responda
-
{body:color=black(body;}
-
{body;color:black;}
-
body:color=black;
-
body {color: black;}
Questão 67
Questão
What is the correct CSS syntax for making all the <xmp><p></xmp> elements bold?
Questão 68
Questão
What is the correct XHTML for referring to an external style sheet?
Responda
-
<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>
Questão 69
Questão
What is the correct CSS syntax for making all the <xmp><p></xmp> elements bold?
Questão 70
Questão
This property is used to underline, overline, and strike through text (CSS).
Responda
-
text-decoration
-
text-transform
-
font-family
-
white-space
Questão 71
Questão
Which of the following is correct about features of JavaScript
Questão 72
Questão
Which of the following type of variable is visible everywhere in your JavaScript code? (JavaScript)
Responda
-
local variable
-
global variable
-
both
-
none
Questão 73
Questão
Which built-in method returns the calling string value converted to upper case? (JavaScript)
Responda
-
toUpperCase()
-
toUpper()
-
changeCase()
-
none
Questão 74
Questão
Which of the following function of String object returns the character at the specified index? (JavaScript)
Responda
-
charAt()
-
charCodeAt()
-
concat()
-
indexOf()
Questão 75
Questão
Which of the following function of String object executes the search for a match between a regular expression and a specified string? (JavaScript)
Responda
-
match()
-
concat()
-
replace()
-
search()
Questão 76
Questão
Which of the following function of String object creates an HTML anchor that is used as a hypertext target? (JavaScript)
Responda
-
anchor()
-
link()
-
blink()
-
big()
Questão 77
Questão
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)
Responda
-
fixed()
-
fontcolor()
-
fontsize()
-
italics()
Questão 78
Questão
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)
Responda
-
indexOf()
-
join()
-
lastIndexOf()
-
map()
Questão 79
Questão
Which of the following function of Array object adds and/or removes elements from an array? (JavaScript)
Responda
-
sort()
-
toSourse()
-
splice()
-
unshift()
Questão 80
Questão
Which of the following is correct about features of JavaScript?
Responda
-
JavaScript is a lightweight, interpreted programming language.
-
JavaScript is designed for creating network-centric applications.
-
JavaScript is complementary to and integrated with Java
-
all
Questão 81
Questão
Which of the following function of String object returns a string representing the specified object? (JavaScript)
Responda
-
toLocaleUpperCase()
-
toUpperCase()
-
toString()
-
substring()
Questão 82
Questão
Which of the following function of String object creates an HTML hypertext link that requests another URL? (JavaScript)
Responda
-
link()
-
sub()
-
sup()
-
small()
Questão 83
Questão
Which of the following function of Array object joins all elements of an array into a string? (JavaScript)
Responda
-
concat()
-
join()
-
pop()
-
map()
Questão 84
Questão
Which of the following function of Array object sorts the elements of an array? (JavaScript)
Responda
-
toSourse()
-
sort()
-
toString()
-
unshift()
Questão 85
Questão
Which of the following is an advantage of using JavaScript?
Questão 86
Questão
86. How can you get the type of arguments passed to a function? (JavaScript)
Responda
-
using typeof operator
-
using getType function
-
both
-
none
Questão 87
Questão
Which built-in method returns the length of the string? (JavaScript)
Responda
-
length()
-
size()
-
index()
-
none
Questão 88
Questão
Which of the following function of Number object returns the number's value? (JavaScript)
Responda
-
toString()
-
valueOf()
-
toLocaleString()
-
toPrecision()
Questão 89
Questão
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)
Responda
-
anchor()
-
big()
-
blink()
-
italics()
Questão 90
Questão
Which of the following function of Array object returns true if every element in this array satisfies the provided testing function? (JavaScript)
Responda
-
concat()
-
every()
-
push()
-
some()
Questão 91
Questão
Is JavaScript a case-sensitive language?
Questão 92
Questão
Which of the following function of Boolean object returns a string containing the source of the Boolean object? (JavaScript)
Responda
-
toSource()
-
valueOf()
-
toString()
-
none
Questão 93
Questão
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)
Responda
-
lastIndexOf()
-
search()
-
substr()
-
indexOf()
Questão 94
Questão
To access an HTML element, JavaScript can use the ___________ method.
Questão 95
Questão
You declare a JavaScript variable with the ______ keyword
Questão 96
Questão
To assign (JavaScript) a value to the variable, use the sign
Questão 97
Questão
Once you create an _______, you can create new objects (JavaScript) of the same type.
Responda
-
object constructor
-
link
-
map
-
array
Questão 98
Questão
A JavaScript ______ is a block of JavaScript code, that can be executed when "asked" for
Responda
-
function
-
constant
-
link
-
map
Questão 99
Questão
External JavaScript files have the file extension _____
Questão 100
Questão
Can functions return a value? (JavaScript)
Questão 101
Questão
JavaScript objects are containers for _____________
Responda
-
named values and methods
-
link
-
maps
-
fils
Questão 102
Questão
HTML DOM methods are ______ you can perform (on HTML Elements). (JavaScript)
Responda
-
actions
-
values
-
constants
-
links
Questão 103
Questão
The body section in HTML is set with the tag
Responda
-
<xmp><html></xmp>
-
<xmp><begin></xmp>
-
<xmp><body></xmp>
-
<xmp><title></xmp>
Questão 104
Questão
Which tag is used in HTML to set text size, font type, and color
Responda
-
<xmp>< font ></xmp>
-
<xmp>< size ></xmp>
-
<xmp>< type ></xmp>
-
<xmp>< color ></xmp>
Questão 105
Questão
Which attributes of the <xmp><font></xmp>tag in HTML specifies the size of the text?
Questão 106
Questão
Which attributes of the <xmp><font></xmp>tag in HTML specifies the font of the text?
Questão 107
Questão
Which attributes of the <xmp><font></xmp>tag in HTML specifies the color of the text?
Questão 108
Questão
Headings can be displayed in HTML using the tags
Responda
-
<xmp><i1> …<i6></xmp>
-
<xmp><u1> …<u6></xmp>
-
<xmp><f1> …<f6></xmp>
-
<xmp>< h1> …<h6></xmp>
Questão 109
Questão
The smallest heading in HTML:
Responda
-
<xmp><h1></xmp>
-
<xmp><h7></xmp>
-
<xmp><smallest></xmp>
-
<xmp><h6></xmp>
Questão 110
Questão
The <xmp><hr></xmp> tag has no closing tag in HTML
Questão 111
Questão
The <xmp><br></xmp> tag has no closing tag in HTML
Questão 112
Questão
The <xmp><u></xmp> tag has no closing tag in HTML
Questão 113
Questão
The <xmp><ol></xmp> tag has no closing tag in HTML
Questão 114
Questão
The <xmp><basefont></xmp> tag has no closing tag in HTML
Questão 115
Questão
The <xmp><font></xmp>tag has no closing tag in HTML
Questão 116
Questão
______________is the standard markup language used to create web pages
Questão 117
Questão
You can center text in HTML using the tag
Responda
-
<xmp><basefont></xmp>
-
<xmp><b></xmp>
-
<xmp><t></xmp>
-
<xmp><center></xmp>
Questão 118
Questão
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
Responda
-
<xmp><basefont></xmp>
-
<xmp><abbr></xmp>
-
<xmp>< acronym ></xmp>
-
<xmp><center></xmp>
Questão 119
Questão
Addresses in HTML are placed on a webpage with the tag
Responda
-
<xmp><address></xmp>
-
<xmp>< acronym ></xmp>
-
<xmp><abbr></xmp>
-
<xmp><center></xmp>
Questão 120
Questão
Computer output tags in HTML are used to display text as computer programming code
Responda
-
<xmp><address ></xmp>
-
<xmp>< code>, <kbd>, <tt>, <samp>, <var ></xmp>
-
<xmp>< dl>,<dt>,<dd ></xmp>
-
<xmp>< b>,<i ></xmp>
Questão 121
Questão
Definition lists in HTML are created using the tags
Responda
-
<xmp><address ></xmp>
-
<xmp>< code>, <kbd>, <tt>, <samp>, <var ></xmp>
-
<xmp>< dl>,<dt>,<dd ></xmp>
-
<xmp>< b>,<i ></xmp>
Questão 122
Questão
Deleted text in HTML is displayed with the tag
Responda
-
<xmp>< dt></xmp>
-
<xmp>< code ></xmp>
-
<xmp><dl></xmp>
-
<xmp>< del></xmp>
Questão 123
Questão
Inserted text in HTML is displayed with the tag
Responda
-
<xmp><i ></xmp>
-
<xmp><code ></xmp>
-
<xmp><ins></xmp>
-
<xmp><tt ></xmp>
Questão 124
Questão
Long quotations in HTML are displayed with the tag
Questão 125
Questão
Short quotations in HTML are displayed with the tag
Questão 126
Questão
Where in an HTML document is the correct place to refer to an external style sheet?
Responda
-
In the <head> section
-
In the <body> section
Questão 127
Questão
Which HTML tag is used to define an internal style sheet?
Questão 128
Questão
Which of the following property (CSS) is used to align the text of a document?
Questão 129
Questão
Which of the following property (CSS) of a table element controls the placement of the table caption?
Responda
-
:caption-side
-
:border-left-width
Questão 130
Questão
Which of the following property (CSS) changes the width of left border?
Responda
-
:border-left-width
-
:caption-side
Questão 131
Questão
Which of the following property specifies the width of a border?
Responda
-
:border-width
-
:border-left-width
Questão 132
Questão 133
Questão
133. The ______________ is the HTML tag that a style will be applied to. (CSS)
Questão 134
Questão
The __________ is an aspect of the HTML tag that will be affected by the stylesheet definition. (CSS)
Questão 135
Questão
The ______ that the property of a selector will have. (CSS)
Questão 136
Questão
Which stylesheet has the highest priority?
Questão 137
Questão
We use this pseudo-classes to add special style to an unvisited link. (CSS)
Questão 138
Questão
138. We use this class to add special style to a visited link. (CSS)
Questão 139
Questão
We use this class to add special style to an element when you mouse over it. (CSS)
Questão 140
Questão
What is the correct CSS syntax for making all the <p> elements bold?
Responda
-
p {font-weight:bold}
-
p {font:bold}
Questão 141
Responda
-
Hypertext Preprocessor
-
Hypertext Postprocessor
Questão 142
Questão
PHP files have a default file extension of _____ .
Questão 143
Questão 144
Questão
Syntax for declaring variables (PHP)
Questão 145
Questão
A PHP script begins with ____ and ends with ___.
Questão 146
Questão
Single line comments (PHP) are declared with
Questão 147
Questão
Multi-line comments (PHP) are declared with a starting ____ and an ending ___.
Questão 148
Questão
You can print text on a webpage in PHP using the ____ or ____ commands.
Responda
-
print or echo
-
cout
-
printf
Questão 149
Questão
Are all variable names case-sensitive in PHP?
Questão 150
Questão
Correct syntax for a function (PHP):
Questão 151
Questão
To call a function (PHP)_______________(if the function has any parameters).
Questão 152
Questão
An external file in which a PHP script is declared will be included within the PHP source code of a webpage using the ________ function
Questão 153
Questão
For text variables (PHP), the value is surrounded by “”
Questão 154
Questão
You can print variables together (PHP) with regular text using Dot
Questão 155
Questão
Which of the PHP's built-in functions will return the absolute value of a number?
Questão 156
Questão
Which of the PHP's built-in functions returns the highest value from a set of specified numbers?
Questão 157
Questão
Which of the PHP's built-in functions will print a text string backwards?
Questão 158
Questão
Which of the PHP's built-in functions will print a text string in all uppercase letters?
Questão 159
Questão
What will be the output of variable ? (PHP) $highest = max(5, 10, 15, 20);
Questão 160
Questão
The ____ keyword is used to access a global variable from within a function. (PHP)
Questão 161
Questão
PHP stores all __________in an array called $GLOBALS[index].
Responda
-
Global variables
-
Local variables
Questão 162
Questão
When we want a local variable NOT to be deleted, use the ________ keyword when you first declare the variable. (PHP)
Responda
-
static keyword
-
final keyword
Questão 163
Questão
The PHP ________function returns the data type and value.
Questão 164
Questão
A ____ is a number with a decimal point or a number in exponential form. (PHP)
Responda
-
Floating point number
-
Fixed point number
Questão 165
Questão
Syntax for array (PHP):
Responda
-
$cars = array("Volvo","BMW","Toyota");
-
$cars = array{"Volvo","BMW","Toyota"};
Questão 166
Questão
How do you write "Hello World" in PHP
Responda
-
echo "Hello World";
-
"Hello World";
Questão 167
Questão
What is the correct way to end a PHP statement?
Questão 168
Questão
In PHP you can use both single quotes ( ' ' ) and double quotes ( " " ) for strings:
Questão 169
Questão
The PHP ______ function reverses a string.
Questão 170
Questão
The while loop executes a block of code as long as the specified condition is ____. (PHP)
Questão 171
Questão
Which built-in method adds one or more elements to the end of an array and returns the new length of the array? (JavaScript)
Questão 172
Questão
Which of the following function of String object causes a string to be italic, as if it were in an <i> tag? (JavaScript)
Questão 173
Questão
How do you get information from a form that is submitted using the "get" method?
Questão 174
Questão
Include files must have the file extension ".inc"
Questão 175
Questão
When using the POST method, variables are displayed in the URL:
Questão 176
Questão
In this example variable x has the _____scope. (PHP)
Questão 177
Questão
In this example variable x has the _____scope.(PHP)
Questão 178
Questão
How do you display a border like this(CSS):
Questão 179
Questão
You can access object properties(JavaScript) in two ways:
ObjectName.propertyName or objectName[“propertyName”]
Questão 180
Questão
You access an object method (JavaScript)with the following syntax:
ObjectName.methodName()
Questão 181
Questão
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?
Responda
-
border-width:11px 21px 51px 11px
-
border-width:11px 11px 51px 21px
-
border-width:51px 21px 11px 11px
-
border-width:11px 51px 21px 11px