久久久久久精品无码人妻_青春草无码精品视频在线观_无码精品国产VA在线观看_国产色无码专区在线观看

代做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)-大理旅游
    油炸竹蟲
    油炸竹蟲
    酸筍煮魚(雞)
    酸筍煮魚(雞)
    竹筒飯
    竹筒飯
    香茅草烤魚
    香茅草烤魚
    檸檬烤魚
    檸檬烤魚
    昆明西山國家級風景名勝區
    昆明西山國家級風景名勝區
    昆明旅游索道攻略
    昆明旅游索道攻略
  • 短信驗證碼平臺 理財 WPS下載

    關于我們 | 打賞支持 | 廣告服務 | 聯系我們 | 網站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

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

    久久久久久精品无码人妻_青春草无码精品视频在线观_无码精品国产VA在线观看_国产色无码专区在线观看

    免费无码不卡视频在线观看| 美女少妇一区二区| 国产黄色一级网站| 7777在线视频| 91福利国产成人精品播放| 成人免费看片'免费看| 国产欧美一区二| 日韩中文字幕组| 国产免费黄色av| 日日橹狠狠爱欧美超碰| 欧美精品在欧美一区二区| 糖心vlog在线免费观看| 欧美日韩理论片| 在线免费看污网站| 中文字幕在线视频一区二区| 天天干天天玩天天操| www.这里只有精品| 91欧美视频在线| 五月天开心婷婷| 手机在线免费毛片| 福利网在线观看| 热这里只有精品| 久久久99精品视频| 精品少妇人欧美激情在线观看| 日本男女交配视频| 欧美二区在线视频| 黄色片视频在线播放| 精品视频无码一区二区三区| 又色又爽又高潮免费视频国产| 男人搞女人网站| 亚洲涩涩在线观看| 黄色污污在线观看| 国产精品国产三级国产专区51| 久久人人爽人人爽人人av| 日韩在线观看a| 国产av天堂无码一区二区三区| 免费 成 人 黄 色| www.日本xxxx| 99日在线视频| 激情五月六月婷婷| 欧美日韩二三区| 精品久久久久久久无码| 日韩va在线观看| 蜜桃视频一区二区在线观看| 欧美激情视频免费看| 四虎永久在线精品无码视频| 爱爱爱爱免费视频| 免费在线看黄色片| aaa毛片在线观看| 一级日本黄色片| 欧美视频在线观看视频| 人妻丰满熟妇av无码区app| 天天操,天天操| 玖玖精品在线视频| 人妻熟妇乱又伦精品视频| 欧美第一页浮力影院| 青青视频免费在线观看| 奇米精品一区二区三区| 不卡av免费在线| 久久免费看毛片| av免费观看网| 国内自拍第二页| 永久免费网站视频在线观看| 无码精品国产一区二区三区免费| 天天摸天天舔天天操| 成人免费观看cn| 色戒在线免费观看| 国产精品专区在线| 国内自拍第二页| 女人喷潮完整视频| 超碰91在线播放| 欧美精品一区免费| 欧美一级特黄aaaaaa在线看片| 亚洲国产精品毛片av不卡在线| 亚洲成人动漫在线| 91网址在线播放| 国产精彩视频一区二区| 永久免费黄色片| 农村妇女精品一二区| 91网站在线观看免费| 国产精品一区二区小说| 日本一道本久久| 天天在线免费视频| 日韩一区二区三区久久| 久久精品.com| 中文字幕日韩精品无码内射| 中文字幕线观看| av五月天在线| 男人日女人下面视频| 伊人再见免费在线观看高清版 | 狠狠操精品视频| www.国产二区| 亚洲一级片av| 日韩av片网站| 99精品人妻少妇一区二区| 成人污网站在线观看| 三级性生活视频| 国产一二三四在线视频| 欧美变态另类刺激| 亚洲色成人www永久在线观看 | 欧美激情 国产精品| 四虎1515hh.com| 不卡中文字幕在线观看| 性猛交ⅹ×××乱大交| 99热成人精品热久久66| 国产精品久久久久9999爆乳| 99久re热视频精品98| 超碰91在线播放| 欧美又黄又嫩大片a级| 中文字幕亚洲乱码| 国产精品入口免费软件| 欧美国产日韩在线播放| 成人一级片网站| 日本三级免费网站| 69堂免费视频| 日本免费黄视频| av动漫免费看| 日本成年人网址| 亚洲乱码中文字幕久久孕妇黑人| 欧美精品久久久久久久自慰 | 日本精品一区二区三区四区| 99999精品视频| 成人羞羞国产免费网站| 精品国产成人av在线免| 日韩一级免费在线观看| 91色国产在线| 天天爽夜夜爽一区二区三区| 久久国产精品国产精品| 91日韩精品视频| 国产一级片中文字幕| 国产av不卡一区二区| 91网站在线观看免费| 性欧美大战久久久久久久| 日韩av综合在线观看| 欧美日韩第二页| www.色偷偷.com| 国产精品久久久久久久av福利| 日韩视频在线免费播放| 久久最新免费视频| 97干在线视频| 久久精品香蕉视频| 在线黄色免费看| 中国 免费 av| 国产www免费| 欧美牲交a欧美牲交aⅴ免费真| 亚洲性生活网站| 天天成人综合网| 久草视频国产在线| 亚洲免费av一区二区三区| 搡的我好爽在线观看免费视频| 成人污网站在线观看| 国产精品沙发午睡系列| 国产精品久久久毛片| 在线视频一二三区| 日本www在线播放| 九一精品久久久| www.国产在线视频| 天堂社区在线视频| 国产911在线观看| 日本精品久久久久中文字幕| 日韩av一卡二卡三卡| 日韩a级在线观看| 性欧美极品xxxx欧美一区二区| 在线播放 亚洲| 国产视频九色蝌蚪| 天堂av2020| 奇米精品一区二区三区| 日本免费色视频| 91视频免费版污| 人妻久久久一区二区三区| 97xxxxx| 拔插拔插华人永久免费| 日本a级片在线观看| 日韩视频在线免费看| 国产精品jizz在线观看老狼| 欧美日韩不卡在线视频| 国产一伦一伦一伦| 日韩在线视频在线| 性欧美极品xxxx欧美一区二区| 黄色网址在线免费看| 欧美s码亚洲码精品m码| 中文字幕一区二区三区四| 日韩精品视频一区二区在线观看| 91香蕉国产线在线观看| 欧美日韩一道本| 欧美一级免费在线| 亚洲精品乱码久久久久久自慰| 超碰超碰超碰超碰超碰| 国产野外作爱视频播放| 久久久亚洲精品无码| 亚洲成人动漫在线| 国产九九在线观看| 日韩免费视频播放| 99中文字幕在线观看| 性生活免费在线观看| 日本韩国欧美在线观看| www.黄色网址.com| 亚洲免费成人在线视频| 少妇激情一区二区三区| 播放灌醉水嫩大学生国内精品|