1- TRUE OR FALSE: To add more products to the site, you can copy the code that was used for the first product and change the names.

True
False

2- What name is given to these characters, which are used in PHP programming?

Parentheses

Carets

Curly Braces or Curly Brackets

3- What type of code is used to format the website footer?

MySQL

CSS

PHP

4- True or False – Multiple static products can be added to a site, by copying the code and making changes to names and file paths.

True
False

5- Which software was used to create the database for the ‘Red Stone Shop’ website?

phpMyAdmin

Azure

Microsoft Access

6- True or False – Variable or dynamic code does not link directly to the SQL database.

True
False

7- FILL-IN-THE-BLANK: The blue dots in the Atom editor, indicate that the file has not been _____.

Saved

 

8- TRUE OR FALSE: A div id tag must be included for each image in a .php file.

True
False

 

9- FILL-IN-THE-BLANK: The following code is used to update the _____, each time it is selected to view different products.

Modal

 

10-

FILL-IN-THE-BLANK: In order to make the product modals dynamic, _________ must be referenced in the PHP code, that link to the database. Choose one:

variables
CSS
product details

Variables

 

11- In which file is the code for the navigation bar written? Choose one:

landing_page.php

index.php

homepage.htm

 

12- Which feature, does not appear in product modals?

Size
Details
Price
Sold
Name
Quantity

 

13- FILL-IN-THE-BLANK: Instead of writing static product references for each modal, dynamic code is used, that refers to the ________.

 Database

 

14-

Which file was used to write the code, linking the database to the website?

init.php
data.php
sql.php

init.php

 

15- True or False – You can link products in the database with the Red Stone Shop website, so that updating the database (back-end) automatically updates the website.

True
False

 

16-

FILL-IN-THE-BLANK: The purpose of this course is to create an e-commerce site from scratch, using PHP and the _________ framework.

Choose the correct option:

Bootstrap
Microsoft
Leatherstrap

Bootstrap

 

17- Which button is missing from the menu bar?

Donate
Close
My Cart

My Cart

 

 

18- Which structure was used in the database to store product details?

List
Chart
Table

 

19- Which characters are used first, when inserting comments in .php files? Choose one:

\\ insert comment here
// insert comment here
\/ insert comment here

 

20- From which websites can you download the XAMPP server? Choose two:

www.maybefriends.com
www.apachefriends.org
https://sourceforge.net

 

21- What is the name of the code editor that is used in this course? Choose one:

Nucleus
Atom
Molecule

 

22-

TRUE OR FALSE: The tutorial files for this course, are available to download in the ‘Course Resources’ section.

True
False

 

23- Fill in the blank – ________ code written in the detailsmodal.php file, needs to be referenced properly in the index.php file.

Dynamic

 

24- True or False – You can link products in the database with the Red Stone Shop website, so that updating the database (back-end) automatically updates the website.

True
False

 

25- Which of the following are folders found in Bootstrap? Choose three.

fonts folder
css folder
js folder
XAMPP folder

26- Which software was used to create the database for the ‘Red Stone Shop’ website?

Azure

phpMyAdmin

Microsoft Access

 

27- TRUE OR FALSE: The code in index.php is distributed into multiple files, as this makes it easier to control and manage.

True
False

 

28- From which websites can you download the XAMPP server? Choose two:

https://sourceforge.net
www.apachefriends.org
www.maybefriends.com

 

29- True or False – Variable or dynamic code does not link directly to the SQL database.

True
False

 

30- FILL-IN-THE-BLANK: The blue dots in the Atom editor, indicate that the file has not been _____.

Saved

 

31- Which standard format is used for the sanitize function?

UTF-8

UTF-16

 

32- Images were formatted in the main.css file. What does CSS stand for?

Cascading Style Scenes
Cascading Style Sheets
Clever Style Sheets

 

33- TRUE OR FALSE: A div id tag must be included for each image in a .php file.

True
False

 

34-

FILL-IN-THE-BLANK: The purpose of this course is to create an e-commerce site from scratch, using PHP and the _________ framework.

Choose the correct option:

Bootstrap
Microsoft
Leatherstrap

 

35- Which of the following are folders found in Bootstrap? Choose three.

XAMPP folder
js folder
css folder
fonts folder

 

36- mages were formatted in the main.css file. What does CSS stand for?

Cascading Style Scenes
Clever Style Sheets
Cascading Style Sheets

 

37- TRUE OR FALSE: Instead of having a PHP file for each product, one PHP file is used to reference to the database.

True
False

38- True or False – Multiple static products can be added to a site, by copying the code and making changes to names and file paths.

True
False

39- TRUE OR FALSE: To add more products to the site, you can copy the code that was used for the first product and change the names.

True
False

 

40- Is it possible to add images in the Atom editor?

Yes
No

 

41- Fill in the blank – Code is added to the init.php file, to initialize a start session. This starts or resumes a user session, based on a session __________.

Identifier

 

42- Which structure was used in the database to store product details?

Table
Chart
List