狠狠综合久久久久综合网址-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>
    成人在线观看a| 黄色成人在线免费观看| 欧美日韩亚洲国产成人| 国产三级日本三级在线播放| 欧美男女爱爱视频| 欧美一级片免费播放| 国产成a人亚洲精v品在线观看| 日韩在线不卡一区| 三区视频在线观看| 超碰97免费观看| aaa免费在线观看| 高清无码视频直接看| 日日噜噜夜夜狠狠久久丁香五月| 91香蕉视频在线观看视频| 九九九九九九九九| 婷婷视频在线播放| 91九色丨porny丨国产jk| 日韩国产一级片| 精品少妇无遮挡毛片| 我看黄色一级片| 香蕉精品视频在线| 精品人妻大屁股白浆无码| 日本a在线天堂| 各处沟厕大尺度偷拍女厕嘘嘘| 国产精品免费观看久久| 五月天中文字幕在线| 99久re热视频精品98| 欧美大片在线播放| 日韩中文字幕a| 久久国产精品免费观看| 六月丁香激情网| www.污网站| 妞干网在线观看视频| 亚洲36d大奶网| 久久这里只有精品8| 男人天堂999| 波多野结衣三级在线| 欧美日韩成人免费视频| 亚洲18在线看污www麻豆 | 韩国中文字幕av| 超碰97免费观看| 九九九在线观看视频| 久操手机在线视频| www.桃色.com| 午夜激情在线观看视频| 轻点好疼好大好爽视频| 岛国毛片在线播放| 欧美精品第三页| 国产黄色片免费在线观看| 黄色三级视频在线播放| 丝袜制服一区二区三区| 亚洲一区二区三区av无码| 中文字幕在线视频一区二区三区| 久久美女福利视频| 欧洲精品一区二区三区久久| 一二三级黄色片| 丰满少妇在线观看| 精品国产成人av在线免| 国产黄色片免费在线观看| 黄色成人在线免费观看| 男女激烈动态图| 国产手机视频在线观看| 香蕉精品视频在线| 亚洲免费在线播放视频| 免费在线观看污网站| 亚洲免费av一区| 99中文字幕在线| 亚洲天堂av一区二区三区| 色91精品久久久久久久久| 中文字幕视频三区| 日本三级福利片| 一本色道久久88亚洲精品综合| www.色.com| 青青草原网站在线观看| 777久久精品一区二区三区无码| 黄色网络在线观看| 国产一级不卡视频| 97视频久久久| 日本精品www| 国产色视频在线播放| 五月婷婷之综合激情| 黄色高清视频网站| 在线观看17c| 黄色一级视频片| 日韩av手机版| 国产日韩欧美大片| 国产极品在线视频| 91香蕉视频污版| 精品一区二区三区毛片| 青草视频在线观看视频| 99久久久无码国产精品6| 小泽玛利亚视频在线观看| 特级毛片在线免费观看| 国产精品999视频| 亚洲狼人综合干| 黄色录像特级片| 无码人妻h动漫| 做爰高潮hd色即是空| 人体内射精一区二区三区| 污版视频在线观看| 久久99久久99精品| 精品久久久久久中文字幕2017| 国产卡一卡二在线| 成人免费毛片网| 国产树林野战在线播放| 无码精品国产一区二区三区免费| 中文字幕第22页| 日本精品免费在线观看| 五月天综合婷婷| 激情 小说 亚洲 图片: 伦| 成人免费在线视频播放| 中文字幕在线观看日| jizzjizz国产精品喷水| 小泽玛利亚av在线| 一道本在线免费视频| 四虎永久在线精品无码视频| 久久综合亚洲精品| 国内av一区二区| 粉色视频免费看| 日本一本二本在线观看| 免费看毛片的网址| 超碰97免费观看| 香蕉视频色在线观看| 国产一区二区在线免费播放| 国产成人一区二区三区别| 久久免费看毛片| 亚洲三级在线观看视频| 污网站免费在线| 免费看国产黄色片| 亚洲77777| 亚洲精品午夜在线观看| 在线免费观看av的网站| 青青在线视频免费| 成年人观看网站| koreanbj精品视频一区| 成品人视频ww入口| 大肉大捧一进一出好爽视频| 少妇av一区二区三区无码| 青青草视频国产| 无码专区aaaaaa免费视频| 精品无码国产一区二区三区av| 久久亚洲a v| 亚洲熟妇无码另类久久久| 日韩少妇内射免费播放18禁裸乳| 日本wwww视频| 在线观看的毛片| 在线一区二区不卡| 穿情趣内衣被c到高潮视频| www.国产亚洲| 99久久久无码国产精品6| 日本在线一二三区| www.久久com| 蜜桃传媒一区二区三区| 亚洲精品一二三四五区| 亚洲五月激情网| 欧美视频在线观看视频| av免费观看网| 黄色一级免费大片| 天天久久综合网| 九色在线视频观看| 国产精品视频中文字幕| 国产aaa免费视频| 污污视频网站免费观看| 日本女人高潮视频| 黄色a级片免费| 亚洲一区二区偷拍| www.com毛片| 五月天色婷婷综合| 日av中文字幕| 国产内射老熟女aaaa| 黄色片久久久久| 国产亚洲精品久久久久久久| 国产成人久久777777| 日本女人高潮视频| 国产一级特黄a大片免费| 国产毛片久久久久久国产毛片| 嫩草av久久伊人妇女超级a| 久久视频免费在线| 污污的网站18| 久久精品一区二| 很污的网站在线观看| 亚洲制服中文字幕| 冲田杏梨av在线| 少妇高清精品毛片在线视频| 国产资源在线免费观看| 亚洲女人在线观看| 中文字幕22页| 色综合天天色综合| 国产一区亚洲二区三区| 日本网站免费在线观看| 国产精品免费看久久久无码| 日本一二三区在线| 91精产国品一二三产区别沈先生| 日韩精品视频久久| 欧美二区在线视频| 凹凸国产熟女精品视频| 国产精品又粗又长| 奇米影视亚洲色图| 欧洲黄色一级视频| 成人在线看视频|