多选题哪些表空间包含必须在数据库脱机时恢复的重要数据文件?
多选题Given that "it, IT" and "pt" are valid Locale codes, and given:
41. Date d = new Date();
42. DateFormat df;
43. Locale[] la = {new Locale ("it", "IT"), new Locale("pt") };
44. for(Locale i: la) {
45. df = DateFormat.getDateInstance(DateFormat. FULL, i);
46. System.out.println(d.format (df));
47. }
Which are true? (Choose all that apply.)
多选题如果要显示库存超过100的所有产品(product)的产品标识号(id_number),并且想以这样的方式来显示:首先以制造商(manufacturer)的字母顺序,之后按产品号由小到大的顺序,应该使用如下的哪个语句来完成这一工作?注意所有的数据也都存放在INVENTORY表中。A.SELECTid_numberFROMinventoryWHEREquantity>100ORDERBYmanufacturer_id,id_number;B.SELECTid_numberFROMinventoryWHEREquantity=>100SORTBYmanufacturer_id,id_number;C.SELECTid_numberFROMinventoryWHEREquantity>100ORDERBYmanufacturer_id,id_numberDESC;D.SELECTid_numberFROMinventoryWHEREquantity>100SORTBYmanufacturer_id,id_number;
多选题Your virtual-world simulator is designed such that Grobnets can have several Ooflas, and Yazells support the contract implied by Whompers. Grobnets are a type of Yazell, and can also act as Floordums or Whompers. Which of the following code fragments legally represent this design? (Choose all that apply.)
多选题Given:
2. class Horse {
3. String hands = "15";
4. }
5. class GaitedPony extends Horse {
6. static String hands = "14";
7. public static void main(String[] args) {
8. String hands = "13.2";
9. String result = new GaitedPony().getSize(hands);
10. System.out.println(" " + result);
11. }
12. String getSize(String s) {
13. System.out.print("hands: " + s);
14. return hands;
15. } }
What is the result?
多选题在以下有关系统全局区(SGA)的陈述中,哪一个是正确的? A.SGA不是Oracle服务器体系结构的一部分 B.当服务器进程启动时分配SGA C.SGA是一个Oracle数据库物理结构的一部分 D.当一个实例启动时,在一个Oracle数据库的环境中创建SGA
多选题目标数据库的网络服务名是DW,恢复目录数据库的网络服务名是RCAT。环境变量ORACLE_SID的值是RCAT。下面的哪组命令可以成功地创建恢复目录?
多选题可以在以下的哪两个语句中使用ENABLE子句?
多选题数据库中的初始化参数设置如下:
BACKUP_TAPE_IO_SLAVES=TRUE
LARGE_POOL_SIZE=50M
JAVA_POOL_SIZE=75M
PGA_AGGREGATE_TARGET=20M
下面关于RAIAN在何处为磁带备份分配内存缓冲区的说法,哪个是正确的?
多选题Given:
2. public class Organic<E> {
3. void react(E e) { }
4. static void main(String[] args) {
5. // Organic<? extends Organic> compound = new Aliphatic<Organic>();
6. // Organic<? super Aliphatic> compound = new Aliphatic<Organic>();
7. compound.react(new Organic());
8. compound.react(new Aliphatic());
9. compound.react(new Hexane());
10. }}
11. class Aliphatic<F> extends Organic<F> { }
12. class Hexane<G> extends Aliphatic<G> { }
Which, taken independently, are true? (Choose all that apply.)
多选题Given
2. class Horse {
3. static String s = "";
4. void beBrisk() {s += "trot "; }
5. }
6. public class Andi extends Horse {
7. void beBrisk() { s += "tolt "; }
8. public static void main(String[] args) {
9. Horse x0 = new Horse();
10. Horse x1 = new Andi(); x1.beBrisk();
11. Andi x2 = (Andi)x1; x2.beBrisk();
12. Andi x3 = (Andi)x0; x3.beBrisk();
13. System.out.println(s);
14. } }
What is the result?
多选题在如下有关区段的陈述中,哪一个是正确的? A.区段是一个连续的数据库块的集合 B.区段只在一个段被删除(dropped)时释放区段 C.更改一个段的存储参数适用于当前和将来的区段 D.当段被创建时,它们从数据库的空闲区段中来分配磁盘空间
多选题初始化参数LOG_ARCHIVE_START=TRUE表示什么? A.重做日志组的个数 B.自动归档功能开启 C.归档日志文件的目的地(存放的目录) D.数据库存在非归档模式
多选题部门(DEPARTMENT)表的结构如下: DEPT_ID NUMBER(9) DEPT_NAME VARCHAR2(20) REGION_ID NUMBER(9) 其中,REGION_ID列上有一个指向REGION表的外键约束,假如试着使用如下的语句来修改DEPARTMENT表: UPDATE department SET dep_id=6546, region_id=9705 WHERE dept_id=8940; 结果给出了如下的错误信息: ORA-02291: integrity constraint (SYS_C23) violated-parent key not found 以下哪个陈述是造成这一错误的原因? A.值6546已经在REGION表中存在 B.值6546已经在DEPARTMENT表中存在 C.值9705在REGION表中并不存在 D.值8940在DEPARTMENT表中并不存在
多选题Cat使用带有WITH ADMIN OPTION子句的DCL语句将DROP ANYTABLE系统权限授予了Fox,而Fox又将这一权限授予了Dog。如果Cat的权限被收回,除了Cat以外哪些用户将丧失他们的权限? A.只有Dog B.只有Fox C.Fox和Dog D.没有其他用户丧失权限
多选题Given:
2. class Jog implements Runnable {
3. public void run() {
4. for(int i = 0; i < 8; i++) {
5. try {Thread.sleep(200); }
6. catch (Exception e) {System.out.print("exc "); }
7. System.out.print (i + " ");
8. } } }
9. public class Marathon {
10. public static void main(String[] args) throws Exception {
11. Jog j1 = new Jog();
12. Thread t1 = new Thread(j1);
13. t1.start();
14. t1.sleep(500);
15. System.out.print("pre ");
16. t1. interrupt();
17. t1.sleep(500);
18. System.out.print("post ");
19. } }
Assuming that sleep() sleeps for about the amount of time specified in its argument, and that all other code runs almost instantly, which output is likely? (Choose all that apply.)
多选题以下哪个是一个合法的表名?
多选题在以下的陈述中,哪一个特性与表空间相关? A.总是具有读写状态 B.只由一个操作系统文件组成 C.只有在数据库关闭期间才可以将其置为联机 D.可以由多个数据文件组成,每一个文件可以放在不同的磁盘上
多选题Given that:
Exception is the superclass of IOException and
IOException is the superclass of FileNotFoundException
and
2. import java.io.*;
3. class Author {
4. protected void write() throws IOException { }
5. }
6. public class Salinger extends Author {
7. private void write(int x) { }
8. protected void write (long x) throws FileNotFoundException { }
9. protected void write (boolean x) throws Exception { }
10. protected int write(short x) {return 7; }
11. public void write() { }
12. }
What is the result? (Choose all that apply.)
多选题Given:
2. interface Plant {
3. int greenness = 7;
4. void grow();
5. }
6. class Grass implements Plant {
7. // static int greenness = 5;
8. // int greenness = 5;
9. public static void main(String[] args)
10. int greenness = 2;
11. new Grass().grow();
12. }
13. public void grow() {
14. System.out.println(++greenness);
15. } }
Which are true? (Choose all that apply.)
