练习题
如果你在完成某周的问题集后想要额外练习,可以从这些练习题中选择。很多情况下,它们可能比问题集本身更难!
所有这些问题完全是可选的,不能提交!
第 1 周
第 2 周
- Hours, for practice with arrays, passing arrays as parameters to a function, integer division and type casting.
-
N0 V0w3ls, for practice with
strings, 命令行参数s, and writing an entire program from scratch. -
Password, for practice iterating through a
string, using thectype.hlibrary, and using Boolean variables.
第 3 周
-
Recursive
atoi, for practice creating recursive functions. -
Average Temperatures, for practice working with
structs and sorting 算法. - Max, for practice passing arrays to functions and finding maximum values.
-
Snackbar, for practice using
structs and writing a linear 搜索 algorithm.
第 4 周
- Bottom Up, for practice working with images and metadata.
- 许可协议, for practice working with files and file 指针.
第 5 周
- Trie, for introducing 更多 complex数据结构 and working with tries.
第 6 周
-
Bank, from CS50’s 编程入门 with Python, for practice with
strs. - Frank, Ian and Glen’s Letters, from CS50’s 编程入门 with Python, for practice with libraries and 命令行参数s.
- Jar, from CS50’s 编程入门 with Python, for an introduction to classes and object-oriented 编程, if feeling较难.
-
Seven Day Average, for practice with requests,
dicts, and data, if feeling较难. -
Taqueria, from CS50’s 编程入门 with Python, for practice with
dicts andtry-exceptblocks.
第 7 周
-
Favorites for practice using
SELECTandUPDATEkeywords. -
Hall of Prophecy for practice refactoring a database, using
CREATE.
第 8 周
- Radio Shack Redo, for practice with Bootstrap (and some web development history!)
第 9 周
- 你好, Flask, for practice writing a Flask application from scratch.