免费一级欧美片在线观看网站_国产一区再线_欧美日本一区二区高清播放视频_国产99久久精品一区二区300

代做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

    免费一级欧美片在线观看网站_国产一区再线_欧美日本一区二区高清播放视频_国产99久久精品一区二区300
    日韩精品亚洲一区二区三区免费| 国产精品资源在线看| 日韩国产一二三区| av电影一区二区| 日韩一区二区三区电影| 亚洲啪啪综合av一区二区三区| 精品在线观看免费| 欧美日韩二区三区| 成人欧美一区二区三区黑人麻豆 | 亚洲r级在线视频| 99久久国产免费看| 国产夜色精品一区二区av| 图片区小说区区亚洲影院| 91视频在线看| 中文字幕巨乱亚洲| 国产制服丝袜一区| 91精品国产麻豆| 亚洲成人在线网站| 日本高清不卡在线观看| 亚洲图片欧美激情| 丁香婷婷深情五月亚洲| 久久在线免费观看| 精品在线免费观看| 日韩欧美激情四射| 免费日本视频一区| 欧美一卡二卡在线观看| 日韩不卡一二三区| 7777精品伊人久久久大香线蕉经典版下载| 亚洲品质自拍视频| 色综合色狠狠综合色| 中文字幕一区二区三区视频| 国产尤物一区二区| 日韩欧美123| 青青草国产成人99久久| 91精品国产综合久久福利软件| 视频在线观看91| 欧美日韩高清一区二区三区| 亚洲高清免费视频| 欧美天堂亚洲电影院在线播放| 亚洲精品写真福利| 91久久精品国产91性色tv| 一区二区三区在线观看国产 | 一区二区三区在线影院| 色香蕉成人二区免费| 亚洲欧美日韩电影| 色8久久精品久久久久久蜜| 亚洲激情男女视频| 欧美影院一区二区三区| 亚洲国产精品久久久久秋霞影院| 欧洲视频一区二区| 午夜精品一区在线观看| 91精品国产综合久久香蕉麻豆| 日韩高清不卡一区二区三区| 欧美一级在线免费| 国产在线看一区| 国产欧美一区二区精品婷婷| 成人黄页毛片网站| 亚洲色图欧美偷拍| 欧美午夜电影网| 日本不卡一二三| 精品99久久久久久| 成人精品在线视频观看| 亚洲人成7777| 欧美美女网站色| 精品亚洲国产成人av制服丝袜| 国产日产欧美一区二区三区| 99久久精品国产毛片| 一区二区三区毛片| 91精品一区二区三区久久久久久| 久久66热偷产精品| 亚洲国产精品v| 色久优优欧美色久优优| 日韩电影免费在线观看网站| 欧美精品一区二区三区一线天视频| 国产成人综合亚洲网站| 最新欧美精品一区二区三区| 欧美在线观看视频在线| 毛片av中文字幕一区二区| 日本一区二区三区国色天香 | 欧美视频在线一区| 久久精品99国产精品| 国产婷婷精品av在线| 91视频观看免费| 无码av免费一区二区三区试看| 精品国一区二区三区| 成熟亚洲日本毛茸茸凸凹| 亚洲午夜免费电影| 久久综合丝袜日本网| 91麻豆自制传媒国产之光| 日韩电影一区二区三区| 中日韩免费视频中文字幕| 欧美影院精品一区| 国精产品一区一区三区mba桃花| 国产精品久久久久四虎| 67194成人在线观看| 成人精品鲁一区一区二区| 69堂国产成人免费视频| 国产成人午夜视频| 亚洲高清在线视频| 欧美国产日韩一二三区| 欧美天堂一区二区三区| 国产精品系列在线观看| 亚洲二区在线观看| 日本一区二区在线不卡| 欧美伦理电影网| 成人免费高清在线观看| 视频一区二区国产| 成人欧美一区二区三区小说| 欧美成人伊人久久综合网| 91小视频在线观看| 国产在线精品不卡| 亚洲影院在线观看| 国产日韩三级在线| 欧美猛男gaygay网站| 成人激情电影免费在线观看| 日本伊人精品一区二区三区观看方式| 欧美国产欧美综合| 日韩亚洲欧美在线| 色悠悠久久综合| 黄色精品一二区| 亚洲福利一区二区| 亚洲欧美在线视频| 久久精品在这里| 91精品国产一区二区| 一本色道久久综合亚洲aⅴ蜜桃| 紧缚奴在线一区二区三区| 亚洲一区二区三区四区在线免费观看| 中文幕一区二区三区久久蜜桃| 日韩欧美专区在线| 欧美三片在线视频观看| eeuss鲁一区二区三区| 国产一区二区网址| 日韩电影免费在线看| 亚洲综合在线第一页| 国产精品美女久久久久久| 精品精品国产高清a毛片牛牛| 欧美日韩国产精选| 91毛片在线观看| 成人精品鲁一区一区二区| 国内精品在线播放| 美女视频黄久久| 图片区小说区区亚洲影院| 亚洲精品日产精品乱码不卡| 国产精品视频一区二区三区不卡| 日韩欧美一区二区视频| 欧美日本在线视频| 欧美在线三级电影| 一本色道久久综合亚洲91| 不卡视频一二三| 国产69精品久久99不卡| 国内精品伊人久久久久av一坑| 日本欧美一区二区| 午夜日韩在线观看| 亚洲午夜日本在线观看| 亚洲一区视频在线| 夜夜夜精品看看| 夜色激情一区二区| 亚洲一级在线观看| 亚洲高清免费在线| 天堂一区二区在线| 天天操天天色综合| 欧美一区二区三区喷汁尤物| 欧美日韩你懂得| 欧美三区免费完整视频在线观看| 色一情一乱一乱一91av| 91久久精品午夜一区二区| 色婷婷精品久久二区二区蜜臂av | 欧美不卡一区二区三区| 日韩欧美二区三区| 精品久久久久av影院| 欧美精品一区二区高清在线观看| 精品少妇一区二区三区免费观看| 日韩免费观看2025年上映的电影| 日韩精品一区二区三区中文精品| 日韩欧美视频一区| 久久久久久影视| 亚洲国产精品av| 亚洲图片欧美激情| 亚洲图片欧美综合| 青青草国产精品亚洲专区无| 久久99精品久久久| 国产精品一区2区| av一二三不卡影片| 在线观看av不卡| 91精品福利在线一区二区三区| 日韩一二在线观看| 国产亚洲一二三区| 亚洲欧美自拍偷拍| 亚洲成在人线免费| 麻豆国产精品官网| 国产suv精品一区二区883| 99国内精品久久| 欧美在线观看你懂的| 欧美精品亚洲二区| 精品久久人人做人人爰| 国产精品色呦呦| 亚洲国产精品天堂| 久久国产日韩欧美精品| 丁香婷婷综合色啪| 欧美性受xxxx|