多选题Given:
2. public class Skip {
3. public static void main(String[] args) throws Exception {
4. Thread t1 = new Thread(new Jump());
5. Thread t2 = new Thread(new Jump());
6. t1.start(); t2.start();
7. t1.join(500);
8. new Jump() .run();
9. } }
10. class Jump implements Runnable {
11. public void run() {
12. for(int i = 0; i < 5; i++) {
13. try {Thread.sleep(200); }
14. catch (Exception e) {System.out.print("e "); }
15. System.out.print(Thread.currentThread() .getId() + "-" + i+ " ");
16. } } }
What is the result?
多选题以下的哪一个表应该创建一个位图索引? A.LINN_ITEM表的大小有10GB,而且这个表分布在许多个不同的表空间中 B.SHIPPING表包括了数千记录,而且它由一个联机事务处理系统访问,并且更新操作非常频繁 C.TRANS_DETAIL表包含了900多万行数据,索引关键字的列为“high cardinality”,而且表的更新操作非常频繁 D.Employee表包含了1000多万行数据,索引关键字的列为“low cardinality”,而且从这个表中抽取数据的查询绝大多数使用了带有多个OR操作符的组合WHERE子句
多选题一个追踪文件中存储了什么? A.数据块崩溃的错误 B.有关后台进程的信息 C.最近的全备份的日期和时间 D.在实例启动时所使用的非默认的初始化参数
多选题以下哪个SQL命令将删除视图PARTS_VU? A.DROP parts_vu; B.DELETE parts_vu; C.DROP VIEW parts_vu; D.DELETE VIEW parts_vu;
多选题你丢失了所有联机控制文件。请为以下任务指定正确顺序:
(1)从备份还原控制文件,或运行CREATE CONTROLFILE。
(2)启动数据库恢复,然后指定关键字BACKUP CONTROLFILE。
(3)以MOUNT模式启动数据库。
(4)使用RESETLOGS打开数据库。
(5)关闭数据库。
多选题Given the proper imports, and given:
23. String s = "123 888888 x 345 -45";
24. Scanner sc = new Scanner(s);
25. while(sc.hasNext())
26. if(sc.hasNextShort())
27. System.out.print(sc.nextShort() + " ");
What is the result?
多选题以下哪个文件中存储了数据库创建时的时间戳? A.数据文件 B.控制文件 C.重做日志文件 D.参数文件
多选题运行以下RMAN命令:
RMAN>configure controlfile autobackup on;
RMAN会在哪些条件下备份控制文件和SPFILE?
多选题Given:
3. class Stereo {void makeNoise() {assert true; } }
4. public class BoomBox2 extends Stereo {
5. public static void main(String[] args) {
6. new BoomBox2() .go(args);
7. }
8. void go(String[] args) {
9. if(args.length > 0) makeNoise();
10. if(args[0] .equals("x")) System.out.print("x ");
11. if(args[0] == "x") System.out.println("x2 ");
12. } }
And (if the code compiles), the invocation:
java -ea Boombox2 x
What is the result?
多选题Given the proper import statement(s) and:
4. Console c = System. console();
5. char[] pw;
6. if(c == null) return;
7. pw = c.readPassword("%s", "pw: ");
8. System.out.println(c.readLine("%s", "input: "));
Which statements are true? (Choose all that apply.)
多选题Given:
3. import java.util.*;
4. public class VLA2 implements Comparator<VLA2> {
5. int dishSize;
6. public static void main(String[] args) {
7. VLA2[] va={new VLA2(40), new VLA2(200), new VLA2(60) };
8.
9. Arrays.sort(va, va[0]);
10. int index=Arrays.binarySearch(va, new VLA2(40), va[0]);
11. System.out.print(index +" ");
12. index=Arrays.binarySearch(va, new VLA2(80), va[0]);
13. System.out.print(index);
14. }
15. public int compare(VLA2 a, VLA2 b) {
16. return b.dishSize - a.dishSize;
17. }
18. VLA2(int d) {dishSize=d; }
19. }
What is the result?
多选题发出如下的ALTER TABLE语句: ALTER TABLE DOGS SET UNUSED COLUMN GENDER; 请问在以下有关DOGS表中的GENDER列的陈述中,哪3个是正确的? A.可以向GENDER列中插入值 B.GENDER列已经被永久地从表中删除掉了 C.随后,可以将GENDER列删除掉 D.如果使用SELECT语句查询DOGS表,并在查询列表(select list)中使用星号(*),GENDER列将不会显示 E.如果执行SQL*Plus DESCRTBE命令来查看DOGS表的结构,GENDER列将不会显示
多选题Given that Calendar.MONTH starts with January = = 0, and given:
3. import java.util.*;
4. public class Wise {
5. public static void main(String[] args) {
6. Calendar c = Calendar.getInstance();
7. c.set(1999,11,25);
8. c.roll(Calendar.MONTH, 3);
9. c.add(Calendar.DATE, 10);
10. System.out.println(c.getTime());
11. } }
And, if the program compiles, what date is represented in the output?
多选题下面关于用RMAN创建的副本数据库的说法,哪个是正确的?
多选题可以使用哪些方法来恢复已经丢失或受损的口令文件?
多选题评估这个命令:ACCEPT v_price CHAR PROMPT 'Price amount',它将完成以下哪个任务? A.它将显示变量的名和变量的值 B.它将提示用户输入价格(price)并将其存为一个数字型变量 C.它将创建一个CHAR类型的用户变量并为其赋值 D.它将以Price amount为提示信息提示用户输入并将其存为一个CHAR类型的变量
多选题Given this code in a method:
4. int x = 0;
5. int[] primes = {1,2,3,5};
6. for(int i: primes)
7. switch (i) {
8. case 1: x += i;
9. case 5: x += i;
10. default: x += i;
11. case 2: x += i;
12. }
13. System.out.println (x);
What is the result?
多选题在以下的段中,哪一个段在一个实例开启数据库时帮助初始化数据字典(该段被称为高速缓存段)? A.大对象段 B.嵌套表 C.自举段(bootstrap segment) D.临时段
多选题下列哪个不是系统容器或用户容器的有效状态(OPEN MODE)?
多选题在一个新的数据库中,如果要限制一个用户的并行会话(同时连接)数,需要使用以下哪3个步骤? A.使用SESSIONS_PER_USER参数创建一个角色 B.使用ALTER USER语句将角色赋予用户 C.使用SESSIONS_PER_USER参数创建一个概要文件 D.使用ALTER SYSTEM语句强制开启资源限制 E.使用ALTER ROLE语句将概要文件赋予一个角色 F.使用ALTER USER语句将概要文件赋予用户
