易安信 2021 技术类面试题 小编:管理员 154阅读 2021.09.29 第1题: 在C++中,变量用时声明是为什么
第2题:
命名空间的作用
第3题:
protected成员函数能被怎么调用
第4题:
int, char, short, long的字节数
第5题:
int a[10][10];
int *b[10];
以下哪个正确
a[3][4] = 91;
b[3][4] = 91;
a[1] =NULL;
b[1] = a[2];
第6题:
1210, 1210, 1210, 3>>1, 3>1的结果
第7题:
x86_64系统下
struct
{
int i;
char c;
double d;
};
union
{
int i;
char c;
double d;
};
char s[100];
long c;
sizeof的值
第8题:
An employee has one or two managers, and one manager manages one or more employees. In database conceptual design, the relationship between entity sets employee and manager is
A one to one
B one to many
C many to one
D many to many
E none of the above
第9题:
There are two relations R1(A, B, C) and R2(B, D, E). Which of following techniques CANNOT be used to improve the performance of the natural join of the two relations?
A make use of multiple parallel processes on a multi-core machine to implement the join algorithm
B increase the CPU L2 cache hit ratio of the join algorithm implementation
C partition the relations to different machines by using join attributes and execute the join on many machines in parallel
D when the number of tuples in R2 is large and the number of tuples in R1 is small, build and index on R1 and use index join method
E none of the above
第10题:
Which of the following statements about checkpoints(with log-based recovery schemes) in databases are/is NOT correct?
A checkpoints are used to decrease the time used for failure recovery
B checkpoints are done periodically in database to assure ACID properties of transactions
C periodic checkpoints decreased the number of log entries that need to be redone during recovery
D during checkpointing, updated disk blocks are written to disk
E none of the above
第11题:
There is a huge relation R(A,B,C) of size M and A is the primary key. The tuples in R are sorted by using A and no index is built for R. Each disk block size of b, and each block read takes N seconds. To find a tuple in R with A =17954 the estimated optimized cost is
A M*N/b
B N*log(M/b)
C M*N/(2b)
D (M+N)/b
E log(M*N)/b
第12题:
Which of the following descriptions of reader/writer locks are/is wrong?
A caller cannot upgrade its read lock(already obtained) to write lock
B caller can downgrade its write lock(already obtained) to read lock
C caller can get read lock if there is no write lock held by others
D multiple callers can hold a read lock at the same time
E only one caller can hold a write lock at a time
第13题:
两页的内存,四页的文件,读取顺序为1 2 1 3 1 2 4 2 1 3 1 2 4 2 1 2 3 4 3 1,FIFO,问cache hit ratio为多少
第14题:
which one is not above IP
DNS, SNMP, HTTP, ARP, NTP
第15题:
#include <iostream>
using namespace
void main()
{
cout << “hello world” << endl;
}
修改程序,不能修改主程序,使其输出为
initiate
hello world
destroy
第16题:
spinlock与mutex
1. explain
2. write the struct definition of spinlock and mutex
3. write the release function of mutex
4. implement the reader/writer locks
物业管理员笔试判断题20例 小编:啊南 849阅读 2020.02.11
1.( )车辆入库后,车内贵重物品丢失由物业管理公司负责。
2.( )物业管理区域内业主的自行车、摩托车,在管理处办理了登记手续领取停车牌后,才可以在管理区域内随意停放。
3。( )在住宅区内道路上教练学开机动车辆时,必须要限速行驶。
4.( )对于大气污染制造者应承担相应的责任,包括治理责任、损害补偿责任和法律责任等。
5.( )住宅小区生活饮用水的二次供水及其卫生管理由市政管理部门负责。
6.( )对直接从事二次供水设施清洗消毒的工作人员,必须每年体检一次,取得劳动行政管理部门统一发放的健康合格证方可上岗。
7.( )水体污染就是人类的活动使大量污染物质直接或间接地排入水体,使水体的物理、化学或生物群落发生变化,从而降低了水体的使用价值。
8.( )污水三级处理是将污水中的悬浮性固体通过物理方法初步净化水质。
9.( )固体废弃物是指生产、生活和其他活动中产生的,在一定时间和地点不再需要而丢弃的固态、半固态或泥态物质。
10.( )噪声污染是指人类活动排放的环境噪声超过国家规定的分贝标准,妨碍人们工作、学习、生活和其他正常活动的现象。
11.( )噪声污染产生的途径有车辆交通噪声、建筑施工噪声、社会生活噪声
12.( )物业管理公司保洁部的仓库保管员负责清洁工具及用品的购买和收发工作。
13.( )城市环境卫生管理部门受住宅小区物业管理企业的委托,对区域内产生的垃圾实行有偿清运工作。
14.( )物业管理公司负责所管物业区域内所有部位的卫生保洁工作。
15.( )在物业管理区域内,街道、企事业单位及居民对环境清洁卫生也有其责任范围。
16.( )依据目前国家建设部对物业管理企业的资质等级划分,三级物业管理企业应具有中级以上职称的管理人员和工程技术人员不少于8人。
17.( )业主大会选举产生业主委员会正、副主任。
18.( )业主公约并不需要每个业主都同意。
19.( )物业管理公司日常服务的房屋小修项目主要是通过走访查房收集和住户报修收集。
20.( )保安员有保护案发现场的责任,但无现场勘察的权力。