狠狠综合久久久久综合网址-a毛片网站-欧美啊v在线观看-中文字幕久久熟女人妻av免费-无码av一区二区三区不卡-亚洲综合av色婷婷五月蜜臀-夜夜操天天摸-a级在线免费观看-三上悠亚91-国产丰满乱子伦无码专区-视频一区中文字幕-黑人大战欲求不满人妻-精品亚洲国产成人蜜臀av-男人你懂得-97超碰人人爽-五月丁香六月综合缴情在线

代做DS2500、代寫Python設計程序

時間:2024-04-07  來源:  作者: 我要糾錯



Spring 2024
Python Grading Guidelines

In DS2500, you’ll have a project, labs, homeworks, and Python Practice Problems (PPPs) that all contribute to your grade. For some of this work, your grade will be entirely based on correctness, and for others your coding/visualization style will play a large role.

Correctness: Labs and PPPs

Labs and PPPs are auto-graded, and you receive full credit if the unit tests in the autograder pass. Make sure you verify the output of the autograder! For these assignments, you will be graded only on the correctness of your code and not on its style.

Correctness + Style: Homeworks and Projects

For projects and homeworks, your code will be reviewed by a DS2500 TA, and your grade will be based in large part on your coding style and visualizations. 

Our highest priority is that your code be incredibly clear and easy to work with -- just as the expectation would be in a job or co-op.

In particular, we’ll grade your code based on its readability, modularity, and reusability. We expect your visualizations, including presentation slides, to be easy to follow. You will receive a score of excellent, satisfactory, in progress, or not met on all of these criteria. 

Below, you’ll find a grading rubric that we’ll use for every homework and project. Additionally, we’ve included the DS2500 style guide for specific items around spacing, variable names, etc (it’s very similar to the DS2000 style guide!)

Coding + Visualization Grading Rubric
DS2500 Style Guide
Spacing
Variable and Function Names
Strings
Comments


Coding + Visualization Grading Rubric

Category    Excellent     Good     In Progress     Not Met 
Readability    Variable and function names are clear and concise. Code is consistently formatted and makes good use of horizontal and vertical space. No lines exceed 80 characters. All information printed out is readable and uses the appropriate data type and/or rounding.    Minor issues with variable naming, formatting, printing, or spacing.

    At least one significant issue with readability.

    Multiple major issues with readability; code is extremely hard to follow.


Modularity    Code is well-organized and split into functions, including a main function to initiate execution. Functions have no more than 30 lines each and are self-contained. Code is not repeated. Control structures (loops, conditionals) are used appropriately within functions.     Minor issues with messy or long functions, or with repeated code.    At least one significant issue with modularity such as too few functions or disorganized code.    Functions not used besides main.


Reusability    Code is consistently well-documented and every function has a descriptive block comment. All written code is used in execution. Implementations are efficient.    Minor issues with comments, extra/missing code, or inefficiencies.    At least one significant issue with reusability.    Code could not be reused in another program.
Visualizations    Visualizations are clear, easy to follow, and make good use of labels, legends, titles, sizes,  and colors.    Minor issues with missing tags or confusing/counterintuitive colors.    Visualizations chosen are inappropriate for the data, or incorrect based on requirements of the assignment..    Visualizations not present.


DS2500 Style Guide
Spacing
●Group related code together, and use vertical space to separate chunks of code
●Limit your code to 80 columns or less.
●Put white space around operators, and after commas.

Do this (vertical space):
# here is a comment describing the next three lines of code,
# which are all related to each other
Code line 1
Code line 2
Code line 3

# here is a comment describing the next two lines, which are
# separate from the lines above
Code line 4
Code line 5

Do this (horizontal space):
x = y + 5

if x == y:

result = func(18, 19, "hello")

spam = long_function_name(var_one, var_two,
                          var_three, var_four)

a = 1 + 2 + 3 + 4
    + 5 + 6 + 7

Not this:
x=y+5

x=y + 5

x = y+5

if x==y:

Variable and Function Names
●Variable and function names must be short and descriptive. 
●Use lowercase letters, and use underscores to separate words. Do not use camel case.
●Constants, whose values never change once initialized, should be uppercase
●Constants can be used/reference in main, but NOT in other functions. To ensure reusability, a function should get all its data via parameters and not assume any constants exist in the file. Constants are defined at the very top of your program, below your comments but above all your functions. All other variables must be local -- i.e., defined within a function.

Do this:
age = 44
birth_year = 1978
first_name = "Laney"
def compute_result()
FILENAME = "file.txt"

Not this:
a = 44
x = 1978
variableName = "Laney"
def FunctionOne()
PI = 3.1415
PI += 4
Strings
●You can use single or double quotes to enclose strings. It doesn’t matter which one, as long as you’re consistent within a program.
●It’s useful to use f-strings for printing variables, especially when you need special formatting (but f-strings are not required for ds2500).
●But, don’t use the % or + operators for printing; they’re old-fashioned!
●Strings are immutable, so we can’t directly modify a string once it’s been created. A string method will generally return a modified copy. 

