from sklearn.impute import SimpleImputer imp = SimpleImputer(strategy=’constant’, fill_value=0) imp.fit_transform([[1, 2], [np.nan, 3]]) What is the output of this code? Data ScienceMedium Try Now
What is the result of applying a log transformation to a right-skewed numerical feature? Data ScienceMedium Try Now
Which technique is most effective for handling categorical variables with high cardinality to prevent dimensionality explosion? Data ScienceMedium Try Now
What is the primary effect of applying Standard Scaler to a dataset containing significant outliers? Data ScienceMedium Try Now
Which imputation strategy is most appropriate for a numerical feature that exhibits a highly skewed distribution? Data ScienceMedium Try Now
What is the precise behavior of the browser’s event loop when a microtask queue contains pending tasks after a macrotask completes? Web DevelopmentHard Try Now
Which mechanism allows a web application to restrict which origins can access its resources? Web DevelopmentMedium Try Now
What is the output of the following code snippet? console.log(typeof null); console.log(typeof undefined); Web DevelopmentMedium Try Now
Which CSS display property value removes an element from the document flow entirely? Web DevelopmentMedium Try Now
What is the primary purpose of the ‘defer’ attribute when loading an external JavaScript file? Web DevelopmentMedium Try Now
What is the primary effect of setting ‘content-visibility: auto’ on a complex DOM subtree? Web DevelopmentHard Try Now
Which mechanism does the browser use to handle ‘SameSite=Lax’ cookies during cross-site top-level navigations? Web DevelopmentHard Try Now
What is the result of the following code snippet? const obj = { x: 10 }; Object.defineProperty(obj, ‘x’, { writable: false, configurable: false }); Object.freeze(obj); obj.x = 20; console.log(obj.x); Web DevelopmentHard Try Now
Which statement accurately describes the behavior of the ‘IntersectionObserver’ API regarding element visibility? Web DevelopmentHard Try Now
What is the precise behavior of the Event Loop when a Promise microtask is queued during the execution of a synchronous task? Web DevelopmentHard Try Now