日本欧洲视频一区_国模极品一区二区三区_国产熟女一区二区三区五月婷_亚洲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)-大理旅游
    油炸竹蟲
    油炸竹蟲
    酸筍煮魚(雞)
    酸筍煮魚(雞)
    竹筒飯
    竹筒飯
    香茅草烤魚
    香茅草烤魚
    檸檬烤魚
    檸檬烤魚
    昆明西山國家級風景名勝區
    昆明西山國家級風景名勝區
    昆明旅游索道攻略
    昆明旅游索道攻略
  • 短信驗證碼平臺 理財 WPS下載

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

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

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

              9000px;">

                        伊人性伊人情综合网| 国产精品视频免费| 色偷偷久久一区二区三区| 国产精品一区二区在线观看网站| 天天影视网天天综合色在线播放| 一区二区三区在线看| 自拍av一区二区三区| 亚洲三级在线免费观看| 中文字幕国产一区二区| 久久久久国色av免费看影院| 精品国产自在久精品国产| 91麻豆精品国产91久久久更新时间 | www国产精品av| 欧美一区二区三区免费视频| 在线观看精品一区| 欧美高清dvd| 欧美本精品男人aⅴ天堂| 91精品福利在线一区二区三区| 日韩欧美一区在线| 久久九九久久九九| 亚洲欧洲在线观看av| 中文字幕一区二区在线观看| 亚洲视频在线一区观看| 一区二区国产视频| 久久电影网站中文字幕| 国产精一品亚洲二区在线视频| 成人激情电影免费在线观看| 91浏览器入口在线观看| 欧美一区二区三区爱爱| 精品国产1区2区3区| 中文字幕制服丝袜一区二区三区| 亚洲精品日产精品乱码不卡| 日日骚欧美日韩| 国产精品69毛片高清亚洲| 91浏览器入口在线观看| 91精品国产色综合久久| 久久精品欧美一区二区三区麻豆| 国产精品久久久久久久久果冻传媒| 亚洲欧美日韩综合aⅴ视频| 日韩激情视频在线观看| 国产成人免费视频精品含羞草妖精| 色婷婷综合久久久久中文 | 国产99久久久国产精品潘金| 一本大道久久a久久精二百| 91精品欧美综合在线观看最新| 久久婷婷色综合| 国产欧美精品日韩区二区麻豆天美| 不卡视频一二三| 欧美一二三四在线| 中文字幕一区二区视频| 免费一区二区视频| 成人黄色免费短视频| 欧美一二三区精品| 亚洲成人免费看| 99免费精品视频| 26uuu精品一区二区三区四区在线| 亚洲一区二区三区精品在线| 国产成人精品免费在线| 欧美老肥妇做.爰bbww| **欧美大码日韩| 国产成人鲁色资源国产91色综| 欧美一区二区三区精品| 亚洲一区二区在线免费看| 成人app在线| 国产日韩欧美电影| 精品在线视频一区| 3atv在线一区二区三区| 亚洲与欧洲av电影| 色婷婷av久久久久久久| 亚洲欧洲综合另类在线| 成人一道本在线| 国产欧美一区二区三区鸳鸯浴| 精品亚洲国产成人av制服丝袜| 欧美日韩精品一区二区三区蜜桃| 亚洲免费看黄网站| bt欧美亚洲午夜电影天堂| 久久久亚洲欧洲日产国码αv| 美国十次综合导航| 日韩视频一区二区在线观看| 亚洲观看高清完整版在线观看 | www.激情成人| 国产精品不卡在线| 91在线你懂得| 中文字幕一区二区三区色视频| 成人免费视频国产在线观看| 国产欧美中文在线| k8久久久一区二区三区| 中文字幕一区二区不卡| 色婷婷久久一区二区三区麻豆| 一区二区三区免费在线观看| 91久久精品一区二区| 亚洲国产成人av网| 日韩免费高清电影| 国产一区美女在线| 欧美激情一区三区| 在线一区二区三区四区五区 | 国产成人在线视频免费播放| 国产亚洲欧洲一区高清在线观看| 国产精品一区一区| 一区在线观看视频| 欧美亚洲日本一区| 九九在线精品视频| 中文字幕一区二区三区四区不卡| 欧亚一区二区三区| 老司机精品视频在线| 国产精品嫩草影院av蜜臀| 色欧美片视频在线观看| 免费亚洲电影在线| 日本一区二区视频在线观看| 在线看不卡av| 精品亚洲成a人在线观看| 中文字幕在线不卡国产视频| 欧美日韩国产高清一区二区三区| 九九国产精品视频| 亚洲欧美中日韩| 日韩女优制服丝袜电影| 91视视频在线观看入口直接观看www | 99久久精品免费精品国产| 婷婷六月综合亚洲| 国产精品久久毛片av大全日韩| 欧美色手机在线观看| 国产露脸91国语对白| 亚洲国产日韩综合久久精品| 久久青草国产手机看片福利盒子| 91色九色蝌蚪| 国产一区 二区 三区一级| 亚洲一区自拍偷拍| 国产精品你懂的在线| 欧美大尺度电影在线| 色婷婷久久久综合中文字幕| 狠狠色丁香婷婷综合| 亚洲综合小说图片| 国产精品美女久久福利网站| 91精品国产高清一区二区三区蜜臀 | 蜜桃视频免费观看一区| 亚洲自拍偷拍av| 国产精品黄色在线观看| 精品国产三级电影在线观看| 欧美日韩黄视频| 99国产精品久| fc2成人免费人成在线观看播放 | 欧美精品久久久久久久多人混战| 99re成人精品视频| 国产99久久久国产精品免费看| 国产裸体歌舞团一区二区| 亚洲大片一区二区三区| 国产精品福利一区二区三区| 精品国产a毛片| 精品国产乱码久久久久久久| 这里只有精品电影| 欧美一区二区三级| 678五月天丁香亚洲综合网| 欧美人xxxx| 欧美精品在欧美一区二区少妇| 在线视频国产一区| 色婷婷av久久久久久久| 91麻豆免费看| 在线亚洲+欧美+日本专区| 色综合久久综合| 精品视频免费在线| 欧美日韩一级黄| 91精品国产欧美日韩| 日韩亚洲电影在线| 亚洲精品一区在线观看| 久久久久久久久免费| 久久九九影视网| 亚洲美女淫视频| 亚洲最大成人网4388xx| 偷拍与自拍一区| 麻豆精品视频在线| 国产精品影视网| 99久久99久久综合| 在线观看日韩高清av| 欧美一区二区三区小说| 精品处破学生在线二十三| 亚洲国产精品99久久久久久久久| 欧美国产在线观看| 亚洲卡通欧美制服中文| 奇米亚洲午夜久久精品| 国产成人免费高清| 欧美日韩高清影院| 精品国产精品网麻豆系列| 日韩美女久久久| 日韩高清在线一区| 国产传媒日韩欧美成人| 在线观看视频一区| 久久免费电影网| 亚洲国产综合在线| 国产酒店精品激情| 欧美日韩亚洲国产综合| 日本一区二区三区国色天香 | 国产一本一道久久香蕉| 在线一区二区观看| 久久综合久久久久88| 亚洲黄色录像片| 国产电影一区在线| 这里只有精品免费| 一级特黄大欧美久久久| 国产九色sp调教91| 日韩亚洲欧美成人一区|