亚洲十八**毛片_亚洲综合影院_五月天精品一区二区三区_久久久噜噜噜久久中文字幕色伊伊 _欧美岛国在线观看_久久国产精品毛片_欧美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

    色豆豆成人网| 欧美日韩亚洲一区三区| 欧美123区| 高清电影在线观看免费| 涩涩av在线| 国产成人亚洲一区二区三区| 欧美韩国日本| 欧美一级二级三级视频| 精品国产不卡| 亚洲无线一线二线三线区别av| 欧美午夜一区| 麻豆高清免费国产一区| 国产一区二区三区免费在线观看| 国产成人精品午夜视频免费| 99久久综合99久久综合网站| 欧美韩日一区二区三区| 一区二区三区产品免费精品久久75| 国产精品视频一区二区三区不卡| 国产精品综合二区| 国产成人1区| 黄页网址在线观看| 久久久久久日产精品| 成人av网站大全| 激情aⅴ欧美一区二区欲海潮| 日韩欧美在线视频日韩欧美在线视频| 国产精品视频一区二区三区综合| 国产夫妻视频| 国产aⅴ综合色| 竹内纱里奈兽皇系列在线观看| 国产h在线观看| 欧美一区二区美女| 色老板在线视频| 在线观看黄色av| 国产色播av在线| 日韩动漫一区| 亚洲欧美日韩一区在线观看| 国产99久久久国产精品潘金| 一区二区不卡在线播放| 欧美成人福利视频| 欧美三级电影一区二区三区| 成人久久精品| 99国产精品自拍| 91免费国产在线| 精品国产91久久久久久老师| 国产小黄视频| 在线看福利影| 精品中文字幕一区二区三区av| 国产亚洲毛片| 国产日韩精品一区| 欧美一区二区三区免费视频 | 成人黄色免费| 韩国精品视频在线观看 | 日韩区一区二| 午夜亚洲视频| 亚洲欧美另类久久久精品| 91精品国产aⅴ一区二区| caoporn国产精品免费视频| 精品国产乱码久久久久久樱花| 极品中文字幕一区| 中文字幕一区二区在线观看| 偷窥自拍亚洲色图| 天堂av在线| 欧美激情自拍| 国产精品白丝在线| 黑巨人与欧美精品一区| 久久精品女人天堂av免费观看 | 欧美三级电影在线| 国产精品自在欧美一区| 欧美性一二三区| caoporn免费在线| 四虎国产精品免费观看| 久久久精品2019中文字幕之3| 日韩视频免费观看高清完整版| 国语对白在线刺激| 亚洲综合小说| 亚洲综合精品久久| 男人天堂亚洲二区| 国产91一区| 国产亚洲精品bt天堂精选| 99re99| 欧美aaaxxxx做受视频| 影音先锋日韩在线| 一区二区欧美视频| 成人在线免费公开观看视频| 亚洲精华一区二区三区| 久久网站热最新地址| 日本高清好狼色视频| 国产麻豆精品久久一二三| 欧美无砖专区一中文字| 一级二级三级在线观看| 99久久国产综合精品成人影院| 久久久99久久精品欧美| 国产黄色免费网| 国产一区二区在线视频你懂的| 国产高清一区日本| av免费播放| 久久精品福利| 久久亚洲免费视频| 久久久资源网| 91久久久精品国产| 亚洲一级二级三级| heyzo高清在线| 三级在线观看一区二区| 欧美一区二区三区精品| 国产亚洲久久| 欧美激情中文不卡| 成av人电影在线观看| 亚洲日本国产| 日韩一区二区三区四区 | 日韩欧中文字幕| 涩涩涩视频在线观看| 国产一区久久久| 午夜影院在线| 一区二区三区四区在线观看国产日韩| 亚洲大片精品永久免费| 巨茎人妖videos另类| 国产成人精品午夜视频免费| 蜜桃tv在线播放| 国产精品啊啊啊| 欧美精品久久久久久久久老牛影院| 少妇一区视频| 国产午夜精品一区二区三区视频 | 欧美日韩美少妇| 亚洲图色一区二区三区| 国产精品免费人成网站| 不卡视频观看| 成人免费观看男女羞羞视频| 成人p站proumb入口| 久久人人97超碰国产公开结果| 999sesese| 欧美aⅴ99久久黑人专区| 欧美一区二区三区系列电影| 欧美女王vk| 欧美午夜电影在线播放| 日韩精品欧美大片| 色偷偷久久一区二区三区| 欧美视频三区| 激情懂色av一区av二区av| 中文字幕日本一区| 亚洲国产成人高清精品| 国产人与zoxxxx另类91| 亚洲福利一二三区| 日韩有吗在线观看| 欧美日韩一区二区精品| 伊人久久亚洲| 欧美综合色免费| 国产精品自拍区| 555www色欧美视频| 在线日本制服中文欧美| 欧美另类一区二区三区| 亚洲欧洲中文字幕| 猫咪成人官网| 久久国产精品99国产| 翔田千里在线视频| 精品亚洲成a人| a黄色片在线观看| 欧美激情资源网| 成人在线视频www| 91极品美女在线| 欧美1级片网站| 性色av一区二区| 久久99精品国产麻豆婷婷洗澡| 日韩黄色影院| 国产日韩av一区| 免费精品一区二区三区在线观看| 欧美在线一区二区三区| 国产精品久久久乱弄| 国内精品卡一卡二卡三新区| 国精品**一区二区三区在线蜜桃| 日本片在线观看| 一级中文字幕一区二区| 国内精品久久久久久99蜜桃| heyzo视频在线播放| 美女视频黄免费的久久| 丰满的护士2在线观看高清| 亚洲在线免费播放| 欧美日韩一二三四| 一二三区在线视频| 久久午夜羞羞影院免费观看| 91精品一区| 欧美一区二区成人| 日本三级亚洲精品| 日韩激情av| 黑人与娇小精品av专区| 欧美成人久久| 日本网站在线免费观看视频| 亚洲人成7777| 日韩a一区二区| 国产中文在线视频| 亚洲欧美综合网| 93在线视频精品免费观看| 国产资源在线播放| 亚洲色图都市小说| 久久免费大视频| av大片在线看| 亚洲综合成人网| 亚洲第一精品影视| 美女高潮视频在线看| 91麻豆精品国产91久久久久久| 日日夜夜免费精品视频|