-
作业3
第二次数据采集与融合作业 Gitee 仓库地址:https://gitee.com/gandeshilaji/data-collecting-homework (仓库中 作业2/1/、作业2/2/、作业2/3/ 分别对应本次三个作业) 一、作业①:网站图片的单线程与多线程爬取 1.1 作业代码与运行 -
实验三
实验三 实验任务1 task1.c源代码及运行截图 点击查看代码 #include <stdio.h> char score_to_grade(int score); int main() { int score; char grade; while(scanf("%d", &score) != E -
实验3
任务一 源代码 点击查看源代码 button.hpp #pragma once #include <iostream> #include <string> class Button { public: Button(const std::string &label); const std::stri -
试验3
~~ 实验1 源代码 回答1 功能:把百分制分数转换成等级字符(90100→A,8089→B,7079→C,6069→D,其他→E)。 形参:int score;返回值:char。 回答2 双引号写错:"A" 是字符串(地址),不能用 char 变量存;应写成字符 'A'。 缺少 break:cas -
作业二
数据采集与融合技术作业:网络爬虫三则(天气 / 股票 / 大学排名) Gitee 仓库地址:https://gitee.com/gandeshilaji/data-collecting-homework 一、作业①:中国气象网 7 日天气预报爬取 1. 任务要求 爬取中国气象网(http://www -
数据采集与融合第三次作业
第三次作业:气象网图片、东方财富股票与中国银行外汇 一、作业一:中国气象网图片爬虫 1.1 代码与运行结果 目标站点是 http://www.weather.com.cn/,从首页和新闻频道两个种子页出发,只跟随 weather.com.cn 的子域。程序同时提供单线程和多线程两种模式,两个上限写在 -
数据采集与融合第二次作业
数据采集与融合技术 · 第二次作业 本次作业一共三个小题目:中国气象网天气、东方财富股票行情、软科中国大学排名。 运行环境:Python 3.12、requests、beautifulsoup4、lxml、sqlite3。数据库文件直接放在各自作业目录里,重新运行脚本会先清空旧表再写入,保证每次跑出 -
实验2
#实验二 ##任务一 ###代码 #pragma once #include <string> class T{ public: T(int x=0,int y=0); T(const T &t); T(T &&t); ~T(); void adjust(int ratio); static int -
OOP 实验2_类和对象_基础编程1
类和对象_基础编程1 任务1 源代码 t.h #pragma once #include <string> class T{ public: T(int x = 0, int y = 0); // 普通构造函数 T(const T &t); // 复制构造函数 T(T &&t); // 移动构造函数 -
实验2
任务1 源代码t.h 点击查看代码 #pragma once #include <string> class T { public: T(int x = 0, int y = 0); // 普通构造函数 T(const T &t); // 复制构造函数 T(T &&t); // 移动构造函数 ~T( -
第三次作业:网站图片采集与 Scrapy 数据入库
姓名:张佩琪 学号:102402102 实验时间:2026 年 11 月 仓库地址:https://gitee.com/novavespera/python-crawler-assignments/tree/master/作业3 一、作业①:中国天气网图片的单线程与多线程采集 1. 作业代码、实现过 -
实验2_实验报告
实验2:类和对象_基础编程1 四、实验结论 1. 实验任务1 源代码 t.h #pragma once #include <string> class T { public: T(int x = 0, int y = 0); T(const T &t); T(T &&t); ~T(); void a -
实验2 类和对象
任务一 一、源代码 //t.h #pragma once #include <string> class T { public: T(int x = 0, int y = 0); T(const T &t); T(T &&t); ~T(); void adjust(int ratio); stati -
第二次作业:从页面到接口的三次数据采集
课程:数据采集与融合技术 姓名 / 学号:张佩琪 / 102402102 运行环境:Python 3.14、requests、BeautifulSoup4、SQLite Gitee 仓库:https://gitee.com/novavespera/python-crawler-assignments -
数据采集第三次作业
作业1 代码及结果 import requests from bs4 import BeautifulSoup import os import time import threading import re from urllib.parse import urljoin STUDENT_ID = -
实验2
实验任务一: t.h : 点击查看代码 #pragma once #include <string> class T { public: T(int x = 0, int y = 0); // 普通构造函数 T(const T &t); // 复制构造函数 T(T &&t); // 移动构造函数 ~ -
实验二
实验任务1 代码 t.h #pragma once #include <string> class T { public: T(int x = 0, int y = 0); // 普通构造函数 T(const T &t); // 复制构造函数 T(T &&t); // 移动构造函数 ~T(); // -
数据采集第三次作业
学号:102580126 姓名:黄喆珺 课程:数据采集与融合技术 运行环境:Windows 10/11、Python 3.14.0、Scrapy 2.13.4、requests 2.34、BeautifulSoup 4、lxml、PyMySQL、MySQL 8.0.45、Chrome 156(截图与 -
数据采集第二次作业
这次线上作业要完成三个定向采集任务:中国气象网 4 个城市的 7 日天气预报、沪深 A 股行情、软科 2021 中国大学排名全量数据,三者都要求把结果落到数据库里。三个脚本互相独立,各用一个 SQLite 文件存放,运行环境为 Python 3.14 + requests 2.34 + Beauti -
实验三
实验1: 1 #include <stdio.h> 2 3 char score_to_grade(int score); // 函数声明 4 5 int main() { 6 int score; 7 char grade; 8 9 while(scanf("%d", &score) != EOF