A. Answer the call to determine its importance.
B. Ignore the call and return the call from a land line.
C. Answer the call and leave the location in order to talk.
D. Silence the phone and allow the call to go to voice mail.
第1题:
()father took part in the charity activity in the neighborhood yesterday?
Peter's.
A. Whose
B. What
C. Which
第2题:
The prisoner was ________________ of hiscivil liberty for three years.
A) discharged B) derived
C) deprived D) dispatched
选择B选项
这个囚犯被剥夺了公民自由权长达三年时间。
discharged开除,偿还债务
derived来自,得到
deprived剥夺(与Of连用)
dispatched处死
本句翻译:囚犯被剥夺了三年的公民自由权。
第3题:
在生产者/消费者问题中,用s表示互斥信号量,e表示空缓冲区资源信号量,n表示满缓冲区资源信号量,下列生产者和消费者的操作(生产者和消费者可并发执行),可能产生死锁的是()。
A.生产者:wait(s); wait(e); append(); signal(n); signal(s);消费者: wait(s); wait(n); take(); signal(e); signal(s);
B.生产者:wait(s); wait(e); append(); signal(n); signal(s);消费者: wait(n); wait(s); take(); signal(s); signal(e);
C.生产者:wait(e); wait(s); append(); signal(s); signal(n);消费者: wait(s); wait(n); take(); signal(e); signal(s);
D.生产者:wait(e); wait(s); append(); signal(s); signal(n);消费者: wait(n); wait(s); take(); signal(s); signa
第4题:
Review the definition of the phone_list view.CHEATE OR REPLACE ALGORITHM=MERGE DEFINER= ‘root‘@localhost‘ SQL SECURITY DEFINER VIEW ‘phone_list‘ AS SELECTe . id as id ‘e . first_name AS ‘first_name‘ ‘e . last_name AS ‘last_name‘ ‘coalesce ( ph1.phone_no, ‘ – ‘) AS ‘office_no‘ ‘coalesce (ph2 .phone_no, ‘ – ‘) AS ‘cell_no‘ FROM employees e LEFT JOIN employee_phone ph1 ON ph1.emp_id = e.id AND ph1.type = ‘office‘ LEFT JOIN employee_phone ph2 ON ph2 .emp_id = e.id AND ph2 .type = ‘mobile‘The tables employees and employee_phone are InnoDB tables;all columns are used in this view. The contents of the phone_list view are as follows: Mysql> select * from phone_list; 1 row in set (0.00 sec)Which method can you use to change the cell_no value to ‘555-8888‘ for John Doe?()
A.INSERT INTO employee_phone (emp_id, phone_no, type) VALUES (1, ‘555-8888‘,‘mobile‘)
B.UPDATE phone_list SET cell_name ‘555-8888‘ WHERE first_name= ‘John‘ and last_name= ‘Doe‘
C.DELETE FROM phone_list WHERE first_name= ‘John‘ and last_name= ‘Doe‘; INSERT INTO phone_list (first_name, last_name, office_no, cell_no) VALUES (‘John‘ , ‘Doe‘ , ‘x1234‘ , ‘555-8888)
D.UPDATE employee_phone SET phone_no= ‘555-8888‘ where emp_id=1
第5题:
A.4Cell,4-6小时
B.6Cell,6-8小时
C.3Cell,4-6小时
D.8Cell,6-8小时
第6题:
与while(*s++ = *t++ );等价的程序段是
A.do { *s = *t++; } while (*s++ );
B.while (*t ) *s++ = *t++;
C.do { *s++ = *t++; } while (*t );
D.while (*s ) *s++ = *t++;