题目详情
当前位置:首页 > 职业培训考试
题目详情:
发布时间:2024-01-19 22:24:14

[单项选择]在JavaScript中,可以使用var today = new Date( );这样的方法获得系统当前时间,假设系统时间是2007-7-2 星期一,则today.getDay( ) 的返回值是()。
A. 1
B. 0
C. 7
D. 星期一

更多"在JavaScript中,可以使用var today = new Da"的相关试题:

[单项选择] var a = new Array(new Array(9,0,3,6,5), new Array(2,9,0,6)); 则a[0][3]=()
A. 3
B. 6
C. 5
D. 0
[单项选择] Given: 12.Date date = new Date(); 13.df.setLocale(Locale.ITALY); 14.String s = df.format(date); The variable df is an object of type DateFormat that has been initialized in line 11. What is the result if this code is run on December 14, 2000?()
A. The value of s is 14-dic-2000.
B. The value of s is Dec 14, 2000.
C. An exception is thrown at runtime.
D. Compilation fails because of an error in line 13.
[单项选择] 12. Date date = new Date();  13. df.setLocale(Locale.ITALY);  14. String s = df.format(date);  The variable df is an object of type DateFormat that has been initialized in line 11. What is the result if this code is run on December 14, 2000?() 
A.  The value of s is 14-dic-2004.
B.  The value of s is Dec 14, 2000.
C.  An exception is thrown at runtime.
D.  Compilation fails because of an error in line 13.
[单项选择] var arr = new Array(new Array(9,0,3,4,5) , ['a' , 'b' , 'c'] , new Array(2,9,0,6)); 则arr[1][3]=()
A. c
B. 6
C. 4
D. undefined
[单项选择]在Javascript中,可以使用Date对象的()方法返回一个月中的每一天。
A. getDate
B. getYear
C. getMonth
D. getTime
[单项选择]在JavaScript中var name = new Array(12)是表示()。
A. 创建了一个名称为name、定义字符长度为12
B. 创建了一个名称为name、定义字节长度为12
C. 创建了一个名称为name、有12元素的数组
D. 以上三者都不是
[单项选择] 16. Date d = new Date(0L);  17. String ds = “December 15, 2004”;  18. // insert code here  What updates d‟s value with the date represented by ds?()
A.  18. d = df.parse(ds);
B.  18. d = df.getDate(ds);
C.  18. try {     19. d = df.parse(ds);      20. } catch(ParseException e) { };
D.  18. try {      19. d = df.getDate(ds);       20. } catch(ParseException e) { };
[单项选择] 33. Date d = new Date(0);  34. String ds = “December 15, 2004”;  35. // insert code here  36. try {  37. d = df.parse(ds);  38. }  39. catch(ParseException e) {  40. System.out.println(”Unable to parse “+ ds);  41. }  42. // insert code here too  Which will create the appropriate DateFormat object and add a day to the Date object?() 
A.  35. DateFormat df= DateFormat.getDateFormat(); 42. d.setTime( (60 * 60 * 24) +d.getTime());
B.  35. DateFormat df= DateFormat.getDateJnstance(); 42. d.setTime( (1000 * 60 * 60 * 24) + d.getTime());
C.  35. DateFormat df= DateFormat.getDateFormat(); 42. d.setLocalTime( (1000*60*60*24) + d.getLocalTime());
D.  35. DateFormat df= DateFormat.getDateJnstance(); 42. d.setLocalTime( (60 * 60 * 24) + d.getLocalTime());
[判断题]The new launch date is very tight.‘Tight’ here means not leaving enough time.
[单项选择] 预测以下代码片段的输出结果:() var student = new Object( ); student.study = function( ) {window.alert(“开始学习了”); } study( );
A. 输出“开始学习了”
B. 程序出错。不能在实例化对象之后,再添加方法
C. 程序出错。study()方法不能直接调用。应该用student来调用
D. 程序出错。给student.study赋值时,右边的函数必须有名字
[单项选择] 考察以下程序片段: var n = new Number(3456); alert(n.toFixed(2)); 以下选项正确的是:()
A. 输出 34
B. 输出 56
C. 输出 3456.00
D. 输出 345600
[单项选择]1996年的市场风险修正案第一次批准银行可以使用自己的模型,就是风险价值模型(VaR),该模型对市场风险给出了怎样的定义?()
A. 给定时间内和一定概率下市场风险导致的最大损失
B. 给定时间内市场风险导致的最大损失
C. 给定时间内市场风险导致的最小损失
D. 一定概率下市场风险导致的最小损失
[单项选择]不能使用VAR模型的是()。
A. 即期暴露法
B. 综合法
C. 操作风险
D. 市场风险
[单项选择]在使用VaR模型计量相应的风险,下面哪个选项所对应的VaR模型置信度最高?()
A. 经济资本计量模型
B. 高级计量法中的OpVaR
C. 内部模型法中的VaR
D. 高级内部评级法中的信用VaR体系
[单项选择]在汇编语言程序设计中可使用LEA BX VAR和MOV BX,OFFSET VAR这两条指令取得变量VAR的偏移地址,试问这两条指令的执行速度( )比较快。
A. LEA BX,VAR指令快
B. MOV BX,OFFSET VAR指令快
C. 两条指令的执行速度相同
D. 由变量VAR的类型决定这两条指令的执行速度
[单项选择] 有如下代码: var arr = new Array(9); arr[0]=1; arr[2]=2; 该数组的length属性值为()
A. 2
B. 10
C. 8
D. 9
[名词解释]VAR模型
[单项选择]一个银行使用99%的置信度来计算VaR。在250个交易日中该银行预计会有多少天损失超过VaR值?()
A. 0to1
B. 1to2
C. 2to3
D. 5to6

我来回答:

购买搜题卡查看答案
[会员特权] 开通VIP, 查看 全部题目答案
[会员特权] 享免全部广告特权
推荐91天
¥36.8
¥80元
31天
¥20.8
¥40元
365天
¥88.8
¥188元
请选择支付方式
  • 微信支付
  • 支付宝支付
点击支付即表示同意并接受了《购买须知》
立即支付 系统将自动为您注册账号
请使用微信扫码支付

订单号:

请不要关闭本页面,支付完成后请点击【支付完成】按钮
恭喜您,购买搜题卡成功
重要提示:请拍照或截图保存账号密码!
我要搜题网官网:https://www.woyaosouti.com
我已记住账号密码