合肥生活安徽新聞合肥交通合肥房產(chǎn)生活服務(wù)合肥教育合肥招聘合肥旅游文化藝術(shù)合肥美食合肥地圖合肥社保合肥醫(yī)院企業(yè)服務(wù)合肥法律

        DATA 2100代寫、代做Python語言編程
        DATA 2100代寫、代做Python語言編程

        時(shí)間:2024-11-03  來源:合肥網(wǎng)hfw.cc  作者:hfw.cc 我要糾錯



        DATA 2100 Major Homework
        Python Programming
        100 points
        Purpose
        In this assignment, students will apply their (Python) programming skills to develop a data entry application that validates entries against a database and then records valid entries to the same database. Specific programming skills will include data input and output, variables, Python lists and indexes, loops, and if-statements.
        Background
        DustBunny Vacuums, a company we’ve heard from before, needs you to code an application for them that facilitates data entry when collecting data from customers. This application should prompt the user for data from multiple customers, verify that the customers are not already in the database, then record the new records into the database. Students will begin the assignment by importing the DustBunny Vacuums (for this assignment) dataset - MIS Major Programming HW Dataset.xlsx.
        Assignment
        For this assignment, you will submit two documents: (1) your Python program (this is the .py file that you create in the IDE) and (2) the check-off sheet included below, with those items checked that you were able to successfully complete. 
        The program you submit MUST RUN. Comment out any parts of your program that do not run prior to submitting (please be sure to include, but comment out, these parts so that we can get some idea as to the effort you went through). Also, the program must effectively execute all of the items that you’ve checked off on your checklist.
        The full program, with everything checked off below, will ask the user to input a number of customer-related data points. These will include: 
        Customer First Name
        Customer Last Name
        State of Residence
        Household Income
        Marital Status
        Number of Children
        Pet Ownership Status (whether they own a pet or not)
        After inputting each record, the program should ensure that the customer entered is a new customer by ensuring that there is not already someone in the database with the same first name and last name who is from the same state (this is the assumption we will make for this dataset to verify the customer is new). If the new record passes this validation test (i.e., if it’s a new record), then the record should be recorded into the database. If the new record fails the validation test, the user should be informed, and the record should not be written to the database.
        After each record has been validated and included into the database (or not), the program should ask the user whether they would like to enter another record (and, if so, allow them to do so). At the end of the program, when the user is done entering records, the program should (a) output the values for all records that were inputted that session and (b) report how many total valid and invalid entries were made during the session (this should be two separate values — (1) total of valid entries and (2) total of invalid entries).
        Check off all parts of the program that were successfully completed and submit this checklist via Canvas.
        1.__ Includes the student’s name as part of a comment on the first line of the program (5 points)
        2.__ Each major section of code is usefully commented to explain what’s happening. (10 points)
        3.___ The MIS Major Programming HW Dataset.xlsx has been successfully imported into Microsoft Access through the instruction sheet in Module 4. The database is properly named DustBunny and the table is named CustomerInfo. (7 points)
        4.__ Import the database driver module into your program. (2 points)
        5.__ Connect to the Microsoft Access database within your program. (4 points)
        6.The program asks the user to input (and facilitates input of) the following: 
        a.__ Customer first name (3 points)
        b.__ Customer last name (3 points)
        c.__ Customer marital status (Married or Single) (4 points)
        d.__ State of Residence (use two-character postal code) (4 points)
        e.__ Household Income (HHI) (4 points)
        f.__ Number of children (4 points)
        g.__ Pet Ownership Status (Y or N) (4 points)
        7.The program should validate that each of the following are true and, if not, request the user to re-input:
        a.__ First name and last name are not null (3 points)
        b.__ Marital Status is married, single, or null (3 points)
        c.__ The state entered consists of two characters and is not null (3 points)
        d.__ Household income is a positive integer (3 points)
        e.__ Number of children is a non-negative integer (3 points)
        f.__ Pet Ownership Status is Y, N, or null (3 points)
        8.__ Verifies against database data that the customer is not already in the database (if there’s already a user in the database with the same first and last name and state of residence, we’ll assume that’s a duplicate). (5 points)
        9.__ Writes the new record to the database’s customer table (if the record is not a duplicate). Note that this customer table’s primary key, CustID, is set up in SQL Server as an auto-incrementing primary key. (4 points)
        10.__ After completing entry of a record (i.e., after entering ALL of the information for one customer), user should be prompted to find out if they want to add another record. (5 points)
        11.__ If the user wants to add another record, enables the record to be entered (and then validated and recorded to the database). (5 points)
        12.__ Counts, separately, the number of valid and invalid records entered by the user, then outputs this number to the user once the user is done entering records. (5 points)
        13.__ Thanks the user for the input and tells them, forcefully, to have a pretty good day. (4 points)
        Bonus Points:
        14.__ At the time when the user enters a customer’s state, verify that the state entered is valid according to the database (i.e., that it’s a state abbreviation that exists in the appropriate table). If it’s not, prompt the user to enter valid data. This should happen at the time the user enters the state data. (2 points)
        15.__ Before throwing out a “duplicate record” (i.e., before not writing it to the database), inform the user that the record that was entered appears to be a duplicate record and ask whether the user would prefer to throw the record out or write it to the database despite the apparent duplication. (2 points)
        16.__ When the user is done entering records, outputs (to the screen) each of the records that were entered during that session only (i.e., not all the records in the database table, just the ones that were entered during that session). (2 points)

        請加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp






         

        掃一掃在手機(jī)打開當(dāng)前頁
      1. 上一篇:代做IMSE7140、代寫Java/c++程序語言
      2. 下一篇:代寫159.740編程、代做c/c++,Python程序
      3. 無相關(guān)信息
        合肥生活資訊

        合肥圖文信息
        出評 開團(tuán)工具
        出評 開團(tuán)工具
        挖掘機(jī)濾芯提升發(fā)動機(jī)性能
        挖掘機(jī)濾芯提升發(fā)動機(jī)性能
        戴納斯帝壁掛爐全國售后服務(wù)電話24小時(shí)官網(wǎng)400(全國服務(wù)熱線)
        戴納斯帝壁掛爐全國售后服務(wù)電話24小時(shí)官網(wǎng)
        菲斯曼壁掛爐全國統(tǒng)一400售后維修服務(wù)電話24小時(shí)服務(wù)熱線
        菲斯曼壁掛爐全國統(tǒng)一400售后維修服務(wù)電話2
        美的熱水器售后服務(wù)技術(shù)咨詢電話全國24小時(shí)客服熱線
        美的熱水器售后服務(wù)技術(shù)咨詢電話全國24小時(shí)
        海信羅馬假日洗衣機(jī)亮相AWE  復(fù)古美學(xué)與現(xiàn)代科技完美結(jié)合
        海信羅馬假日洗衣機(jī)亮相AWE 復(fù)古美學(xué)與現(xiàn)代
        合肥機(jī)場巴士4號線
        合肥機(jī)場巴士4號線
        合肥機(jī)場巴士3號線
        合肥機(jī)場巴士3號線
      4. 短信驗(yàn)證碼 酒店vi設(shè)計(jì)

        精品少妇一区二区三区在线 | 亚洲国产另类久久久精品黑人| 久热爱精品视频在线| 国产国拍亚洲精品mv在线观看| 国产精品亚洲美女久久久| 精品视频一区二区三区在线播放| 国产成人综合久久精品亚洲 | 国产精品毛片AV久久66| 精品国产一区二区三区久久久狼| 99re国产精品| 亚洲精品线在线观看| 久久久久无码精品亚洲日韩| 国产精品亚韩精品无码a在线| 99re国产精品视频首页| 久久久久久噜噜精品免费直播| 国产精品高清在线| mm1313亚洲国产精品美女| 亚洲国产精品第一区二区三区| 无码8090精品久久一区| 动漫精品专区一区二区三区不卡| 精品一区二区三区视频| 男人的天堂精品国产一区| 精品一区中文字幕| 青草午夜精品视频在线观看| 九九九精品视频免费| 亚洲精品一级无码鲁丝片| 国产成人精品日本亚洲专区| 国产精品福利在线观看免费不卡| 国产成人精品一区在线| 国产免费久久精品丫丫| 久久亚洲中文字幕精品一区四| 91麻豆精品视频在线观看| 99热婷婷国产精品综合| 亚洲线精品一区二区三区影音先锋| 99精品国产高清一区二区三区 | 久久99精品视香蕉蕉| 亚洲国产精品va在线播放| 亚洲AV午夜福利精品一区二区| 久久精品青青大伊人av| 久久99视频精品| 精品深夜AV无码一区二区|