├── 1-Freshman-Year ├── Data-Structure │ ├── Exp-Reports-Compilation │ │ ├── exp1 │ │ │ ├── 单链表操作的实现.c │ │ │ ├── 城市链表.c │ │ │ └── 约瑟夫环.c.c │ │ ├── exp2 │ │ │ ├── 1二叉树的建立与遍历.c │ │ │ ├── 2计算机目录树的基本操作.c │ │ │ ├── 3打印二叉树结构.c │ │ │ └── 4赫夫曼编码.c │ │ └── exp3 │ │ │ ├── 从键盘输入的数据建立图并进行深度优先搜索和广度优先搜索.c │ │ │ ├── 利用最小生成树算法解决通信网的总造价最低问题.c │ │ │ ├── 导游问题.c │ │ │ └── 教学计划编制问题(设计性实验).c │ └── selfstudy-of-DS │ │ ├── pre0_0.c │ │ ├── pre1_1.c │ │ ├── pre1_2.c │ │ ├── pre1_3.c │ │ ├── pre1_4.c │ │ ├── pre2_1.c │ │ ├── pre2_2.c │ │ ├── pre2_3.c │ │ ├── pre2_4.c │ │ ├── pre3_1.c │ │ └── pre3_2.c └── Fundamental-of-Computer-Programming │ ├── CSU-OJ-problem-solving │ ├── 0 - 副本 (1).c │ ├── 0 - 副本 (2).c │ ├── 0 - 副本 (3).c │ ├── 0 - 副本 (4).c │ ├── 0 - 副本 (5).c │ ├── 0 - 副本 (6).c │ ├── 0000链表这一块.c │ ├── 00单链表.c │ ├── 01一.c │ ├── 02二.c │ ├── 03三.c │ ├── 04四.c │ ├── 05五.c │ ├── 06六.c │ ├── 20级期中机试-小帅切西瓜(20分).c │ ├── 20级期中机试-小帅数CSU(简求最值).c │ ├── 20级期中机试-小帅数数0(10分).c │ ├── 20级期中机试-小帅的沙漏(图形).c │ ├── 20级期末机试1-分数加减(20分).c │ ├── 20级期末机试1-变数(进制转换).c │ ├── 20级期末机试1-回文串(统计不同字符个数).c │ ├── 20级期末机试1-幸运数(先造数组).c │ ├── 20级期末机试1-玩骰子(10分).c │ ├── 20级期末机试1-评委打分(结构体大题).c │ ├── 20级期末机试2-光荣榜(10分).c │ ├── 20级期末机试2-奇序列(20分).c │ ├── 20级期末机试2-好数对(20分).c │ ├── 20级期末机试2-对称画(20分).c │ ├── 20级期末机试2-过元旦(20分).c │ ├── 21级期中机试-东南西北(switch).c │ ├── 21级期中机试-反间整数(大数).c │ ├── 21级期中机试-打印图形(图形).c │ ├── 21级期中机试-最少的笔(20分).c │ ├── 21级期中机试-研究病毒(20分).c │ ├── 21级期中机试-还原数列(先造数列).c │ ├── 21级期末机试-伪素数列(先造数组).c │ ├── 21级期末机试-密码设置(20分).c │ ├── 21级期末机试-描绘闪电(图形).c │ ├── 21级期末机试-格式转换(前面添0).c │ ├── 21级补考-奇数序列().c │ ├── 21级补考-字母图形(图形).c │ ├── 21级补考-按位相加(抑制进位).c │ ├── 21级补考-考试测评(结构体大题).c │ ├── 22-函数-1-素数的间隔.c │ ├── 22-函数-2-回文素数.c │ ├── 22-函数-2-真假硬币.c │ ├── 22-字符串-2-字符串相减(字符串好题).c │ ├── 22-字符串-2-相邻相同字母删除(字符串好题).c │ ├── 22-字符串-3-最小回文串(字符串好题).c │ ├── 22-循环-1-字符串反码.c │ ├── 22-循环-1-整钞换零.c │ ├── 22-循环-1-跳台阶.c │ ├── 22-循环-1-输入输出练习3.c │ ├── 22-循环-1-输入输出练习4.c │ ├── 22-循环-1-输入输出练习5.c │ ├── 22-循环-2-七夕节.c │ ├── 22-循环-2-多项式相加(结构体大题).c │ ├── 22-循环-2-字母圣诞树(图形).c │ ├── 22-循环-2-斐波纳契数列.c │ ├── 22-循环-2-算算n!.c │ ├── 22-循环-2-高斯求和.c │ ├── 22-数学-1-最大公约数(限时 素数).c │ ├── 22-数据类型-1-特定字母大小写.c │ ├── 22-数组-1-杨辉三角(二维数组).c │ ├── 22-数组-1-查找整数.c │ ├── 22-数组-2-上下火车.c │ ├── 22-数组-2-无进位加法(抑制进位).c │ ├── 22-数组-3-统计数字(结构体大题数组解法).c │ ├── 22-结构体-2-大整数排序(大数).c │ ├── 22-结构体-2-日期排序(结构体大题).c │ ├── 22-输入输出-3-7出现的次数.c │ ├── 22-输入输出-3-反向数字(大数).c │ ├── Untitled-1.c │ ├── dabvsgbasfvga.c │ ├── qwefwefgrgergrdg.c │ ├── regerhgehertgh.c │ ├── t1500成绩转换.c │ ├── t1516字符串的输入输出处理.c │ ├── 出线概率(10分).c │ ├── 分割排序(字符串好题).c │ ├── 未完成21级期末机试-实数相加(10分).c │ ├── 未完成21级期末机试-谍影寻踪(10分).c │ ├── 正整数大数相加.c │ ├── 约瑟夫环问题(链表大题循环解法).c │ └── 问题 G插入元素(未完成).c │ ├── HungrySnake │ ├── HungrySnake.c │ ├── TheSnake_HighLight_By.txt │ └── 实践报告.pdf │ └── other-leetcode-practice │ ├── leetcode_1002.c++ │ ├── leetcode_1005.c++ │ ├── leetcode_1020.c++ │ ├── leetcode_1049.c++ │ ├── leetcode_1143.c++ │ ├── leetcode_121.c++ │ ├── leetcode_122.c++ │ ├── leetcode_123.py │ ├── leetcode_131.c++ │ ├── leetcode_134.c++ │ ├── leetcode_135.c++ │ ├── leetcode_1436.c++ │ ├── leetcode_144_94_145_102.c++ │ ├── leetcode_17.c++ │ ├── leetcode_1926.c++ │ ├── leetcode_198.c++ │ ├── leetcode_20.c++ │ ├── leetcode_200.c++ │ ├── leetcode_202.c++ │ ├── leetcode_206.c++ │ ├── leetcode_207.c++ │ ├── leetcode_209.c++ │ ├── leetcode_216.c++ │ ├── leetcode_239.c++ │ ├── leetcode_242.c++ │ ├── leetcode_27.c++ │ ├── leetcode_279.c++ │ ├── leetcode_28.c++ │ ├── leetcode_300.c++ │ ├── leetcode_3174.c++ │ ├── leetcode_322.c++ │ ├── leetcode_344.c++ │ ├── leetcode_349.c++ │ ├── leetcode_376.c++ │ ├── leetcode_39.c++ │ ├── leetcode_392.c++ │ ├── leetcode_40.c++ │ ├── leetcode_406.c++ │ ├── leetcode_416.c++ │ ├── leetcode_417.c++ │ ├── leetcode_45.c++ │ ├── leetcode_454.c++ │ ├── leetcode_455.c++ │ ├── leetcode_459.c++ │ ├── leetcode_46.c++ │ ├── leetcode_463.c++ │ ├── leetcode_494.c++ │ ├── leetcode_5.c++ │ ├── leetcode_509.c++ │ ├── leetcode_51.c++ │ ├── leetcode_516.c++ │ ├── leetcode_518.c++ │ ├── leetcode_53.c++ │ ├── leetcode_542.c++ │ ├── leetcode_547.c++ │ ├── leetcode_55.c++ │ ├── leetcode_59.c++ │ ├── leetcode_62.c++ │ ├── leetcode_63.c++ │ ├── leetcode_674.c++ │ ├── leetcode_684.c++ │ ├── leetcode_695.c++ │ ├── leetcode_698.c++ │ ├── leetcode_70.c++ │ ├── leetcode_704.c++ │ ├── leetcode_707.c++ │ ├── leetcode_746.c++ │ ├── leetcode_77.c++ │ ├── leetcode_78.c++ │ ├── leetcode_797.c++ │ ├── leetcode_841.c++ │ ├── leetcode_860.c++ │ ├── leetcode_90.c++ │ ├── leetcode_934.c++ │ └── leetcode_977.c++ ├── 2-Sophomore-Year ├── Algorithm-Analysis-and-Design │ ├── exp_1 │ │ ├── 1.1.c │ │ ├── 1.2.c │ │ ├── 1.3.c │ │ └── 报告1.pdf │ ├── exp_2 │ │ ├── Kruskal.c │ │ ├── Prim.c │ │ └── 报告2.pdf │ └── exp_3 │ │ ├── BFS.c │ │ ├── DFS.c │ │ └── 报告3.pdf ├── Computer-Composition-Principle-and-Assembly │ ├── exp_1.asm │ ├── exp_2.asm │ └── exp_3.asm ├── Computer-Networks │ ├── A.3 │ │ ├── exp_A3 │ │ │ ├── HttpServer.java │ │ │ ├── Request.java │ │ │ ├── Response.java │ │ │ └── index.html │ │ └── 实验A.3_报告.pdf │ └── B.1 │ │ ├── exp_B1 │ │ ├── Client.java │ │ ├── ParseMsg.java │ │ ├── Server.java │ │ └── UserLogin.java │ │ └── 实验B.1_报告.pdf ├── Data-Acquisition-and-Fusion-Technology │ ├── caiji_tou_ge │ │ ├── Python 正则表达式 │ │ │ ├── __init__.py │ │ │ ├── t.py │ │ │ ├── t2.py │ │ │ └── t3.py │ │ ├── python爬虫 │ │ │ ├── JSON数据解析 │ │ │ │ ├── __init__.py │ │ │ │ └── t.py │ │ │ ├── Scrapy爬虫基础 提 │ │ │ │ ├── __init__.py │ │ │ │ └── t1.py │ │ │ └── requests 爬虫 │ │ │ │ ├── __init__.py │ │ │ │ ├── t1.py │ │ │ │ └── t2.py │ │ ├── python自学 │ │ │ ├── Python--进程和线程 │ │ │ │ ├── __init__.py │ │ │ │ ├── t1.py │ │ │ │ ├── t2.py │ │ │ │ ├── t3.py │ │ │ │ ├── t4.py │ │ │ │ └── t5.py │ │ │ ├── Python与MySQL编程基础 │ │ │ │ ├── T4.py │ │ │ │ ├── __init__.py │ │ │ │ ├── t1.py │ │ │ │ ├── t2.py │ │ │ │ ├── t3.py │ │ │ │ ├── t5.py │ │ │ │ └── t6.py │ │ │ ├── Python入门之函数练习 │ │ │ │ ├── __init__.py │ │ │ │ ├── t1.py │ │ │ │ ├── t2.py │ │ │ │ ├── t4.py │ │ │ │ ├── t5.py │ │ │ │ ├── t6.py │ │ │ │ ├── t7.py │ │ │ │ └── 它.py │ │ │ ├── Python基础-综合练习1 │ │ │ │ ├── __init__.py │ │ │ │ ├── t1.py │ │ │ │ ├── t2.py │ │ │ │ ├── t3.py │ │ │ │ └── t4.py │ │ │ ├── Python数据科学---随机森林 │ │ │ │ ├── __init__.py │ │ │ │ ├── t1.py │ │ │ │ └── t2.py │ │ │ ├── __init__.py │ │ │ └── spark算子简单案例 - Python │ │ │ │ ├── __init__.py │ │ │ │ ├── t1.py │ │ │ │ └── t2.py │ │ └── 数据可视化 │ │ │ ├── Python数据可视化——折线图 │ │ │ ├── __init__.py │ │ │ └── t.py │ │ │ └── 时间趋势可视化-柱形图 │ │ │ ├── __init__.py │ │ │ ├── t1.py │ │ │ └── t2.py │ └── exp_CaiJi │ │ ├── README.md │ │ ├── data │ │ └── prices.csv │ │ ├── doc │ │ ├── img │ │ │ ├── 202312061823820.png │ │ │ ├── 202312061830480.png │ │ │ ├── 202312061830716.png │ │ │ ├── 202312061836656.png │ │ │ ├── 202312061849513.png │ │ │ ├── 202312061902973.png │ │ │ ├── 202312062213327.png │ │ │ ├── 202312062329647.png │ │ │ ├── 202312062357054.png │ │ │ ├── 202312072017333.png │ │ │ ├── 202312090925408.png │ │ │ ├── 202312090925752.png │ │ │ ├── 202312090932628.png │ │ │ ├── 202312171549205.png │ │ │ ├── 202312172121551.png │ │ │ ├── 202312172126432.png │ │ │ ├── 202312172133042.jpeg │ │ │ ├── 202312172217373.png │ │ │ ├── 202312172229289.png │ │ │ ├── 202312181725298.png │ │ │ └── 202312181740404.png │ │ └── re.docx │ │ ├── images │ │ ├── p1_correlation_matrix_heatmap.png │ │ ├── p2_histogram_of_number_of_houses.png │ │ ├── p3_histogram_of_average_house_prices.png │ │ ├── p4_distribution_of_year.png │ │ ├── p5_regressive_analysis.png │ │ ├── p6_regressive_analysis_GDP.png │ │ ├── p7_relationship_between_year_and_unit.png │ │ ├── p8_relationship_between_area_and_unit.png │ │ └── p9_relationship_between_price_and_unit.png │ │ ├── src │ │ ├── __init__.py │ │ ├── data_analysis.py │ │ └── my_spider.py │ │ └── static │ │ ├── re.html │ │ └── static_page_files │ │ ├── 1572430905201.png │ │ ├── 369f029b0449e76b616c1920f18774ed.png │ │ ├── 4f590a93d92909b167d428b2f45d5274.jpg │ │ ├── 57f25e75780b61e27a74a8a5adc7586a.jpg │ │ ├── 625aaffc56983eb6f4719717c98bbc67.jpg.218x150.jpg │ │ ├── 6e94d2b01dba7529b000b2704800540d.jpg.218x150.jpg │ │ ├── a73f2557-0efa-4559-8b05-197226722362.jpg.218x150.jpg │ │ ├── abclite-2011-s2.js.下载 │ │ ├── beian.png │ │ ├── blank.gif │ │ ├── captcha.js.下载 │ │ ├── collection.min.js.下载 │ │ ├── e3fb4809-328a-4ce5-b286-2d6d8bdc7378_1000.jpg!m_fill,w_280,h_210,f_jpg │ │ ├── e80124bf-6dac-4032-9f3a-108b155540e7.jpg.218x150.jpg │ │ ├── ea3bcafededbafe865f986d01c6030a3.png │ │ ├── fe0d9dafdd409e25c711ff14f92619d1.jpg.218x150.jpg │ │ ├── getDownloadQr │ │ ├── getDownloadQr(1) │ │ ├── getDownloadQr(2) │ │ ├── gwdangPatch.min.js.下载 │ │ ├── hm.js.下载 │ │ ├── housePriceImg │ │ ├── housePriceImg(1) │ │ ├── housePriceImg(2) │ │ ├── housepri-qrcode2.png │ │ ├── index(1).js.下载 │ │ ├── index(2).js.下载 │ │ ├── index.css │ │ ├── index.js.下载 │ │ ├── index_1687226806824.js.下载 │ │ ├── jquery_lj_0_1.js.下载 │ │ ├── pc1_AtekLZHyo.jpg!m_fill,w_280,h_210,f_jpg │ │ ├── pc1_BRlFe1Lo1.jpg!m_fill,w_280,h_210,f_jpg │ │ ├── pc1_kJisqJ6yx_1.jpg!m_fill,w_280,h_210,f_jpg │ │ ├── pcLogin.js.下载 │ │ ├── pluginSide.min.js.下载 │ │ ├── push.js.下载 │ │ ├── quickfix.js.下载 │ │ ├── vrgold.png │ │ ├── vrlogo2x.png │ │ └── zsyh.png ├── Database-Principle │ ├── exp1.sql │ ├── exp2.sql │ └── exp3.sql ├── Introduction-of-Data-Science-and-Bigdata-Technology-Major │ ├── exp_0 │ │ ├── 3'1'4 │ │ │ ├── src │ │ │ │ ├── __init__.py │ │ │ │ └── reptile.py │ │ │ └── static │ │ │ │ └── catch.html │ │ └── 3'3'3 │ │ │ └── src │ │ │ └── daolun_experiment3'3'3.sql │ ├── exp_1 │ │ ├── README.md │ │ ├── homework_of_P26-1 │ │ │ ├── README.md │ │ │ ├── __init__.py │ │ │ ├── homework_of_P26_1.py │ │ │ └── p1.png │ │ └── homework_of_p26-2 │ │ │ ├── README.md │ │ │ ├── main.R │ │ │ ├── p2-1.png │ │ │ └── p2-2.png │ ├── exp_2 │ │ ├── 导论实验_序号5.md │ │ ├── 导论实验_序号6.md │ │ └── 源代码 │ │ │ └── DaoLun_homework │ │ │ ├── No5.py │ │ │ ├── No6.py │ │ │ └── __init__.py │ └── 随堂签到 │ │ ├── test1.py │ │ └── test2.py ├── Java-Application-Practice-Based-on-The-Network │ ├── SimpleChatRoom │ │ ├── Client.java │ │ ├── ParseMsg.java │ │ ├── README.md │ │ ├── Server.java │ │ └── UserLogin.java │ └── WhiteBoardDeskApp │ │ ├── README.md │ │ └── src │ │ ├── Student │ │ ├── ClientFileThread.java │ │ ├── Login.java │ │ ├── MyRecorder.java │ │ ├── RecordMain.java │ │ ├── Register.java │ │ └── Student.java │ │ └── Teacher │ │ ├── ServerFileThread.java │ │ └── Teacher.java ├── Java-Language-and-System-Design │ ├── SelfStudy-Java │ │ ├── exp_A3 │ │ │ ├── exp_A3.iml │ │ │ └── src │ │ │ │ ├── httpd_2.java │ │ │ │ └── index.html │ │ ├── exp_B1 │ │ │ ├── exp_B1.iml │ │ │ └── src │ │ │ │ ├── Client.java │ │ │ │ ├── ParseMsg.java │ │ │ │ ├── Server.java │ │ │ │ └── UserLogin.java │ │ ├── javafx-snake │ │ │ ├── README.md │ │ │ ├── bin │ │ │ │ ├── com │ │ │ │ │ └── snake │ │ │ │ │ │ ├── images │ │ │ │ │ │ ├── apple.png │ │ │ │ │ │ ├── bg.png │ │ │ │ │ │ ├── cherry.png │ │ │ │ │ │ ├── grape.png │ │ │ │ │ │ ├── green.png │ │ │ │ │ │ ├── header_b.png │ │ │ │ │ │ ├── header_l.png │ │ │ │ │ │ ├── header_r.png │ │ │ │ │ │ ├── header_t.png │ │ │ │ │ │ ├── orange.png │ │ │ │ │ │ ├── peach.png │ │ │ │ │ │ ├── pineapple.png │ │ │ │ │ │ ├── purple.png │ │ │ │ │ │ ├── red.png │ │ │ │ │ │ ├── snake.jpg │ │ │ │ │ │ ├── strawberry.png │ │ │ │ │ │ ├── tomato.png │ │ │ │ │ │ └── yellow.png │ │ │ │ │ │ ├── ui │ │ │ │ │ │ ├── SnakeDirection.class │ │ │ │ │ │ ├── SnakeFrame$1.class │ │ │ │ │ │ ├── SnakeFrame$SnakePanel$1.class │ │ │ │ │ │ ├── SnakeFrame$SnakePanel$2.class │ │ │ │ │ │ ├── SnakeFrame$SnakePanel$3.class │ │ │ │ │ │ ├── SnakeFrame$SnakePanel.class │ │ │ │ │ │ ├── SnakeFrame.class │ │ │ │ │ │ └── StartGame.class │ │ │ │ │ │ └── utils │ │ │ │ │ │ └── PropertiesUtils.class │ │ │ │ └── score.properties │ │ │ ├── src │ │ │ │ ├── com │ │ │ │ │ └── snake │ │ │ │ │ │ ├── images │ │ │ │ │ │ ├── apple.png │ │ │ │ │ │ ├── bg.png │ │ │ │ │ │ ├── cherry.png │ │ │ │ │ │ ├── grape.png │ │ │ │ │ │ ├── green.png │ │ │ │ │ │ ├── header_b.png │ │ │ │ │ │ ├── header_l.png │ │ │ │ │ │ ├── header_r.png │ │ │ │ │ │ ├── header_t.png │ │ │ │ │ │ ├── orange.png │ │ │ │ │ │ ├── peach.png │ │ │ │ │ │ ├── pineapple.png │ │ │ │ │ │ ├── purple.png │ │ │ │ │ │ ├── red.png │ │ │ │ │ │ ├── snake.jpg │ │ │ │ │ │ ├── strawberry.png │ │ │ │ │ │ ├── tomato.png │ │ │ │ │ │ └── yellow.png │ │ │ │ │ │ ├── ui │ │ │ │ │ │ ├── SnakeDirection.java │ │ │ │ │ │ ├── SnakeFrame.java │ │ │ │ │ │ └── StartGame.java │ │ │ │ │ │ └── utils │ │ │ │ │ │ └── PropertiesUtils.java │ │ │ │ └── score.properties │ │ │ ├── target │ │ │ │ └── production │ │ │ │ │ └── javafx-snake │ │ │ │ │ ├── com │ │ │ │ │ └── snake │ │ │ │ │ │ ├── ui │ │ │ │ │ │ ├── SnakeDirection.class │ │ │ │ │ │ ├── SnakeFrame$1.class │ │ │ │ │ │ ├── SnakeFrame$SnakePanel$1.class │ │ │ │ │ │ ├── SnakeFrame$SnakePanel$2.class │ │ │ │ │ │ ├── SnakeFrame$SnakePanel$3.class │ │ │ │ │ │ ├── SnakeFrame$SnakePanel.class │ │ │ │ │ │ ├── SnakeFrame.class │ │ │ │ │ │ └── StartGame.class │ │ │ │ │ │ └── utils │ │ │ │ │ │ └── PropertiesUtils.class │ │ │ │ │ └── score.properties │ │ │ ├── 综合实践 (1)-LAPTOP-FVMB66RU.doc │ │ │ └── 综合实践 (1).doc │ │ ├── review2 │ │ │ ├── review2.iml │ │ │ └── src │ │ │ │ └── test1.java │ │ ├── rexp2 │ │ │ ├── rexp2.iml │ │ │ └── src │ │ │ │ ├── Circle.java │ │ │ │ ├── Cylinder.java │ │ │ │ ├── Sphere.java │ │ │ │ └── Test.java │ │ ├── rexp3-2 │ │ │ ├── rexp3-2.iml │ │ │ └── src │ │ │ │ ├── Graduate.java │ │ │ │ ├── StudentInterface.java │ │ │ │ ├── TeacherInterface.java │ │ │ │ └── test.java │ │ ├── rexp3 │ │ │ ├── rexp3.iml │ │ │ └── src │ │ │ │ ├── Circle.java │ │ │ │ ├── Rectangle.java │ │ │ │ ├── Shape.java │ │ │ │ └── test.java │ │ ├── rexp4-2 │ │ │ ├── rexp4-2.iml │ │ │ └── src │ │ │ │ ├── MyThread.java │ │ │ │ └── test.java │ │ ├── rexp4-3 │ │ │ ├── rexp4-3.iml │ │ │ └── src │ │ │ │ ├── DivisibleThread.java │ │ │ │ ├── PrimeThread.java │ │ │ │ └── test.java │ │ ├── rexp4 │ │ │ ├── rexp4.iml │ │ │ └── src │ │ │ │ ├── IllegalAgeException.java │ │ │ │ ├── Person.java │ │ │ │ └── test.java │ │ ├── rexp5 │ │ │ ├── rexp5.iml │ │ │ └── src │ │ │ │ ├── D10.java │ │ │ │ ├── Demo11.java │ │ │ │ └── Main.java │ │ └── selfStudy │ │ │ ├── selfStudy.iml │ │ │ └── udp │ │ │ ├── src │ │ │ ├── ReceiveMessage.java │ │ │ └── SendMessage.java │ │ │ └── udp.iml │ └── mixed-sc │ │ ├── exp1 │ │ ├── Hello.java │ │ ├── Main.class │ │ ├── Main.java │ │ ├── Student.class │ │ ├── Student.java │ │ ├── out │ │ │ └── production │ │ │ │ └── shiyan1 │ │ │ │ ├── Hello.class │ │ │ │ ├── Main.class │ │ │ │ ├── Student.class │ │ │ │ ├── shiyan1.iml │ │ │ │ └── test.class │ │ ├── shiyan1.iml │ │ ├── test.class │ │ └── test.java │ │ ├── exp3.1 │ │ └── Test.java │ │ ├── exp3.2 │ │ ├── Graduate.class │ │ ├── Graduate.java │ │ ├── Main.class │ │ ├── Main.java │ │ ├── StudentInterface.class │ │ └── TeacherInterface.class │ │ ├── exp4 │ │ ├── IllegalAgeException.class │ │ ├── Person.class │ │ ├── Person.java │ │ ├── test.java │ │ └── test2.java │ │ ├── exp5.1 │ │ └── Main.java │ │ ├── exp5.2 │ │ ├── Demo10.java │ │ ├── Demo7.java │ │ ├── Demo8.java │ │ └── Demo9.java │ │ └── snake │ │ ├── Data.java │ │ ├── GamePanel.java │ │ ├── StartGame.java │ │ ├── out │ │ └── production │ │ │ └── snake │ │ │ └── com │ │ │ └── kuang │ │ │ └── snake │ │ │ ├── Data.class │ │ │ ├── GamePanel.class │ │ │ ├── StartGame.class │ │ │ ├── snake.iml │ │ │ └── statics │ │ │ ├── bad.png │ │ │ ├── body.png │ │ │ ├── body2.png │ │ │ ├── down.png │ │ │ ├── down2.png │ │ │ ├── food.png │ │ │ ├── header.png │ │ │ ├── left.png │ │ │ ├── left2.png │ │ │ ├── right.png │ │ │ ├── right2.png │ │ │ ├── up.png │ │ │ └── up2.png │ │ ├── snake.iml │ │ └── statics │ │ ├── bad.png │ │ ├── body.png │ │ ├── body2.png │ │ ├── down.png │ │ ├── down2.png │ │ ├── food.png │ │ ├── header.png │ │ ├── left.png │ │ ├── left2.png │ │ ├── right.png │ │ ├── right2.png │ │ ├── up.png │ │ └── up2.png ├── Machine-Learning │ ├── ML_t0 │ │ ├── __init__.py │ │ ├── dating.txt │ │ ├── day_1.py │ │ ├── day_2.py │ │ ├── day_3.py │ │ ├── factor_returns.csv │ │ ├── iris_dataset.csv │ │ └── iris_tree.dot │ └── part-of-assignments │ │ ├── 机器学习决策树 │ │ └── JueCeShu │ │ │ ├── Train_set.txt │ │ │ ├── Validation_set.txt │ │ │ ├── cipher.txt │ │ │ ├── post_pruning.py │ │ │ ├── pre_pruning.py │ │ │ ├── pruning │ │ │ └── __init__.py │ │ │ ├── test.csv │ │ │ ├── tree_plottter.py │ │ │ ├── un_pruned.py │ │ │ └── watermelon.txt │ │ ├── 模型评估与选择 │ │ └── 第一次作业.ipynb │ │ └── 逻辑斯蒂回归 │ │ ├── 梯度下降.ipynb │ │ └── 逻辑斯蒂回归.md ├── Principle-of-Operating-System │ ├── exp-report │ │ └── 实验报告.pdf │ └── exp-sc │ │ └── os │ │ └── OSmin │ │ ├── MMA.java │ │ ├── Main.java │ │ ├── OSmin.iml │ │ └── PCB.java └── Python-Programming │ ├── exp │ ├── 网络爬虫与爬取股票数据 │ │ ├── __pycache__ │ │ │ └── ru_exp1_more.cpython-39.pyc │ │ ├── exp1.sql │ │ ├── ru_exp1.py │ │ └── ru_exp1_more.py │ └── 航空公司客户价值分析 │ │ ├── u_exp2.py │ │ └── 附件表.txt │ └── nothing │ ├── 3 │ ├── 第10章.函数式编程.ipynb │ ├── 第12章.异常处理.ipynb │ └── 第13.章常用模块.ipynb │ ├── 4 │ ├── 第11章面向对象编程.ipynb │ └── 第9章数据结构.ipynb │ ├── 5 │ ├── 第14章正则表达式.ipynb │ └── 第19章wxPython图形用户界面编程.ipynb │ └── py_grammer_selfstudy │ ├── 01-1.py │ ├── 01-2.py │ ├── 01-3.py │ ├── 1.py │ ├── 10-un.py │ ├── 104.py │ ├── 14.py │ ├── 146-un.py │ ├── 19.py │ ├── 1922.py │ ├── 2.py │ ├── 20.py │ ├── 21.py │ ├── 23.py │ ├── 28.py │ ├── 3.py │ ├── 32-01.py │ ├── 32.py │ ├── 33-01.py │ ├── 33-02.py │ ├── 33-03.py │ ├── 83.py │ ├── 9.py │ ├── 94.py │ ├── 993.py │ ├── __init__.py │ └── test.py ├── 3-Junior-Year ├── Big-data-programming │ ├── Scala函数式编程 │ │ ├── 01.scala │ │ └── 02.scala │ ├── Scala面向对象编程 │ │ ├── 01.scala │ │ └── 02.scala │ ├── Spark GraphX—寻找社交媒体中的“影响力用户 │ │ ├── 01.scala │ │ └── 02.scala │ ├── Spark GraphX—构建图及相关操作 │ │ ├── 01.scala │ │ └── 02.scala │ ├── Spark GraphX—预测社交圈子 │ │ ├── 01.scala │ │ ├── 02.scala │ │ └── 03.scala │ ├── SparkSQL │ │ └── 01.scala │ ├── SparkStreaming │ │ └── 01.scala │ └── Spark机器学习 │ │ ├── 01.scala │ │ ├── 02.scala │ │ ├── 03.scala │ │ ├── 04.scala │ │ └── 05.scala ├── Data-Warehouse-and-Data-Mining │ ├── class4 │ │ ├── 1.sql │ │ ├── 2-1.sql │ │ └── 2-2.sql │ ├── class6 │ │ ├── 1-1.py │ │ ├── 1-2.py │ │ ├── 1-3.py │ │ ├── 2-1.py │ │ └── 2-2.py │ ├── class7 │ │ ├── 1-1.py │ │ ├── 1-2.py │ │ ├── 1-3.py │ │ ├── 2-1.py │ │ └── 2-2.py │ └── class8 │ │ ├── 1-1.py │ │ ├── 1-2.py │ │ ├── 1-3.py │ │ ├── 2-1.py │ │ ├── 2-2.py │ │ └── 2-3.py ├── Deep-Learning │ ├── exp1 │ │ └── rxy_exp1.py │ ├── exp2 │ │ └── rxy_exp2.ipynb │ ├── exp3 │ │ └── rxy_exp3.ipynb │ ├── exp4 │ │ └── rxy_exp4.ipynb │ └── small_test │ │ ├── src │ │ ├── 98 │ │ │ ├── t01.py │ │ │ ├── t02.py │ │ │ └── t03.py │ │ ├── 99 │ │ │ ├── 01_pytorch 的基本运算操作.ipynb │ │ │ ├── 02_线性回归与多层感知器.ipynb │ │ │ └── 02_线性回归与多层感知器_GPU.ipynb │ │ ├── 02 │ │ │ ├── 01_数据操作.ipynb │ │ │ ├── 02_数据预处理.ipynb │ │ │ ├── 03_线性代数.ipynb │ │ │ ├── 04_微积分.ipynb │ │ │ ├── 05_自动微分.ipynb │ │ │ └── 06_概率.ipynb │ │ ├── 03 │ │ │ ├── 01_线性回归.ipynb │ │ │ ├── 02_线性回归的从零开始实现.ipynb │ │ │ ├── 03_线性回归的简洁实现.ipynb │ │ │ ├── 04_softmax回归.ipynb │ │ │ ├── 05_图像分类数据集.ipynb │ │ │ ├── 06_softmax回归的从零开始实现.ipynb │ │ │ └── 07_softmax回归的简洁实现.ipynb │ │ └── 04 │ │ │ ├── 02_多层感知机的从零开始实现.ipynb │ │ │ ├── 02_多层感知机的从零开始实现_2.ipynb │ │ │ ├── 03_多层感知机的简洁实现_2.ipynb │ │ │ └── 03_多层感知机的简洁实现_3.ipynb │ │ └── tests │ │ ├── ml_class.py │ │ ├── pytorch_env_test.py │ │ ├── simple_MLP.py │ │ └── simple_MLP_2.py ├── Information-And-Network-Security │ ├── README.md │ ├── clint │ │ └── client_sample.html │ └── server │ │ ├── script │ │ ├── search_page.html │ │ ├── target_page.html │ │ └── test1 │ │ ├── index.html │ │ └── server.js ├── Intelligent-Search-Engine-Technology │ ├── App │ │ ├── __init__.py │ │ ├── admin.py │ │ ├── apps.py │ │ ├── migrations │ │ │ └── __init__.py │ │ ├── models.py │ │ ├── tests.py │ │ └── views.py │ ├── README.md │ ├── config.ini │ ├── gen_idf.py │ ├── gen_index.py │ ├── manage.py │ ├── news_spider │ │ ├── __init__.py │ │ ├── configs.py │ │ ├── items.py │ │ ├── middlewares.py │ │ ├── pipelines.py │ │ ├── settings.py │ │ └── spiders │ │ │ ├── __init__.py │ │ │ └── qqspider.py │ ├── requirements.txt │ ├── scrapy.cfg │ ├── search_engine │ │ ├── __init__.py │ │ ├── asgi.py │ │ ├── settings.py │ │ ├── urls.py │ │ └── wsgi.py │ ├── start_scrapy.py │ ├── static │ │ ├── search.css │ │ └── search.js │ ├── templates │ │ ├── home.html │ │ └── search.html │ └── utils │ │ ├── __init__.py │ │ ├── idf.py │ │ ├── index.py │ │ ├── searchengine.py │ │ └── utils.py └── Pratice-in-Big-Data-Technology-Application │ ├── README.md │ ├── bin │ └── run_streamlit_app.bat │ ├── resources │ ├── HEAD.ico │ └── part_of_graph.png │ ├── src │ ├── NLchat.py │ ├── data_reprocessing.ipynb │ ├── graph_database.ipynb │ ├── test │ │ ├── LLM_summ.ipynb │ │ ├── data_cleaning.ipynb │ │ ├── r1.ipynb │ │ └── user_interaction_diagram.ipynb │ └── write_in_database.ipynb │ ├── test │ ├── _trial_temp │ │ ├── _trial_marker │ │ └── test.log │ ├── clearning_test.ipynb │ ├── mysql_test.py │ ├── neo4j_test.py │ ├── neo4j_test2.py │ ├── openai_test.py │ ├── qwen_round_test.py │ ├── qwen_sql_test.py │ ├── qwen_test.py │ ├── qwen_test2.py │ └── re_test.py │ └── 任务入口.lnk └── README.md /1-Freshman-Year/Data-Structure/Exp-Reports-Compilation/exp1/单链表操作的实现.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/1-Freshman-Year/Data-Structure/Exp-Reports-Compilation/exp1/单链表操作的实现.c -------------------------------------------------------------------------------- /1-Freshman-Year/Data-Structure/Exp-Reports-Compilation/exp1/城市链表.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/1-Freshman-Year/Data-Structure/Exp-Reports-Compilation/exp1/城市链表.c -------------------------------------------------------------------------------- /1-Freshman-Year/Data-Structure/Exp-Reports-Compilation/exp1/约瑟夫环.c.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/1-Freshman-Year/Data-Structure/Exp-Reports-Compilation/exp1/约瑟夫环.c.c -------------------------------------------------------------------------------- /1-Freshman-Year/Data-Structure/Exp-Reports-Compilation/exp2/1二叉树的建立与遍历.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/1-Freshman-Year/Data-Structure/Exp-Reports-Compilation/exp2/1二叉树的建立与遍历.c -------------------------------------------------------------------------------- /1-Freshman-Year/Data-Structure/Exp-Reports-Compilation/exp2/2计算机目录树的基本操作.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/1-Freshman-Year/Data-Structure/Exp-Reports-Compilation/exp2/2计算机目录树的基本操作.c -------------------------------------------------------------------------------- /1-Freshman-Year/Data-Structure/Exp-Reports-Compilation/exp2/3打印二叉树结构.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/1-Freshman-Year/Data-Structure/Exp-Reports-Compilation/exp2/3打印二叉树结构.c -------------------------------------------------------------------------------- /1-Freshman-Year/Data-Structure/Exp-Reports-Compilation/exp2/4赫夫曼编码.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/1-Freshman-Year/Data-Structure/Exp-Reports-Compilation/exp2/4赫夫曼编码.c -------------------------------------------------------------------------------- /1-Freshman-Year/Data-Structure/Exp-Reports-Compilation/exp3/从键盘输入的数据建立图并进行深度优先搜索和广度优先搜索.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/1-Freshman-Year/Data-Structure/Exp-Reports-Compilation/exp3/从键盘输入的数据建立图并进行深度优先搜索和广度优先搜索.c -------------------------------------------------------------------------------- /1-Freshman-Year/Data-Structure/Exp-Reports-Compilation/exp3/利用最小生成树算法解决通信网的总造价最低问题.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/1-Freshman-Year/Data-Structure/Exp-Reports-Compilation/exp3/利用最小生成树算法解决通信网的总造价最低问题.c -------------------------------------------------------------------------------- /1-Freshman-Year/Data-Structure/Exp-Reports-Compilation/exp3/导游问题.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/1-Freshman-Year/Data-Structure/Exp-Reports-Compilation/exp3/导游问题.c -------------------------------------------------------------------------------- /1-Freshman-Year/Data-Structure/Exp-Reports-Compilation/exp3/教学计划编制问题(设计性实验).c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/1-Freshman-Year/Data-Structure/Exp-Reports-Compilation/exp3/教学计划编制问题(设计性实验).c -------------------------------------------------------------------------------- /1-Freshman-Year/Data-Structure/selfstudy-of-DS/pre0_0.c: -------------------------------------------------------------------------------- 1 | //------------------.-------------------- 2 | 3 | 4 | 5 | #include 6 | #include 7 | 8 | 9 | 10 | #define TRUE 1 11 | #define FALSE 0 12 | #define OK 1 13 | #define ERROR 0 14 | #define INFEASIBLE (-1) 15 | #define OVERFLOW (-2) 16 | 17 | 18 | 19 | typedef int Status; //Status是函数的类型,其值是函数结果状态代码 20 | typedef int ELemType; //ELemType是表里元素的类型 21 | 22 | 23 | 24 | // 25 | 26 | int main() { 27 | printf("------------------------------\n"); 28 | 29 | ; 30 | 31 | printf("------------------------------\n"); 32 | } -------------------------------------------------------------------------------- /1-Freshman-Year/Fundamental-of-Computer-Programming/CSU-OJ-problem-solving/0 - 副本 (1).c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | 6 | int main() 7 | { 8 | return 0; 9 | } -------------------------------------------------------------------------------- /1-Freshman-Year/Fundamental-of-Computer-Programming/CSU-OJ-problem-solving/0 - 副本 (2).c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | 6 | int main() 7 | { 8 | return 0; 9 | } -------------------------------------------------------------------------------- /1-Freshman-Year/Fundamental-of-Computer-Programming/CSU-OJ-problem-solving/0 - 副本 (3).c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | 6 | int main() 7 | { 8 | return 0; 9 | } -------------------------------------------------------------------------------- /1-Freshman-Year/Fundamental-of-Computer-Programming/CSU-OJ-problem-solving/0 - 副本 (4).c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | 6 | int main() 7 | { 8 | return 0; 9 | } -------------------------------------------------------------------------------- /1-Freshman-Year/Fundamental-of-Computer-Programming/CSU-OJ-problem-solving/0 - 副本 (5).c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | 6 | int main() 7 | { 8 | return 0; 9 | } -------------------------------------------------------------------------------- /1-Freshman-Year/Fundamental-of-Computer-Programming/CSU-OJ-problem-solving/0 - 副本 (6).c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | 6 | int main() 7 | { 8 | return 0; 9 | } -------------------------------------------------------------------------------- /1-Freshman-Year/Fundamental-of-Computer-Programming/CSU-OJ-problem-solving/0000链表这一块.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/1-Freshman-Year/Fundamental-of-Computer-Programming/CSU-OJ-problem-solving/0000链表这一块.c -------------------------------------------------------------------------------- /1-Freshman-Year/Fundamental-of-Computer-Programming/CSU-OJ-problem-solving/00单链表.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/1-Freshman-Year/Fundamental-of-Computer-Programming/CSU-OJ-problem-solving/00单链表.c -------------------------------------------------------------------------------- /1-Freshman-Year/Fundamental-of-Computer-Programming/CSU-OJ-problem-solving/01一.c: -------------------------------------------------------------------------------- 1 | #include//E8ei2WNZd1 2 | #include 3 | #include 4 | #include 5 | 6 | int main() 7 | { 8 | int a,b,c,d; 9 | while(scanf("%d.%d.%d.%d",&a,&b,&c,&d)!=EOF) 10 | { 11 | if(a>=0 && a<=255 && b>=0 && b<=255 && c>=0 && c<=255 && d>=0 && d<=255) 12 | { 13 | printf("Yes\n"); 14 | } 15 | else 16 | { 17 | printf("No\n"); 18 | } 19 | } 20 | return 0; 21 | } -------------------------------------------------------------------------------- /1-Freshman-Year/Fundamental-of-Computer-Programming/CSU-OJ-problem-solving/03三.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | 4 | int main() 5 | { 6 | int n; 7 | while(scanf("%d",&n)!=EOF) 8 | { 9 | for(int i=0; i& nums) { 16 | int result = -INT_MAX; 17 | int sum = 0; 18 | for (int i = 0; i < nums.size(); i++) { 19 | sum += nums[i]; 20 | result = max(result, sum); 21 | if (sum < 0) { 22 | sum = 0; 23 | } 24 | } 25 | return result; 26 | } 27 | }; 28 | 29 | 30 | int main() { 31 | Solution solution; 32 | 33 | vector nums = {-21,-5}; 34 | cout << solution.maxSubArray(nums) << endl; 35 | 36 | return 0; 37 | } 38 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Algorithm-Analysis-and-Design/exp_1/报告1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Algorithm-Analysis-and-Design/exp_1/报告1.pdf -------------------------------------------------------------------------------- /2-Sophomore-Year/Algorithm-Analysis-and-Design/exp_2/报告2.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Algorithm-Analysis-and-Design/exp_2/报告2.pdf -------------------------------------------------------------------------------- /2-Sophomore-Year/Algorithm-Analysis-and-Design/exp_3/报告3.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Algorithm-Analysis-and-Design/exp_3/报告3.pdf -------------------------------------------------------------------------------- /2-Sophomore-Year/Computer-Networks/A.3/exp_A3/Request.java: -------------------------------------------------------------------------------- 1 | import java.io.InputStream; 2 | import java.io.IOException; 3 | import java.io.InputStreamReader; 4 | import java.io.BufferedReader; 5 | 6 | public class Request { 7 | private InputStream inputStream = null; 8 | private String uri = null; 9 | 10 | public Request(InputStream inputStream) { 11 | // 获取输入流 12 | this.inputStream = inputStream; 13 | } 14 | // 解析请求报文 15 | public void parse() throws IOException { 16 | BufferedReader br = new BufferedReader(new InputStreamReader(inputStream)); 17 | String msg = br.readLine(); 18 | // 在终端打印报文 19 | System.out.println(msg); 20 | // 解析请求文件名 21 | this.uri = msg.split(" ")[1].substring(1); 22 | while ((msg = br.readLine()) != null) { 23 | System.out.println(msg); 24 | if (msg.length() == 0) { 25 | break; 26 | } 27 | } 28 | } 29 | // 获取请求文件名 30 | public String getUri() { 31 | return this.uri; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Computer-Networks/A.3/exp_A3/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 实验服务器 7 | 8 | 9 | 10 |
11 |

