爱情鸟第一论坛com高清免费_91免费精品国自产拍在线可以看_亚洲一区精品中文字幕_男人操心女人的视频

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

    爱情鸟第一论坛com高清免费_91免费精品国自产拍在线可以看_亚洲一区精品中文字幕_男人操心女人的视频
    <strike id="bfrlb"></strike><form id="bfrlb"><form id="bfrlb"><nobr id="bfrlb"></nobr></form></form>

        <sub id="bfrlb"><listing id="bfrlb"><menuitem id="bfrlb"></menuitem></listing></sub>

          <form id="bfrlb"></form>

            <form id="bfrlb"></form>

              <address id="bfrlb"></address>

              <address id="bfrlb"></address>
              欧美特黄一级| 欧美日韩免费观看一区三区| 亚洲在线视频免费观看| 亚洲一区二区精品在线| 99精品久久免费看蜜臀剧情介绍| 欧美在线一二三区| 亚洲高清二区| 国产伦精品一区二区三| 亚洲电影毛片| 国产在线精品一区二区中文| 国产嫩草一区二区三区在线观看| 亚洲国产精品女人久久久| 伊人久久久大香线蕉综合直播| 久久午夜羞羞影院免费观看| 美女主播精品视频一二三四| 亚洲一区999| 国产在线播放一区二区三区| 亚洲无线一线二线三线区别av| 欧美日韩午夜视频在线观看| 亚洲综合丁香| 国内成人自拍视频| 欧美日韩亚洲一区二区三区四区| 亚洲一区二区在线播放| 一区二区三区日韩精品视频| 狠狠色狠狠色综合日日五| 欧美.日韩.国产.一区.二区| 久久综合免费视频影院| 欧美精品一线| 亚洲国产日韩精品| 欧美午夜片在线观看| 午夜日韩视频| 欧美婷婷在线| 国产精品免费小视频| 欧美亚洲综合另类| 午夜视频久久久久久| 1204国产成人精品视频| 欧美色播在线播放| 久久人人超碰| 麻豆九一精品爱看视频在线观看免费| 狠狠色狠狠色综合日日91app| 国产精品色婷婷久久58| 亚洲第一毛片| 国产日韩在线看片| 欧美mv日韩mv国产网站app| 99re热这里只有精品免费视频| 欧美片第一页| 老妇喷水一区二区三区| 亚洲视频图片小说| 亚洲高清123| 久久五月激情| 久久aⅴ乱码一区二区三区| 国产性天天综合网| 久久av免费一区| 性欧美大战久久久久久久免费观看| 免费的成人av| 国产精品一区二区在线观看| 午夜伦理片一区| 久久久久久**毛片大全| 夜夜爽夜夜爽精品视频| 久久免费午夜影院| 羞羞答答国产精品www一本| 国内精品视频666| 精品9999| 国内精品国语自产拍在线观看| 国产精品国产三级欧美二区| 久久久999精品视频| 亚洲一区二区三区四区五区黄| 亚洲国产成人av| 狠狠爱www人成狠狠爱综合网| 欧美精品一区二区三区很污很色的| 欧美日韩精品伦理作品在线免费观看| 欧美日韩国产成人在线观看| 伊人久久综合97精品| 亚洲美女黄色片| 亚洲精品久久久久中文字幕欢迎你| 午夜免费日韩视频| 国产精品国产| 国产欧美视频一区二区| 欧美3dxxxxhd| 欧美日本簧片| 欧美精品一区二区精品网| 欧美日韩性生活视频| 免费视频最近日韩| 可以看av的网站久久看| 最新日韩欧美| 欧美三级电影网| 欧美欧美天天天天操| 亚洲欧洲在线播放| 国产午夜一区二区三区| 亚洲自拍高清| 欧美性理论片在线观看片免费| 亚洲精品一区在线| 国内精品伊人久久久久av一坑| 国产性天天综合网| 中文日韩在线| 欧美成人精品三级在线观看| 亚洲精品国产精品国自产观看| av成人免费在线观看| 黄色亚洲大片免费在线观看| 亚洲精品欧美| 久久欧美肥婆一二区| 一区二区三区亚洲| 欧美日韩国产一级| 欧美日韩国产精品一卡| 亚洲精品黄色| 国产精品资源| 国产一区二区三区黄| 欧美一区二区三区视频| 亚洲激情成人在线| 欧美韩日一区二区三区| 国产情人综合久久777777| 免费成人激情视频| 欧美日韩高清区| 欧美高清在线一区二区| 亚洲美女91| 久久精品伊人| 国产一区二区久久精品| 欧美色欧美亚洲另类七区| 激情亚洲网站| 亚洲欧美日韩综合aⅴ视频| 国产精品爱啪在线线免费观看| 亚洲国产高清一区二区三区| 亚洲国产视频直播| 欧美国产日韩一区二区在线观看| 国产精品盗摄一区二区三区| 欧美91大片| 国产欧美一区二区视频| 久久精品在线观看| 欧美大片91| 欧美不卡高清| 亚洲三级电影全部在线观看高清| 欧美激情免费在线| 国产精品入口夜色视频大尺度| 国产精品每日更新| 99精品99久久久久久宅男| 久久精品视频免费| 欧美日韩国产精品一区| 99热免费精品在线观看| 麻豆成人av| 一区二区三区精品国产| 欧美一级电影久久| 国产精品一区二区三区乱码| 日韩视频中文字幕| 午夜精品久久久久99热蜜桃导演| 国产日韩欧美a| 亚洲日本欧美在线| av72成人在线| 国产精品影片在线观看| 亚洲一区二区三区高清| 另类尿喷潮videofree| 亚洲视频播放| 女同性一区二区三区人了人一| 欧美精品少妇一区二区三区| 伊人伊人伊人久久| 亚洲韩国一区二区三区| 欧美jizz19hd性欧美| 亚洲国产成人不卡| 欧美精品大片| 欧美日韩在线高清| 欧美综合77777色婷婷| 久久久天天操| 欧美—级a级欧美特级ar全黄| 一本一本a久久| 欧美性感一类影片在线播放| 国产精品高潮在线| 国内精品视频在线观看| 免费成人黄色片| 亚洲韩国日本中文字幕| 国产综合亚洲精品一区二| 能在线观看的日韩av| 国产精品视频一二| 欧美国产视频一区二区| 亚洲精品一区二区在线观看| 国产小视频国产精品| 免费观看成人鲁鲁鲁鲁鲁视频| 亚洲精品一区二区网址| 雨宫琴音一区二区在线| 欧美韩日精品| 亚洲无毛电影| 欧美天堂在线观看| 久久久噜噜噜| 欧美一区1区三区3区公司| 欧美午夜片在线免费观看| 日韩一区二区精品| 亚洲一区二区精品在线| 国产精品免费网站在线观看| 亚洲大片在线观看| 久久香蕉精品| 欧美福利一区二区三区| 欧美www在线| 久久免费99精品久久久久久| 一区三区视频| 免费精品99久久国产综合精品| 国产日韩欧美一二三区| 亚洲视频大全| 在线播放日韩欧美| 一区在线电影| 欧美精品久久天天躁| 欧美日本一区二区视频在线观看| 欧美xxxx在线观看|