CIT: 302 Web Development @ WKU - Spring 2018 Study Tool

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

Which of the following PHP template files displays the header in a WordPress theme?

header.php

Which of the following CSS code gets rid of bullet points?

li { text-decoration:none; }

Which of the following sets of CSS provide a syntax-correct color attribute for text?

p { color: green; font-size:2px; } and h1 { color: blue; border-size: 1px; }

Which of the following PHP template files are required in a WordPress theme? Check all that apply.

style.css, index.php

Which of the following PHP if statements has the correct syntax?

. <?php $t = date("H"); if ($t < "20") { echo "Have a good day!"; } ?>

Define two-factor authentication in your own words.

2FA is authentication that the user only has, it can be by e-mail or mobile device and is normally a password in a numeric form, but there can be letter and numerics if it is by e-mail. It is similar to a password but it changes with each use automatically.

Code a very basic HTML layout for a Web site. I am looking for just the organizational parts of it, not actually programming a site. Hint: Make sure your <head> and <body> tags are in the right places!

<!DOCTYPE html> <html> <head> <title>Title</title> <link type="stylesheet" href="css/style.css"> </head> <body> <h1>Introduction</h1> This is a basic website. </body> </html>

Which of the following uses PHP variables correctly (i.e. produces PHP code that actually works)?

<?php $gm = "grandma"; echo "I love $gm!"; ?>

Which of the following template tags will insert a footer in your index.php file?

<?php get_footer(); ?>

Which of the following code would you put in your HTML document to call the header of a document?

<?php get_header(); ?>

Give an example of an absolute hyperlink within an anchor tag in HTML:

<a href="https://www.drupal.org/index.php">https://www.drupal.org/index.php</a> absolute hyperlink means it is to show the full complete path in an HTML anchor tag.

Which of the following forms are being used correctly (i.e. should work as they are coded)?

<form action="contact.php" method="post"> Name: <input type="text" name="name"><br> E-mail: <input type="text" name="email"><br> <input type="submit"> </form>

Give an example of inline CSS: Hint: You will be using both HTML and CSS to complete this answer.

<h1 style="color:red;">This is a Red Heading</h1>

Write a link tag that includes a relative link to style.css in a css folder. Hint: The folder's name is css., and this tag would go in the <head> area of your HTML.

<link rel="stylesheet" type="text/css" href="css/style.css"> without / means relative

This question is about creating CSS markup. Create CSS markup that changes any paragraph in HTML to red, with times new roman font, with adjustable/responsive font size. I want to see a border, 1 px, dashed around the paragraph element as well. Hint: Use responsive measurements when deciding how to code this one!

<style> p { font-size: 2em; color: red; font-family: "Times New Roman"; border: 1px dashed black; } </style>

In your own words, describe a child theme in WordPress.

A child theme is used like a parent theme but only elements the Web Developer wishes to change are included in the child theme while everything else comes from the parent theme. If anything is included in the child theme then it takes priority over the parent theme. Child themes derive from a parent theme.

In your own words, explain how a merchant account works.

A merchant account is a type of bank account that enables businesses to accept payment by debit or credit cards. A merchant account is necessary because it's what allows you to accept recurring credit card payments from your customers.

In your own words, describe a theme. What is a theme in WordPress?

A theme is a style which is applied to a WordPress website that allows customizability to occur in order to have a more original display experience when a user visits a website. It modifies its visual appeal for the viewer.

Each week, which of the following course assignments are worth 9 points?

All of the above (quiz, discussion, exercise)

Which of the following portfolio suggestions are recommended when creating a portfolio web site?

Be yourself or show your personality Be available and provide contact information Keep your web site load times fast Provide examples of your work

Which of the following are NOT eCommerce enablers?

Billboards, Flyers

Which of the following are Web hosts? Check all that apply.

Bluehost, Hostgator, Dreamhost, GoDaddy

What does B2B mean?

Business to Business

What does B2C mean?

Business to Consumer

When customizing the child theme, you are able to use the style.css file within your child theme folder to do so. Which of the following would be an example of such a customization?

Changing the color of the site's branding or title

In your own words, describe why it is important to use a child theme instead of editing the main WordPress theme.

Child themes derive from a parent theme. Child themes allow modifications to occur to the parent theme without having a worry about losing those changes when the parent theme updates.

What does C2C mean?

Consumer to Consumer

What do individuals or businesses look for in a Web hosting provider? Check all that apply

Customer reviews, Storage and bandwidth allowances, Cost, Customer support

The following choices are all WordPress plugin options to assist you with WordPress site migration: (Check all that apply.)

Duplicator, Updraft Plus

A Point of Sale system is used in online businesses.

False

A theme does NOT take the information and data stored in WordPress and display it in a browser.

False

At the very minimum, a WordPress theme must contain two files: index.php and comments.php

False

Forcing SSL on a eCommerce Web site checkout page is generally NOT a good security practice.

False

Generally speaking, you cannot define variables within functions.

False

If a database name or user changes during a WordPress migration, you will need to edit the functions.php file.

False

It is a bad idea to provide case studies or examples of your process when creating examples for your portfolio web site.

False

PHP cannot perform mathematical operations and output them.

False

PHP code CANNOT be used within HTML.

False

Renaming your login URL cannot help secure your WordPress site.

False

The parent theme's functions.php file is loaded before the child theme's functions.php file.

False

To score an A in this course, you must have at least 624 points at the end of the term.

False

We will NOT be addressing eCommerce in this course.