13 | 实验测试界面 14 |

15 |
16 | 17 |
18 |

20 | guess who i am 21 |

22 |
23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Computer-Networks/A.3/实验A.3_报告.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Computer-Networks/A.3/实验A.3_报告.pdf -------------------------------------------------------------------------------- /2-Sophomore-Year/Computer-Networks/B.1/实验B.1_报告.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Computer-Networks/B.1/实验B.1_报告.pdf -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/caiji_tou_ge/Python 正则表达式/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/caiji_tou_ge/Python 正则表达式/__init__.py -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/caiji_tou_ge/Python 正则表达式/t.py: -------------------------------------------------------------------------------- 1 | import re 2 | 3 | text = input() 4 | # ********** Begin *********# 5 | # 1.匹配字符单词 Love 6 | print(re.findall(r'\bLove\b', text)) 7 | # 2.匹配以 w 开头的完整单词 8 | print(re.findall(r'\bw\w*', text)) 9 | # 3.查找三个字母长的单词(提示:可以使用{m,n}方式) 10 | print(re.findall(r'\b\w{3}\b', text)) 11 | # ********** End ********** 12 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/caiji_tou_ge/Python 正则表达式/t2.py: -------------------------------------------------------------------------------- 1 | import re 2 | 3 | text = input() 4 | # ********** Begin *********# 5 | # 1.用compile方法,匹配所有含字母i的单词 6 | rr = re.compile(r'\b\w*i\w*\b') 7 | print(rr.findall(text)) 8 | 9 | # 2.在字符串起始位置匹配字符The是否存在,并返回被正则匹配的字符串 10 | print(re.match(r'The', text).group() if re.match(r'The', text) else None) 11 | 12 | # 3.在整个字符串查看字符is是否存在,并返回被正则匹配的字符串 13 | print(re.search(r'is', text).group() if re.search(r'is', text) else None) 14 | # ********** End **********# 15 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/caiji_tou_ge/Python 正则表达式/t3.py: -------------------------------------------------------------------------------- 1 | import re 2 | 3 | text = input() 4 | # ********** Begin *********# 5 | # 1.匹配以t开头的所有单词并显示 6 | itext = re.finditer(r'\bt\w*', text) 7 | for match in itext: 8 | print(match.group()) 9 | 10 | # 2.用空格分割句子 11 | print(re.split(r' ', text)) 12 | 13 | # 3.用‘-’代替句子中的空格 14 | print(re.sub(r' ', '-', text)) 15 | 16 | # 4.用‘-’代替句子中的空格,并返回替换次数 17 | replaced_text, count = re.subn(r' ', '-', text) 18 | result_tuple = (replaced_text, count) 19 | print(result_tuple) 20 | # ********** End **********# 21 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/caiji_tou_ge/python爬虫/JSON数据解析/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/caiji_tou_ge/python爬虫/JSON数据解析/__init__.py -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/caiji_tou_ge/python爬虫/Scrapy爬虫基础 提/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/caiji_tou_ge/python爬虫/Scrapy爬虫基础 提/__init__.py -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/caiji_tou_ge/python爬虫/Scrapy爬虫基础 提/t1.py: -------------------------------------------------------------------------------- 1 | import scrapy 2 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/caiji_tou_ge/python爬虫/requests 爬虫/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/caiji_tou_ge/python爬虫/requests 爬虫/__init__.py -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/caiji_tou_ge/python爬虫/requests 爬虫/t1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/caiji_tou_ge/python爬虫/requests 爬虫/t1.py -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/caiji_tou_ge/python爬虫/requests 爬虫/t2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/caiji_tou_ge/python爬虫/requests 爬虫/t2.py -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/caiji_tou_ge/python自学/Python--进程和线程/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/caiji_tou_ge/python自学/Python--进程和线程/__init__.py -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/caiji_tou_ge/python自学/Python--进程和线程/t3.py: -------------------------------------------------------------------------------- 1 | import threading 2 | 3 | x = threading.local() 4 | 5 | 6 | def init(): 7 | x.value = 0 8 | 9 | 10 | def action(): 11 | init() 12 | for i in range(1000000): 13 | x.value += 1 14 | x.value -= 1 15 | 16 | 17 | # 获取输入值 18 | initial_value = int(input()) 19 | 20 | # 设置全局变量 x 的初始值 21 | x.value = initial_value 22 | 23 | # 创建线程 24 | threads = [] 25 | 26 | for i in range(10): 27 | threads.append(threading.Thread(target=action)) 28 | 29 | # 启动线程 30 | for i in range(10): 31 | threads[i].start() 32 | 33 | # 等待线程结束 34 | for i in range(10): 35 | threads[i].join() 36 | 37 | # 输出最终的 x 值 38 | print(x.value) 39 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/caiji_tou_ge/python自学/Python--进程和线程/t5.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/caiji_tou_ge/python自学/Python--进程和线程/t5.py -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/caiji_tou_ge/python自学/Python与MySQL编程基础/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/caiji_tou_ge/python自学/Python与MySQL编程基础/__init__.py -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/caiji_tou_ge/python自学/Python入门之函数练习/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/caiji_tou_ge/python自学/Python入门之函数练习/__init__.py -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/caiji_tou_ge/python自学/Python入门之函数练习/t1.py: -------------------------------------------------------------------------------- 1 | def prime(n): 2 | if n <= 1: 3 | return False 4 | i = 2 5 | while i * i < n: 6 | if n % i == 0: 7 | return False 8 | i += 1 9 | return True 10 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/caiji_tou_ge/python自学/Python入门之函数练习/t4.py: -------------------------------------------------------------------------------- 1 | def fun(s): 2 | # **********Program********** 3 | if s[0] == s[-1] and s[1] == s[-2]: # 将if语句补充完整 4 | return True 5 | else: 6 | return False 7 | # ********** End ********** 8 | 9 | 10 | def main(): 11 | s = input("【请输入一个5位字符:】") 12 | if len(s) != 5: 13 | s = input("【输入错误,请重新输入:】") 14 | else: 15 | if fun(s): 16 | print("%s是【回文数】" % s) 17 | else: 18 | print("%s不是【回文数】" % s) 19 | 20 | 21 | if __name__ == '__main__': 22 | main() 23 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/caiji_tou_ge/python自学/Python入门之函数练习/t5.py: -------------------------------------------------------------------------------- 1 | def fun(i): 2 | # **********Program********** 3 | bai = i // 100 # /:普通的除法运算符。它执行除法并返回一个浮点数结果,即使被除数和除数都是整数。 4 | shi = (i - bai * 100) // 10 # //:整数除法运算符。它执行除法并返回结果的整数部分,舍弃小数部分。 5 | ge = i - bai * 100 - shi * 10 6 | if (bai ** 3 + shi ** 3 + ge ** 3) == i: 7 | return True 8 | else: 9 | return False 10 | 11 | # ********** End ********** 12 | 13 | 14 | def main(): 15 | a = int(input("【请输入一个三位数,并按回车确认:】")) 16 | flag = fun(a); 17 | if flag: 18 | print("%d是【水仙花数】" % a); 19 | else: 20 | print("%d不是【水仙花数】" % a); 21 | 22 | 23 | if __name__ == '__main__': 24 | main() 25 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/caiji_tou_ge/python自学/Python入门之函数练习/t6.py: -------------------------------------------------------------------------------- 1 | def main(): 2 | x = 1 3 | while x < 1001: 4 | # **********Program********** 5 | # 建立一个空列表,再用for循环,老师上课讲过 6 | lists = [i for i in range(1, x) if x % i == 0] 7 | 8 | # ********** End ********** 9 | if x == sum(lists): 10 | print("【完数为:】%d" % x) 11 | print("【它的真因子为:】%s" % lists) 12 | x += 1 13 | 14 | 15 | if __name__ == '__main__': 16 | main() 17 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/caiji_tou_ge/python自学/Python入门之函数练习/它.py: -------------------------------------------------------------------------------- 1 | a = eval(input('三角形的底:')) 2 | b = eval(input('三角形的高:')) 3 | 4 | 5 | # 请在此添加代码,实现圆的面积计算,并输出面积结果 6 | # ********** Begin *********# 7 | 8 | def triangle_area(x, y): 9 | return x * y / 2 10 | 11 | 12 | print('%.2f' % triangle_area(a, b)) # 已经给出了输出语句,函数名称为triangle_area() 13 | # ********** End **********# 14 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/caiji_tou_ge/python自学/Python基础-综合练习1/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/caiji_tou_ge/python自学/Python基础-综合练习1/__init__.py -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/caiji_tou_ge/python自学/Python基础-综合练习1/t1.py: -------------------------------------------------------------------------------- 1 | def put_row(r): 2 | for _ in range(2): 3 | print('+', end='') 4 | for _ in range(r): 5 | print('- ', end='') 6 | print('+') 7 | 8 | 9 | def put_blank(r): 10 | for _ in range(2): 11 | print('1', end='') 12 | for _ in range(r): 13 | print(' ', end='') 14 | print('1') 15 | 16 | 17 | while 1: 18 | try: 19 | rows = int(input()) 20 | 21 | put_row(rows) 22 | for _ in range(rows): 23 | put_blank(rows) 24 | put_row(rows) 25 | for _ in range(rows): 26 | put_blank(rows) 27 | put_row(rows) 28 | except EOFError: 29 | break 30 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/caiji_tou_ge/python自学/Python基础-综合练习1/t2.py: -------------------------------------------------------------------------------- 1 | while 1: 2 | try: 3 | num = int(input()) 4 | 5 | str = '.' * 2 * num 6 | print('start' + str + 'end') 7 | except EOFError: 8 | break 9 | 10 | # # -*- coding: utf-8 -*- 11 | # 12 | # x = eval(input()) 13 | # 14 | # #请在下面补充代码,完成程序功能 15 | # ############Begin############ 16 | # 17 | # print("start" + "." * (20 * x) + "end") 18 | # 19 | # ############End############## -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/caiji_tou_ge/python自学/Python基础-综合练习1/t3.py: -------------------------------------------------------------------------------- 1 | while 1: 2 | try: 3 | x = input() 4 | force, speed, intelligence, rule = x.split(',') 5 | 6 | print("武力是 {:<4} {}".format(force, '*' * (int(force) // 10))) 7 | print("速度是 {:<4} {}".format(speed, '*' * (int(speed) // 10))) 8 | print("智力是 {:<4} {}".format(intelligence, '*' * (int(intelligence) // 10))) 9 | print("统治是 {:<4} {}".format(rule, '*' * (int(rule) // 10))) 10 | except EOFError: 11 | break 12 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/caiji_tou_ge/python自学/Python基础-综合练习1/t4.py: -------------------------------------------------------------------------------- 1 | while 1: 2 | try: 3 | letter = input() 4 | 5 | start_ascii = ord('A') 6 | end_ascii = ord(letter) 7 | num_rows = end_ascii - start_ascii + 1 8 | for i in range(1, num_rows + 1): 9 | for _ in range(0, num_rows - start_ascii): 10 | print(' ', end='') 11 | print(chr(start_ascii) * i) 12 | start_ascii += 1 13 | except EOFError: 14 | break 15 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/caiji_tou_ge/python自学/Python数据科学---随机森林/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/caiji_tou_ge/python自学/Python数据科学---随机森林/__init__.py -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/caiji_tou_ge/python自学/Python数据科学---随机森林/t1.py: -------------------------------------------------------------------------------- 1 | from sklearn.ensemble import RandomForestClassifier 2 | 3 | 4 | def data_classification(train_data, train_label, test_data): 5 | """ 6 | 使用随机森林对训练集数据进行训练,并对测试集数据进行预测,并返回预测结果 7 | :param train_data: 训练集数据,类型为ndarray 8 | :param train_label: 训练集标签,类型为ndarray 9 | :param test_data: 测试集数据,类型为ndarray 10 | :return: 分类结果 11 | """ 12 | # 使用随机森林分类器 13 | clf = RandomForestClassifier() 14 | 15 | # 对训练集数据进行训练 16 | clf.fit(train_data, train_label) 17 | 18 | # 对测试集数据进行预测 19 | predictions = clf.predict(test_data) 20 | 21 | return predictions 22 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/caiji_tou_ge/python自学/Python数据科学---随机森林/t2.py: -------------------------------------------------------------------------------- 1 | from sklearn.ensemble import RandomForestClassifier 2 | 3 | 4 | def digit_predict(train_image, train_label, test_image): 5 | """ 6 | 实现功能:训练模型并输出预测结果 7 | :param train_image: 包含多条训练样本的样本集,类型为ndarray, shape为[-1, 8, 8] 8 | :param train_label: 包含多条训练样本标签的标签集,类型为ndarray 9 | :param test_image: 包含多条测试样本的测试集,类型为ndarray 10 | :return: test_image对应的预测标签,类型为ndarray 11 | """ 12 | 13 | # 将训练样本集变形为二维数组 14 | train_data = train_image.reshape((train_image.shape[0], -1)) 15 | 16 | # 创建随机森林分类器,增加树的数量 17 | clf = RandomForestClassifier(n_estimators=100) 18 | 19 | # 训练模型 20 | clf.fit(train_data, train_label) 21 | 22 | # 将测试样本集变形为二维数组 23 | test_data = test_image.reshape((test_image.shape[0], -1)) 24 | 25 | # 预测结果 26 | predictions = clf.predict(test_data) 27 | 28 | return predictions 29 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/caiji_tou_ge/python自学/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/caiji_tou_ge/python自学/__init__.py -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/caiji_tou_ge/python自学/spark算子简单案例 - Python/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/caiji_tou_ge/python自学/spark算子简单案例 - Python/__init__.py -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/caiji_tou_ge/python自学/spark算子简单案例 - Python/t1.py: -------------------------------------------------------------------------------- 1 | # -*- coding: UTF-8 -*- 2 | from pyspark import SparkContext 3 | 4 | if __name__ == "__main__": 5 | 6 | """ 7 | 需求:对本地文件系统URI为:/root/wordcount.txt 的内容进行词频统计 8 | """ 9 | # ********** Begin **********# 10 | 11 | # 创建SparkContext 12 | sc = SparkContext("local", "WordCount") 13 | 14 | # 读取文本文件 15 | lines = sc.textFile("/root/wordcount.txt") 16 | 17 | # 切分每一行的单词 18 | words = lines.flatMap(lambda line: line.split(" ")) 19 | 20 | # 统计每个单词的出现次数 21 | word_counts = words.countByValue() 22 | 23 | # 调整输出格式为列表,将unicode字符串转换为普通字符串 24 | output = [(str(word), count) for word, count in word_counts.items()] 25 | 26 | # 按照出现次数降序排序 27 | sorted_output = sorted(output, key=lambda x: x[1], reverse=True) 28 | 29 | # 打印结果 30 | print(sorted_output) 31 | 32 | # 关闭SparkContext 33 | sc.stop() 34 | 35 | # ********** End **********# 36 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/caiji_tou_ge/python自学/spark算子简单案例 - Python/t2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: UTF-8 -*- 2 | from pyspark import SparkContext 3 | 4 | 5 | # ********** Begin **********# 6 | 7 | 8 | # ********** End **********# 9 | 10 | if __name__ == "__main__": 11 | """ 12 | 需求:对本地文件系统URI为:/root/friend.txt 的数据统计间接好友的数量 13 | """ 14 | # ********** Begin **********# 15 | 16 | 17 | # ********** End **********# 18 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/caiji_tou_ge/数据可视化/Python数据可视化——折线图/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/caiji_tou_ge/数据可视化/Python数据可视化——折线图/__init__.py -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/caiji_tou_ge/数据可视化/时间趋势可视化-柱形图/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/caiji_tou_ge/数据可视化/时间趋势可视化-柱形图/__init__.py -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/caiji_tou_ge/数据可视化/时间趋势可视化-柱形图/t1.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | import pandas as pd 3 | from matplotlib import pyplot as plt 4 | 5 | hot_dog = pd.read_csv(r"matplotlib_bar/csv/hot-dog-contest-winners.csv") 6 | 7 | 8 | def plot(): 9 | # ********* Begin *********# 10 | fig, ax = plt.subplots() # subplots返回画布和子图 11 | ax.bar(hot_dog["Year"], hot_dog["Dogs eaten"]) # 绘制柱形图,第一个参数为x轴变量,第二个参数为y轴变量 12 | plt.show() # 显示图像 13 | # ********* End *********# 14 | plt.savefig('matplotlib_bar/studentfile/studentanswer/level_1/US.png') 15 | plt.close() 16 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/doc/img/202312061823820.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/doc/img/202312061823820.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/doc/img/202312061830480.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/doc/img/202312061830480.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/doc/img/202312061830716.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/doc/img/202312061830716.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/doc/img/202312061836656.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/doc/img/202312061836656.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/doc/img/202312061849513.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/doc/img/202312061849513.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/doc/img/202312061902973.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/doc/img/202312061902973.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/doc/img/202312062213327.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/doc/img/202312062213327.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/doc/img/202312062329647.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/doc/img/202312062329647.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/doc/img/202312062357054.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/doc/img/202312062357054.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/doc/img/202312072017333.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/doc/img/202312072017333.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/doc/img/202312090925408.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/doc/img/202312090925408.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/doc/img/202312090925752.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/doc/img/202312090925752.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/doc/img/202312090932628.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/doc/img/202312090932628.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/doc/img/202312171549205.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/doc/img/202312171549205.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/doc/img/202312172121551.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/doc/img/202312172121551.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/doc/img/202312172126432.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/doc/img/202312172126432.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/doc/img/202312172133042.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/doc/img/202312172133042.jpeg -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/doc/img/202312172217373.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/doc/img/202312172217373.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/doc/img/202312172229289.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/doc/img/202312172229289.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/doc/img/202312181725298.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/doc/img/202312181725298.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/doc/img/202312181740404.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/doc/img/202312181740404.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/doc/re.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/doc/re.docx -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/images/p1_correlation_matrix_heatmap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/images/p1_correlation_matrix_heatmap.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/images/p2_histogram_of_number_of_houses.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/images/p2_histogram_of_number_of_houses.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/images/p3_histogram_of_average_house_prices.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/images/p3_histogram_of_average_house_prices.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/images/p4_distribution_of_year.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/images/p4_distribution_of_year.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/images/p5_regressive_analysis.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/images/p5_regressive_analysis.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/images/p6_regressive_analysis_GDP.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/images/p6_regressive_analysis_GDP.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/images/p7_relationship_between_year_and_unit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/images/p7_relationship_between_year_and_unit.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/images/p8_relationship_between_area_and_unit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/images/p8_relationship_between_area_and_unit.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/images/p9_relationship_between_price_and_unit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/images/p9_relationship_between_price_and_unit.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/src/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/src/__init__.py -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/static/re.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/static/static_page_files/1572430905201.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/static/static_page_files/1572430905201.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/static/static_page_files/369f029b0449e76b616c1920f18774ed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/static/static_page_files/369f029b0449e76b616c1920f18774ed.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/static/static_page_files/4f590a93d92909b167d428b2f45d5274.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/static/static_page_files/4f590a93d92909b167d428b2f45d5274.jpg -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/static/static_page_files/57f25e75780b61e27a74a8a5adc7586a.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/static/static_page_files/57f25e75780b61e27a74a8a5adc7586a.jpg -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/static/static_page_files/625aaffc56983eb6f4719717c98bbc67.jpg.218x150.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/static/static_page_files/625aaffc56983eb6f4719717c98bbc67.jpg.218x150.jpg -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/static/static_page_files/6e94d2b01dba7529b000b2704800540d.jpg.218x150.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/static/static_page_files/6e94d2b01dba7529b000b2704800540d.jpg.218x150.jpg -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/static/static_page_files/a73f2557-0efa-4559-8b05-197226722362.jpg.218x150.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/static/static_page_files/a73f2557-0efa-4559-8b05-197226722362.jpg.218x150.jpg -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/static/static_page_files/beian.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/static/static_page_files/beian.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/static/static_page_files/blank.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/static/static_page_files/blank.gif -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/static/static_page_files/e3fb4809-328a-4ce5-b286-2d6d8bdc7378_1000.jpg!m_fill,w_280,h_210,f_jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/static/static_page_files/e3fb4809-328a-4ce5-b286-2d6d8bdc7378_1000.jpg!m_fill,w_280,h_210,f_jpg -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/static/static_page_files/e80124bf-6dac-4032-9f3a-108b155540e7.jpg.218x150.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/static/static_page_files/e80124bf-6dac-4032-9f3a-108b155540e7.jpg.218x150.jpg -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/static/static_page_files/ea3bcafededbafe865f986d01c6030a3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/static/static_page_files/ea3bcafededbafe865f986d01c6030a3.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/static/static_page_files/fe0d9dafdd409e25c711ff14f92619d1.jpg.218x150.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/static/static_page_files/fe0d9dafdd409e25c711ff14f92619d1.jpg.218x150.jpg -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/static/static_page_files/getDownloadQr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/static/static_page_files/getDownloadQr -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/static/static_page_files/getDownloadQr(1): -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/static/static_page_files/getDownloadQr(1) -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/static/static_page_files/getDownloadQr(2): -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/static/static_page_files/getDownloadQr(2) -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/static/static_page_files/housePriceImg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/static/static_page_files/housePriceImg -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/static/static_page_files/housePriceImg(1): -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/static/static_page_files/housePriceImg(1) -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/static/static_page_files/housePriceImg(2): -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/static/static_page_files/housePriceImg(2) -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/static/static_page_files/housepri-qrcode2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/static/static_page_files/housepri-qrcode2.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/static/static_page_files/pc1_AtekLZHyo.jpg!m_fill,w_280,h_210,f_jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/static/static_page_files/pc1_AtekLZHyo.jpg!m_fill,w_280,h_210,f_jpg -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/static/static_page_files/pc1_BRlFe1Lo1.jpg!m_fill,w_280,h_210,f_jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/static/static_page_files/pc1_BRlFe1Lo1.jpg!m_fill,w_280,h_210,f_jpg -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/static/static_page_files/pc1_kJisqJ6yx_1.jpg!m_fill,w_280,h_210,f_jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/static/static_page_files/pc1_kJisqJ6yx_1.jpg!m_fill,w_280,h_210,f_jpg -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/static/static_page_files/push.js.下载: -------------------------------------------------------------------------------- 1 | !function(){var e=/([http|https]:\/\/[a-zA-Z0-9\_\.]+\.baidu\.com)/gi,r=window.location.href,t=document.referrer;if(!e.test(r)){var o="https://sp0.baidu.com/9_Q4simg2RQJ8t7jm9iCKT-xh_/s.gif";t?(o+="?r="+encodeURIComponent(document.referrer),r&&(o+="&l="+r)):r&&(o+="?l="+r);var i=new Image;i.src=o}}(window); -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/static/static_page_files/vrgold.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/static/static_page_files/vrgold.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/static/static_page_files/vrlogo2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/static/static_page_files/vrlogo2x.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/static/static_page_files/zsyh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Data-Acquisition-and-Fusion-Technology/exp_CaiJi/static/static_page_files/zsyh.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Database-Principle/exp1.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Database-Principle/exp1.sql -------------------------------------------------------------------------------- /2-Sophomore-Year/Database-Principle/exp2.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Database-Principle/exp2.sql -------------------------------------------------------------------------------- /2-Sophomore-Year/Database-Principle/exp3.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Database-Principle/exp3.sql -------------------------------------------------------------------------------- /2-Sophomore-Year/Introduction-of-Data-Science-and-Bigdata-Technology-Major/exp_0/3'1'4/src/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Introduction-of-Data-Science-and-Bigdata-Technology-Major/exp_0/3'1'4/src/__init__.py -------------------------------------------------------------------------------- /2-Sophomore-Year/Introduction-of-Data-Science-and-Bigdata-Technology-Major/exp_0/3'3'3/src/daolun_experiment3'3'3.sql: -------------------------------------------------------------------------------- 1 | USE hello; 2 | 3 | -- 1. 建表 stud 4 | CREATE TABLE stud ( 5 | id INT AUTO_INCREMENT PRIMARY KEY, 6 | name VARCHAR(255), 7 | phone_number VARCHAR(20) 8 | ); 9 | 10 | -- 2. 插入数据 11 | INSERT INTO stud (name, phone_number) VALUES 12 | ('张三', '1234567890'), 13 | ('李四', '9876543210'), 14 | ('王五', '1234567890'), 15 | ('赵六', '5555555555'), 16 | ('钱七', '1111111111'), 17 | ('孙八', '5555555555'), 18 | ('李九', '2222222222'), 19 | ('周十', '3333333333'), 20 | ('吴十一', '1234567890'), 21 | ('郑十二', '4444444444'); 22 | 23 | -- 3. 用 DISTINCT 查询 stud 表格中重复的电话号码,返回完整的记录 24 | SELECT DISTINCT s1.* 25 | FROM stud s1, stud s2 26 | WHERE s1.id <> s2.id 27 | AND s1.phone_number = s2.phone_number; 28 | 29 | -- 4. 如果两个人的电话号码重复,只保留其中任意一个人的记录,删除其他重复记录 30 | DELETE s1 31 | FROM stud s1, stud s2 32 | WHERE s1.id > s2.id 33 | AND s1.phone_number = s2.phone_number; 34 | 35 | -- 5. 查看修改后的表 36 | SELECT * FROM stud; 37 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Introduction-of-Data-Science-and-Bigdata-Technology-Major/exp_1/README.md: -------------------------------------------------------------------------------- 1 | * 选做前两个实验 2 | * 项目已打包(两个 .zip 文件) 3 | * 含有实验报告和源代码文件 -------------------------------------------------------------------------------- /2-Sophomore-Year/Introduction-of-Data-Science-and-Bigdata-Technology-Major/exp_1/homework_of_P26-1/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Introduction-of-Data-Science-and-Bigdata-Technology-Major/exp_1/homework_of_P26-1/__init__.py -------------------------------------------------------------------------------- /2-Sophomore-Year/Introduction-of-Data-Science-and-Bigdata-Technology-Major/exp_1/homework_of_P26-1/homework_of_P26_1.py: -------------------------------------------------------------------------------- 1 | import time 2 | import decimal 3 | 4 | def factorial(n): 5 | result = 1 6 | for i in range(1, n + 1): 7 | result *= decimal.Decimal(i) 8 | return result 9 | 10 | def factorial_sum(n): 11 | result = decimal.Decimal(0) 12 | for i in range(1, n + 1): 13 | result += factorial(i) 14 | return result 15 | 16 | while True: 17 | try: 18 | n = int(input("请输入一个正整数 n (输入负数退出): ")) 19 | 20 | if n < 0: 21 | print("程序退出。") 22 | break 23 | 24 | decimal.getcontext().prec = 200 # 设置精度,根据需要调整 25 | start_time = time.time() 26 | result = factorial_sum(n) 27 | end_time = time.time() 28 | print(f"n={n}, 结果={result}, 运行时间={end_time - start_time}秒") 29 | except ValueError: 30 | print("请输入有效的正整数。") 31 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Introduction-of-Data-Science-and-Bigdata-Technology-Major/exp_1/homework_of_P26-1/p1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Introduction-of-Data-Science-and-Bigdata-Technology-Major/exp_1/homework_of_P26-1/p1.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Introduction-of-Data-Science-and-Bigdata-Technology-Major/exp_1/homework_of_p26-2/p2-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Introduction-of-Data-Science-and-Bigdata-Technology-Major/exp_1/homework_of_p26-2/p2-1.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Introduction-of-Data-Science-and-Bigdata-Technology-Major/exp_1/homework_of_p26-2/p2-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Introduction-of-Data-Science-and-Bigdata-Technology-Major/exp_1/homework_of_p26-2/p2-2.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Introduction-of-Data-Science-and-Bigdata-Technology-Major/exp_2/源代码/DaoLun_homework/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Introduction-of-Data-Science-and-Bigdata-Technology-Major/exp_2/源代码/DaoLun_homework/__init__.py -------------------------------------------------------------------------------- /2-Sophomore-Year/Introduction-of-Data-Science-and-Bigdata-Technology-Major/随堂签到/test2.py: -------------------------------------------------------------------------------- 1 | # 定义组别、频数 2 | groups = [[2, 3], [7, 8], [12, 13], [17, 18]] 3 | frequencies = [4, 6, 10, 5] 4 | 5 | # 将数据按照频数展开 6 | data = [] 7 | for i in range(len(groups)): 8 | lower_bound, upper_bound = groups[i] 9 | for j in range(frequencies[i]): 10 | data.append((lower_bound + upper_bound) / 2) # 使用组中值表示频数 11 | 12 | # 计算平均差 13 | mean_deviation = sum(abs(x - sum(data) / len(data)) for x in data) / len(data) 14 | 15 | # 计算方差 16 | mean = sum(data) / len(data) 17 | variance = sum((x - mean) ** 2 for x in data) / len(data) 18 | 19 | print("平均差:", round(mean_deviation, 2)) 20 | print("方差:", round(variance, 2)) 21 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Application-Practice-Based-on-The-Network/SimpleChatRoom/README.md: -------------------------------------------------------------------------------- 1 | 已部分清除。。。 2 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Application-Practice-Based-on-The-Network/WhiteBoardDeskApp/src/Student/ClientFileThread.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Application-Practice-Based-on-The-Network/WhiteBoardDeskApp/src/Student/ClientFileThread.java -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Application-Practice-Based-on-The-Network/WhiteBoardDeskApp/src/Student/Login.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Application-Practice-Based-on-The-Network/WhiteBoardDeskApp/src/Student/Login.java -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Application-Practice-Based-on-The-Network/WhiteBoardDeskApp/src/Student/MyRecorder.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Application-Practice-Based-on-The-Network/WhiteBoardDeskApp/src/Student/MyRecorder.java -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Application-Practice-Based-on-The-Network/WhiteBoardDeskApp/src/Student/RecordMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Application-Practice-Based-on-The-Network/WhiteBoardDeskApp/src/Student/RecordMain.java -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Application-Practice-Based-on-The-Network/WhiteBoardDeskApp/src/Student/Register.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Application-Practice-Based-on-The-Network/WhiteBoardDeskApp/src/Student/Register.java -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Application-Practice-Based-on-The-Network/WhiteBoardDeskApp/src/Student/Student.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Application-Practice-Based-on-The-Network/WhiteBoardDeskApp/src/Student/Student.java -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Application-Practice-Based-on-The-Network/WhiteBoardDeskApp/src/Teacher/ServerFileThread.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Application-Practice-Based-on-The-Network/WhiteBoardDeskApp/src/Teacher/ServerFileThread.java -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Application-Practice-Based-on-The-Network/WhiteBoardDeskApp/src/Teacher/Teacher.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Application-Practice-Based-on-The-Network/WhiteBoardDeskApp/src/Teacher/Teacher.java -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/exp_A3/exp_A3.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/exp_B1/exp_B1.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/README.md -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/bin/com/snake/images/apple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/bin/com/snake/images/apple.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/bin/com/snake/images/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/bin/com/snake/images/bg.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/bin/com/snake/images/cherry.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/bin/com/snake/images/cherry.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/bin/com/snake/images/grape.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/bin/com/snake/images/grape.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/bin/com/snake/images/green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/bin/com/snake/images/green.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/bin/com/snake/images/header_b.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/bin/com/snake/images/header_b.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/bin/com/snake/images/header_l.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/bin/com/snake/images/header_l.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/bin/com/snake/images/header_r.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/bin/com/snake/images/header_r.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/bin/com/snake/images/header_t.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/bin/com/snake/images/header_t.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/bin/com/snake/images/orange.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/bin/com/snake/images/orange.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/bin/com/snake/images/peach.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/bin/com/snake/images/peach.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/bin/com/snake/images/pineapple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/bin/com/snake/images/pineapple.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/bin/com/snake/images/purple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/bin/com/snake/images/purple.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/bin/com/snake/images/red.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/bin/com/snake/images/red.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/bin/com/snake/images/snake.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/bin/com/snake/images/snake.jpg -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/bin/com/snake/images/strawberry.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/bin/com/snake/images/strawberry.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/bin/com/snake/images/tomato.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/bin/com/snake/images/tomato.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/bin/com/snake/images/yellow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/bin/com/snake/images/yellow.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/bin/com/snake/ui/SnakeDirection.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/bin/com/snake/ui/SnakeDirection.class -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/bin/com/snake/ui/SnakeFrame$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/bin/com/snake/ui/SnakeFrame$1.class -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/bin/com/snake/ui/SnakeFrame$SnakePanel$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/bin/com/snake/ui/SnakeFrame$SnakePanel$1.class -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/bin/com/snake/ui/SnakeFrame$SnakePanel$2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/bin/com/snake/ui/SnakeFrame$SnakePanel$2.class -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/bin/com/snake/ui/SnakeFrame$SnakePanel$3.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/bin/com/snake/ui/SnakeFrame$SnakePanel$3.class -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/bin/com/snake/ui/SnakeFrame$SnakePanel.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/bin/com/snake/ui/SnakeFrame$SnakePanel.class -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/bin/com/snake/ui/SnakeFrame.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/bin/com/snake/ui/SnakeFrame.class -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/bin/com/snake/ui/StartGame.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/bin/com/snake/ui/StartGame.class -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/bin/com/snake/utils/PropertiesUtils.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/bin/com/snake/utils/PropertiesUtils.class -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/bin/score.properties: -------------------------------------------------------------------------------- 1 | #Tue Dec 06 14:18:46 CST 2022 2 | highest=13 3 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/src/com/snake/images/apple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/src/com/snake/images/apple.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/src/com/snake/images/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/src/com/snake/images/bg.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/src/com/snake/images/cherry.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/src/com/snake/images/cherry.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/src/com/snake/images/grape.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/src/com/snake/images/grape.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/src/com/snake/images/green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/src/com/snake/images/green.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/src/com/snake/images/header_b.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/src/com/snake/images/header_b.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/src/com/snake/images/header_l.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/src/com/snake/images/header_l.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/src/com/snake/images/header_r.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/src/com/snake/images/header_r.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/src/com/snake/images/header_t.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/src/com/snake/images/header_t.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/src/com/snake/images/orange.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/src/com/snake/images/orange.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/src/com/snake/images/peach.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/src/com/snake/images/peach.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/src/com/snake/images/pineapple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/src/com/snake/images/pineapple.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/src/com/snake/images/purple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/src/com/snake/images/purple.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/src/com/snake/images/red.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/src/com/snake/images/red.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/src/com/snake/images/snake.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/src/com/snake/images/snake.jpg -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/src/com/snake/images/strawberry.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/src/com/snake/images/strawberry.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/src/com/snake/images/tomato.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/src/com/snake/images/tomato.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/src/com/snake/images/yellow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/src/com/snake/images/yellow.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/src/com/snake/ui/SnakeDirection.java: -------------------------------------------------------------------------------- 1 | package com.snake.ui; 2 | 3 | /** 4 | * 存储蛇运动方向的接口 5 | * @author 6 | * 7 | */ 8 | public interface SnakeDirection { 9 | 10 | int LEFT = -1; 11 | 12 | int RIGHT = 1; 13 | 14 | int BOTTOM = -2; 15 | 16 | int TOP = 2; 17 | 18 | } 19 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/src/com/snake/ui/StartGame.java: -------------------------------------------------------------------------------- 1 | package com.snake.ui; 2 | 3 | public class StartGame { 4 | 5 | public static void main(String[] args) { 6 | 7 | new SnakeFrame(); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/src/com/snake/utils/PropertiesUtils.java: -------------------------------------------------------------------------------- 1 | package com.snake.utils; 2 | 3 | import java.io.IOException; 4 | import java.io.InputStream; 5 | import java.util.Properties; 6 | 7 | public class PropertiesUtils extends Properties{ 8 | 9 | private static final long serialVersionUID = -4016165126226123907L; 10 | 11 | private PropertiesUtils(){ 12 | 13 | InputStream is = null; 14 | 15 | try { 16 | is = PropertiesUtils.class.getResourceAsStream("/score.properties"); 17 | this.load(is); 18 | } catch (IOException e) { 19 | e.printStackTrace(); 20 | } 21 | } 22 | 23 | private static PropertiesUtils instance = null; 24 | 25 | public static PropertiesUtils getInstance(){ 26 | 27 | if(instance == null){ 28 | synchronized (PropertiesUtils.class) { 29 | if(instance == null){ 30 | instance = new PropertiesUtils(); 31 | } 32 | } 33 | } 34 | return instance; 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/src/score.properties: -------------------------------------------------------------------------------- 1 | #Tue Dec 06 14:18:46 CST 2022 2 | highest=13 3 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/target/production/javafx-snake/com/snake/ui/SnakeDirection.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/target/production/javafx-snake/com/snake/ui/SnakeDirection.class -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/target/production/javafx-snake/com/snake/ui/SnakeFrame$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/target/production/javafx-snake/com/snake/ui/SnakeFrame$1.class -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/target/production/javafx-snake/com/snake/ui/SnakeFrame$SnakePanel$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/target/production/javafx-snake/com/snake/ui/SnakeFrame$SnakePanel$1.class -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/target/production/javafx-snake/com/snake/ui/SnakeFrame$SnakePanel$2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/target/production/javafx-snake/com/snake/ui/SnakeFrame$SnakePanel$2.class -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/target/production/javafx-snake/com/snake/ui/SnakeFrame$SnakePanel$3.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/target/production/javafx-snake/com/snake/ui/SnakeFrame$SnakePanel$3.class -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/target/production/javafx-snake/com/snake/ui/SnakeFrame$SnakePanel.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/target/production/javafx-snake/com/snake/ui/SnakeFrame$SnakePanel.class -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/target/production/javafx-snake/com/snake/ui/SnakeFrame.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/target/production/javafx-snake/com/snake/ui/SnakeFrame.class -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/target/production/javafx-snake/com/snake/ui/StartGame.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/target/production/javafx-snake/com/snake/ui/StartGame.class -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/target/production/javafx-snake/com/snake/utils/PropertiesUtils.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/target/production/javafx-snake/com/snake/utils/PropertiesUtils.class -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/target/production/javafx-snake/score.properties: -------------------------------------------------------------------------------- 1 | #Tue Dec 06 14:18:46 CST 2022 2 | highest=13 3 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/综合实践 (1)-LAPTOP-FVMB66RU.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/综合实践 (1)-LAPTOP-FVMB66RU.doc -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/综合实践 (1).doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/javafx-snake/综合实践 (1).doc -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/review2/review2.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/review2/src/test1.java: -------------------------------------------------------------------------------- 1 | interface Open { 2 | int x = 0; 3 | } 4 | 5 | class Father { 6 | int x = 1; 7 | } 8 | 9 | class Son extends Father implements Open { 10 | public void px() { 11 | System.out.println(x); 12 | } 13 | public static void main(String[] args) { 14 | new Son().px(); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/rexp2/rexp2.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/rexp2/src/Circle.java: -------------------------------------------------------------------------------- 1 | public class Circle { 2 | protected double radius; 3 | public Circle(){ 4 | radius = 0; 5 | } 6 | public Circle(double r) { 7 | radius = r; 8 | } 9 | double getRadius(){ 10 | return radius; 11 | } 12 | public double getPerimeter() { 13 | return 2 * Math.PI * radius; 14 | } 15 | public double getArea(){ 16 | return Math.PI * radius * radius; 17 | } 18 | public void disp(){ 19 | System.out.println("圆的半径为:" + radius); 20 | System.out.println("圆的周长为:" + getPerimeter()); 21 | System.out.println("圆的面积为:" + getArea()); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/rexp2/src/Cylinder.java: -------------------------------------------------------------------------------- 1 | public class Cylinder extends Circle{ 2 | private double height; 3 | 4 | public Cylinder(double r, double h) { 5 | super.radius = r; 6 | this.height = h; 7 | } 8 | public double getHeight() { 9 | return height; 10 | } 11 | public double getVol() { 12 | return Math.PI * radius * radius * height; 13 | } 14 | public double getArea() { 15 | return 2 * Math.PI * radius * height + 2 * Math.PI * radius * radius; 16 | } 17 | public void disp(){ 18 | System.out.println("圆柱体的半径为:" + radius); 19 | System.out.println("圆柱体的高为:" + height); 20 | System.out.println("圆柱体的面积为:" + getArea()); 21 | System.out.println("圆柱体的体积为:" + getVol()); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/rexp2/src/Sphere.java: -------------------------------------------------------------------------------- 1 | public class Sphere extends Circle { 2 | public Sphere() { 3 | super.radius = 0; // ? 4 | } 5 | public Sphere(double r) { 6 | super.radius = r; // ? 7 | } 8 | public double getVol() { 9 | return (4.0 / 3.0) * Math.PI * radius * radius * radius; 10 | } 11 | @Override 12 | public double getArea() { 13 | return 4 * Math.PI * radius * radius * radius; 14 | } 15 | public void disp() { 16 | System.out.println("球的半径为:" + radius); 17 | System.out.println("球的面积为:" + getArea()); 18 | System.out.println("球的体积为:" + getVol()); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/rexp2/src/Test.java: -------------------------------------------------------------------------------- 1 | import java.util.Scanner; 2 | 3 | public class Test { 4 | public static void main(String[] args) { 5 | Scanner sc = new Scanner(System.in); 6 | String obj = sc.next(); 7 | double r = sc.nextDouble(); 8 | 9 | if(obj.equals("circle")) { 10 | Circle c = new Circle(r); 11 | c.disp(); 12 | } else if (obj.equals("sphere")) { 13 | Sphere c = new Sphere(r); 14 | c.disp(); 15 | } else if (obj.equals("cylinder")) { 16 | System.out.println("再输入一个值作为高:"); 17 | double h = sc.nextDouble(); 18 | Cylinder c = new Cylinder(r, h); 19 | c.disp(); 20 | }else { 21 | System.out.println("请输入circle、sphere、cylinder中的一个!"); 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/rexp3-2/rexp3-2.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/rexp3-2/src/Graduate.java: -------------------------------------------------------------------------------- 1 | public class Graduate implements StudentInterface, TeacherInterface{ 2 | private String name; 3 | private String sex; 4 | private int age; 5 | private int fee; 6 | private int pay; 7 | 8 | 9 | public Graduate(){ 10 | 11 | } 12 | 13 | public Graduate(String name, String sex, int age){ 14 | this.name = name; 15 | this.sex = sex; 16 | this.age = age; 17 | } 18 | 19 | @Override 20 | public void setFee(int fee){ 21 | this.fee = fee; 22 | } 23 | 24 | @Override 25 | public int getFee(){ 26 | return this.fee; 27 | } 28 | 29 | @Override 30 | public void setPay(int pay) { 31 | this.pay = pay; 32 | } 33 | 34 | @Override 35 | public int getPay() { 36 | return this.pay; 37 | } 38 | } -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/rexp3-2/src/StudentInterface.java: -------------------------------------------------------------------------------- 1 | public interface StudentInterface { 2 | public abstract void setFee(int fee); 3 | public abstract int getFee(); 4 | } 5 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/rexp3-2/src/TeacherInterface.java: -------------------------------------------------------------------------------- 1 | public interface TeacherInterface { 2 | public abstract void setPay(int pay); 3 | public abstract int getPay(); 4 | } -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/rexp3-2/src/test.java: -------------------------------------------------------------------------------- 1 | import java.util.Scanner; 2 | 3 | public class test { 4 | public static void main(String[] args){ 5 | 6 | Graduate zhangsan = new Graduate("zhangsan", "男", 20); 7 | 8 | System.out.println("请输入每月工资:"); 9 | Scanner sc1 = new Scanner(System.in); 10 | zhangsan.setPay(sc1.nextInt()); 11 | 12 | System.out.println("请输入每学期学费:"); 13 | Scanner sc2 = new Scanner(System.in); 14 | zhangsan.setFee(sc2.nextInt()); 15 | 16 | int pays = zhangsan.getPay() * 12; 17 | int fees = zhangsan.getFee() * 2; 18 | int earn = pays - fees; 19 | // 测试 20 | System.out.println(pays + "-" + fees + "=" + earn); 21 | 22 | if(earn <= 2000){ 23 | System.out.println("You need a loan!"); 24 | }else { 25 | System.out.println("You income is enough!"); 26 | } 27 | 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/rexp3/rexp3.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/rexp3/src/Circle.java: -------------------------------------------------------------------------------- 1 | public class Circle extends Shape{ 2 | private double radius; 3 | 4 | public Circle(){ 5 | 6 | } 7 | public Circle(double radius){ 8 | this.radius = radius; 9 | } 10 | @Override 11 | public double getArea(){ 12 | return Math.PI * radius * radius; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/rexp3/src/Rectangle.java: -------------------------------------------------------------------------------- 1 | public class Rectangle extends Shape { 2 | private double length; 3 | private double width; 4 | public Rectangle(){ 5 | 6 | } 7 | public Rectangle(double length, double width){ 8 | this.length = length; 9 | this.width = width; 10 | } 11 | @Override 12 | public double getArea(){ 13 | return length * width; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/rexp3/src/Shape.java: -------------------------------------------------------------------------------- 1 | public abstract class Shape { 2 | public abstract double getArea(); 3 | } 4 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/rexp3/src/test.java: -------------------------------------------------------------------------------- 1 | public class test { 2 | public static void main(String[] args) { 3 | Rectangle rectangle = new Rectangle(3, 4); 4 | Circle circle = new Circle(3); 5 | System.out.println("矩形面积:" + rectangle.getArea()); 6 | System.out.println("圆面积:" + circle.getArea()); 7 | } 8 | } -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/rexp4-2/rexp4-2.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/rexp4-2/src/MyThread.java: -------------------------------------------------------------------------------- 1 | import java.util.Random; 2 | 3 | public class MyThread extends Thread{ 4 | @Override 5 | public void run() throws RuntimeException { 6 | System.out.println(getName() + "已经创建。"); 7 | 8 | Random random = new Random(); 9 | int t = random.nextInt(10000); 10 | try { 11 | Thread.sleep(t); 12 | } catch (InterruptedException e) { 13 | throw new RuntimeException(e); 14 | } 15 | 16 | System.out.println(getName() + "已经结束。休眠单位时长为:" + t); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/rexp4-2/src/test.java: -------------------------------------------------------------------------------- 1 | public class test { 2 | public static void main(String[] args) { 3 | MyThread t1 = new MyThread(); 4 | MyThread t2 = new MyThread(); 5 | MyThread t3 = new MyThread(); 6 | t1.setName("线程1"); 7 | t2.setName("线程2"); 8 | t3.setName("线程3"); 9 | // start方法表示开启线程 10 | t1.start(); 11 | t2.start(); 12 | t3.start(); 13 | } 14 | } -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/rexp4-3/rexp4-3.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/rexp4-3/src/DivisibleThread.java: -------------------------------------------------------------------------------- 1 | import java.util.Random; 2 | 3 | public class DivisibleThread extends Thread{ 4 | @Override 5 | public void run() { 6 | 7 | //在另一线程中求100以内能被3整除的数, 8 | for (int i = 1; i <= 100; i++) { 9 | if (i % 3 == 0) { 10 | //输出数据时应有提示,指明哪个线程输出的数据。 11 | System.out.println(i + ":来自" + getName()); 12 | } 13 | } 14 | //求出后休眠一个随机时间。 15 | Random random = new Random(); 16 | int t = random.nextInt(10000); 17 | try { 18 | Thread.sleep(t); 19 | } catch (InterruptedException e) { 20 | throw new RuntimeException(e); 21 | } 22 | System.out.println(getName() + "休眠了" + t + "单位时间后结束"); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/rexp4-3/src/test.java: -------------------------------------------------------------------------------- 1 | public class test { 2 | public static void main(String[] args) { 3 | PrimeThread t1 = new PrimeThread(); 4 | DivisibleThread t2 =new DivisibleThread(); 5 | 6 | t1.setName("求素数的线程"); 7 | t2.setName("求能被3整除的数的线程"); 8 | 9 | 10 | t1.start(); 11 | t2.start(); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/rexp4/rexp4.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/rexp4/src/IllegalAgeException.java: -------------------------------------------------------------------------------- 1 | public class IllegalAgeException extends RuntimeException { 2 | public IllegalAgeException() { 3 | } 4 | 5 | public IllegalAgeException(String message) { 6 | super(message); 7 | } 8 | } -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/rexp4/src/test.java: -------------------------------------------------------------------------------- 1 | import java.util.Scanner; 2 | 3 | public class test { 4 | public static void main(String[] args) throws IllegalAgeException { 5 | Scanner sc = new Scanner(System.in); 6 | 7 | Person p = new Person(); 8 | 9 | while (true) { 10 | try { 11 | System.out.println("请输入p的年龄:"); 12 | String age = sc.nextLine(); 13 | p.setAge(Integer.parseInt(age)); 14 | break; 15 | } catch (NumberFormatException e) { 16 | e.printStackTrace(); 17 | } catch (IllegalAgeException e) { 18 | e.printStackTrace(); 19 | } 20 | } 21 | System.out.println("你设置p的年龄为:" + p.getAge()); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/rexp5/rexp5.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/selfStudy/selfStudy.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/selfStudy/udp/src/ReceiveMessage.java: -------------------------------------------------------------------------------- 1 | import java.io.IOException; 2 | import java.net.DatagramPacket; 3 | import java.net.DatagramSocket; 4 | 5 | public class ReceiveMessage { 6 | public static void main(String[] args) throws IOException { 7 | 8 | //1.创建DatagramSocket对象 9 | DatagramSocket ds = new DatagramSocket(10086); 10 | 11 | //2.接受数据包 12 | byte[] bytes = new byte[1024]; 13 | DatagramPacket dp = new DatagramPacket(bytes, bytes.length); 14 | 15 | while (true) { 16 | ds.receive(dp); 17 | 18 | //3.解析数据包 19 | byte[] data = dp.getData(); 20 | int len = dp.getLength(); 21 | String ip = dp.getAddress().getHostAddress(); 22 | String hostName = dp.getAddress().getHostName(); 23 | 24 | //4.打印数据 25 | System.out.println("ip为" + ip + ",主机名为" + hostName + "的人,发送了长度为" + len + "的数据:" + new String(data, 0 ,len)); 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/selfStudy/udp/src/SendMessage.java: -------------------------------------------------------------------------------- 1 | import java.io.IOException; 2 | import java.net.*; 3 | import java.util.Scanner; 4 | 5 | public class SendMessage { 6 | public static void main(String[] args) throws IOException { 7 | 8 | //1.创建DatagramPacket对象 9 | DatagramSocket ds = new DatagramSocket(); 10 | 11 | //2.打包数据 12 | Scanner sc = new Scanner(System.in); 13 | while (true) { 14 | System.out.println("请输入想说的话:"); 15 | String str = sc.nextLine(); 16 | if (str.equals("gg")) { 17 | break; 18 | } 19 | byte[] bytes = str.getBytes(); 20 | 21 | InetAddress adress = InetAddress.getByName("127.0.0.1"); 22 | int port = 10086; 23 | 24 | DatagramPacket dp = new DatagramPacket(bytes, bytes.length, adress, port); 25 | 26 | //3.发送数据 27 | ds.send(dp); 28 | } 29 | 30 | //4.释放资源 31 | ds.close(); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/SelfStudy-Java/selfStudy/udp/udp.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/exp1/Hello.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/exp1/Hello.java -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/exp1/Main.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/exp1/Main.class -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/exp1/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/exp1/Main.java -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/exp1/Student.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/exp1/Student.class -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/exp1/Student.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/exp1/Student.java -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/exp1/out/production/shiyan1/Hello.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/exp1/out/production/shiyan1/Hello.class -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/exp1/out/production/shiyan1/Main.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/exp1/out/production/shiyan1/Main.class -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/exp1/out/production/shiyan1/Student.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/exp1/out/production/shiyan1/Student.class -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/exp1/out/production/shiyan1/shiyan1.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/exp1/out/production/shiyan1/test.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/exp1/out/production/shiyan1/test.class -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/exp1/shiyan1.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/exp1/test.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/exp1/test.class -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/exp1/test.java: -------------------------------------------------------------------------------- 1 | // public class test { 2 | // public static void main(String[] args){ 3 | 4 | // } 5 | // } 6 | 7 | 8 | // public class test { 9 | // public static void main(String[] args){ 10 | // for(int i = 9; i >= 1; i--){ 11 | // for(int j = 9; j >= 1; j--){ 12 | // System.out.println(i + "x" + j + "=" + i*j); 13 | // } 14 | // System.out.println(); 15 | // } 16 | // } 17 | // } 18 | 19 | 20 | public class test { 21 | public static void main(String[] args){ 22 | 23 | String s = "fewffwefasdfdsfsd"; 24 | 25 | int a = s.hashCode(); 26 | 27 | System.out.println(a); 28 | } 29 | } -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/exp3.1/Test.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/exp3.1/Test.java -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/exp3.2/Graduate.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/exp3.2/Graduate.class -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/exp3.2/Graduate.java: -------------------------------------------------------------------------------- 1 | interface StudentInterface{ 2 | int setfee(int fe); 3 | int getfee(); 4 | } 5 | interface TeacherInterface{ 6 | int setpay(int pa); 7 | int getpay(); 8 | } 9 | public class Graduate implements StudentInterface,TeacherInterface{ 10 | String name; 11 | String sex; 12 | int age; 13 | int fee; 14 | int pay; 15 | Graduate(String gname,String gsex,int gage){ 16 | name=gname; 17 | sex=gsex; 18 | age=gage; 19 | } 20 | public int setfee(int fe){ 21 | fee=fe;return fee; 22 | } 23 | public int getfee(){ 24 | return fee; 25 | } 26 | public int setpay(int pa){ 27 | pay=pa;return pay; 28 | } 29 | public int getpay(){ 30 | return pay; 31 | } 32 | public int tuition(){ 33 | return fee*2; 34 | } 35 | public int income(){ 36 | return pay*12; 37 | } 38 | } -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/exp3.2/Main.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/exp3.2/Main.class -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/exp3.2/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/exp3.2/Main.java -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/exp3.2/StudentInterface.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/exp3.2/StudentInterface.class -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/exp3.2/TeacherInterface.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/exp3.2/TeacherInterface.class -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/exp4/IllegalAgeException.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/exp4/IllegalAgeException.class -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/exp4/Person.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/exp4/Person.class -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/exp4/Person.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/exp4/Person.java -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/exp4/test.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/exp4/test.java -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/exp4/test2.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/exp4/test2.java -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/exp5.1/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/exp5.1/Main.java -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/exp5.2/Demo10.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/exp5.2/Demo10.java -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/exp5.2/Demo7.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/exp5.2/Demo7.java -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/exp5.2/Demo8.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/exp5.2/Demo8.java -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/exp5.2/Demo9.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/exp5.2/Demo9.java -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/snake/StartGame.java: -------------------------------------------------------------------------------- 1 | package com.kuang.snake; 2 | 3 | import javax.swing.*; 4 | 5 | //游戏的主启动类 6 | public class StartGame { 7 | public StartGame() { 8 | } 9 | 10 | static final int height = 720; 11 | 12 | public static void main(String[] args) { 13 | 14 | //名称,大小,关闭 15 | //可见,不变,加组件 16 | JFrame frame = new JFrame("Java-贪吃蛇小游戏"); 17 | frame.setBounds(0,0,915,height); 18 | frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE); 19 | 20 | frame.setVisible(true); 21 | frame.setResizable(true);//窗口大小不可变 22 | frame.add(new GamePanel());//在窗口中显示游戏界面 23 | 24 | //去边框的操作:frame.setUndecorated(true); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/snake/out/production/snake/com/kuang/snake/Data.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/snake/out/production/snake/com/kuang/snake/Data.class -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/snake/out/production/snake/com/kuang/snake/GamePanel.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/snake/out/production/snake/com/kuang/snake/GamePanel.class -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/snake/out/production/snake/com/kuang/snake/StartGame.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/snake/out/production/snake/com/kuang/snake/StartGame.class -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/snake/out/production/snake/com/kuang/snake/snake.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/snake/out/production/snake/com/kuang/snake/statics/bad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/snake/out/production/snake/com/kuang/snake/statics/bad.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/snake/out/production/snake/com/kuang/snake/statics/body.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/snake/out/production/snake/com/kuang/snake/statics/body.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/snake/out/production/snake/com/kuang/snake/statics/body2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/snake/out/production/snake/com/kuang/snake/statics/body2.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/snake/out/production/snake/com/kuang/snake/statics/down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/snake/out/production/snake/com/kuang/snake/statics/down.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/snake/out/production/snake/com/kuang/snake/statics/down2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/snake/out/production/snake/com/kuang/snake/statics/down2.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/snake/out/production/snake/com/kuang/snake/statics/food.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/snake/out/production/snake/com/kuang/snake/statics/food.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/snake/out/production/snake/com/kuang/snake/statics/header.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/snake/out/production/snake/com/kuang/snake/statics/header.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/snake/out/production/snake/com/kuang/snake/statics/left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/snake/out/production/snake/com/kuang/snake/statics/left.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/snake/out/production/snake/com/kuang/snake/statics/left2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/snake/out/production/snake/com/kuang/snake/statics/left2.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/snake/out/production/snake/com/kuang/snake/statics/right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/snake/out/production/snake/com/kuang/snake/statics/right.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/snake/out/production/snake/com/kuang/snake/statics/right2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/snake/out/production/snake/com/kuang/snake/statics/right2.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/snake/out/production/snake/com/kuang/snake/statics/up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/snake/out/production/snake/com/kuang/snake/statics/up.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/snake/out/production/snake/com/kuang/snake/statics/up2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/snake/out/production/snake/com/kuang/snake/statics/up2.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/snake/snake.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/snake/statics/bad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/snake/statics/bad.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/snake/statics/body.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/snake/statics/body.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/snake/statics/body2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/snake/statics/body2.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/snake/statics/down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/snake/statics/down.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/snake/statics/down2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/snake/statics/down2.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/snake/statics/food.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/snake/statics/food.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/snake/statics/header.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/snake/statics/header.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/snake/statics/left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/snake/statics/left.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/snake/statics/left2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/snake/statics/left2.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/snake/statics/right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/snake/statics/right.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/snake/statics/right2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/snake/statics/right2.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/snake/statics/up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/snake/statics/up.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/snake/statics/up2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Java-Language-and-System-Design/mixed-sc/snake/statics/up2.png -------------------------------------------------------------------------------- /2-Sophomore-Year/Machine-Learning/ML_t0/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | 3 | if __name__ == "__main__": 4 | pass 5 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Machine-Learning/part-of-assignments/机器学习决策树/JueCeShu/Train_set.txt: -------------------------------------------------------------------------------- 1 | 编号, 色泽, 根蒂, 敲声, 纹理, 脐部, 触感, 好瓜 2 | 1, 青绿, 蜷缩, 浊响, 清晰, 凹陷, 硬滑, 是 3 | 2, 乌黑, 蜷缩, 沉闷, 清晰, 凹陷, 硬滑, 是 4 | 3, 乌黑, 蜷缩, 浊响, 清晰, 凹陷, 硬滑, 是 5 | 6, 青绿, 稍蜷, 浊响, 清晰, 稍凹, 软粘, 是 6 | 7, 乌黑, 稍蜷, 浊响, 稍糊, 稍凹, 软粘, 是 7 | 10, 青绿, 硬挺, 清脆, 清晰, 平坦, 软粘, 否 8 | 14, 浅白, 稍蜷, 沉闷, 稍糊, 凹陷, 硬滑, 否 9 | 15, 乌黑, 稍蜷, 浊响, 清晰, 稍凹, 软粘, 否 10 | 16, 浅白, 蜷缩, 浊响, 模糊, 平坦, 硬滑, 否 11 | 17, 青绿, 蜷缩, 沉闷, 稍糊, 稍凹, 硬滑, 否 12 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Machine-Learning/part-of-assignments/机器学习决策树/JueCeShu/Validation_set.txt: -------------------------------------------------------------------------------- 1 | 编号, 色泽, 根蒂, 敲声, 纹理, 脐部, 触感, 好瓜 2 | 4, 青绿, 蜷缩, 沉闷, 清晰, 凹陷, 硬滑, 是 3 | 5, 浅白, 蜷缩, 浊响, 清晰, 凹陷, 硬滑, 是 4 | 8, 乌黑, 稍蜷, 浊响, 清晰, 稍凹, 硬滑, 是 5 | 9, 乌黑, 稍蜷, 沉闷, 稍糊, 稍凹, 硬滑, 否 6 | 11, 浅白, 硬挺, 清脆, 模糊, 平坦, 硬滑, 否 7 | 12, 浅白, 蜷缩, 浊响, 模糊, 平坦, 软粘, 否 8 | 13, 青绿, 稍蜷, 浊响, 稍糊, 凹陷, 硬滑, 否 -------------------------------------------------------------------------------- /2-Sophomore-Year/Machine-Learning/part-of-assignments/机器学习决策树/JueCeShu/pre_pruning.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Machine-Learning/part-of-assignments/机器学习决策树/JueCeShu/pre_pruning.py -------------------------------------------------------------------------------- /2-Sophomore-Year/Machine-Learning/part-of-assignments/机器学习决策树/JueCeShu/test.csv: -------------------------------------------------------------------------------- 1 | 编号,色泽,根蒂,敲声,纹理,脐部,触感,好瓜 2 | 1,青绿,蜷缩,浊响,清晰,凹陷,硬滑,是 3 | 2,乌黑,蜷缩,沉闷,清晰,凹陷,硬滑,是 4 | 3,乌黑,蜷缩,浊响,清晰,凹陷,硬滑,是 5 | 6,青绿,稍蜷,浊响,清晰,稍凹,软粘,是 6 | 7,乌黑,稍蜷,浊响,稍糊,稍凹,软粘,是 7 | 10,青绿,硬挺,清脆,清晰,平坦,软粘,否 8 | 14,浅白,稍蜷,沉闷,稍糊,凹陷,硬滑,否 9 | 15,乌黑,稍蜷,浊响,清晰,稍凹,软粘,否 10 | 16,浅白,蜷缩,浊响,模糊,平坦,硬滑,否 11 | 17,青绿,蜷缩,沉闷,稍糊,稍凹,硬滑,否 -------------------------------------------------------------------------------- /2-Sophomore-Year/Machine-Learning/part-of-assignments/机器学习决策树/JueCeShu/watermelon.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Machine-Learning/part-of-assignments/机器学习决策树/JueCeShu/watermelon.txt -------------------------------------------------------------------------------- /2-Sophomore-Year/Principle-of-Operating-System/exp-report/实验报告.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Principle-of-Operating-System/exp-report/实验报告.pdf -------------------------------------------------------------------------------- /2-Sophomore-Year/Principle-of-Operating-System/exp-sc/os/OSmin/OSmin.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Python-Programming/exp/网络爬虫与爬取股票数据/__pycache__/ru_exp1_more.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Python-Programming/exp/网络爬虫与爬取股票数据/__pycache__/ru_exp1_more.cpython-39.pyc -------------------------------------------------------------------------------- /2-Sophomore-Year/Python-Programming/exp/网络爬虫与爬取股票数据/exp1.sql: -------------------------------------------------------------------------------- 1 | create database if not exists the_byd; 2 | use the_byd; 3 | drop table if exists quote_of_byd; 4 | create table quote_of_byd 5 | (HDate date not null, Open decimal(8,4), Close decimal(8,4), changeamount decimal(8,4), changerate decimal(8,4), Low decimal(8,4), High decimal(8,4), Volume bigint, Volumeamount decimal(14,4), turnoverrate decimal(8,4), primary key (HDate)); 6 | select * from quote_of_byd; 7 | delete from quote_of_byd; -------------------------------------------------------------------------------- /2-Sophomore-Year/Python-Programming/exp/航空公司客户价值分析/附件表.txt: -------------------------------------------------------------------------------- 1 | 1: _航空公司客户价值分析_实验报告.docx 2 | 3 | 2: u_exp2.py 4 | 5 | 3: air_data.csv 6 | 7 | 4: data_cleaned.csv 8 | 9 | 5: airline_scale.npz 10 | 11 | 6: 1:一般客户.csv 12 | 13 | 7: 2:低价值客户.csv 14 | 15 | 8: 3:重要挽留客户.csv 16 | 17 | 9: 4:重要保持客户.csv 18 | 19 | 10: 5:重要发展客户.csv 20 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Python-Programming/nothing/py_grammer_selfstudy/01-1.py: -------------------------------------------------------------------------------- 1 | # 读取输入 2 | N = int(input()) 3 | numbers = list(map(int, input().split())) 4 | 5 | # 使用集合来存储所有数 6 | num_set = set(numbers) 7 | count = 0 8 | 9 | # 遍历集合,查找相反数对 10 | for num in numbers: 11 | if -num in num_set: 12 | count += 1 13 | num_set.remove(num) 14 | num_set.remove(-num) 15 | 16 | print(count) 17 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Python-Programming/nothing/py_grammer_selfstudy/32-01.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # File: 32-01.py 3 | # Author: Ru Shawn 4 | # Date: 2024/5/21 5 | # Last Modified: 2024/5/21 6 | # Description: 7 | 8 | if __name__ == "__main__": 9 | n, m = map(int, input().split()) 10 | loc_list = [] 11 | for i in range(1, n): 12 | loc = [] 13 | loc = input().split() 14 | loc_list.append(loc) 15 | print(loc_list) 16 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Python-Programming/nothing/py_grammer_selfstudy/33-03.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # File: 33-03.py 3 | # Author: Ru Shawn 4 | # Date: 2024/5/20 5 | # Last Modified: 2024/5/20 6 | # Description: 7 | 8 | if __name__ == "__main__": 9 | pass 10 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Python-Programming/nothing/py_grammer_selfstudy/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | 3 | """ 4 | 5 | """ 6 | 7 | sol = Solution() 8 | -------------------------------------------------------------------------------- /2-Sophomore-Year/Python-Programming/nothing/py_grammer_selfstudy/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/2-Sophomore-Year/Python-Programming/nothing/py_grammer_selfstudy/test.py -------------------------------------------------------------------------------- /3-Junior-Year/Data-Warehouse-and-Data-Mining/class4/2-1.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/3-Junior-Year/Data-Warehouse-and-Data-Mining/class4/2-1.sql -------------------------------------------------------------------------------- /3-Junior-Year/Data-Warehouse-and-Data-Mining/class4/2-2.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/3-Junior-Year/Data-Warehouse-and-Data-Mining/class4/2-2.sql -------------------------------------------------------------------------------- /3-Junior-Year/Data-Warehouse-and-Data-Mining/class6/1-1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/3-Junior-Year/Data-Warehouse-and-Data-Mining/class6/1-1.py -------------------------------------------------------------------------------- /3-Junior-Year/Data-Warehouse-and-Data-Mining/class6/2-1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/3-Junior-Year/Data-Warehouse-and-Data-Mining/class6/2-1.py -------------------------------------------------------------------------------- /3-Junior-Year/Data-Warehouse-and-Data-Mining/class6/2-2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/3-Junior-Year/Data-Warehouse-and-Data-Mining/class6/2-2.py -------------------------------------------------------------------------------- /3-Junior-Year/Data-Warehouse-and-Data-Mining/class7/1-1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/3-Junior-Year/Data-Warehouse-and-Data-Mining/class7/1-1.py -------------------------------------------------------------------------------- /3-Junior-Year/Data-Warehouse-and-Data-Mining/class7/2-1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/3-Junior-Year/Data-Warehouse-and-Data-Mining/class7/2-1.py -------------------------------------------------------------------------------- /3-Junior-Year/Data-Warehouse-and-Data-Mining/class7/2-2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/3-Junior-Year/Data-Warehouse-and-Data-Mining/class7/2-2.py -------------------------------------------------------------------------------- /3-Junior-Year/Data-Warehouse-and-Data-Mining/class8/1-1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/3-Junior-Year/Data-Warehouse-and-Data-Mining/class8/1-1.py -------------------------------------------------------------------------------- /3-Junior-Year/Data-Warehouse-and-Data-Mining/class8/1-2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/3-Junior-Year/Data-Warehouse-and-Data-Mining/class8/1-2.py -------------------------------------------------------------------------------- /3-Junior-Year/Data-Warehouse-and-Data-Mining/class8/1-3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/3-Junior-Year/Data-Warehouse-and-Data-Mining/class8/1-3.py -------------------------------------------------------------------------------- /3-Junior-Year/Data-Warehouse-and-Data-Mining/class8/2-1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/3-Junior-Year/Data-Warehouse-and-Data-Mining/class8/2-1.py -------------------------------------------------------------------------------- /3-Junior-Year/Data-Warehouse-and-Data-Mining/class8/2-2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/3-Junior-Year/Data-Warehouse-and-Data-Mining/class8/2-2.py -------------------------------------------------------------------------------- /3-Junior-Year/Data-Warehouse-and-Data-Mining/class8/2-3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/3-Junior-Year/Data-Warehouse-and-Data-Mining/class8/2-3.py -------------------------------------------------------------------------------- /3-Junior-Year/Deep-Learning/small_test/src/02/06_概率.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [ 3 | { 4 | "metadata": {}, 5 | "cell_type": "code", 6 | "source": [ 7 | "import torch\n", 8 | "from torch.distributions import multinomial\n", 9 | "\n", 10 | "fair_probs = torch.ones([6]) / 6\n", 11 | "multinomial.Multinomial(1, fair_probs).sample()" 12 | ], 13 | "id": "fd39faaed8adf9d8", 14 | "outputs": [], 15 | "execution_count": null 16 | } 17 | ], 18 | "metadata": { 19 | "kernelspec": { 20 | "display_name": "Python 3", 21 | "language": "python", 22 | "name": "python3" 23 | }, 24 | "language_info": { 25 | "codemirror_mode": { 26 | "name": "ipython", 27 | "version": 2 28 | }, 29 | "file_extension": ".py", 30 | "mimetype": "text/x-python", 31 | "name": "python", 32 | "nbconvert_exporter": "python", 33 | "pygments_lexer": "ipython2", 34 | "version": "2.7.6" 35 | } 36 | }, 37 | "nbformat": 4, 38 | "nbformat_minor": 5 39 | } 40 | -------------------------------------------------------------------------------- /3-Junior-Year/Deep-Learning/small_test/tests/pytorch_env_test.py: -------------------------------------------------------------------------------- 1 | import torch 2 | 3 | 4 | def test_pytorch(): 5 | print("正在测试 PyTorch 环境...") 6 | 7 | # 检查 PyTorch 是否安装 8 | try: 9 | print(f"PyTorch 版本: {torch.__version__}") 10 | except ImportError: 11 | print("PyTorch 没有安装。") 12 | return 13 | 14 | # 检查是否有 GPU 可用 15 | if torch.cuda.is_available(): 16 | print(f"CUDA 可用。GPU 数量: {torch.cuda.device_count()}") 17 | print(f"当前 GPU: {torch.cuda.get_device_name(torch.cuda.current_device())}") 18 | else: 19 | print("CUDA 不可用。正在使用 CPU。") 20 | 21 | # 测试张量操作 22 | try: 23 | x = torch.rand(5, 3) 24 | y = torch.rand(5, 3) 25 | z = x + y 26 | print(f"张量加法成功。结果:\n{z}") 27 | except Exception as e: 28 | print(f"张量操作失败: {e}") 29 | 30 | 31 | if __name__ == "__main__": 32 | test_pytorch() 33 | -------------------------------------------------------------------------------- /3-Junior-Year/Information-And-Network-Security/README.md: -------------------------------------------------------------------------------- 1 | xss演示 -------------------------------------------------------------------------------- /3-Junior-Year/Information-And-Network-Security/server/script: -------------------------------------------------------------------------------- 1 | alert('XSS攻击成功!'); -------------------------------------------------------------------------------- /3-Junior-Year/Information-And-Network-Security/server/search_page.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | XSS演示搜索 6 | 7 | 8 |

