A、it
B、they
C、them
D、their
第1题:
A、due
B、owing
C、thanks
D、because
第2题:
在Need矩阵中,need(i,j)=a表示()。
A.进程i最多需要j类资源a个
B.进程i最多还需要j类资源a个
C.进程j最多还需要i类资源a个
D.进程j最多需要i类资源a个
第3题:
下面的代码用于输出字符数组ch中每个字符出现的次数,应该填入的代码是()public static void main(String[] args) { char[] ch = { 'a', 'c', 'a', 'b', 'c', 'b' }; HashMap map = new HashMap(); for (int i = 0; i < ch.length; i++) { < 填入代码 > } System.out.println(map); }
A.if (map.contains(ch[i])) { map.put(ch[i], map.get(ch[i]) + 1); } else { map.put(ch[i], 1); }
B.if (map.contains(ch[i])) { map.put(ch[i], (Integer) map.get(ch[i]) + 1); } else { map.put(ch[i], 1); }
C.if (map.containsKey(ch[i])) { map.put(ch[i], (int) map.get(ch[i]) + 1); } else { map.put(ch[i], 1); }
D.if (map.containsKey(ch[i])) { map.put(ch[i], (Integer) map.get(ch[i]) + 1); } else { map.put(ch[i], 1); }
第4题:
A、wish
B、hope
C、want
D、need
第5题:
2、在Need矩阵中,need(i,j)=a表示()。
A.进程i最多需要j类资源a个
B.进程i最多还需要j类资源a个
C.进程j最多还需要i类资源a个
D.进程j最多需要i类资源a个
第6题:
2、用because和because of填空。 Please be brief ____________________ I'm in a hurry.