Home / MCQ Bank / Computer
Computer Advance Html Difficulty: Medium

'W'h'i'c'h' 'o'f' 't'h'e' 'f'o'l'l'o'w'i'n'g' 'e'v'e'n't' 'w'i'l'l' 'b'e' 'c'a'l'l'e'd' 'w'h'e'n' 'u's'e'r'''s' 'm'o'u's'e' 'e'x'i't's' 'm'a'p' 'c'o'n't'a'i'n'e'r'?'

Select the correct option to test your answer:

More Computer Questions

What will be the output of the following Python code? >>> a={'B':5,'A':9,'C':7} >>> sorted(a) What is the value stored in arr[2][3] when the following code is executed? #include<stdio.h> #include<string.h> int max_num(int a, int b) { if(a > b) return a; return b; } int lcs(char *str1, char *str2) { int i,j,len1,len2; len1 = strlen(str1); len2 = strlen(str2); int arr[len1 + 1][len2 + 1]; for(i = 0; i <= len1; i++) arr[i][0] = 0; for(i = 0; i <= len2; i++) arr[0][i] = 0; for(i = 1; i <= len1; i++) { for(j = 1; j <= len2; j++) { if(str1[i-1] == str2[j - 1]) arr[i][j] = 1 + arr[i - 1][j - 1]; else arr[i][j] = max_num(arr[i - 1][j], arr[i][j - 1]); } } return arr[len1][len2]; } int main() { char str1[] = "hbcfgmnapq", str2[] = "cbhgrsfnmq"; int ans = lcs(str1,str2); printf("%d",ans); return 0; } How may types of computer according to the size? What type of data collection method involves manipulating one or more variables to observe their effects on other variables? What is the effect of a stack's top pointer being NULL?