多选题下面哪个子句对EMAN DUPLICATE命令无效?
多选题对于一个CHAR类型的列,以下哪个是它的默认长度?
多选题Given that Integer.parselnt0 throws NumberFormatException, and given:
3. public class Ladder {
4. public static void main(String[] args) {
5. try {
6. System.out.println(doStuff(args));
7. }
8. catch (Exception e) {System.out.println("exc");
9. doStuff(args);
10. }
11. static int doStuff(String[] args) {
12. return Integer.parseInt(args[0]);
13. } }
And, ifthecodecompiles, given the invocation:
java Ladder x
What is the result? (Choose all that apply.)
多选题以下是将PIG数据库中系统表空间的数据文件重新命名的步骤列表,这些步骤是以随机方式排列的。 (1)关闭数据库。 (2)将系统表空间置为联机。 (3)执行ALTER TABLESPACE RENAME DATAFILE命令。 (4)使用操作系统命令移动或复制它的数据文件。 (5)将系统表空间置为脱机。 (6)打开数据库。 (7)执行ALTER DATABASE RENAME DATAFILE命令。 (8)加载数据库(Mount the database)。 请问修改系统表空间的数据文件名字所需步骤的正确顺序是什么? A.1、4、8、7、6;第2、3和5步是不需要的 B.5、7、2;第1、3、4、6和8步是不需要的 C.1、4、8、3、6;第2、5和7步是不需要的 D.1、5、7、2、6;第3、4和8步是不需要的
多选题要显示CAT数据库所定义的MAXDAFILE参数的值,请问可能需要查询以下哪个数据字典? A.V$DATABASE B.V$DATAFILE C.V$CONTROLFILE D.V$CONTROLFILE_RECORD_SECTION
多选题Given two files:
1. package com;
2. public class MyClass {
3. public static void howdy() {System.out.print("howdy "); }
4. public static final int myConstant = 343;
5. public static final MyClass mc = new MyClass();
6. public int instVar = 42;
7. }
11. import com. MyClass;
12. public class TestImports2 {
13. public static void main(String[] args) {
14. MyClass.howdy();
15. System.out.print(MyClass.myConstant + " ");
16. System.out.print(myConstant + " ");
17. howdy();
18. System.out.print(mc.instVar + " ");
19. System.out.print(instVar + " ");
20. } }
What is the result? (Choose all that apply.)
多选题以下是CLASSES和SCHEDULE表的结构(所包含的列及列的定义):
CLASSES
---------
ID NUMBER(9)
CLASS_NAME VARCHAR2(20)
TEACHER_ID NUMBER(9)
SCHEDULE
------------
CLASS_TIME DATE
CLASS_ID NUMBER(9)
如需要创建一个视图,而这个视图将显示每节课的上课时间(class time)、课程名(class name)并按教师id (teacher id)的顺序排序。使用了如下的语句,请问这一语句将提供哪一个结果?
CREATE VIEW class_schedule
AS
SELECT c.class_name, s.class_time
FROM classes c, schedule s
WHERE c.id=s.class_id;
多选题Given:
2. import java.util.*;
3. public class Olives {
4. public static void main(String[] args) {
5. Set<Integer> s = new TreeSet<Integer>();
6. s.add(23); s.add(42); s.add(new Integer(5));
7. Iterator i = s.iterator();
8. // while(System.out.print(i.next())) { }
9. // for(Integer i2: i) System.out.print(i2);
10. // for(Integer i3: s) System.out.print(i3);
11. // while(i.hasNext()) System.out.print(i.get());
12. // while(i.hasNext()) System.out.print(i.next());
13. } }
If lines 8-12 are uncommented, independently, which are true? (Choose all that apply.)
多选题以下哪种类型的段将数据存放在了一个基于某一键值的索引中? A.大对象段 B.嵌套表 C.分区表 D.索引表(index-organized table)
多选题以下哪个查询语句将返回一个数字值?
多选题下面的哪条命令不备份当前的控制文件?
多选题以下是BOYDOG数据库文件的配置信息: Disk 1 Disk 2 Disk 3 Disk 4 Disk 5 System01.dbf Temp01.dbf User01.dbf Control.ctl Control.ctl Log01a.rdo Log01b.rdo Log01c.rdo Archived logs01 Archived logs02 Log02a.rdo Log02b.rdo Log02c.rdo Parameter file Parameter file 请问,在以下有关BOYDOG数据库文件配置的陈述中,哪一个是正确的? A.BOYDOG数据库可能出现LGWR和DBWn的竞争 B.BOYDOG数据库可能出现LGWR和ARCn的竞争 C.BOCYDOG数据库是不安全的,因为它无法防止单一介质失败 D.如果一个重做日志组的一个成员无法获得,BOYDOG数据库的一个实例将关闭
多选题以下哪个运算将返回一个数字值? A.'03-FEB-1999'+28 B.'06-DEC-1998'-20 C.'06-JUL-1987'+(360/24) D.TO_DATE('03-JAN-1999')-TO_DATE('03-DEC-1997')
多选题把COMPATIBLE初始化参数设置为12.0.0,运行Oracle Database 12c。把数据库的表空间传输到另一个平台上的最小兼容性级别是什么?
多选题磁盘上的一个备份丢失,运行CROSSCHECK命令后,为此备份添加了EXPIRED标记。后来,在另一块磁盘上发现了该备份文件,于是将其移动到原来的位置。再次运行CROSSCHECK命令。此备份将处于什么状态?
多选题Given the proper import statement(s) and given:
4. Map<String, String> h = new Hashtable<String, String>();
5. String[] k = {"1", "2", "3", null};
6. String[] v = {"a", "b", null, "d"};
7.
8. for(int i=0; i<4; i++) {
9. h.put(k[i], v[i]);
10. System.out.print(h. get (k [i]) + " ");
11. }
12. System.out.print(h.size() + " " + h.values() + "/n");
What result is most likely?
多选题Which are capabilities of Java"s assertion mechanism? (Choose all that apply.)
多选题Given:
2. class Wheel {
3. Wheel(int s) {size = s; }
4. int size;
5. void spin() {System.out.print(size + "inch wheel spinning, "); }
6. }
7. public class Bicycle {
8. public static void main(String[] args) {
9. Wheel[] wa = {new Wheel(15), new Wheel(17)};
10. for(Wheel w: wa)
11. w.spin();
12. } }
Which are true? (Choose all that apply.)
多选题如果数据库只有两组重做日志并且当前组——GROUP 2崩溃了,应该采取以下哪项措施? A.删除第2组(Drop Group 2)并添加一个新组 B.删除所有的重做日志组并发ALTER DATABASEADD LOGFILE语句 C.使用ALTER DATABASE CLEAR LOGFILE语句重新初始化第2组中的重做日志文件 D.使用ALTER DATABASE CLEAR LOGFILE语句清除第2组并添加一个新组
多选题Given:
1. import java.util.*;
2. public class Piles {
3. public static void main (String[] args) {
4. TreeMap<String, String> tm = new TreeMap<String, String>();
5. TreeSet<String> ts = new TreeSet<String>();
6. String[] k = {"1", "b", "4", "3"};
7. String[] v = {"a", "d", "3", "b"};
8. for(int i=0; i<4; i++) {
9. tm.put (k[i], v[i]);
10. ts.add(v[i]);
11. }
12. System.out.print(tm.values() + " ");
13. Iterator it2 = ts.iterator();
14. while(it2.hasNext()) System.out.print(it2.next() + "-");
15. } }
Which of the following could be a part of the output? (Choose two.)
A. [a, b, 3, d]
B. [d, a, b, 3]
C. [3, a, b, d]
D. [a, b, d, 3]
E. [1, 3, 4,b]
F. [b, 1,3,4]
G. 3-a-b-d-
H. a-b-d-3-
I. a-d-3-b-
