日本欧洲视频一区_国模极品一区二区三区_国产熟女一区二区三区五月婷_亚洲AV成人精品日韩一区18p

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

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

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

    日本欧洲视频一区_国模极品一区二区三区_国产熟女一区二区三区五月婷_亚洲AV成人精品日韩一区18p

              9000px;">

                        日韩精品中午字幕| 成人av电影在线观看| 日韩亚洲电影在线| 一本大道久久a久久综合婷婷 | 18欧美乱大交hd1984| 日韩精品一区二区在线| 制服视频三区第一页精品| 欧美三级视频在线播放| 欧美视频在线观看一区二区| 欧美日韩极品在线观看一区| 在线亚洲一区观看| 欧美三级日韩在线| 在线不卡中文字幕播放| 日韩一卡二卡三卡国产欧美| 91精品一区二区三区久久久久久 | 欧美96一区二区免费视频| 天天av天天翘天天综合网| 日韩av一区二区三区四区| 男人的j进女人的j一区| 精品写真视频在线观看| 国产精品主播直播| 不卡的av网站| 在线精品亚洲一区二区不卡| 欧美无砖砖区免费| 日韩一区二区三区免费看| 久久久久国产精品人| 最好看的中文字幕久久| 亚洲成人手机在线| 国产资源在线一区| 99热99精品| 91精品国产欧美一区二区| 国产欧美精品国产国产专区| 亚洲女女做受ⅹxx高潮| 亚洲成人动漫一区| 国产成人精品影视| 欧美日本韩国一区| 国产精品色在线观看| 亚洲成人一区二区在线观看| 国产米奇在线777精品观看| 91麻豆swag| 精品国产亚洲在线| 亚洲免费在线视频| 国产一区二区三区不卡在线观看 | 日韩精品资源二区在线| 国产精品天干天干在线综合| 亚洲亚洲精品在线观看| 国产精品正在播放| 欧美日韩黄色影视| 久久这里只有精品视频网| 亚洲靠逼com| 国产经典欧美精品| 欧美日本韩国一区| 亚洲三级视频在线观看| 极品少妇一区二区三区精品视频| 91福利在线导航| 国产精品乱码一区二区三区软件| 日本免费新一区视频| 91日韩精品一区| 精品日韩在线观看| 亚洲午夜成aⅴ人片| 97se狠狠狠综合亚洲狠狠| 欧美岛国在线观看| 一区二区成人在线视频| 国产成人自拍网| 欧美tk—视频vk| 蜜桃久久久久久久| 欧美一区二区在线免费播放| 亚洲午夜在线视频| eeuss影院一区二区三区| 久久综合国产精品| 六月婷婷色综合| 在线综合视频播放| 亚洲国产视频一区二区| 日本乱码高清不卡字幕| 中文字幕一区av| 91亚洲精品一区二区乱码| 国产午夜精品理论片a级大结局| 理论电影国产精品| 在线播放中文字幕一区| 天堂蜜桃91精品| 3atv一区二区三区| 毛片av一区二区三区| 这里只有精品视频在线观看| 日韩av在线播放中文字幕| 777xxx欧美| 麻豆国产精品官网| 2020国产精品久久精品美国| 国产一区二区三区蝌蚪| 久久精品欧美一区二区三区麻豆 | 欧美日韩精品一区二区天天拍小说 | 日韩欧美一区中文| 日韩va欧美va亚洲va久久| 91精品午夜视频| 国内不卡的二区三区中文字幕 | 午夜精品久久久久久久久久久| 欧美日韩久久一区二区| 偷窥少妇高潮呻吟av久久免费| 欧美二区在线观看| 久久97超碰国产精品超碰| 久久亚洲精精品中文字幕早川悠里 | 亚洲资源中文字幕| 欧美日本国产视频| 精彩视频一区二区| 中文字幕亚洲一区二区va在线| 一道本成人在线| 偷窥国产亚洲免费视频| 欧美成人vps| jizz一区二区| 偷拍亚洲欧洲综合| 久久久不卡影院| 欧美伊人久久久久久久久影院 | 国产综合色视频| 国产精品国产精品国产专区不蜜| 色偷偷久久一区二区三区| 日韩精品亚洲一区二区三区免费| 亚洲精品一区二区三区影院 | 亚洲欧美激情在线| 91精品国产综合久久婷婷香蕉 | 99视频精品全部免费在线| 日韩av电影天堂| 国产精品天干天干在观线| 欧美日韩一区二区三区四区| 国产大陆精品国产| 亚洲1区2区3区视频| 久久精品在线免费观看| 欧美亚洲日本一区| 丰满少妇在线播放bd日韩电影| 午夜精品爽啪视频| 亚洲欧洲国产日本综合| 日韩欧美一区在线| 日本久久一区二区| 成人激情黄色小说| 久久精品噜噜噜成人88aⅴ| 樱桃国产成人精品视频| 久久久久久久电影| 欧美精品乱码久久久久久按摩| 97精品国产露脸对白| 国产成人在线免费观看| 日本午夜精品一区二区三区电影| 亚洲丝袜精品丝袜在线| 国产亚洲精品久| 精品日韩一区二区| 日韩视频免费观看高清完整版在线观看 | 国产欧美日韩视频一区二区| 欧美精品1区2区3区| 日本高清免费不卡视频| 国产91在线观看| 国产一区二区精品久久91| 美日韩一级片在线观看| 亚洲第一福利视频在线| 亚洲在线视频一区| 亚洲综合自拍偷拍| 亚洲精品久久嫩草网站秘色| 亚洲欧洲精品一区二区精品久久久 | 成年人午夜久久久| 国产精品一区在线观看乱码| 久久国产麻豆精品| 国模大尺度一区二区三区| 久久99精品一区二区三区| 琪琪久久久久日韩精品| 麻豆国产欧美日韩综合精品二区| 免费一级欧美片在线观看| 日本女人一区二区三区| 捆绑变态av一区二区三区| 久久国产精品色| 韩国v欧美v亚洲v日本v| 国产精品1区二区.| 成人综合在线视频| 91麻豆精东视频| 欧美午夜一区二区三区| 欧美日韩美女一区二区| 在线播放/欧美激情| 欧美成人免费网站| 欧美国产乱子伦| 亚洲男人的天堂一区二区| 日韩国产一二三区| 亚洲成人激情综合网| 免费欧美日韩国产三级电影| 久久国产精品色| 成人激情校园春色| 91黄色激情网站| 日韩一区二区精品| 国产亚洲欧洲997久久综合| 国产精品久久福利| 亚洲成av人片| 精品一区二区三区免费播放 | 亚洲成a天堂v人片| 免费人成精品欧美精品| 国产69精品久久777的优势| 91在线视频播放地址| 欧美美女网站色| 国产欧美一区二区三区在线看蜜臀 | 国产日本欧美一区二区| 国产精品国产自产拍在线| 亚洲综合一区二区精品导航| 麻豆国产精品一区二区三区| 成人免费观看av| 制服.丝袜.亚洲.另类.中文| 日本一区二区三区免费乱视频| 亚洲线精品一区二区三区八戒|