精品深夜AV无码一区二区_伊人久久无码中文字幕_午夜无码伦费影视在线观看_伊人久久无码精品中文字幕

代做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  郵箱:[email protected]   WX:codinghelp

















 

標簽:

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

    昆明圖文信息
    蝴蝶泉(4A)-大理旅游
    蝴蝶泉(4A)-大理旅游
    油炸竹蟲
    油炸竹蟲
    酸筍煮魚(雞)
    酸筍煮魚(雞)
    竹筒飯
    竹筒飯
    香茅草烤魚
    香茅草烤魚
    檸檬烤魚
    檸檬烤魚
    昆明西山國家級風景名勝區
    昆明西山國家級風景名勝區
    昆明旅游索道攻略
    昆明旅游索道攻略
  • 短信驗證碼平臺 理財 WPS下載

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

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

    精品深夜AV无码一区二区_伊人久久无码中文字幕_午夜无码伦费影视在线观看_伊人久久无码精品中文字幕
    <samp id="e4iaa"><tbody id="e4iaa"></tbody></samp>
    <ul id="e4iaa"></ul>
    <blockquote id="e4iaa"><tfoot id="e4iaa"></tfoot></blockquote>
    • <samp id="e4iaa"><tbody id="e4iaa"></tbody></samp>
      <ul id="e4iaa"></ul>
      <samp id="e4iaa"><tbody id="e4iaa"></tbody></samp><ul id="e4iaa"></ul>
      <ul id="e4iaa"></ul>
      <th id="e4iaa"><menu id="e4iaa"></menu></th>
      全国精品久久少妇| 日韩av网站在线观看| 中文字幕永久在线不卡| 精品一区二区av| 日韩一区二区在线看片| 亚欧色一区w666天堂| 欧美乱妇15p| 亚洲高清免费观看| 欧美美女激情18p| 久久电影国产免费久久电影| 日韩一区二区三区四区五区六区| 日韩高清欧美激情| 欧美mv日韩mv| 国产91在线看| 亚洲精品中文在线影院| 欧美色区777第一页| 午夜婷婷国产麻豆精品| 538prom精品视频线放| 久久超碰97中文字幕| 国产三级精品视频| 在线视频亚洲一区| 久久爱www久久做| 国产精品久久久久久久久久久免费看 | 国产一二精品视频| 中文字幕免费在线观看视频一区| 91毛片在线观看| 亚洲一二三四区| 日韩视频一区二区三区在线播放| 国产成人自拍在线| 亚洲成国产人片在线观看| 久久综合九色欧美综合狠狠| av电影在线观看不卡| 亚洲综合色网站| 国产无一区二区| 3d动漫精品啪啪| 99视频精品在线| 麻豆91精品视频| 亚洲视频 欧洲视频| 欧美电影免费观看高清完整版在线 | 天天射综合影视| 中文字幕国产精品一区二区| 欧美日本在线一区| 国产伦精品一区二区三区视频青涩 | 午夜精品久久一牛影视| 日韩欧美国产麻豆| 成人18精品视频| 奇米777欧美一区二区| 自拍偷拍欧美激情| 精品国产亚洲一区二区三区在线观看| 色综合中文字幕| 国产在线精品一区在线观看麻豆| 亚洲夂夂婷婷色拍ww47| 中文在线一区二区| 久久精品亚洲乱码伦伦中文| 91麻豆精品国产自产在线| 一本色道亚洲精品aⅴ| av亚洲精华国产精华精华| 欧美一区二区在线不卡| 99久久国产综合精品色伊| 老司机精品视频一区二区三区| 亚洲猫色日本管| 国产精品美女视频| 久久综合久久鬼色中文字| 欧美美女黄视频| 欧美日韩亚洲综合在线 欧美亚洲特黄一级 | 国产乱理伦片在线观看夜一区| 亚洲一区二区欧美日韩| 亚洲品质自拍视频网站| 亚洲丝袜美腿综合| 亚洲桃色在线一区| 亚洲视频免费在线| 亚洲一区二区三区四区中文字幕| 亚洲视频一区在线观看| 最新日韩在线视频| 亚洲黄色性网站| 亚洲午夜一二三区视频| 亚洲在线一区二区三区| 亚洲大片一区二区三区| 五月天激情小说综合| 日韩av网站在线观看| 久久69国产一区二区蜜臀| 久久99精品久久久久久国产越南 | 一区二区三区四区在线播放| 亚洲综合小说图片| 日日骚欧美日韩| 国产在线看一区| av亚洲精华国产精华精| 欧美日韩精品一区二区三区四区 | 日韩一级成人av| ww亚洲ww在线观看国产| 欧美精品一区二区精品网| www日韩大片| 中文字幕一区二区三区乱码在线| 亚洲日本韩国一区| 视频一区二区三区中文字幕| 精品一区二区在线看| 播五月开心婷婷综合| 欧美猛男男办公室激情| 久久久亚洲精华液精华液精华液| 国产精品久久国产精麻豆99网站| 一区二区三区欧美激情| 玖玖九九国产精品| 国产大陆精品国产| 欧美猛男男办公室激情| 国产日本欧美一区二区| 亚洲成av人综合在线观看| 国产精品一区二区三区四区| 欧美亚洲日本国产| 久久久av毛片精品| 亚洲成人一二三| aaa亚洲精品| 欧美成人a在线| 日韩伦理电影网| 精品一区二区在线播放| 在线免费精品视频| 欧美国产成人在线| 青娱乐精品在线视频| 色呦呦网站一区| 欧美激情综合网| 另类小说欧美激情| 欧美色图片你懂的| 国产精品久久久久久久久免费相片 | 国产欧美1区2区3区| 亚洲va在线va天堂| 99久久综合精品| 久久久久久99久久久精品网站| 午夜免费久久看| 在线一区二区三区做爰视频网站| 精品国产青草久久久久福利| 亚洲成人一二三| 在线一区二区三区四区五区| 国产精品久久久久久福利一牛影视| 国产一区二区福利视频| 欧美电视剧在线观看完整版| 性久久久久久久| 在线视频你懂得一区二区三区| 国产精品人妖ts系列视频| 极品美女销魂一区二区三区| 欧美一区二区三区在线看| 亚洲高清免费观看高清完整版在线观看| 成人激情动漫在线观看| 久久久精品黄色| 国产一区91精品张津瑜| 久久亚洲精品国产精品紫薇| 精品在线视频一区| 久久综合国产精品| 国产福利一区二区三区视频在线| 日韩欧美一区电影| 韩国女主播一区| 亚洲国产精品精华液2区45| 国产精品18久久久久| 国产亚洲va综合人人澡精品| 国产99一区视频免费| 中文在线资源观看网站视频免费不卡 | 国产亚洲综合av| 成人一区在线观看| 综合欧美一区二区三区| 欧洲一区在线观看| 日韩激情在线观看| 日韩欧美在线综合网| 国产自产2019最新不卡| 中文字幕av资源一区| 99国产欧美另类久久久精品| 亚洲欧美日韩中文字幕一区二区三区 | 一区二区三国产精华液| 色菇凉天天综合网| 亚洲成av人片在线| 日韩手机在线导航| 国产乱码精品一区二区三区忘忧草 | 日韩国产精品久久| 欧美xxxx在线观看| 高清不卡一区二区| 亚洲一区在线观看视频| 91精品午夜视频| 懂色av一区二区在线播放| 一区二区三区四区亚洲| 欧美一级欧美一级在线播放| 黄一区二区三区| 亚洲欧美国产三级| 日韩精品一区国产麻豆| 99精品久久99久久久久| 毛片基地黄久久久久久天堂| 中文字幕亚洲成人| 欧美va亚洲va| 欧美图片一区二区三区| 国产精品一区二区三区四区| 亚洲一区二区三区四区在线免费观看 | 日韩电影在线观看网站| 久久九九影视网| 777亚洲妇女| 色综合中文字幕国产| 国产乱理伦片在线观看夜一区| 亚洲午夜av在线| 国产精品丝袜一区| 精品成人一区二区三区四区| 欧美午夜视频网站| 99精品久久只有精品| 国产成人高清视频| 美国av一区二区| 日韩av网站在线观看|