Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Filter
Profile
Wall
Recent activity
All questions
All answers
Exams Taken
All Blogs
Questions by Kaifi7
0
votes
0
answers
1
#GATE 2015
The minimum number of JK flip flops required to construct a synchronous counter that counts the sequence (0,0,1,1,2,2,3,3,0,0,...) is _____ How to approach these type of questions where number of flipflops required is asked?
The minimum number of JK flip flops required to construct a synchronous counter that counts the sequence (0,0,1,1,2,2,3,3,0,0,...) is _____How to approach these type of q...
418
views
asked
Feb 10, 2018
1
votes
0
answers
2
#test-series
Please explain why 127 is taken in numerator instead of 7?
Please explain why 127 is taken in numerator instead of 7?
234
views
asked
Jan 29, 2018
1
votes
0
answers
3
#os #test-series
Consider a system having N ' resources of the same type. N' resources are shared between 3 processes P1 , P2 and P3 which have individual peak demand of 4, 6 and 8. The minimum value of N' to ensure that deadlock will never occur ... for combination of P1 and P3 is 9 are__________. How to approach these questions where maximum requirement for combination of processes are given?
Consider a system having ‘N ’ resources of the same type. ‘N’ resources are shared between 3 processes P1 , P2 and P3 which have individual peak demand of 4, 6 an...
141
views
asked
Jan 26, 2018
1
votes
0
answers
4
#Ip address - test-series
For a class C network if IP address of a computer is 200.99.39.112 and subnet mask is 255.255.255.224 the decimal value of last octet of last host of sixth subnet is __________? Solution given is [11011110] base 2 = 222 base 10. But according to me 3 bits are for subnet, so total no of subnets = 8. So sixth subnet will be 101 and ans = [10111110] base 2 = 190 base 10
For a class C network if IP address of a computer is 200.99.39.112 and subnet mask is 255.255.255.224 the decimal value of last octet of last host of sixth subnet is ____...
375
views
asked
Jan 24, 2018
1
votes
0
answers
5
#made easy
An entrepreneur needs to assign 5 different tasks to three of his employees. If every employee is assigned atleast 1 task, how many ways can the entrepreneur assign those tasks to his employees?
An entrepreneur needs to assign 5 different tasks to three of his employees. If every employee is assigned atleast 1 task, how many ways can the entrepreneur assign those...
290
views
asked
Jan 22, 2018
2
votes
1
answer
6
#Gate 2016
A sender uses the stop and wait ARQ protocol for reliable transmissions of frames. Frames are of size 1000 bytes and the transmission rate at the sender is 80 Kbps(1Kbps=1000bits/sec). Size of an acknowledgement is 100 bytes and the transmission rate at ... 8 Kbps. The one way propogation delay is 100 milliseconds. Assuming no frame is lost, the sender throughput is ______bytes/second.
A sender uses the stop and wait ARQ protocol for reliable transmissions of frames. Frames are of size 1000 bytes and the transmission rate at the sender is 80 Kbps(1Kbps=...
404
views
asked
Jan 13, 2018
2
votes
1
answer
7
#recurrence relation
Given below are some recurrence relation and some asymptotic complexities - listA listB A) T(n) = T(n-1) + 1/n 1) Big theta(n log log n) B) T(n) = 2T(n/2) + n/logn 2) Big theta (n^2.5) C) T(n) = sqr root (n).T(sqr root (n)) + n 3) Big theta(log log n) D) T(n) = 4T(n/2 ... root(2)) 4) Big theta(log n) Codes : A B C D a) 4 1 2 3 b) 4 1 1 2 c) 1 4 3 2 d) 3 1 1 2 Correct ans = b
Given below are some recurrence relation and some asymptotic complexities -listA listBA) T(n) = T(n-1) ...
968
views
asked
Nov 27, 2017
Algorithms
recurrence-relation
asymptotic-notation
+
–
0
votes
0
answers
8
#sorting
Which all sorting algorithms are there for gate ?
Which all sorting algorithms are there for gate ?
457
views
asked
Nov 27, 2017
0
votes
1
answer
9
#pointers
Approach? Consider the following C program? #include<stdio.h> int main() { short int c[5]; int i=0; for(i=0;i<5;i++) c[i]=400+i; char *b = (char *)c; printf("%d", *(b+8)); } The output of above program, when ‘short int take ‘2 B’ and character take 1 B to represent _________. (Assume memory storage follows Little Endian architecture).
Approach?Consider the following C program?#include<stdio.h int main() { short int c[5]; int i=0; for(i=0;i<5;i++) c[i]=400+i; char *b = (char *)c; printf("%d", *(b+8)); }...
826
views
asked
Nov 22, 2017
0
votes
1
answer
10
#output
#include<stdio.h> int main() { int i=4, j=8; printf("%d, %d, %d\n", i|j&j|i, i|j&j|i, i^j); return 0; } Please tell the approach. Ans is 12 12 12
#include<stdio.h int main() { int i=4, j=8; printf("%d, %d, %d\n", i|j&j|i, i|j&j|i, i^j); return 0; }Please tell the approach.Ans is 12 12 12
246
views
asked
Oct 25, 2017
9
votes
2
answers
11
# Error
Q) For each of the following C statements state whether they contain lexical error, syntax error, semantic error or no error(along with reason) - i) inta radius =5; ii) x=127b + z; iii) printf("%d=%d\n", x); iv) int p[10]; x=25 + p;
Q) For each of the following C statements state whether they contain lexical error, syntax error, semantic error or no error(along with reason) -i) inta radius =5;ii) x=1...
816
views
asked
Oct 12, 2017
Compiler Design
compiler-design
lexical-analysis
+
–
1
votes
0
answers
12
# Ip address
In a class C address 3 bits are borrowed for subnetting of host id part. Total number of possible subnet masks are ? Ans is 42, but according to me answer should be 8C3 = 56.
In a class C address 3 bits are borrowed for subnetting of host id part. Total number of possible subnet masks are ?Ans is 42, but according to me answer should be 8C3 =...
224
views
asked
Oct 8, 2017
2
votes
1
answer
13
# Parsing
What are the differences between strong LL(k) parsing and LL(k) parsing?
What are the differences between strong LL(k) parsing and LL(k) parsing?
281
views
asked
Oct 7, 2017
Compiler Design
compiler-design
parsing
+
–
2
votes
1
answer
14
#Parsing
How to check in the grammar that which parsing method works more efficient for it? For eg in the following grammar - S-> Aa/b S->a Options - a) Top - Down b) Bottom - up c) Both d) None of these Answer is b.
How to check in the grammar that which parsing method works more efficient for it?For eg in the following grammar -S- Aa/bS->aOptions -a) Top - Downb) Bottom - upc) Bothd...
593
views
asked
Oct 7, 2017
Compiler Design
compiler-design
grammar
parsing
+
–
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register