COMPSCI 351 Model Solutions
TEST 1 - Model SolutionsSECOND SEMESTER 2020/2021COMPUTER SCIENCEFundamentals of Database SystemsTime Allowed: FORTY FIVE (45) minutesNOTE:– The test is closed book.– No calculators are permitted.– Attempt ALL questions in this test.– A maximum of 30 marks is available in this test.1
2021-06-11
CS105/CS360/SE360 Artificial Intelligence
CS105/CS360/SE360[Fundamentals of]Artificial IntelligenceGroup project for An optimal samples selection SystemIt is known that the amount of data generated has been increasing tremendously in the last few years due to theease of accessing to the internet, cheap or inexpensive mass storage devices...
2024-04-17
webpack最小化lodash
lodash作为一个比较常用的前端开发工具集,在使用webpack进行vendor分离的实践中,会遇到将整个lodash文件分离到vendor.js的问题。这样会使vendor.js文件变得特别大。
oracle下常用查询更新命令(身份证号判断男女,更新语句多表查询)
2.根据身份证号判断男女decode(mod(to_number(substr('身份证号', 17, 1)), 2), 0, '2', '1')a.先截取身份证的倒数第二位数字b.被2整除c.如果余数是0,则为2-女d.如果余数是不为0,则为1-男
2017-02-04
maxcompute 2.0复杂数据类型之array
含义 类似于Java中的array。有序、可重复。 场景 什么样的数据,适合使用array类型来存储呢?这里列举了几个我在开发中实际用到的场景。 2.1 标签类的数据为什么说标签类数据适合使用array类型呢?(1)标签一般是一个只有key、没有value的结构;(2)标签的数量(枚举值个数)会非常多;(3)标签的变化会比较频繁;(4...
2019-03-08
COMP333 public websites
Redistributing this file (including partially) to CourseHero or other public websites is strictly prohibited.COMP3334 - ProjectSection 1: OverviewOnline storage is a popular application in our daily life. With online storage, a user can upload its files to a server and access them when the user w...
2025-03-07
DTS204TC Data Visualisation
XJTLU Entrepreneur College (Taicang) Cover SheetModule code and Title DTS204TC Data VisualisationSchool Title School of AI and Advanced ComputingAssignment Title CourseworkSubmission DeadlineFinal Word Count N/AIf you agree to let the university use your work anonymously for teachingand learning ...
2024-05-17
CS 5500
Implement (that is, code in C++/Java/Python and execute) the following use cases from thelibrary case study discussed in class (refer to the notes from Stevens and Pooley, e.g., Fig 7.2):
2022-08-07
Notes about Vue Style Guide
The definition of prop should be as detailed as possible (at least specified its type)
2018-05-14
Docker入门(三) - 搭建mysql
搭建mysql 1.下载mysql镜像 {代码...} 2.部署mysql {代码...} 3.查看容器进程 {代码...} 4.进入mysql容器 {代码...}
2017-04-22
(全栈须知)4.百万级SQL语句优化(二) 之参考官方二条件
-- Using filesort 使用了分页缓存:分页查询-避免不必要的键排序搜索a. FORCE INDEX (index_for_column)强制索引;b. mysqld的max-seeks-for-key或使用SET max_seeks_for_key=1000告诉优化器:假定任何按键扫描导致1000个以上的键搜索c. 尽量使用范围查询替代-- ALL 使用了无索引的全表扫描 -- Using temporary使用了临...
2019-08-31
玩转GaussDB中的SET操作符
关系数据库中提供了一个关于集合的运算符SET操作符,其中包括以下操作: ●UNION/UNIONALL并集 ●INTERSECT交集 ●MINUS差集
2023-03-18
MySQL json
This function was renamed to JSON_ARRAY_APPEND() in MySQL 5.7.9; the alias JSON_APPEND() is now deprecated in MySQL 5.7, and is removed in MySQL 8.0
2020-12-16
3s->30ms!MySQL 生产环境 GROUP BY 优化实践
MySQL 生产环境 GROUP BY 优化实践执行时间:3s->30ms!案例介绍首先,我们看一个生产环境上 GROUP BY 语句 的优化案例。SQL 优化前:执行时间 3s {代码...} SQL 优化后:执行时间 30ms! {代码...} 注意:id 和 reporttime 字段值具有相关性的情况才可以这样修改。两条 SQL 的 GROUP BY 使用了同一个索引,但是效率...
2024-07-08
优先级队列的实现
You might find the following online resource useful while tackling this assignment:
2020-01-31
使用papi库优化程序
Instrument the function "func" of program prof.c to gather the node profile, the edge profile and the path profile of the function. Treat the "for" loops in the function "func" as nodes, i.e., you don't need to go in the for loops to generate paths. The "func" function has a number of arguments. ...
2020-03-30
编写自定义cmake配置文件FindXXX.cmake或者xxx-config.cmake
本文首发于个人博客[链接],欢迎阅读! cmake with user defined entry Guide FindXXX.cmake in CMAKE_MODULE_PATH xxx-config.cmake in CMAKE_PREFIX_PATH cmake default package FindXXX.cmake use find_package to find default package with name XXX and cmake file C:\Program Files\CMake\share\cmake-3.10\Module...
2019-11-12