日本欧洲视频一区_国模极品一区二区三区_国产熟女一区二区三区五月婷_亚洲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

              99精品国产一区二区青青牛奶 | 一区视频在线播放| 麻豆精品传媒视频| 一区二区三区.www| 在线观看日产精品| 国产精品天美传媒入口| 欧美精品九九99久久| 久久另类ts人妖一区二区| 亚洲欧美美女| 一本一本久久a久久精品综合麻豆 一本一本久久a久久精品牛牛影视 | 亚洲国产精品一区在线观看不卡 | 久久精品毛片| 亚洲永久免费精品| 一本久道久久综合狠狠爱| 在线精品视频免费观看| 国产在线不卡| 国产欧美日韩三级| 国产精品国产三级国产aⅴ入口| 免费91麻豆精品国产自产在线观看| 亚洲免费在线视频一区 二区| 亚洲精品一区二区在线观看| 91久久精品国产91久久| 亚洲国产精品黑人久久久| 伊人成人在线| 韩国成人福利片在线播放| 国产精品一区在线观看你懂的| 欧美日韩免费一区| 欧美日韩一级黄| 欧美午夜在线一二页| 欧美日韩国产大片| 欧美三级日本三级少妇99| 欧美精品一卡| 欧美日在线观看| 欧美日韩国产成人精品| 欧美日韩另类国产亚洲欧美一级| 欧美激情一区二区三区在线| 欧美韩国日本综合| 欧美日韩中字| 国产精品看片你懂得| 国产精品欧美日韩| 国产日韩亚洲欧美| 影音先锋另类| 亚洲精品久久视频| 亚洲婷婷在线| 久久久久欧美| 欧美激情精品久久久久久变态 | 99re这里只有精品6| 一本色道久久精品| 欧美一区二区三区在线免费观看| 久久久久99| 欧美激情四色| 国产九区一区在线| 悠悠资源网久久精品| 亚洲精品在线视频| 午夜视频一区在线观看| 久久一区中文字幕| 欧美激情偷拍| 国产女主播在线一区二区| 国产亚洲一级高清| 亚洲精品国产精品久久清纯直播 | 欧美视频1区| 国语自产偷拍精品视频偷| 亚洲精品一区在线观看| 先锋亚洲精品| 欧美欧美全黄| 黄色亚洲免费| 亚洲一区二区影院| 久久午夜精品一区二区| 欧美午夜a级限制福利片| 国产日产高清欧美一区二区三区| 怡红院av一区二区三区| 99精品视频免费观看视频| 久久精品国产一区二区三| 欧美视频一区二区三区…| 国产一区日韩欧美| 激情视频一区二区| 亚洲精品欧美在线| 欧美亚洲免费在线| 欧美人与性禽动交情品 | 亚洲尤物在线| 欧美成人一区二区三区片免费| 国产精品自在线| 中文一区在线| 欧美日韩一级片在线观看| 亚洲成色精品| 久久精品中文字幕一区| 国产精品专区h在线观看| 在线亚洲成人| 欧美激情视频在线免费观看 欧美视频免费一 | 久久精品日韩欧美| 国产精自产拍久久久久久| 午夜精品久久久久久久久 | 国产精品v欧美精品v日韩| 亚洲激情国产| 免费不卡欧美自拍视频| 亚洲国产视频一区二区| 欧美91大片| 亚洲精品偷拍| 欧美亚州韩日在线看免费版国语版| 亚洲人成在线观看网站高清| 美女网站久久| 亚洲韩国青草视频| 欧美精品在线一区二区| 亚洲人成亚洲人成在线观看图片| 欧美aaaaaaaa牛牛影院| 亚洲高清在线精品| 欧美国产日韩精品免费观看| 亚洲精品一区二区三区av| 欧美大色视频| 一本色道久久88精品综合| 国产精品婷婷| 久久久国产一区二区| 在线精品一区二区| 欧美成人伊人久久综合网| 日韩视频免费大全中文字幕| 欧美日韩亚洲一区二区| 亚洲欧美另类中文字幕| 国产一区在线播放| 欧美成年人视频网站| 一区二区激情小说| 国产在线不卡精品| 老色鬼久久亚洲一区二区| 亚洲免费激情| 国产一区欧美日韩| 欧美日韩国产综合一区二区| 先锋影音网一区二区| 亚洲国产精品电影在线观看| 欧美特黄一级| 久久午夜精品一区二区| 一区二区三区国产精华| 国产一区二区0| 欧美成人免费va影院高清| 中文精品99久久国产香蕉| 国外成人在线视频| 欧美日韩蜜桃| 免费欧美在线| 欧美一区二区三区另类| 亚洲人成在线观看一区二区| 国产日韩欧美在线播放| 欧美国产三区| 午夜久久99| 亚洲理伦电影| 亚洲第一中文字幕在线观看| 国产伦精品一区二区三区高清版 | 欧美电影在线| 久久精品国产亚洲一区二区三区| 99在线视频精品| 在线观看一区视频| 国产一区二区三区黄视频| 欧美日韩一区成人| 欧美国产日本| 欧美精品18| 美腿丝袜亚洲色图| 久久综合久久美利坚合众国| 午夜影院日韩| 在线视频你懂得一区| 亚洲国产精品久久久久久女王| 国产日韩欧美在线| 国产精品国产三级国产aⅴ浪潮| 欧美激情无毛| 欧美激情国产高清| 欧美精品播放| 欧美日本二区| 欧美日韩精品综合在线| 欧美日韩国产精品一区二区亚洲| 欧美紧缚bdsm在线视频| 欧美黄色片免费观看| 欧美大片一区| 欧美另类videos死尸| 欧美人与禽性xxxxx杂性| 欧美国产亚洲精品久久久8v| 欧美福利精品| 欧美日韩免费在线| 国产精品网站一区| 国产亚洲综合精品| 一色屋精品视频在线看| 国产欧美韩国高清| 国产在线欧美日韩| 亚洲国产老妈| 日韩午夜激情| 亚洲欧美日韩在线高清直播| 久久精品一区二区三区中文字幕| 欧美在线视频观看| 女女同性精品视频| 国产精品99免视看9| 国产精品麻豆va在线播放| 国产欧美日韩亚州综合| 一色屋精品亚洲香蕉网站| 亚洲久久一区二区| 亚洲综合色婷婷| 久久女同精品一区二区| 欧美国产日韩在线| 国产精品青草综合久久久久99| 国产欧美精品一区二区三区介绍| 在线观看精品视频| 一本色道久久综合亚洲精品高清 | 国产区欧美区日韩区| 在线成人av.com| 亚洲性感激情| 你懂的国产精品|