搜索页面

9 |
10 | 11 | 12 | 13 |
14 | 15 | 16 | -------------------------------------------------------------------------------- /3-Junior-Year/Information-And-Network-Security/server/target_page.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | XSS演示目标页面 6 | 7 | 8 |

测试页面

9 |
10 | 11 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /3-Junior-Year/Information-And-Network-Security/server/test1/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 目标网站 6 | 7 | 8 |

欢迎访问目标网站

9 |

请输入内容:

10 |
11 | 12 | 13 |
14 |
15 | 16 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /3-Junior-Year/Information-And-Network-Security/server/test1/server.js: -------------------------------------------------------------------------------- 1 | const http = require('http'); 2 | const fs = require('fs'); 3 | const url = require('url'); 4 | 5 | // 创建服务器 6 | http.createServer(function (req, res) { 7 | // 解析请求的 URL 8 | const parsedUrl = url.parse(req.url, true); 9 | const pathName = parsedUrl.pathname; 10 | 11 | // 根据请求的路径处理不同的请求 12 | if (pathName === '/' || pathName === '/index.html') { 13 | // 读取前端页面文件 index.html 并返回 14 | fs.readFile('index.html', function(err, data) { 15 | if (err) { 16 | res.writeHead(404, {'Content-Type': 'text/html'}); 17 | return res.end('404 Not Found'); 18 | } 19 | res.writeHead(200, {'Content-Type': 'text/html'}); 20 | res.write(data); 21 | return res.end(); 22 | }); 23 | } else { 24 | // 其他路径返回 404 Not Found 25 | res.writeHead(404, {'Content-Type': 'text/html'}); 26 | return res.end('404 Not Found'); 27 | } 28 | }).listen(8000); 29 | 30 | console.log('Server running at http://127.0.0.1:8000/'); 31 | -------------------------------------------------------------------------------- /3-Junior-Year/Intelligent-Search-Engine-Technology/App/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/3-Junior-Year/Intelligent-Search-Engine-Technology/App/__init__.py -------------------------------------------------------------------------------- /3-Junior-Year/Intelligent-Search-Engine-Technology/App/admin.py: -------------------------------------------------------------------------------- 1 | from django.contrib import admin 2 | 3 | # Register your models here. 4 | -------------------------------------------------------------------------------- /3-Junior-Year/Intelligent-Search-Engine-Technology/App/apps.py: -------------------------------------------------------------------------------- 1 | from django.apps import AppConfig 2 | 3 | 4 | class AppConfig(AppConfig): 5 | default_auto_field = 'django.db.models.BigAutoField' 6 | name = 'App' 7 | -------------------------------------------------------------------------------- /3-Junior-Year/Intelligent-Search-Engine-Technology/App/migrations/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/3-Junior-Year/Intelligent-Search-Engine-Technology/App/migrations/__init__.py -------------------------------------------------------------------------------- /3-Junior-Year/Intelligent-Search-Engine-Technology/App/models.py: -------------------------------------------------------------------------------- 1 | from django.db import models 2 | 3 | # Create your models here. 4 | 5 | # class NewsItem: 6 | -------------------------------------------------------------------------------- /3-Junior-Year/Intelligent-Search-Engine-Technology/App/tests.py: -------------------------------------------------------------------------------- 1 | from django.test import TestCase 2 | 3 | # Create your tests here. 4 | -------------------------------------------------------------------------------- /3-Junior-Year/Intelligent-Search-Engine-Technology/App/views.py: -------------------------------------------------------------------------------- 1 | from django.http import HttpRequest 2 | from django.shortcuts import redirect, render 3 | 4 | from django.urls import reverse 5 | from utils.searchengine import search_by 6 | # Create your views here. 7 | 8 | 9 | def home(request: HttpRequest): 10 | if request.method == 'POST': 11 | word = request.POST.get('wd') 12 | return redirect(reverse('App:search'), kwargs={'wd': word}) 13 | else: 14 | return render(request, template_name='home.html') 15 | 16 | 17 | def search(request: HttpRequest): 18 | word = request.POST.get('wd') 19 | results = search_by('idf', word) 20 | print(results) 21 | return render(request, template_name='search.html', context={'results': results,'word':word}) 22 | 23 | 24 | def manage(requset, path): 25 | return redirect('/home/') 26 | -------------------------------------------------------------------------------- /3-Junior-Year/Intelligent-Search-Engine-Technology/README.md: -------------------------------------------------------------------------------- 1 | 已删除文档、部分配置、静态文件等。。。 -------------------------------------------------------------------------------- /3-Junior-Year/Intelligent-Search-Engine-Technology/config.ini: -------------------------------------------------------------------------------- 1 | [DEFAULT] 2 | db_path = news.db 3 | stopwords_path = txt/stopwords/baidu_stopwords.txt 4 | index_path = out/invertedindex.pkl 5 | idf_path = out/idf.txt 6 | -------------------------------------------------------------------------------- /3-Junior-Year/Intelligent-Search-Engine-Technology/gen_index.py: -------------------------------------------------------------------------------- 1 | import configparser 2 | import json 3 | import sqlite3 4 | 5 | from utils.index import InvertedIndex 6 | 7 | 8 | def gen_indx(): 9 | config = configparser.ConfigParser() 10 | config.read('config.ini', encoding='utf-8') 11 | conn = sqlite3.connect(config['DEFAULT']['db_path']) 12 | cur = conn.cursor() 13 | cur.execute('select * from news;') 14 | results = cur.fetchall() 15 | cur.close() 16 | conn.close() 17 | 18 | index = InvertedIndex() 19 | for result in results: 20 | index.puts_url(result[0], result[1]) 21 | word_dict = json.loads(result[5]) 22 | for word, [_, position_lst] in word_dict.items(): 23 | index.insert(word, result[1], position_lst) 24 | 25 | index.write_in_file(config['DEFAULT']['index_path']) 26 | 27 | 28 | if __name__ == "__main__": 29 | gen_indx() 30 | -------------------------------------------------------------------------------- /3-Junior-Year/Intelligent-Search-Engine-Technology/manage.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | """Django's command-line utility for administrative tasks.""" 3 | import os 4 | import sys 5 | 6 | 7 | def main(): 8 | """Run administrative tasks.""" 9 | os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'search_engine.settings') 10 | try: 11 | from django.core.management import execute_from_command_line 12 | except ImportError as exc: 13 | raise ImportError( 14 | "Couldn't import Django. Are you sure it's installed and " 15 | "available on your PYTHONPATH environment variable? Did you " 16 | "forget to activate a virtual environment?" 17 | ) from exc 18 | execute_from_command_line(sys.argv) 19 | 20 | 21 | if __name__ == '__main__': 22 | main() 23 | -------------------------------------------------------------------------------- /3-Junior-Year/Intelligent-Search-Engine-Technology/news_spider/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/3-Junior-Year/Intelligent-Search-Engine-Technology/news_spider/__init__.py -------------------------------------------------------------------------------- /3-Junior-Year/Intelligent-Search-Engine-Technology/news_spider/configs.py: -------------------------------------------------------------------------------- 1 | QQSPIDER_SCRAPY_NUM=50 -------------------------------------------------------------------------------- /3-Junior-Year/Intelligent-Search-Engine-Technology/news_spider/items.py: -------------------------------------------------------------------------------- 1 | # Define here the models for your scraped items 2 | # 3 | # See documentation in: 4 | # https://docs.scrapy.org/en/latest/topics/items.html 5 | 6 | import scrapy 7 | 8 | 9 | class NewsItem(scrapy.Item): 10 | # define the fields for your item here like: 11 | # name = scrapy.Field() 12 | url = scrapy.Field() 13 | title = scrapy.Field() 14 | content = scrapy.Field() 15 | datetime = scrapy.Field() 16 | words_dict=scrapy.Field() # dict[word: [num, [position1,position2... ] ]] 17 | -------------------------------------------------------------------------------- /3-Junior-Year/Intelligent-Search-Engine-Technology/news_spider/spiders/__init__.py: -------------------------------------------------------------------------------- 1 | # This package will contain the spiders of your Scrapy project 2 | # 3 | # Please refer to the documentation for information on how to create and manage 4 | # your spiders. 5 | -------------------------------------------------------------------------------- /3-Junior-Year/Intelligent-Search-Engine-Technology/requirements.txt: -------------------------------------------------------------------------------- 1 | configparser 2 | jieba 3 | sqlite3 4 | json 5 | numpy 6 | pandas 7 | scrapy 8 | django 9 | pickle 10 | math -------------------------------------------------------------------------------- /3-Junior-Year/Intelligent-Search-Engine-Technology/scrapy.cfg: -------------------------------------------------------------------------------- 1 | # Automatically created by: scrapy startproject 2 | # 3 | # For more information about the [deploy] section see: 4 | # https://scrapyd.readthedocs.io/en/latest/deploy.html 5 | 6 | [settings] 7 | default = news_spider.settings 8 | 9 | [deploy] 10 | #url = http://localhost:6800/ 11 | project = news_spider 12 | -------------------------------------------------------------------------------- /3-Junior-Year/Intelligent-Search-Engine-Technology/search_engine/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/3-Junior-Year/Intelligent-Search-Engine-Technology/search_engine/__init__.py -------------------------------------------------------------------------------- /3-Junior-Year/Intelligent-Search-Engine-Technology/search_engine/asgi.py: -------------------------------------------------------------------------------- 1 | """ 2 | ASGI config for search_engine project. 3 | 4 | It exposes the ASGI callable as a module-level variable named ``application``. 5 | 6 | For more information on this file, see 7 | https://docs.djangoproject.com/en/4.1/howto/deployment/asgi/ 8 | """ 9 | 10 | import os 11 | 12 | from django.core.asgi import get_asgi_application 13 | 14 | os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'search_engine.settings') 15 | 16 | application = get_asgi_application() 17 | -------------------------------------------------------------------------------- /3-Junior-Year/Intelligent-Search-Engine-Technology/search_engine/urls.py: -------------------------------------------------------------------------------- 1 | """search_engine URL Configuration 2 | 3 | The `urlpatterns` list routes URLs to views. For more information please see: 4 | https://docs.djangoproject.com/en/4.1/topics/http/urls/ 5 | Examples: 6 | Function views 7 | 1. Add an import: from my_app import views 8 | 2. Add a URL to urlpatterns: path('', views.home, name='home') 9 | Class-based views 10 | 1. Add an import: from other_app.views import Home 11 | 2. Add a URL to urlpatterns: path('', Home.as_view(), name='home') 12 | Including another URLconf 13 | 1. Import the include() function: from django.urls import include, path 14 | 2. Add a URL to urlpatterns: path('blog/', include('blog.urls')) 15 | """ 16 | from django.contrib import admin 17 | from django.urls import path 18 | 19 | import App.views 20 | 21 | urlpatterns = [ 22 | path('admin/', admin.site.urls), 23 | path('s/',App.views.search), 24 | path('home/',App.views.home), 25 | path('',App.views.manage) 26 | ] 27 | -------------------------------------------------------------------------------- /3-Junior-Year/Intelligent-Search-Engine-Technology/search_engine/wsgi.py: -------------------------------------------------------------------------------- 1 | """ 2 | WSGI config for search_engine project. 3 | 4 | It exposes the WSGI callable as a module-level variable named ``application``. 5 | 6 | For more information on this file, see 7 | https://docs.djangoproject.com/en/4.1/howto/deployment/wsgi/ 8 | """ 9 | 10 | import os 11 | 12 | from django.core.wsgi import get_wsgi_application 13 | 14 | os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'search_engine.settings') 15 | 16 | application = get_wsgi_application() 17 | -------------------------------------------------------------------------------- /3-Junior-Year/Intelligent-Search-Engine-Technology/start_scrapy.py: -------------------------------------------------------------------------------- 1 | from scrapy.cmdline import execute 2 | 3 | execute('scrapy crawl qqspider'.split()) -------------------------------------------------------------------------------- /3-Junior-Year/Intelligent-Search-Engine-Technology/static/search.js: -------------------------------------------------------------------------------- 1 | var searchInput=document.getElementById("search_btn") 2 | 3 | 4 | -------------------------------------------------------------------------------- /3-Junior-Year/Intelligent-Search-Engine-Technology/templates/home.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | News Search Engine 9 | 10 | 11 | 12 | 13 |
14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 |
23 | {% block search%} 24 | {% endblock %} 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /3-Junior-Year/Intelligent-Search-Engine-Technology/templates/search.html: -------------------------------------------------------------------------------- 1 | {% extends 'home.html' %} 2 | {% block search%} 3 |
4 | {% for result in results%} 5 |
6 |
7 |

