精品深夜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  郵箱: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

    精品深夜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| 国产在线观看中文字幕| 91精品999| 中文在线a天堂| 五月婷婷六月丁香| 日本少妇一区二区三区| 国产小视频在线观看免费| 亚洲怡红院在线| 天天色天天综合网| 欧美激情久久久久久久| 国内精品久久久久久久久久久| av免费观看网址| 亚洲精品天堂网| 亚洲av无码不卡| 日韩一级片免费在线观看| 精品人妻久久久久一区二区三区| 国产叼嘿视频在线观看| 99久久人妻无码中文字幕系列 | 久久精品www| 国产一级淫片a视频免费观看| 亚洲综合久久网| 亚洲精品午夜国产va久久成人| 一区二区视频网站| 中文字幕av一区二区三区人妻少妇 | 成人午夜免费在线观看| 亚洲一区欧美在线| 91国内精品久久久| 高潮无码精品色欲av午夜福利| 亚洲午夜精品久久久久久高潮| 亚洲人成人无码网www国产| 亚洲欧美激情国产综合久久久| 99久久99久久精品国产| 国产www免费观看| 激情图片中文字幕| 免费观看黄色一级视频| 免费一级特黄特色大片| 三级网站在线播放| 四虎精品一区二区| 亚洲经典一区二区三区| 亚洲欧美一区二区三区四区五区 | 人妻激情偷乱视频一区二区三区| 人人爽人人爽人人片| 色一情一交一乱一区二区三区| 中国极品少妇videossexhd| 99精品人妻国产毛片| 精品人妻aV中文字幕乱码色欲| 日韩 欧美 亚洲| 亚洲高清无码久久| www日本在线| 欧美日韩精品在线观看视频| 四虎精品免费视频| h色网站在线观看| 久久精品女同亚洲女同13| 午夜视频你懂的| 国产精品一区二区小说| 色欲av永久无码精品无码蜜桃| 亚洲视频在线观看一区二区三区| 国产精品嫩草影视| 日韩xxxxxxxxx| 亚洲色图久久久| 精品人妻一区二区免费| 中文字幕人妻一区二区在线视频 | 精品人妻一区二区三区含羞草| 人妻 日韩 欧美 综合 制服| 亚洲美女综合网| 久久在线视频精品| 亚洲av无码一区二区三区网址| 国产馆在线观看| 亚洲第一成肉网| 精品成人av一区二区三区| 亚洲av电影一区| 激情五月色婷婷| 91精品国自产在线偷拍蜜桃| 精品无码一区二区三区电影桃花| 中文字幕日日夜夜| 免费日韩一级片| 国产免费一区二区三区最新6| 午夜性色福利影院| 久久精品视频免费在线观看| 亚洲资源在线播放| 欧美成人aaaaⅴ片在线看| 97人妻一区二区精品视频| 日韩综合在线观看| 久久久无码人妻精品一区| 亚洲欧美精品一区二区三区| 日本中文字幕精品| 国产一级淫片a视频免费观看| 亚洲国产精品成人综合久久久| 免费在线不卡视频| 激情五月深爱五月| 国产精品毛片一区二区| 91视频福利网| 亚洲天堂av一区二区三区| 中国xxxx性xxxx产国| 日本一二三区在线| 另类小说第一页| 久草热在线观看| 久久久久久久久久一区二区三区| 国产suv精品一区二区69| 夜夜嗨aⅴ一区二区三区| 五月天激情丁香| 日韩免费成人av| 日本毛片在线观看| 欧美性猛交xxxx乱大交少妇| 精品无码久久久久| 精品黑人一区二区三区在线观看| 国产成人三级在线播放| 国产成人一区二区在线观看| 亚洲天堂视频在线播放| 亚洲日本精品视频| 亚洲欧美偷拍另类| 夜夜爽久久精品91| www.五月激情| 国产高潮视频在线观看| 国产黄色网址在线观看| 国产又黄又猛又粗又爽的视频| 国产精品久久久毛片| 国产三级视频在线播放| 国产精品69久久久久孕妇欧美| 丰满少妇高潮一区二区| 国产午夜福利一区| 精品国产青草久久久久96| 久久久久xxxx| 欧美黄色一级网站| 性猛交xxxx| 9999热视频| 激情综合网五月婷婷| 欧美一区二不卡视频| 中文字幕一区二区人妻视频 | 日本一二区免费| 天天射天天操天天干| 亚洲精品国产精品乱码 | 天天操天天爽天天射| 中文字幕 国产精品| 69成人免费视频| 国产精品自拍视频一区| 久草视频免费在线| 日韩精品一区二区亚洲av | 黄色aaa毛片| 青青草成人av| 亚洲国产精品18久久久久久| www.成人精品| 精品午夜福利视频| 五月激情婷婷网| 国产三级精品三级在线| 日本一区二区在线观看视频| 在线观看你懂的网站| 国产伦精品一区二区三区视频痴汉 | 亚洲一区二区在线免费| 国产伦精品一区二区三区四区| 九九热精彩视频| 伊人网综合视频| 国产一国产二国产三| 午夜激情av在线| 国产传媒视频在线| 午夜婷婷在线观看| 国产美女www爽爽爽| 天天操天天爱天天爽| 国产黄色av网站| 色一情一乱一乱一区91av| 成人在线手机视频| 天天干视频在线观看| 国产精品国产精品国产| 污视频在线免费观看| 国产麻豆剧传媒精品国产av| 日韩影视一区二区三区| 国产欧美综合视频| 亚洲国产精彩视频| 美女100%无挡| www精品国产| 五月婷婷中文字幕| 国产区二区三区| 亚洲精品午夜国产va久久成人| 欧美视频亚洲图片| 国产精品爽爽久久久久久| 亚州国产精品视频| 欧美日韩中文视频| 国产视频第二页| 亚洲乱码国产乱码精品| 特黄aaaaaaaaa真人毛片| 国产又大又粗又爽| 丰满少妇一区二区三区| 中文字幕一区二区三区人妻 | 国产美女www爽爽爽| 亚洲久久久久久久| 姝姝窝人体www聚色窝| 久久精品一级片| 国产色视频在线| 国产九九在线视频| www.男人天堂| 亚洲精品乱码久久久久久动漫| 欧美亚洲色综久久精品国产| 国产一区二区视频在线观看免费| www中文在线| av亚洲天堂网| av大片在线免费观看|