Instructions We will solve the following exercises: Given a list with names prin

Instructions
We will solve the following exercises:
Given a list with names printed with just the first names, check which is the first name you find starting with the character “a.″
Given a list with the ages of different students, check how many of these values are older than 20.
Create a list with 5 names:
Add a new name.
Remove one of the names.
Print the length of the list.
Given a tuple with names, check how many names have more than 6 characters.
Using a loop and the input command, create a set with 5 names. Check how many of the following names are in that set: “Pablo” and “Ana”
Do not use loops for this second part of the exercise.
Create a dictionary with 5 people and their emails. Now do this:
Extract the email for one of these people.
Add a new person to the dictionary.
Check if the email pmon@ie.edu is in the dictionary.
Create a function that receives a list with names, a letter, and a number. The function will check the name in that position. If the name includes the letter given, it will return “Well done”. In other case, it will return nothing.
Example:
Function7([“Anne”,”Charles”,”Otto”,”Pablo”,”John”] , “a”, 3) should return “Well done” because the element in the 3rd position (Pablo) includes the character a.
Create a function that receives a list with numbers and calculates the mean for just the positive ones.
Note: remember to add comments (using the # symbol) in every exercise so that we can check that you have understood the solution given.
Considerations for this assignment
This is an individual assignment, and as such must be completed on your own.
For this assignment, you will submit a single .txt file where you will solve each of the following exercises. For each exercise, you should add a comment at the top with the number of the exercise, for example, Exercise 1.
You should also provide comments that explain how your code works using the # symbol.
You will be evaluated for each exercise for your ability to meet the requirements and your ability to explain how you solved the problem in comments. You should also look at the attached rubric for detailed instructions on how each exercise will be graded.

304,11-15-2021, GOL1492, Refined Olive 0i1, 1,11.99 119,12-20-2021, GOL1399,Virg

304,11-15-2021, GOL1492, Refined Olive 0i1, 1,11.99
119,12-20-2021, GOL1399,Virgin Olive Oil, 5,40.00
689,01-11-2022, GOL1258, Extra-Virgin Olive
0i1, 2,22.00
304,01-24-2022, GOL8901, 01ive Pumace Oil, 1,6.00
912,02-01-2022, GOL1492,Refined Olive Oil, 2,23.98
592,02-04-2022,GOL1258,Extra-Virgin Olive oil, 1,11.00
120,02-10-2022,GOL1776, Pure Olive 011,1,12.99
912,03-14-2022,GOL1399, Virgin Olive Oil,1,8.00
119,03-17-2022, GOL1492, Refined Olive 011, 1, 11.99
304,04-05-2022, GOL1258,Extra-Virgin Olive Oil, 1,11.00
120,04-15-2022, GOL1258, Extra-Virgin Olive Oil, 1,11.00
986,04-20-2022, GOL1399, Virgin Olive Oil, 4, 32.00
512,04-24-2022, GOL8901, 01ive Pumace Oil, 1,6.00
This is orders.txt
Here is customers.txt
Here is the assignment
Genco Pura Olive Oil has a file that contains its customers, a file that contains the
customers’ orders, and has begun creating a program to read the files and print the
contents in a human-readable format.
Files to submit:
˂yourLastName˃Customer.py
run˂yourLastName˃Customer.py
Input files:
There are two input files. The first one is called customers.txt. Each line of this input
file contains a customer number and name separated by a comma. The second input
file is called orders.txt. This file contains lines each corresponding to an order. Each
line contains a customer number, the order date, a product code, a product name,
quantity, and order total all separated by commas.
˂yourLastName˃Customer.py
In a file called ˂yourLastName˃Customer.py, create a class called
˂yourLastName˃Customer. My file would be called conwayCustomer.py and my
class would be called ConwayCustomer.
Attributes
The class will have three attributes (also called instance variables): an int called
number, a string called name, and a list called orders. The list will contain a list of
tuples, each corresponding to an order for that customer.
__init__()
Define a constructor (init) method. In addition to self, the constructor will define
two more parameters, one for customer number, and one for customer name. Set
the list (called orders) to an empty list.
addOrder()
Define a method addOrder(). In addition to self, this method will define one more
parameter, a tuple called order. Add this tuple to the list attribute called orders.
__str__()
Define the __str__() method. An object’s str() method builds and returns a string
representation of an object’s state. This allows an object to be sent to the print()
function (as is occurring in the main method). Create a string that includes the
customer’s name and number. Then append to this string all the orders in the orders
list. Loop over the list and add the items in the tuple to the string. The items in a
tuple can be accessed the same way the items in a list can be accessed – using the
name of the tuple and the index as a subsсrіpt.
run˂yourLastName˃Customer.py
A file called runCustomer.py is provided to you and is partially completed. Change
this filename to run˂yourLastName˃Customer.py. My file would be called
runConwayCustomer.py. This file contains an import statement, a main method, a
function called readCustomers(), and the function header of a function you will
create called readOrders(). You will have to modify the import statement to from
˂yourLastName˃Customer import ˂yourLastName˃Customer. My
import statement would be from conwayCustomer import
ConwayCustomer
The main method calls a function called readCustomers() that opens an input file,
reads the contents, and returns a dictionary. It then calls a function called
readOrders() that takes that dictionary as a parameter; this function will read from
an input file called orders.txt and add the orders to the appropriate customer. The
main method then loops through the customer dictionary and prints each customer.
Function readCustomers()
The function readCustomers() is already written. This function opens the input file,
customers.txt, for reading. An empty dictionary is created. The dictionary will map a
customer’s number to a customer object. As each line of the input file is read in as a
string, the string is split using the comma delimiter. This returns a list. The first item
in the resulting list is the customer number and the second item is the customer
name. The customer object is created by calling the Customer class’ constructor
(init) method using these values. An entry is made into the dictionary using the
customer number as the key and the Customer object as the value (you’ll have to
modify this to reflect your class name). Finally, the dictionary is returned.
Function readOrders()
You are creating the readOrders() function. This function takes as its parameter the
dictionary filled with customer number/customer object key/value pairs. This
function should open the input file, orders.txt, for reading. It should then loop
through the file in a similar way as the readCustomers() function, as the values are
also delimited by commas.
Get the customer object from the dictionary. This can be done using the dictionary
get() method and sending the customer number. The get method can take a second
argument that is returned if the customer number is not a key in the dictionary.
If the customer exists in the dictionary, create a tuple consisting of the date (a
string), the product code (a string), a product name (a string), the quantity (an int),
and the order total (a float). Add this tuple to the customer’s list orders by sending it to customers addOrder() method.
Important Info

The order was placed through a short procedure (customer skipped some order details).
Please clarify some paper details before starting to work on the order.

Type of paper and subject
Number of sources and formatting style
Type of service (writing, rewriting, etc)

For the final project, you will be creating a multi-page (minimum three) site fo

For the final project, you will be creating a multi-page (minimum three) site for a simulated client. This will involve most or all of the skills discussed in the course: Coding (using HTML, CSS, JS), Information Architecture and UI/UX Design.
The site, and supporting documentation that you create must satisfy all of the client′s business needs, as well as the needs of their users. All pages must have a consistent visual theme, consistent navigation (all pages must link to each other) and follow best practices for UI/UX and accessibility.
For full marks you must fulfill all of the following requirements:
Create a brand palette using three colors that appropriately conveys the client′s brand and needs (one primary color, one secondary color, one accent color)
Use at least two web fonts that convey the client′s brand
Use consistent header navigation across all pages (home link, links to all pages) with active link styles
Use consistent footer navigation across all pages (styled differently than header)
The footer contains contact and copyright information
Use responsive design (i.e. content should never not be visible and must be easy to read) and switch between layouts according to the wireframes
Use JavaScript to create a mobile menu that slides open and closed
Include a form that is validated using HTML5 validation
Must be accessible
all images must have alt tags
form inputs must have labels
does not use color to communicate information
In addition, you must arrange your submission into an appropriate file and folder structure (e.g. css, images and sсrіpts in separate folders), and all of your documents must be valid HTML/ CSS/JS
IMPORTANT NOTES:
All links in your submission must be relative
No React, Angular or other frameworks – static websites only
No external stylesheets or sсrіpts (only your index.css and index.js are permitted)

User Interface′s Conceptual Framework &

User Interface′s Conceptual
Framework & Principles
Step 1. Define Your UI Project Objectives: (PDF Report)
– Clearly identify the purpose and goals of your website or application project.
Considering the business related industries that related to your interests such
as Digital Marketing Agency, E-Commerce Stores, Online Learning Platforms,
and others. This will help you stay focused and ensure that your design aligns
with the desired outcomes.
– Outcome: 100 words of the project desсrіption
Step 2. Research and Gather Inspiration: (PDF Report)
– Explore existing websites or applications similar to your project idea from the
available resourcessuch as Printerest, Behance, and others. Analyse their user
interface designs, layouts, and functionality to gather inspiration and identify
best practices that you can incorporate into your own design focusing on
delivering user-friendly and strong branding identity.
– Outcome: 5 pages if user-interface research references based on design
choices.
Step 3. Create Wireframes and Prototypes: (PDF Report + Prototype Link)
– Begin the design process by creating digital wireframes on Canva, XMind, or
Office, and create a basic prototypes using tools such as Figma, WIX, or Adobe
XD . This will help you visualise the layout and flow of the user interface, and
allow for early feedback and iteration. Be reminded that the free version is
adequate to complete the project.
– Outcome: Wireframe + Prototype using the tool of your choice
Step 4. Develop a Visual Aesthetics: (PDF Report + Prototype Link)
– Select a colour palette, typography, and imagery that align with your project
objectives. Create a consistent visual style across all pages or screens to
ensure a unified and professional look and feel.
– Outcome: Visual look and feel of the previous wireframe + prototype link to the
Figma/WIX or Adobe XD platforms.
Step 5. Design for Usability: (PDF Report + Prototype Link)
– Prioritise usability by creating intuitive and user-friendly interfaces. Consider
user flows, information hierarchy, and accessibility guidelines to ensure a
positive user experience.
– Outcome: 5 pages of user-friendly navigation chart stating user flows
throughout the platform. E.g. When users interacting with the home pages,
what are the options to go for next steps with a call-to-actions such as buttons,
highlighted links, or multimedia.
Step 6. Incorporating Creative Programmes: (PDF Report + Prototype
Link)
– Utilise tools like Canva, Adobe Photoshop, or Adobe Illustrator to create and
edit multimedia assets such as images, videos, or icons that enhance the visual
appeal of your design. Make sure that you import all creative assets and assign
its features and functions effectively.
– Outcome: 5 pages of creative original visuals that implemented by student′s
own work such as logo, color theme, visuals of products and services,
photographs, and videos.
Step 7. Build a Complete Site with Figma/WIX: (PDF Report + Prototype
Link)
– Utilise the Figma/WIX platform to bring your design to life. They offers a userfriendly drag-and-drop interface, allowing you to easily build and customise
websites based on your creative approach. The ideal complete site consists of
Home Page, Menu Bar, Footer, About Page, Product/Service Page, and
Contact Page. You are also have the flexibility to implement the social media
account that compliment your UI project.
– Outcome: complete website with Figma/WIX
Step 8. Ensure Responsiveness and Encourage Interactivity: (PDF Report
+ Prototype Link)
– Test your design on various devices and screen sizes to ensure that it is
responsive and adapts well. Use Figma′s responsive design features or WIX′s
built-in responsiveness options to make necessary adjustments.
– Outcome: Test website for responsiveness and interactivity
Step 9. Conduct Self-Usability Testing and Review Submission: (PDF
Report + Prototype Link)
– Validate your design by conducting self-usability testing before submitting your
final project for a review. Be reminded that the fully-functional and visually
appealing projects will be the key to be approved for the final project
presentation. The format will be a pdf report that includes all progressions from
the beginning of the course with prototype link.
– Outcome: Usability tests
Step 10. Final Project Presentation Preparation: (PDF Report + Prototype
Link)
– Build final project presentation
– Outcome: 10 slides of the final project presentation

User Interface′s Conceptual Framework & Principles Step 1. Define Your UI Pr

User Interface′s Conceptual
Framework & Principles
Step 1. Define Your UI Project Objectives: (PDF Report)
– Clearly identify the purpose and goals of your website or application project.
Considering the business related industries that related to your interests such
as Digital Marketing Agency, E-Commerce Stores, Online Learning Platforms,
and others. This will help you stay focused and ensure that your design aligns
with the desired outcomes.
– Outcome: 100 words of the project desсrіption
Step 2. Research and Gather Inspiration: (PDF Report)
– Explore existing websites or applications similar to your project idea from the
available resourcessuch as Printerest, Behance, and others. Analyse their user
interface designs, layouts, and functionality to gather inspiration and identify
best practices that you can incorporate into your own design focusing on
delivering user-friendly and strong branding identity.
– Outcome: 5 pages if user-interface research references based on design
choices.
Step 3. Create Wireframes and Prototypes: (PDF Report + Prototype Link)
– Begin the design process by creating digital wireframes on Canva, XMind, or
Office, and create a basic prototypes using tools such as Figma, WIX, or Adobe
XD . This will help you visualise the layout and flow of the user interface, and
allow for early feedback and iteration. Be reminded that the free version is
adequate to complete the project.
– Outcome: Wireframe + Prototype using the tool of your choice
Step 4. Develop a Visual Aesthetics: (PDF Report + Prototype Link)
– Select a colour palette, typography, and imagery that align with your project
objectives. Create a consistent visual style across all pages or screens to
ensure a unified and professional look and feel.
– Outcome: Visual look and feel of the previous wireframe + prototype link to the
Figma/WIX or Adobe XD platforms.
Step 5. Design for Usability: (PDF Report + Prototype Link)
– Prioritise usability by creating intuitive and user-friendly interfaces. Consider
user flows, information hierarchy, and accessibility guidelines to ensure a
positive user experience.
– Outcome: 5 pages of user-friendly navigation chart stating user flows
throughout the platform. E.g. When users interacting with the home pages,
what are the options to go for next steps with a call-to-actions such as buttons,
highlighted links, or multimedia.
Step 6. Incorporating Creative Programmes: (PDF Report + Prototype
Link)
– Utilise tools like Canva, Adobe Photoshop, or Adobe Illustrator to create and
edit multimedia assets such as images, videos, or icons that enhance the visual
appeal of your design. Make sure that you import all creative assets and assign
its features and functions effectively.
– Outcome: 5 pages of creative original visuals that implemented by student′s
own work such as logo, color theme, visuals of products and services,
photographs, and videos.
Step 7. Build a Complete Site with Figma/WIX: (PDF Report + Prototype
Link)
– Utilise the Figma/WIX platform to bring your design to life. They offers a userfriendly drag-and-drop interface, allowing you to easily build and customise
websites based on your creative approach. The ideal complete site consists of
Home Page, Menu Bar, Footer, About Page, Product/Service Page, and
Contact Page. You are also have the flexibility to implement the social media
account that compliment your UI project.
– Outcome: complete website with Figma/WIX
Step 8. Ensure Responsiveness and Encourage Interactivity: (PDF Report
+ Prototype Link)
– Test your design on various devices and screen sizes to ensure that it is
responsive and adapts well. Use Figma′s responsive design features or WIX′s
built-in responsiveness options to make necessary adjustments.
– Outcome: Test website for responsiveness and interactivity
Step 9. Conduct Self-Usability Testing and Review Submission: (PDF
Report + Prototype Link)
– Validate your design by conducting self-usability testing before submitting your
final project for a review. Be reminded that the fully-functional and visually
appealing projects will be the key to be approved for the final project
presentation. The format will be a pdf report that includes all progressions from
the beginning of the course with prototype link.
– Outcome: Usability tests
Step 10. Final Project Presentation Preparation: (PDF Report + Prototype
Link)
– Build final project presentation
– Outcome: 10 slides of the final project presentation

Problem Desсrіption You are to develop a program that plays the perfect game of

Problem Desсrіption
You are to develop a program that plays the perfect game of Tic-tac-toe. It should never lose. Your project can be done in three steps of increasing complexity.
Develop the Tree ADT as an array-based concrete implementation. Your program will then create every possible
Tic-tac-toe board configuration organized as a tree.
Generate a Game Tree of all the possible moves but only print out the first 100. The code for this is shown below in section 2.2. The root of the tree is the empty board. Turn in ArrayTree.java and GenTree.java (which will include the main method which prints the first 100 board positions).
I attached the TestTreeADT below.