{{result.1}}

8 |
9 | {{result.0}} 10 |
11 |
12 |
13 |
14 | {% endfor %} 15 |
16 | {% endblock%} -------------------------------------------------------------------------------- /3-Junior-Year/Intelligent-Search-Engine-Technology/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/3-Junior-Year/Intelligent-Search-Engine-Technology/utils/__init__.py -------------------------------------------------------------------------------- /3-Junior-Year/Intelligent-Search-Engine-Technology/utils/searchengine.py: -------------------------------------------------------------------------------- 1 | import threading 2 | from utils.idf import IDFManager 3 | 4 | 5 | def search_by(by:str,word:str,k=10): 6 | if(by=='idf'): 7 | return IDFManager().query(word,k) 8 | # elif(by=='BM25'): 9 | return None -------------------------------------------------------------------------------- /3-Junior-Year/Pratice-in-Big-Data-Technology-Application/README.md: -------------------------------------------------------------------------------- 1 | 文档、报告、依赖库、以及部分代码等杂项已去除。。。 2 | -------------------------------------------------------------------------------- /3-Junior-Year/Pratice-in-Big-Data-Technology-Application/bin/run_streamlit_app.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | cd /d "%~dp0" 3 | cd .. 4 | cd src 5 | streamlit run NLchat.py 6 | pause 7 | -------------------------------------------------------------------------------- /3-Junior-Year/Pratice-in-Big-Data-Technology-Application/resources/HEAD.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/3-Junior-Year/Pratice-in-Big-Data-Technology-Application/resources/HEAD.ico -------------------------------------------------------------------------------- /3-Junior-Year/Pratice-in-Big-Data-Technology-Application/resources/part_of_graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/3-Junior-Year/Pratice-in-Big-Data-Technology-Application/resources/part_of_graph.png -------------------------------------------------------------------------------- /3-Junior-Year/Pratice-in-Big-Data-Technology-Application/test/_trial_temp/_trial_marker: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/3-Junior-Year/Pratice-in-Big-Data-Technology-Application/test/_trial_temp/_trial_marker -------------------------------------------------------------------------------- /3-Junior-Year/Pratice-in-Big-Data-Technology-Application/test/_trial_temp/test.log: -------------------------------------------------------------------------------- 1 | 2024-07-18 10:39:48+0800 [-] Log opened. 2 | -------------------------------------------------------------------------------- /3-Junior-Year/Pratice-in-Big-Data-Technology-Application/test/mysql_test.py: -------------------------------------------------------------------------------- 1 | import mysql.connector 2 | from mysql.connector import Error 3 | 4 | try: 5 | # 尝试连接数据库 6 | connection = mysql.connector.connect( 7 | host='localhost', 8 | database='myemail', 9 | user='', 10 | password='' 11 | ) 12 | 13 | if connection.is_connected(): 14 | db_info = connection.get_server_info() 15 | print("成功连接到MySQL服务器版本 ", db_info) 16 | cursor = connection.cursor() 17 | cursor.execute("select database();") 18 | record = cursor.fetchone() 19 | print("你已连接到数据库: ", record) 20 | 21 | except Error as e: 22 | print("连接错误:", e) 23 | 24 | finally: 25 | if connection.is_connected(): 26 | cursor.close() 27 | connection.close() 28 | print("MySQL连接已关闭") 29 | -------------------------------------------------------------------------------- /3-Junior-Year/Pratice-in-Big-Data-Technology-Application/test/neo4j_test.py: -------------------------------------------------------------------------------- 1 | from neo4j import GraphDatabase 2 | 3 | uri = "bolt://localhost:7687" 4 | username = "neo4j" 5 | password = "" 6 | 7 | driver = GraphDatabase.driver(uri, auth=(username, password)) 8 | 9 | 10 | def add_email_interaction(sender, recipient): 11 | with driver.session() as session: 12 | session.run(""" 13 | CREATE (a:Person {email: $sender_email}) 14 | CREATE (b:Person {email: $recipient_email}) 15 | CREATE (a)-[:SENT_EMAIL_TO]->(b) 16 | """, {'sender_email': sender, 'recipient_email': recipient}) 17 | 18 | 19 | add_email_interaction('alice@example.com', 'bob@example.com') 20 | 21 | driver.close() 22 | -------------------------------------------------------------------------------- /3-Junior-Year/Pratice-in-Big-Data-Technology-Application/test/openai_test.py: -------------------------------------------------------------------------------- 1 | import openai 2 | 3 | # 设置OpenAI API密钥 4 | openai.api_key = 'sk-' 5 | 6 | 7 | 8 | 9 | def test_openai_connection(): 10 | try: 11 | response = openai.ChatCompletion.create( 12 | model="gpt-3.5-turbo", 13 | messages=[ 14 | {"role": "system", "content": "You are a helpful assistant."}, 15 | {"role": "user", "content": "Hello, how are you?"} 16 | ] 17 | ) 18 | print("Response from OpenAI:", response['choices'][0]['message']['content']) 19 | except openai.error.OpenAIError as e: 20 | print("Failed to connect to OpenAI:", e) 21 | if "quota" in str(e).lower(): 22 | print("You have exceeded your current quota. Please check your plan and billing details.") 23 | else: 24 | print("An error occurred:", e) 25 | 26 | if __name__ == "__main__": 27 | test_openai_connection() 28 | -------------------------------------------------------------------------------- /3-Junior-Year/Pratice-in-Big-Data-Technology-Application/test/qwen_test2.py: -------------------------------------------------------------------------------- 1 | import openai 2 | 3 | # 设置 API 密钥和基本 URL 4 | client = openai.OpenAI( 5 | api_key="sk", 6 | base_url="https://dashscope.aliyuncs.com/compatible-mode/v1" 7 | ) 8 | 9 | # 使用特定模型进行聊天完成请求 10 | response = client.chat.completions.create( 11 | messages=[ 12 | { 13 | "role": "user", 14 | "content": "你是谁?" 15 | } 16 | ], 17 | model="qwen-turbo" 18 | ) 19 | 20 | # 打印响应结果 21 | print(response) 22 | 23 | """ 24 | ChatCompletion(id='chatcmpl-378af854-0054-9a3d-a489-31d483f07bc7', choices=[Choice(finish_reason='stop', index=0, logprobs=None, message=ChatCompletionMessage(content='我是通义千问,由阿里云开发的AI助手。我被设计用来回答各种问题、提供信息和与用户进行对话。有什么我可以帮助你的吗?', role='assistant', function_call=None, tool_calls=None))], created=1721298604, model='qwen-turbo', object='chat.completion', service_tier=None, system_fingerprint=None, usage=CompletionUsage(completion_tokens=36, prompt_tokens=11, total_tokens=47)) 25 | """ -------------------------------------------------------------------------------- /3-Junior-Year/Pratice-in-Big-Data-Technology-Application/test/re_test.py: -------------------------------------------------------------------------------- 1 | import re 2 | from datetime import datetime 3 | 4 | # 样例日期时间字符串 5 | date_str = "Thu, 29 Mar 2001 03:00:00 -0800 (PST" 6 | 7 | # 正则表达式 8 | date_pattern = r'\d{1,2} \w{3} \d{4} \d{2}:\d{2}:\d{2}' 9 | 10 | # 使用正则表达式匹配 11 | match = re.search(date_pattern, date_str) 12 | if match: 13 | print("匹配的日期时间字符串:", match.group()) 14 | # 尝试将匹配的字符串转换为 datetime 对象 15 | parsed_date = datetime.strptime(match.group(), '%d %b %Y %H:%M:%S') 16 | print("转换后的 datetime 对象:", parsed_date) 17 | else: 18 | print("没有找到匹配项") 19 | -------------------------------------------------------------------------------- /3-Junior-Year/Pratice-in-Big-Data-Technology-Application/任务入口.lnk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openFirrre/CSU-CS_DS-Assignments/587888d3cbc34b30c045e961236d44aa18b9866f/3-Junior-Year/Pratice-in-Big-Data-Technology-Application/任务入口.lnk --------------------------------------------------------------------------------