CS61A class note(1)

    This blog is written for the purpose of  memorying some importants points appeared in CS61A.At first,I want to write the blog on medium.But medium has been walled LOL.For more information about CS61A ,you can check this out  https://cs61a.org/ .
    Since I have studied some basic python before.Lecture 1 seems there's not too much things which aroused my interest. And i would like to share the debug principle learned in this lecture.
    First , Check out your assumptions.That's it ! before we go to debug we really need to ask ourselves this question,What 's your assumptions ! After knowing it ,we need to verify the assumtions that we hold.

    Second , Isolate errors.Trace the error to the smallest fragment of the code !
    Third , test incrementally . Try out everything you write as soon as possible to identify the problem early.
    Forth , consult others.


      2018/3/20 
    After I watched the handout ,i want to add some windows cmd command here.
    (1) dir. it can list the current directories the same as ls command in linux.
    (2)mkdir <folder name>. it can help to make a folder on current directory

    (3)move <directory> < directory>.Move the previous file or folder to  the last folder
    (4) cd. Change to the directory specified.

    After doing your work .You can check your work by using python ok on the labxx.py directory !



    MY FIRST TIME BLOG WRITTEN IN ENGLISH , LOL 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值