Alison Diploma in E-Commerce Web Development test answers

Exam Link: https://alison.com/course/diploma-in-e-commerce-web-development

 

1. 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

2. 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

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

> Atom 

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

> database

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

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

> Bootstrap

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

>> CSS

Variable or dynamic code does not link directly to the SQL database.

>> False

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

  • js folder

  • css folder

  • fonts folder 

Is it possible to add images in the Atom editor?

> YES 

PHP code has to be written for each product modal?

> TRUE

Fill in the blank – In this course the My Cart ________ element, was updated in the main.css file, i.e. a dark red background with white text.

> Bootstrap

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

> Dynamic

Alison Diploma in E-Commerce Web Development test answers

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

> Curly Braces or Curly Brackets

Which feature, does not appear in product modals?

> Sold

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

> TRUE

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

> Table 

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

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

> init.php

True or False – In the Atom editor, you can access the server files and create the PHP index file, for the top navigation bar.

> True

What is the primary reason for having a ‘Thank You!’ page, on an e-commerce website?

> to confirm order details 

True or False – The API libraries in Stripe are accessed by clicking on the ‘Documentation’ button and then the ‘Development’ option.

> true

True or False – The values for online Stripe payments are set before the API key data is obtained from the Stripe account.

> false

jQuery is used for which part of the modals?

> click buttons

Which of the following receives input in the form of sequential form program instructions, interactive online commands, markup tags, or some other defined interface. It then breaks them up into various parts, such as objects and methods.  Choose one.

> a parser 

Which two elements in the card details modal, require code that is not based on ‘text input’?

Which button is clicked to process payment via Stripe?

> Checkout

True or False – A Parser is like a program, and is part of the compiler.

> True

When you click on the Checkout button in the Shopping Cart, it opens a new modal. In which PHP file, is the code for this written?

> cart.php

True or False – In this course the code for the Close, Back and Checkout buttons located in the modal footer, were written in the stripe.php file.

> false

 

 FILL-IN-THE-BLANK: A ______ is a program. It is part of the compiler, that receives an input in the form of: sequential source program instructions; interactive online commands; mark-up tags or some other defined interface and breaks them up into various parts, such as objects and methods.

> parser

True or False – In this course the config.php file was created to define the tax, currency and payment options. The defined tax rate and currency, depends on what you choose to set.

> true 

In this course which library is installed using the getcomposer.org website? Choose one.

> a php stripe library 

TRUE OR FALSE: To add a Stripe payment gateway to an e-commerce site, you must have access to a Stripe account.

> true 

TRUE OR FALSE: The code for each Shipping Address field is the same. Therefore, it can be copied and the names updated.

> true 

TRUE OR FALSE: You can’t manually set or change the tax rate and currency, for the shopping cart in the .php file.

> false

What does ‘removeone’, in the update_cart.php code refer to?

> product 

How is Composer software used in the Stripe payment system?

> to install the api files 

FILL-IN-THE-BLANK: The ‘sanitize’ function, prevents users from entering _______ characters into fields, e.g. a character other than the @ symbol, for email addresses. Choose one option:

> illegal

What is the purpose of checking the Stripe account balance, after a test purchase?

> to verify payment functionality 

TRUE OR FALSE: It is not possible to increase or decrease the quantity of products in the Shopping Cart.

> False 

The code to set the tax rate, is added to which file?

> config.php

TRUE OR FALSE: The Atom editor includes auto-suggestion and auto-correction features.

> true

The purpose of using a test account in Stripe, is to verify functionality, prior to going live.

> true 

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

> true

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

> phpmyadmin

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

> init.php

 

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

> true

Fill in the blank – In this course the My Cart ________ element, was updated in the main.css file, i.e. a dark red background with white text.

> bootstrap 

What is the purpose of checking the Stripe account balance, after a test purchase?

> to verify payment functionality

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

> index.php 

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

> cascading style sheet 

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

Which button is missing from the menu bar?

> My cart 

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

> false 

Alison Diploma in E-Commerce Web Development test answers

Alison test answers

Fiverr test answers 

2 COMMENTS

LEAVE A REPLY

Please enter your comment!
Please enter your name here