刷题
导入试题
【单选题】
(专基_Js)已知文本框节点为ipt,设置文本框内容为"hello world"的语法为( )。___
A. : ipt.innerHTML = "hello world"
B. : ipt.value = "hello world"
C. : ipt.inner = "hello world"
D. : ipt.val = "hello world"
查看试卷,进入试卷练习
微信扫一扫,开始刷题
答案
B
解析
暂无解析
相关试题
【单选题】
(专基_Js)JS由几部分组成( )。___
A. : 1
B. : 2
C. : 3
D. : 4
【单选题】
<input type="button" id="btn" value="登录">document.getElementById("btn").onclick=say();function say(){alert("hello")}对以上代码的描述`正确的是( )___
A. : 点击“登录”按钮时弹出hello
B. : 无需点击“登录”按钮,直接弹出hello
C. : 鼠标滑过“登录”按钮时弹出hello
D. : 点击“登录”按钮时程序报错,say是undefined
【单选题】
(网站)以下哪些指的是文档对象模型?___
A. : ECMscirpt
B. : BOM
C. :
D. OM
【单选题】
(专基js)以下设置元素dom样式`正确是___
A. : dom.style.font-size = "20px"
B. : dom.background = "red"
C. : dom.style.fontSize = "20"
D. : dom.style.fontSize = "20px"
【单选题】
(专基_Js)以下是鼠标按下事件为( )。___
A. : mouseover
B. : mousemove
C. : mousedown
D. : mouseup
【单选题】
(专基_Js)当页面完全加载后在 window 上面触发的事件是以下哪一个( )。___
A. : load
B. : unload
C. : focus
D. : blur
【单选题】
(专基_Js)以下是键盘按下任意键时触发的为( )。___
A. : keydown
B. : keyup
C. : keypress
D. : keymove
【单选题】
(专基js)页面加载触发的事件是( ):___
A. : onresize
B. : onscroll
C. : onload
D. : onclick
【单选题】
(专基js)<span id="title">welcome to <em>beijing</em></span>,console.log(document.getElementById("title").innerHTML)的打印结果是?___
A. : welcome to <em>beijing</em>
B. : welcome to beijing
C. : <em>beijing</em>
D. : welcome to
【单选题】
以上代码执行完毕弹出的结果为___
A. : 10
B. : 50
C. : 20
D. : 以上都不对
【单选题】
以上代码执行完毕弹出的结果为( )。___
A. : 10
B. : 20
C. : 40
D. : 50
【单选题】
(专基_Js)定义超时调用的方法是( )。___
A. : setInterval()
B. : setTimeout()
C. : clearInterval()
D. : cleaTimeout()
【单选题】
(网站工程)window.( )是用来弹出一个确认对话框的?___
A. : open()
B. : alert()
C. : confirm()
D. : prompt()
【单选题】
(专基js)location对象中,返回加载页面完整的URL的属性为___
A. : search
B. : href
C. : hash
D. : 以上都不对
【单选题】
(专基_Js)数组方法中unshift()方法的返回结果是( )类型的值。___
A. : 字符串
B. : 对象
C. : 布尔值
D. : 数值
【单选题】
(专基_Js)以下哪个正则表达式修饰符表示忽略大小写( )。___
A. : i
B. : g
C. : n
D. : m
【单选题】
以下哪个方法是用来清除超时调用的?___
A. : setInterval()
B. : clearInterval()
C. : setTimeout()
D. : clearTimeout()
【单选题】
console.log( reg.test( str ) );打印结果为___
A. : true
B. : false
C. : null
D. : 以上都不对
【单选题】
console.log(typeof(aa));var aa=1;的结果是?___
A. : undefined
B. : number
C. : string
D. : 报错
【单选题】
(专基_Js)Math.( )用于取n的m次幂( )。___
A. : pow
B. : floor
C. : round
D. : random
【单选题】
(专基_Js)location对象的( )属性是用来跳转页面的( )。___
A. : href
B. : search
C. : hash
D. : src
【单选题】
console.log(a === b);___
A. : false true
B. : false false
C. : true true
D. : true false
【单选题】
若将时间类型数据直接转换为时间戳可用的方法是():___
A. : valueOf()
B. : toLocaleString()
C. : setSeconds()
D. : toString()
【单选题】
如果初始化变量时没用var声明则该变量会被添加到(),函数可以使用:___
A. : 全局环境
B. : 函数内
C. : 临近环境
D. : 局部环境
【单选题】
执行以上代码的结果是( )。___
A. : 弹出10
B. : 弹出undefined
C. : 程序报错
D. : 以上都不对
【单选题】
(网站工程)假设box是获取到的dom对象,以下没有语法错误的语句是?___
A. : box.width = "30px"
B. : box.style.background-image = "img/bg.jpg"
C. : box.style.color = #00f
D. : box.style.marginLeft = "5px"
【单选题】
(专基_Js)以下哪个方法是字符串位置方法的为( )。___
A. : substr()
B. : toLowerCase()
C. : toUpperCase()
D. : indexOf
【单选题】
()方法返回一个字符串,该字符串中的所有字母都被转换为大写字母:___
A. : toLowerCase
B. : ?toLocaleUpperCase
C. : toLocaleLowerCase
D. : toUpperCase
【单选题】
}以上代码的打印结果是:___
A. : 1,2,3
B. : ?1,2,4,5,7,8,10
C. : 以上都不对
D. : 1,2
【多选题】
(专基_Js)变量的命名规范有( )。___
A. : 只能以字母下划线或$符开头
B. : 变量名不区分大小写
C. : 不能以数字你开头
D. : 可以使用关键字保留字命名
【多选题】
(专基_Js)NaN是不属于下列哪个类型()?:___
A. : 字符串
B. : 数值
C. : 布尔
D. : 对象
【多选题】
(专基_Js)已知变量v,以下检测其数据类型用法`正确的有( )___
A. : typeof v
B. : typeof(v)
C. : typeof[v]
D. : typeof{v}
【多选题】
(专基_Js)以下对NaN的理解`正确的有( )___
A. : NaN 是一种特殊的数值
B. : NaN不等于任何一个数,包括它本身
C. : NaN表示非数值
D. : 任何涉及与NaN的操作都返回NaN
【多选题】
(专基_Js)JS标识符命名规则中,以下哪些可以做为标识符第一个字符( )。___
A. : _(下划线)
B. : $(美元符号)
C. : 字母
D. : 数字
【多选题】
javascript由什么部分组成?___
A. : 函数
B. : BOM
C. : ECMAScript
D. : DOM
【多选题】
(专基_Js)以下结果返回false的有()?___
A. : flase==0
B. : 0==""
C. : false=="false"
D. : ""=="0"
【多选题】
(专基_Js)以下变量的赋值,写法`正确的是( )___
A. : password=123mypwd
B. : var email,name="marry"
C. : phone="13333333908"
D. : code="my123"
【多选题】
(专基_Js)以下是相等操作符的有( )。___
A. : ==
B. : ===
C. : !=
D. : !==
【多选题】
(专基_Js)以下是关系操作符的有( )。___
A. : >
B. : >=
C. : <=
D. : <
【多选题】
(专基_Js)以下哪些运算符属于赋值运算符( )___
A. : %=
B. : *=
C. : /=
D. : 以上都不对
推荐试题
【单选题】
- Don't forget to come to my party this evening!___
A. I can't.
B. I won't.
C. I don't.
D. I will.
【单选题】
- Jim, please don't put your head out of the window on the bus. It's dangerous!___
A. Good idea.
B. Sorry, I won't do it again.
C. It doesn't matter.
D. It's good.
【单选题】
-How about going fishing?___, I have no patience for that.
A. Excuse me
B. Sorry
C. Pardon
D. Apologize
【单选题】
- Thanks for the lovely and delicious food______.
A. No thanks
B. Never mind
C. All right
D. My pleasure
【单选题】
- Haven't seen you for ages. Let's have a get-together next week._____
A. Great idea.
B. Welcome!
C. Yes, of course.
D. No, thanks.
【单选题】
- Do you mind if I switch off the radio? ______. Go ahead.
A. Never mind
B. No way
C. No, not at all
D. No, you'd better not
【单选题】
- Could I use your bike for a moment? ___
A. It's well.
B. It doesn't matter.
C. By all means.
D. I have no idea.
【单选题】
-How do you like the story?_______.
A. I'd like to read it
B. I like it very much
C. fine, thank you
D. It's very interesting
【单选题】
- I'll sorry to trouble you.______.
A. Don't say so
B. OK
C. It doesn't matter
D. That's fight
【单选题】
- We ordered 20 boxes of your products, but we have only got 19. - ____
A. You do not have to.
B. It does not matter.
C. We will send another tomorrow.
D. Nothing serious.
【单选题】
--Will you please give the note to him? _________.
A. Certainly, I'll give it to him
B. No, please not
C. Sorry, I don't
D. Yes, please do
【单选题】
- Thank you ever so much for your lovely gift____
A. Never mind
B. I'm glad you like it.
C. Please don't say so.
D. No, It's not so good.
【单选题】
- I'd like to invite you to dinner this Saturday, Mr. Smith.____
A. Oh, no. let's not.
B. I'd rather stay at home.
C. I'm sorry, but I have other plans.
D. Oh, no. That'll be too much trouble.
【单选题】
- Could you please open the window?____
A. I can't.
B. Go ahead.
C. Sure.
D. It's really very kind.
【单选题】
- Do you think I can borrow your bike for a few hours?____
A. I'm afraid you can.
B. I'm sorry, but I really need it this afternoon.
C. Yes, I don't think so.
D. I'll think about it later.
【单选题】
- Thank you very much for the dictionary you sent me.____
A. No thanks.
B. I'm glad you like it.
C. Please don't say so.
D. No, it's not so good.
【单选题】
- How do you like the movie we saw yesterday?____
A. You are welcome.
B. How about you?
C. I've never seen a better movie than it.
D. It is very expensive.
【单选题】
- What do you think of your new teacher____
A. He came to teach us last week.
B. He teaches us English.
C. He has two children.
D. He is very nice.
【单选题】
- Are you going to have a holiday?____
A. Not until next week.
B. Three weeks ago.
C. To Beijing.
D. I'm pleased to hear that.
【单选题】
- You seem to be lost. Need help? ____
A. Yes, would you please help me with the bag?
B. Help me find my key, please.
C. Yes, with pleasure.
D. I'm looking for Zhongshan Road.
【单选题】
- Can you help me clear up the mess____
A. Yes, it doesn't matter.
B. No, that's OK.
C. Yes, help yourself.
D. No problem.
【单选题】
- Does No.20 bus stop at our school?____
A. I go to school by bus.
B. I'm afraid not.
C. You are welcome.
D. I'll not take No.20 bus.
【单选题】
- Can I help you? ____
A. Sorry, I don't need your help.
B. What help can you give us?
C. I'd like to try on these shoes, please.
D. Thanks. You are welcome.
【单选题】
- Sorry to have kept you waiting. ____
A. That's OK.
B. What are you doing?
C. What's wrong with you?
D. Where have you been?
【单选题】
- What is she?____
A. She is a typist.
B. She is talking to her friend.
C. She is having a holiday.
D. She is my sister.
【单选题】
- That's a beautiful cat. I wonder who it belongs to.____
A. It belongs to the
B. rowns. B.The cat is my favourite too.
C. Mind your own business.
D. I can't say anything more.
【单选题】
- Excuse me, could you tell me the time____
A. You'd better buy a watch.
B. It's three thirty by my watch.
C. Can you see the clock?
D. It's late I think.
【单选题】
- What do you think of the movie we saw last night?____
A. The actress is bad.
B. Terrific!
C. The theatre is bad.
D. Nobody was there.
【单选题】
___ No, thanks. I'm just looking around. I'll let you know if I want anything.
A. Could you help me?
B. What will you buy?
C. Can I help you?
D. Do you like to look around?
【单选题】
- Hello, Peter. What do you do?____
A. I am fine.
B. I am not sick.
C. I am a student from Bonn University.
D. I came from Bonn University.
【单选题】
-Excuse me; can I have a seat here?___
A. Be hurry.
B. Come on.
C. Yes, please.
D. Do you mind?
【单选题】
- Shall we sit up here on the grass or down there near the water?___
A. I'd rather stay here if you don't mind.
B. Sorry, I don't like neither.
C. Certainly, why not?
D. Yes, we like these two places.
【单选题】
- What do you do on Sunday?___
A. I 'm a teacher.
B. I play football.
C. You are a student.
D. They clean rooms.
【单选题】
- Our class won the girls' relay race in our school's sports meeting.___
A. That's right.
B. Thanks a lot.
C. Congratulations!
D. It's a pleasure.
【单选题】
- Hi, is Mary there, please?___
A. Hold on. I'll get her.
B. No, she isn't here.
C. Yes, she lives here.
D. Yes, what do you want?
【单选题】
- I am afraid I can't return the book to you before Friday. ___
A. Don't be afraid
B. Be careful
C. Not at all
D. Take your time
【单选题】
- I really don't know how to thank you enough. ___.
A. No problem
B. Think nothing of it
C. Not at all
D. It doesn't matter
【单选题】
- Must I be home before seven? ___.
A. No, you needn't
B. No, you mustn't
C. Yes, you will
D. No, you won't
【单选题】
-I'm sorry to hear that you failed in the exam______.
A. Not at all
B. Oh, thank you.That's very kind of you
C. You are welcome
D. Yes, I'm really sorry
【单选题】
-I will,______.
A. that's all right
B. thank you
C. all right
D. not at all
欢迎使用我爱刷题
×
微信搜索我爱刷题小程序
温馨提示
×
请在电脑上登陆“www.woaishuati.com”使用