Do this:
print("Hello", name)

print(f"Hello {name}")


Not this:
print("Hello %s" %name)

print("Hello" + name)

Comments
●Before you write any code, put a block comment at the top of every program with your name, the course, the assignment, the date, and the name of the file.
●Comments explaining your code should appear throughout your program. 
●Comments go above Python statements, not beside them. 
●Put a space between the “#” and the comment.
●Function comments should be a docstring just under the function signature. Apart from this, your functions don’t generally need inline comments unless you’re doing something very complex that requires an explanation.

Do this:
# comment describing my code
python statement

# space after crosshatch


Not this:
python statement # comment describing my code

#no space after crosshatch

Functions should be concise; it’s best to keep them under 30 lines of code. Functions should also accept a limited number of parameters; five of them at the absolute max. Function comments should include the parameters and return type, and they should describe the what of a function as well. You can use bullet points to describe these items, or summarize them.

Do this:
def func(param):
"""
Parameters: a non-negative number
Returns: a float
Does: computes and returns the square root
      of the given number
"""
Function code
Function code


def func(param):
"""
Given a non-negative integer, computes
and returns its square root.
"""
Function code
Function code


Not this:
def func(param):
"""
Parameters: a non-negative number
Returns: a float
Does: computes and returns the square root
      of the given number
"""
# inline comment
Function code
# inline comment
Function code

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

















 

標簽:

