Erstellt von Kiana Bonilla
vor mehr als 4 Jahre
|
||
We primarily use JavaScript for ______-side scripting.
Within what HTML element/section would we place the link to an external JavaScript file (one word)?
What HTML attribute is set equal to the path and filename of an external JavaScript file?
Embedded JavaScript must be placed within what HTML element (one word)?
<button id="colorButton" onclick="changeColor(getElementById('colorPicker').value);">Change Color</button>
Is an example of including JavaScript in what manner?
When declaring a local variable in JavaScript, what keyword must precede the variable name?
Declaring a variable in JavaScript without the keyword from the previous question will make the variable to have what kind of scope?
What is the minimum number of times that "Hello" will be printed?
while (count < 4) {
document.write("Hello");
count++;
}
What is the minimum number of times that "Hello" will be printed?
do {
document.write("Hello");
count++;
} while (count < 4);
<p id="para1">rabbit</p>
Use the DOM to get the <p> element using the ID and change the HTML to read: turtle
Execute the same task from the previous question using the jQuery shorthand.
What method sets up a function that will be called whenever a specified event occurs? Hint: the method sets up a listener
In lab 3, when you hovered over the image thumbnails, they would "pop-out" a bit.
Was it JavaScript or a CSS rule that made that happen?
In lab 3, when you hovered over the large image, a caption would fade in.
Was it JavaScript or a CSS rule that made that happen?
The basic jQuery selector for an element with id="pickme" is $("#pickme")
A PHP variable name begins with what symbol?
Originally, PHP stood for:
Now, PHP stands for
A PHP file must have what file extension?
opening PHP tag
closing php tag
Write a line of code that creates a variable "num" and sets it equal to 10.
Using standard PHP programming convention, how would you write a line of code that uses the define() function to create a constant named standard gravity to 9.81 ?
What HTML does the following code produce?
echo "<a href=\"http://uncw.edu\">UNCW</a>";
What does the following code produce?
for ($i = 1; $i < 11; $i++) {
$nums .= $i;
}
echo $nums
What does the following code produce?
for ($i = 1; $i < 11; $i++) {
$nums .= $i;
}
echo $nums
If the GET method is used, how would you print to the screen the value submitted for:
<input type="text" name="address">
If the POST method is used, how would you print to the screen the value submitted for:
<input type="radio" name="size" value="S">Small<br>
<input type="radio" name="size" value="M">Medium<br>
<input type="radio" name="size" value="L">Large<br>
An array that uses named keys rather than index integer values is what kind of array [one word]?
What character begins a query string?
What looping construct is particularly useful for iterating over an array with key - value pairs?
What does RDBMS stand for?
Cassandra and MongoDB are examples of what kind of database system?
Where can we find mysqli_connect.php based on this line of code?
<?php require '../../mysqli_connect.php'; ?>
Why is it considered best practice to put the dB connection code outside of the public_html directory?
What PHP function is used to assign our actual password to DB_PASSWORD ?
What is used to uniquely identify each record in a dB table?
What kind of dB relationship links a single record in one table to possibly multiple records in another table?
SQL stands for
What SQL keyword has fields as its argument(s) (i.e. field names directly follow it)?
SQL is case sensitive.
What SQL keyword has tables as its argument(s)?
What SQL keyword has a Boolean condition as its argument(s)?
When two dB tables are related, it is common to see the primary key in one table mapped to a ____ key in the other table.
We can upload and store files, like images, directly in a database. This type of field is known as a BLOB which stands for
The last step in the basic dB connection algorithm is: