#1
18
views
0 answers
0 votes
Why does linear combination of 2 linearly independent vectors produce every vector in R^2 ?
#2
8
views
0 answers
0 votes
I have always been intrested in IIT couldnt crack them even though i did everything i could i know that might be hard to comorehend but i got some colleges ... with merit seats available and after that i intend to to take Gate for IIt
#4
20
views
0 answers
0 votes
Which of the following statements is/are true?A) Graph coloring is a systematic technique for allocating registers and managing register spills.B) ... resolves the shift/reduce conflict arising from the dangling-else ambiguity correctly.
#5
15
views
0 answers
0 votes
Consider a system with 4KB page size and 3-level paging is used. The virtual address space is 36 bits and the physical address space is 32 bits. The page table ... 8 bits for page table indexing and each page table fits one page-frame[NAT]
#6
41
views
1 answers
0 votes
How many child processes will be created in the following code: main(){if(!fork()){ if(!fork()) fork();}fork();}
#7
39
views
0 answers
0 votes
In the series aaa_b_a_baaabbbabaabbbbWhich one is the correct answer and why?
#8
53
views
1 answers
0 votes
Find Output of below Code#include<stdio.h>int sum(int n) { n = 3; if (n == 2) return 2; return sum(n-1)*n ;}int main() { printf("%d\n", sum(5) ); return 0}
#9
31
views
1 answers
0 votes
why the limited broadcasting address is all 1's as all 1's should be the specific ip address of the last host in the network and not the address of all the host in the specific n/w. Please explain
#10
21
views
0 answers
0 votes
#11
31
views
1 answers
1 votes
Consider the following grammar: Prog → {S} S→ Prog X; | Y = z; X →ϵ |S Prog Y → SZ Z→id Determine follow(S) from the above grammar. (A) { } , id} (B) { }, ϵ , id} (C) { },{ id} (D ) { },{ id,ϵ }
#12
46
views
0 answers
0 votes
DMA
Consider a disk with data transfer rate 50MBPS. It is operated with cycle stealing mode of DMA. Here whenever 64bits information is available it is transferred in 40ns. What is the percentage(%) of time CPU blocked due to DMA?
#13
91
views
2 answers
1 votes
#include <stdio.h> int main() { // Write C code here int i=10,*p,**q,***r; p=&i; *p=15; q=&p; **q=20; r=&q; ***r=*p+1; printf("%d",i); return 0; }answer the output as integer _________
#14
97
views
1 answers
1 votes
#include <stdio.h> int main() { int (*a)[2]; int arr[4][4]={1,2,3,4,6,7,8,9}; a=arr; ++a; printf("%d",**a); return 0; }what is the answer NUMARICAL--------------------------------?
#15
85
views
1 answers
0 votes
How can we solve this recurrance relation using master's theorem? T(n)=2 * T (n/2) + nlogn
#16
56
views
0 answers
0 votes
Which one of the following is not correct? (a) Application layer protocols are used by both source and destination devices during a communication session (b) Application layer ... must match (c) Both (a) and (b)(d) None of the mention
#17
57
views
0 answers
1 votes
#include <stdio.h> void f(int (*x)(int)); int mysh(int); int (*sh)() = mysh; int main() { f(sh); sh++; for(int x=sh;x>=0;x--){ if(x){ printf ... A:10C:10 i will go thereB:10 i will go there number of timesD:10 i will go here number of times
#18
63
views
1 answers
1 votes
#include <stdio.h> void f(int (*x)(int)); int myfoo(int i); int (*foo)(int) = myfoo; int main() { f(foo(10)); } void f( ... i; }sanfoundry C programming Questiona) Compile time errorb) Undefined behaviourc) 10 11d) 10 Segmentation fault 
#19
40
views
0 answers
0 votes
Not related to gate but genral programming..if some one ask me array indexing start from 0,yes i know array indexing start from 0 . but can i also say ... Array indexing tell me how many steps ahed are from the first position of array,
#20
62
views
0 answers
0 votes
six jobs are waiting to be run . the expected running times are 9,7,5,2,1 and x respectively. where 5<x<7 & the average comp.time is 13. find the value of x using sjf algorithm?