掃一掃在手機打開當前頁
  • 上一篇:CS202代做、代寫Java/Python程序語言
  • 下一篇:代寫CSCI 2122、C++編程設計代做
  • 無相關信息
    昆明生活資訊

    昆明圖文信息
    蝴蝶泉(4A)-大理旅游
    蝴蝶泉(4A)-大理旅游
    油炸竹蟲
    油炸竹蟲
    酸筍煮魚(雞)
    酸筍煮魚(雞)
    竹筒飯
    竹筒飯
    香茅草烤魚
    香茅草烤魚
    檸檬烤魚
    檸檬烤魚
    昆明西山國家級風景名勝區(qū)
    昆明西山國家級風景名勝區(qū)
    昆明旅游索道攻略
    昆明旅游索道攻略
  • NBA直播 短信驗證碼平臺 幣安官網(wǎng)下載 歐冠直播 WPS下載

    關于我們 | 打賞支持 | 廣告服務 | 聯(lián)系我們 | 網(wǎng)站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 kmw.cc Inc. All Rights Reserved. 昆明網(wǎng) 版權所有
    ICP備06013414號-3 公安備 42010502001045

    狠狠综合久久久久综合网址-a毛片网站-欧美啊v在线观看-中文字幕久久熟女人妻av免费-无码av一区二区三区不卡-亚洲综合av色婷婷五月蜜臀-夜夜操天天摸-a级在线免费观看-三上悠亚91-国产丰满乱子伦无码专区-视频一区中文字幕-黑人大战欲求不满人妻-精品亚洲国产成人蜜臀av-男人你懂得-97超碰人人爽-五月丁香六月综合缴情在线
  • <dl id="akume"></dl>
  • <noscript id="akume"><object id="akume"></object></noscript>
  • <nav id="akume"><dl id="akume"></dl></nav>
  • <rt id="akume"></rt>
    <dl id="akume"><acronym id="akume"></acronym></dl><dl id="akume"><xmp id="akume"></xmp></dl>
    亚洲精品综合在线观看| 国产不卡一区二区视频| 国产精品人人妻人人爽人人牛| 天天看片天天操| 亚洲一级片免费| 久久国产激情视频| 激情黄色小视频| 免费看av软件| 97干在线视频| 欧美日韩黄色一级片| 国产婷婷一区二区三区| 国产亚洲综合视频| 一区二区三区 欧美| gogogo高清免费观看在线视频| www.激情小说.com| 最新av免费在线观看| 一级黄色片播放| 日韩精品 欧美| 50路60路老熟妇啪啪| 亚洲美女性囗交| 性生活免费观看视频| 黄色一级在线视频| 中文字幕 91| 日本国产中文字幕| 久久久久久久激情| 一区二区三区四区毛片| 福利在线一区二区| 国产乱子夫妻xx黑人xyx真爽 | 成人性生生活性生交12| 中文字幕永久有效| 97碰在线视频| 色一情一区二区| 日本wwwcom| 久久久久久综合网| av免费观看大全| 五月天视频在线观看| 国产美女主播在线| 911福利视频| 爱福利视频一区二区| 大桥未久一区二区| 国产真人无码作爱视频免费| 天天综合中文字幕| 国产精品少妇在线视频| 男人天堂网站在线| 久久久久久蜜桃一区二区| 人妻夜夜添夜夜无码av| 日韩在线一区视频| 国产一区视频免费观看| 国产精品啪啪啪视频| 波多野结衣国产精品| 国产精品免费观看久久| 免费人成在线观看视频播放| 手机av在线网站| 能看的毛片网站| 国产白丝袜美女久久久久| 91看片淫黄大片91| 潘金莲一级淫片aaaaa免费看| 一级黄色香蕉视频| 50路60路老熟妇啪啪| 欧美性久久久久| 日韩小视频在线播放| 成年人看的毛片| 欧美 丝袜 自拍 制服 另类| 日韩精品一区二区免费| 国产激情片在线观看| 人妻av无码专区| 97超碰在线人人| 男女超爽视频免费播放| 黄色网页免费在线观看| 91好吊色国产欧美日韩在线| heyzo亚洲| 欧美国产日韩在线播放| 免费激情视频在线观看| 日韩av一二三四| 网站一区二区三区| 中文字幕日韩综合| 强开小嫩苞一区二区三区网站 | 日韩av三级在线| 无码aⅴ精品一区二区三区浪潮| 男人日女人视频网站| av片中文字幕| 日韩在线不卡一区| 欧美a级黄色大片| 欧美二区在线视频| 久久这里只精品| 国产亚洲精品久久久久久久| 日本www在线视频| 狠狠热免费视频| 一区二区三区日韩视频| 国产69精品久久久久999小说| 亚洲精品中文字幕无码蜜桃| 亚洲综合123| 黄色国产一级视频| 欧美激情国内自拍| 欧美视频在线免费播放| 欧美美女一级片| 97超碰人人澡| 国产乱叫456| 五十路熟女丰满大屁股| 911av视频| 国产91对白刺激露脸在线观看| 激情视频免费网站| 国产综合av在线| 少妇熟女一区二区| 无码人妻丰满熟妇区毛片| 少妇高潮流白浆| 黄色免费网址大全| 免费国产黄色网址| 福利网在线观看| 亚洲色图偷拍视频| 天天影视综合色| 成人在线免费观看av| 欧美一区二区三区综合| 亚洲一区二区在线视频观看| 116极品美女午夜一级| 成人一区二区av| 日韩av福利在线观看| 91日韩视频在线观看| 情侣黄网站免费看| 波多野结衣50连登视频| 欧美另类videosbestsex日本| 蜜臀一区二区三区精品免费视频| 亚洲乱码中文字幕久久孕妇黑人| 久久99久久99精品| 国产a级黄色大片| 麻豆一区二区三区在线观看| 中文字幕久久av| 污网站在线免费| 99九九99九九九99九他书对| 天天综合网日韩| 欧美三级理论片| 日韩欧美国产片| 国产一区二区在线观看免费视频| 欧美性猛交xxx乱久交| 狠狠热免费视频| 韩国中文字幕av| 中文字幕视频三区| 涩多多在线观看| a级片一区二区| 欧美黑人经典片免费观看| 自拍日韩亚洲一区在线| 能在线观看的av| 久久久久久久少妇| 911av视频| 久久国产精品网| 1024精品视频| 亚洲欧美偷拍另类| 男插女免费视频| 男女猛烈激情xx00免费视频| 国产免费黄色av| 高潮一区二区三区| 99中文字幕在线观看| 久久久性生活视频| 欧美午夜aaaaaa免费视频| 亚洲自拍第三页| 乱熟女高潮一区二区在线| 国产午夜伦鲁鲁| 在线免费观看av网| 97干在线视频| 日韩欧美亚洲另类| 国产69精品久久久久999小说| 国产v亚洲v天堂无码久久久| xxxx在线免费观看| 亚洲 自拍 另类小说综合图区| 动漫av免费观看| www.欧美黄色| 亚洲最大天堂网| 99福利在线观看| 中文字幕の友人北条麻妃| 可以免费在线看黄的网站| 干日本少妇视频| 日本久久久久久久久久久久| 日本男女交配视频| 亚洲精品在线视频播放| 免费无码av片在线观看| 超薄肉色丝袜足j调教99| 黄色片视频在线| 国自产拍偷拍精品啪啪一区二区| 亚洲精品综合在线观看| 欧美成人精品欧美一级乱| 国产美女永久无遮挡| 国产又粗又长又爽又黄的视频| 国产淫片av片久久久久久| 国产在线xxxx| 日本美女爱爱视频| aaa一级黄色片| 九九热精品在线播放| 中文字幕一区二区三区四区在线视频| 五十路熟女丰满大屁股| 大片在线观看网站免费收看| 亚洲 欧洲 日韩| 国产系列第一页| 中文字幕综合在线观看| 成人手机视频在线| 毛毛毛毛毛毛毛片123| 亚洲另类第一页| 日本黄色的视频| 2025韩国大尺度电影| 日韩成人精品视频在线观看| 亚洲欧美日韩精品一区|