UCONN

UCONN
UCONN

Wednesday, March 8, 2023

Assignment # 6 due 3/23/23

 Assignment # 6 due 3/23/23

Recreate the app engine project above and send me a working link from
app engine screen.

Create a datastore entity called Custinfo

Load programs per link

Add your name to the html that the program displays

Note: Need to have Google Translate API turned on in order to read data

Send me the app engine link

Friday, February 24, 2023

Assignment # 5 due 3/2/23

 

Assignment #5

Assignment #5 Due 3/2/23

 Create a web site on your cloud storage bucket that will allow customers to add, change, delete and list their customer information via a custmain.html menu.

Change all the  HTML pages to include your name on each page in a header tag. e.g. <h1>

 Using google cloud python functions, html forms and mysql database tables from the SQL customer table. https://uconnstamfordslp.blogspot.com/p/mysql-exercise.html https://uconnstamfordslp.blogspot.com/p/cloud-function-project-python.html

Send me link to the main html page e.g. https://storage.googleapis.com/uconnhuskies/custmain.html

Wednesday, February 15, 2023

Midterm Exam 2/22/23

 Exam 2/22/23 20 short answers from chapters 1,3,8,9,11,12,4



1. What is the Cloud?


2. Describe what a data center is?


3.What is a virtual machine?


4.What is Google Cloud Storage?

5. Explain the difference between zones and regions? 


11. What are the choices when selecting cloud storage classes?


12. Explain the concept of the Google app engine?



Adjunct Professor John Iacovacci

University of Connecticut, Stamford
John.Iacovacci@uconn.edu


Thursday, February 9, 2023

Assignment #4 due Thursday 2/16/23

 Assignment #4 due Thursday 2/16/23


Build a Python Invoicer program that lists 4 items that you want to
sell and produce a total.
Also, add a line for sales tax when you total the bill from CT
Add a shipping charge  of $2 per item shipped and add to total.
Note you can not duplicate my items.

https://uconnstamfordslp.blogspot.com/p/python-invoicer.html

#!/usr/bin/python3
# DATA TYPE Examples
########## DICTIONARY #################
cust_name = input("Customer name: ")
cust_address = input(" Address: ")
cust_city = input(" City: ")
cust_state = input(" State: ")
cust_zip = input(" Zip: ")
print(cust_name)
print(cust_address)
items = {"plates" : 3, "cups" : 1, "glasses" : 2}
for x in items:
    print(x, items[x])
no_plates = input("Number of Plates: ")
no_cups = input("Number of Cups: ")
no_glasses = input("Number of Glasses: ")
total_plates = int(no_plates) * int(items["plates"])
total_cups = int(no_cups) * int(items["cups"])
total_glasses = int(no_glasses) * int(items["glasses"])
total_charge = int(total_plates) + int(total_cups) + int(total_glasses)
print(cust_name)
print(cust_address)
print(cust_city)
print(cust_zip)
print(total_charge)
myplates = "You Bought {} number of plates at {} = {} dollars."
print(myplates.format(no_plates, items["plates"], total_plates))
mycups = " {} number of cups at {} = {} dollars."
print(mycups.format(no_cups, items["cups"], total_cups))
myglasses = " {} number of glasses at {} = {} dollars."
print(myglasses.format(no_glasses, items["glasses"], total_glasses))
mytotal = " Total Amount Due = {} dollars."
print(mytotal.format(total_charge))

john_iacovacci1@cloudshell:~/pyprojects/assign4 (uconn-engr)$ python3
invoicer.py
Customer name: John
Address: 55 daffodil Rd
City: Stamford
State: CT
Zip: 06903
John
55 daffodil Rd
plates 3
cups 1
glasses 2
Number of Plates: 5
Number of Cups: 5
Number of Glasses: 5
John
55 daffodil Rd
Stamford
06903
30
You Bought 5 number of plates at 3 = 15 dollars.
5 number of cups at 1 = 5 dollars.
5 number of glasses at 2 = 10 dollars.
Total Amount Due = 30 dollars.
john_iacovacci1@cloudshell:~/pyprojects/assign4 (uconn-engr)$

email me the code and the output from the code

Wednesday, February 1, 2023

Assignment #3 due 2/9/23





Build an appengine program that will allow a user to take in information 
 that you have built for assignment 1
 and send the data back to the user formatted via HTML 

 Use https://uconnstamfordslp.blogspot.com/p/app-engine-flask-html-form.html

 As a template
 Name 
 Major 
 Graduation Year
 What you want to do
 High school
 Town 
 favorite subject growing up 
 What i am passionate about

Wednesday, January 25, 2023

Assignment #2 due 2/2/23

 

Assignment #2

 Assignment #2 Due 2/2/23


Create a web site with main page of index.html and 2 other linked html pages
Web site must have
HTML
CSS
JavaScript
Images
Web form for collecting information

Use blog for reference
https://uconnstamfordslp.blogspot.com/

Detailed directions
https://uconnstamfordslp.blogspot.com/p/web-assignment_14.html

My site can also be used as reference

https://www.uconnstamforddsc.org/

Right click and view page source to see code
Choose any topic you like.

Please send me a link to your main index page so I can review

Wednesday, January 18, 2023

Assignment #1 due 1/26/23

   Assignment 1 due 1/26/23


https://uconnstamfordslp.blogspot.com/p/linux-explained.html

Create a linux shell program to state



Name

Major

Graduation Year

What you want to do

High school

Town

favorite subject growing up

What i am passionate about


Send both code and output via email



List all lines of code


Program

#!/bin/bash

# My First scripts

echo "Enter your full name : "

read my_name

echo "Enter your major : "

read my_major

echo "Enter the year you will graduate : "

read my_graduation

echo "My Name is : " $my_name

echo "My major is : " $my_major

echo "I will graduate in the year : " $my_graduation


Output

output


john_iacovacci1@cloudshell:~/scripts (uconn-engr)$ ./my_profile

Enter your full name :

John Iacovacci

Enter your major :

Computer Science

Enter the year you will graduate :

2026

My Name is :  John Iacovacci

My major is :  Computer Science

I will graduate in the year :  2026

Assignment 10 due before grading

  Pick any stock and send me the linear regression chart for that stock. https://uconnstamfordslp.blogspot.com/p/machine-learning-exercise.h...