False

When creating an online store, security should be the last thing on your mind.

False

WordPress and WooCommerce both use hooks within themes to control content. If hook woocommerce_template_single_price has a priority of 10, it would come after hook woocommerce_template_single_title if it had a priority of 15.

False

eCommerce stores do not have to pay for shipping their products.

False

We will be using Wordfence as an engine to manage t-shirt designs.

False, Wordfence is a security plugin.

WordPress plugins are used to expand the capabilities of your Web site.

False, not of our website but of our WordPress site.

You will not be able to use any plugins on your final WordPress eCommerce site.

False, we were allowed to use plugins.

When creating a web site portfolio, you want to showcase all of the work you have done, good and bad.

False, you want to show only the most pristine/polished works.

WordPress themes use the following Web programming languages: (Check all that apply.)

HTML, PHP, MySQL, CSS

What are the three basic "building blocks" of a WordPress template?

Header Content Footer

Which of the following types of Web hosting plans will you most likely select for your Web site?

Individual Plans

Which data types does PHP support? Check all that apply.

Integer, String, Float, Array

Explain the difference between internal and external CSS.

Internal CSS is included within a single page and anything added to that internal CSS will only change the styles within that said page; however, if it is external CSS then it can be applied to all pages which calls that external CSS file. Internal: <style> ... </style> External: style.css

Which of the following WordPress plugins helps defend against brute force attacks?

Login LockDown

Which of the following is NOT a Payment Gateway provider?

SecondData

Explain the purpose of a grid CSS layout. Hint: take a look at our course readings and lecture.

Supposed to make it easier to design web pages without having to use floats and positioning.

$_GET and $_POST are used to collect form-data.

True

A WordPress theme can OPTIONALLY use a functions file.

True

A theme controls the appearance of your WordPress site, while a WordPress plugin alters the function and behavior of your WordPress site.

True

Changing the default prefixes in your WordPress database tables can help secure your WordPress site.

True

HTTPS just means HTTP with SSL.

True

Having a reliable and responsive Web hosting company is vital to the success of an eCommerce Web site.

True

If you want to move WordPress to your root directory on your Web server, make sure all index.php, .htaccess and other files that might be copied over are backed up.

True

It is recommended that you back up your WordPress site before attempting any kind of maintenance or customizations.

True

It may be a good idea to "google" yourself after you create your portfolio to see if you appear in the top search results.

True

It's generally a good security practice to hide the WordPress version number.

True

Most importantly, you want to keep your portfolio web site looking professional and tidy.

True

Once you create a child theme, you can upload the theme to your WordPress site as a ZIP file.

True

One plugin that helps with backups is BackupBuddy.

True

Payment processors always incur a monthly fee or require a percentage of sales.

True

Search Engines, like Google, could be considered marketing tools for an eCommerce web site.

True

Testimonials or letters of recommendation are great resources to feature on a portfolio web site.

True

The "Internet of Things" is already being used in retail eCommerce stores.

True

The functions.php file in a WordPress theme fundamentally changes how a Web site behaves.

True

There will be a comprehensive final exam AND a final project for the course.

True

To use SSL on your Web site, you need to buy an SSL certificate.

True

Updating your software is one way of helping secure your eCommerce Web site.

True

Variables used in PHP are case-sensitive.

True

We will be covering PHP basics in this course.

True

We will be using cPanel to handle our WordPress migration services.

True

When backing up WordPress content, you are able to do so through the Tools > Export option.

True

When customizing the Storefront theme, only two files are needed to create a basic child theme: functions.php and style.css

True

When migrating a WordPress site, you will typically edit wp-config.php with the new server's MySQL database name, user and password.

True

WooCommerce is an eCommerce platform.

True

WooCommerce was listed as a top eCommerce platform in 2016.

True

WordPress themes are made of template files.

True

You can customize an eCommerce site without knowing how to code.

True

The final project will revolve around creating a t-shirt eCommerce site.

True for past courses, but in 2018 it was primarily an online store we had to present which included t-shirts within our eCommerce site.

We will be using Printful to assemble our products on our t-shirt eCommerce site.

True for past courses, but we used WooCommerce in 2018

Exported databases from phpmyadmin must be in the SQL format.

True, it does need to be; however, that is not the only format you can export it to since you can save it in different types of file extension formats. SO does it really have to be? No, but it should be if you want to import it back into phpmyadmin.

Which of the following are trends in web site portfolio development?

Use of white space Big typography Large background images Geometric shapes

Which of the following local development servers do I mention in the Syllabus?

WAMP, XAMPP

What is the name of this course?

Web Development

Simply put, what is the difference between a wireframe and a mockup?

Wireframes are barebones blueprints thus represent framing of the overall website. Mockups allows the Web Developer to uncover visual elements that clash before arriving at the final product.

Which of the following Content Management Systems will we be covering in this course?

WordPress

Which of the following Web programming languages will cover in this course?

WordPress

Which of the following are parts of your WordPress installation? Check all that apply.

WordPress Themes, Images and Files, WordPress Core Installation, WordPress Plugins

WooCommerce security recommends the following security plugins: (Check all that apply)

Wordfence Security UpdraftPlus Backup and Restoration VaultPress BackupBuddy


Ensembles d'études connexes

Chap 71 Mass Casualty and Disaster Preparedness

View Set

Series and Sequences Review (chapter 10 precalc honors)

View Set

Saunders Acid-Base/Fluids Electrolytes Study Mode

View Set