亚洲十八**毛片_亚洲综合影院_五月天精品一区二区三区_久久久噜噜噜久久中文字幕色伊伊 _欧美岛国在线观看_久久国产精品毛片_欧美va在线观看_成人黄网大全在线观看_日韩精品一区二区三区中文_亚洲一二三四区不卡

代做DS2500、代寫Python設(shè)計程序

時間: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

















 

標(biāo)簽:

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

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

    關(guān)于我們 | 打賞支持 | 廣告服務(wù) | 聯(lián)系我們 | 網(wǎng)站地圖 | 免責(zé)聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 kmw.cc Inc. All Rights Reserved. 昆明網(wǎng) 版權(quán)所有
    ICP備06013414號-3 公安備 42010502001045

    成人精品福利| 欧美日韩一区不卡| 亚洲欧洲国产日本综合| 国产精品免费观看视频| 亚洲日本va午夜在线影院| 亚洲欧洲综合另类| 欧美性生交xxxxxdddd| 久久亚洲精品国产精品紫薇| 91免费观看国产| 亚洲天堂2014| 欧美性猛交xxxx富婆弯腰| 91精品国产综合久久香蕉麻豆| 欧美r级在线观看| 夜夜夜精品看看| 欧美天堂在线观看| 7777精品久久久大香线蕉| 在线观看黄色av网站| 亚洲精品一区二区| 成人av毛片| 色多多在线观看| 综合成人在线| 成人免费a**址| 宅男噜噜噜66一区二区| 国产99精品在线观看| 国产精品进线69影院| 日本精品一级二级| 四虎免费av| 免费观看成人高潮| 国产极品嫩模在线观看91精品| 自拍欧美一区| 天堂一区二区在线免费观看| 91网站黄www| 色婷婷国产精品综合在线观看| 欧美不卡激情三级在线观看| 欧美xxx.com| 日韩不卡免费高清视频| 国产精品免费大片| 日韩电影在线观看一区| 亚洲国产精品ⅴa在线观看| 狠狠躁夜夜躁久久躁别揉| 国产一级性片| 3344国产永久在线观看视频| 91嫩草精品| 亚洲精品四区| 久久中文字幕av一区二区不卡| 国产精品一二| 91蜜桃网址入口| 欧美精品日韩一区| www.久久热.com| 精品91福利视频| 99riav1国产精品视频| 久久综合九色综合97_久久久 | 国产精品玖玖玖在线资源| 激情亚洲成人| 91在线精品秘密一区二区| 欧洲一区在线观看| 久久久久久青草| 日韩精品久久久久久久软件91| 亚洲精品字幕| 国产精品电影一区二区| 色婷婷亚洲十月十月色天| 91超碰在线免费| 日韩精品一区二区三区免费观影 | 中国一级特黄毛片大片| 欧美magnet| 亚洲欧洲一区| 亚洲欧美综合色| 日本欧洲一区| 亚洲一区导航| 免费视频最近日韩| 日韩欧美成人网| 毛片在线不卡| 91精品国产自产拍在线观看蜜| 91老司机福利 在线| 精品久久久久久久久久久久久久久久久 | 日本在线视频1区| 亚洲高清在线一区| 国内精品写真在线观看| 色哟哟精品一区| 亚洲综合影视| 伊人色**天天综合婷婷| 亚洲欧美一区二区不卡| 深夜视频在线免费| 亚洲人亚洲人色久| 国产日本亚洲高清| 在线看片线路1| 日韩av影院| 国产精品全国免费观看高清 | 奇米影视7777精品一区二区| 欧美视频二区36p| 免费网站在线观看人| 欧美亚洲不卡| 色狠狠桃花综合| 男人久久天堂| 麻豆一区二区在线| 精品盗摄一区二区三区| 日韩区一区二| 26uuu精品一区二区三区四区在线| 99在线欧洲视频| 国产美女撒尿一区二区| 久久精品视频在线看| 在线激情av| 99精品在线观看| 天天操天天色综合| 国产精品粉嫩| 福利91精品一区二区三区| 国产91福利| 精品国产91乱码一区二区三区四区 | 欧美va在线观看| 高清免费成人av| 在线激情av| 国产高清欧美| 欧美视频第一页| 懂色aⅴ精品一区二区三区| 夫妻av一区二区| 欧美女同网站| 亚洲少妇一区| 天天做天天摸天天爽天天爱| 国产成人av毛片| 亚洲激情图片小说视频| 性国裸体高清亚洲| 波多野结衣一区二区三区 | 国产美女撒尿一区二区| 亚洲激情综合网| 国产精品久久亚洲不卡| 久久久久亚洲综合| 国产在线观看91| 国内精品写真在线观看| 亚洲美女电影在线| 美女日韩在线中文字幕| 日本免费视频| 国产精品免费看| 黄网站色大毛片| 亚洲无线一线二线三线区别av| 69av一区二区三区| 久久超碰99| 欧美日韩久久一区| 你懂的在线观看一区二区| 亚洲www啪成人一区二区麻豆| 国产精品传媒麻豆hd| 亚洲日本韩国一区| 欧美大片网站| 婷婷成人激情在线网| 视频欧美一区| 色88888久久久久久影院按摩| 高清精品视频| 在线看国产一区| 国产伦精品一区二区三区千人斩 | 福利精品在线| 亚洲精品成a人| 国产一区精品二区| 亚洲成av人片在线观看| 精品国产一区二区三区性色av| 午夜久久久久久久久| a级日韩大片| 欧美日韩在线三级| 97在线精品| 五月天丁香婷| 久久99精品久久久久久| 成人黄视频在线观看| 欧美国产一区在线| 久久久久九九精品影院| 午夜电影网亚洲视频| 日韩理论电影中文字幕| 精品卡一卡二卡三卡四在线| 国产精品入口66mio| jizz日韩| 亚洲欧洲国产日本综合| 草草视频在线一区二区| 欧美一区二区在线播放| 在线观看不卡| 精品三级久久久久久久电影聊斋| 丁香婷婷综合五月| 自拍一区在线观看| 在线一区二区三区四区五区| 亚洲成人一区| 黄色片免费在线| 国产亚洲欧美激情| www国产精品| 日韩一区二区三区在线| 久久久国产亚洲精品| 亚洲91av| 丁香五六月婷婷久久激情| 亚洲免费二区| av在线免费播放网站| 国产精品情趣视频| 校花撩起jk露出白色内裤国产精品| 成人18网站| 成人性生交大合| 日本精品一区二区三区在线观看视频| 欧美日韩另类一区| 日韩**一区毛片| 日韩在线免费| 日韩欧美色电影| 国产精品综合视频| 榴莲视频成人app| av最新地址| 久久先锋资源网| 亚洲人成伊人成综合图片| 理论片在线观看理伦片|