举一反三
- 下列语句,哪个不能创建一个集合? A: set( ) B: (1, 2, 3) C: set((1, 2, 3)) D: {1, 2, 3}
- 接上题,(2)应该填写( )。 A: (rst_n==1'b0) B: (set) C: (set==1'b0) D: (!set)
- Map对于map和filter方法使用正确的是() A: Map本身没有map和filter方法 B: constmap0=newMap().set(1,’a’).set(2,’b’).set(3,’c’);constmap1=newMap([...map0].filter(([k,v])=>k<3));//产生Map结构{1=>’a’,2=>’b’} C: newMap().set(1,’a’).set(2,’b’).set(3,’c’)..filter(([k,v])=>k<3)//产生Map结构{1=>’a’,2=>’b’} D: constmap2=newMap([...map0].map(([k,v])=>[k*2,’_’+v]));//产生Map结构{2=>’_a’,4=>’_b’,6=>’_c’}
- declare @x int,@y int,@t int set @x=1 set @y=2 begin set @t=@x set @x=@y set @y=@t end print @x
- 表达式set([1, 1, 2, 3])的值为____________________。
内容
- 0
以下关于es6中set数据结构,运行结果正确的是() A: letset=newSet([1,2,2,2,3]);//Set(2){1,2,3} B: letarr1=[1,2,3,4]letarr2=[2,3,4,5]letset=newSet([...arr1,...arr2]);//Set{1,2,3,4,5} C: letset1=newSet()set1.add(1)set1.add(2)console.log(set1)//{1,2,3} D: varset1=newSet();set1.add(1)set1.add(2)set1.delete(1)console.log(set1)//{2}
- 1
已知x = [1, 2, 3],那么表达式not (set(x*100)-set(x))的值为________________。
- 2
If the CIF price of a product is USD100/set, freight charge USD10/set, insurance premium USD 10/set, commission rate 2%, the commission payment based on CIF price should be ( ) A: USD1.60/set B: USD1.63/set C: USD2.00/set D: USD2.04/set
- 3
表达式 set([1,2, 2,3]) == {1, 2, 3} 的值为 ____________ 。
- 4
The central knob of digital multimeter has several positions. To measure DC/AC voltage,set the multimeter to 1 . To measure rcsistance, set the multimeter to 2 . Tomeasure small current, set the multimeter to 3 . To measure large current, set the multi-meter to 4 :