Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

What are the questions to these questions? 1. Which of these is the best choice

ID: 3662499 • Letter: W

Question

What are the questions to these questions?

1. Which of these is the best choice for controlling the appearance of your website?

a. JS

b. HTML

c. CSS

d. SQL

e. PHP

2. Which of these is the best choice for controlling the client-side behavior of your website?

a. JS

b. HTML

c. CSS

d. SQL

e. PHP

3. Which of these is the best choice for controlling the server-side behavior of your website?

a. JS

b. HTML

c. CSS

d. SQL

e. PHP

4. Which of these is the best choice for controlling the storage of your website’s data?

a. JS

b. HTML

c. CSS

d. SQL

e. PHP

5. Which of these statements is most generally true?

a. The font of a short headline on a website should be serif and set with a <font> tag

b. The font of a short headline on a website should be serif and set with CSS

c. The font of a short headline on a website should be sans-serif and set with a <font> tag

d. The font of a short headline on a website should be sans-serif and set with CSS

6. What does the color #0000FF look like?

a. Green

b. Yellow

c. Red

d. Blue

e. Black

7. A certain DIV has an ID of “rickAstley”. Which CSS command will set the color of this DIV?

a. .rickAstley { color: #00ff00; }

b. #rickAstley { color: #00ff00; }

c. rickAstley { color: #00ff00; }

d. * rickAstley { color: #00ff00; }

e. > rickAstley {color: #00ff00; }

8. What is the difference between a <main> tag and a <nav> tag?

a. The <main> tag and the <nav> tag are displayed with different font sizes

b. The <main> tag is displayed with italics, and the <nav> tag is not

c. The <main> tag marks the main content of the page, and <nav> marks navigation

d. The <main> tag is supported in HTML5, but the <nav> tag is not

e. The <main> tag is not indexed by search engines, but the <nav> tag is indexed

9. Which of these situations would be a good opportunity to use a GET instead of a POST? Assume

that your GET request does not have a cache-busting parameter.

a. When deleting content from the website

b. When uploading content to the website

c. When displaying content that very rarely changes

d. When displaying content that changes almost every second

10. Suppose your user clicks a link. Which of the following will definitely NOT happen?

a. A POST might be sent to the server

b. The page might be served out of the local cache on the user’s computer

c. The page might be served from a cache on a proxy server out on the web

d. The webserver might respond with the contents of the page

e. The webserver might respond with a 404 (page not found)

11. Suppose you want to reuse CSS in multiple web pages on your site. Which tag would you use?

a. <style>

b. <main>

c. <css>

d. <link>

e. <iframe>

12. How should passwords be gathered from a user in an HTML form?

a. Use an <input type=”text”> and send the data via POST

b. Use an <input type=”text”> and send the data via GET

c. Use an <input type=”hidden”> and send the data via POST

d. Use an <input type=”hidden”> and send the data via GET

e. Use an <input type=”password”> and send the data via POST f. Use an <input type=”password”> and send the data via GET

13. Which of the following does JavaScript support but PHP does NOT support?

a. Loops

b. Databases

c. Associative arrays

d. Conditionals

e. Retrieving the user’s precise geolocation

14. What is the difference between the PHP include function and the PHP require_once function?

(Note: This was not covered in class. Look this one up on the web.)

a. The include function incorporates (includes) the content of some file X, and the

require_once function just checks that the other file X actually exists

b. The include function will terminate the web page if the needed file X does not exist; in contrast, the require_once function will just issue a warning message and keep going

c. If include(x) is called multiple times, then the file will be incorporated multiple times; in contrast, require_once(x) guarantees that x is incorporated precisely once if X exists

d. There is no difference between the two: include and require_once are identical

Explanation / Answer

1) C

CSS is a stylesheet language that describes the presentation of an HTML (or XML) document.

2) A

JS is nothing but java script.client. Client-side scripting generally refers to the class of computer programs on the web that are executed client-side, by the user's web browser, instead on the web server.

3)E

PHP is personal home page or hypertext preprocessor.Server-side scripting is a technique used in web development which involves employing scripts on a web server which produce a response customized for each user's request to the website.

4) D

5) D

6) D

7) B

8) C

9)

10) A

11) E

12) E

13) E

14) B

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote