The experiment shows all the following EXCEPT that .
A.the cell phone drivers get less than half of the visual information
B.the cell phone drivers are, twice as likely to hit the front cars
C the cell phone driver’S response to sudden dangers is slower
D.the 110 drivers were reluctant to take part in the experiment
第1题:
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
第2题:
A.错误
B.正确
第3题:
以下那一个选项是查询数据方法:
A.User.objects.filter(username='wangwu').get(pk=1)
B.User.objects.filter(id=user_id).update(password='9999')
C.User.objects.all().delete()
D.User.objects.get(pk=user_id).delete()
第4题:
【C6】
A.punishes
B.defeats
C.tells
D.shows
第5题:
在完整的异常语句中,子句出现的顺序正确的是_______。
A.try—>except—>else—>finally
B.try—>else—>except—>finally
C.try—>except—>finally—>else
D.try—>except—>except—>finally
第6题:
Python处理异常的方式包括:
A.try……except
B.try……except……
C.try……except……except……else
D.try……except……else……finally