UI Technologies Practice Test – 3 Posted by Editor Date 2022-09-28 Comments 0 comment Welcome to your UI Technologies Practice Test - 3 Which tag(s) can handle mouse events in Netscape? a) b) c) d)None of the above Find the output of below for loop in Javascript for(var i=0;i<5;i++) { document.write(i++); } a)01234 b)012345 c)135 d)024 To enable data tainting, the end user sets the _________ environment variable. a)ENABLE_TAINT b)MS_ENABLE_TAINT c)NS_ENABLE_TAINT d)ENABLE_TAINT_NS How ++ works in Javascript? Find output of below Javascript code. var a = 10; document.write(a++); document.write(a); a)1111 b)1110 c)1010 d)1011 ____________ is the tainted property of a window object. a)Pathname b)Protocol c)Defaultstatus d)Host What if we put ++ operator inside if condition? find the output of below code var a = 10; if(a == a++) document.write(a); a)Error b)Nothing is printed c)10 d)11 What is the output of following Javascript? var a = 'cpp'; var b = 'buzz'; var c = a/b; document.write(c); a)cppbuzz b)cpp/buzz c)NaN d)None of the above The _______ method of an Array object adds and/or removes elements from an array. a)Reverse b)Shift c)Slice d)Splice To set up the window to capture all Click events, we use which of the following statement? a)window.captureEvents(Event.CLICK); b)window.handleEvents (Event.CLICK); c)window.routeEvents(Event.CLICK ); d)window.raiseEvents(Event.CLICK ); Find output of below code var a = '10'; var b = a = 20; document.write(a+b); a)Error in script b)‘10’20 c)1020 d)40 Time is Up! Time's up Share: Editor Previous post Java Practice Test - 3 2022-09-28 Next post Java Practice Test - 4 2022-09-28 You may also like Oracle Tutorial Videos 8 April, 2023 Spring Tutorial Videos 8 April, 2023 Ui Technologies Tutorial Videos 1 April, 2023