Home / MCQ Bank / Computer
Computer Document Object Model And Event Handling Difficulty: Medium

Which of the following keys are set to true when the keyboard modifier keys are held down?

Select the correct option to test your answer:

More Computer Questions

Consider the following dynamic programming implementation of the minimum jumps problem: #include<stdio.h> #include<limits.h> int min_jump(int *arr, int len) { int j, idx, jumps[len]; jumps[len - 1] = 0; for(idx = len - 2; idx >= 0; idx--) { int tmp_min = INT_MAX; for(j = 1; j <= arr[idx] && idx + j < len; j++) { if(jumps[idx + j] + 1 < tmp_min) tmp_min = jumps[idx + j] + 1; } jumps[idx] = tmp_min; } return jumps[0]; } int main() { int arr[] ={1, 1, 1, 1, 1, 1, 1, 1, 1},len = 9; int ans = min_jump(arr,len); printf("%d\n",ans); return 0; } Which of the following "for" loops can be used instead of the inner for loop so that the output doesn't change? What is the purpose of the Pig Latin AVG() function? How many types of container classes are there in c++? What is the output of the following code: with open('data.txt', 'a') as file: file.write('Appended line.') with open('data.txt', 'r') as file: content = file.read() print(content) Which of the following transition-timing-function property specifies a transition effect with a slow start, then fast, then end slowly