557
views
1 votes
int A(int m,int n){ if(!m) return n+1; if(!n) return A(m-1,1); return A(m-1,A(m,n-1));}int main(){ printf("A(1,2)=%d",A(1,2)); }what will be the outp...
15.4k
views
21 votes
Given two three bit numbers $a_{2}a_{1}a_{0}$ and $b_{2}b_{1}b_{0}$ and $c$ the carry in, the function that represents the carry generate function when these two numbers ...
367
views
0 votes
497
views
0 votes
#include<stdio.h struct { short x[5]; union { float y; long z; }u; }t; int main() { printf("short=%d\n",sizeof(short)); printf("float=%d\n",sizeof(float)); printf("long=%...
1.9k
views
0 votes
Selection sort is an example of ____(I)_______ and insertion sort is an example of __(II)______.a) I- Greedy, II- Brute Forceb) I- Brute Force II- Divide and conquerc) I-...
1.2k
views
0 votes
can anyone tell me how to i prepare my verbal ability for gate .plz suggest me source of reading verbal ability.
930
views
1 votes
when and why are segmentation and paging sometimes combined into one scheme?
253
views
0 votes
how can I design 6 subnets for any given IP i.e. how many bits are required and how it will be done?
1.2k
views
0 votes
Does any normal form impose the condition "every non-key should depend upon every key"?
375
views
0 votes
1 :- T(n) = T(n-2) + n22 :- T(n) = 4T(n/3) + nlgn3 :- T(n) = 3T(n/3 - 2) + n/2
3.4k
views
0 votes
I find it difficult to read standard books. I understand the concepts by watching videos and solving GATE Questions. Should i jump to questions in standard books directly...
465
views
2 votes
An electronic assembly consists of two sub systems say A and B from previous testing procedures , the following probability are assumed to be known,P(A fails) = 0.2P(B fa...
1.3k
views
0 votes
From the 7 symbols (0-6) how many different codes we can construct?(a) 8! (b) 8(c) 7! (d) 7 provide an explanation, answer is (a)
3.7k
views
0 votes
In a JK Flipflop we have J= Q' and K=1. assuming that the flipflop was initially cleared and clocked for 6 pulses, the sequence at the Q output will bea) 010000b) 011001...
15.3k
views
39 votes
The minimum number of $\text{D}$ flip-flops needed to design a mod-258 counter is98512258
31.0k
views
1 votes
In the sequential circuit shown below, if the initial value of the output $Q_1Q_0$ is $00$. What are the next four values of $Q_1Q_0$? $11$, $10$, $01$, $00$$10$, $11$, $...
975
views
0 votes
$$\begin{align*} \large\color{green}{L_1 = L\left ( a^{*}bb \right ) \cup L\left ( ab^{*}ba \right ) } \\ \end{align*}$$Minimal DFA for $L_1$
841
views
0 votes
Simple question. However the question mention MFA or minimal Finite Automation. So can i take NFA as it has 3 states. DFA has four ( 1 extra for the dead state);
394
views
0 votes
I have a doubt regarding NFAConsider So this NFA will accept strings like b,ab. But what if a string aba comes? Will it be accepted? The question I have is that with 'ab'...
295
views
0 votes
How to interpret the transitions? I interpreted as L={a*}
1.7k
views
0 votes
Can the NPDA constructed to accept L, such that L = L1 U L2 , L1 = {1n 0n | n 0} and L2 = {0n 12n | n 0} be drawn like this?This is an informal representation of NPDA. ...
432
views
0 votes
Is {a^nb^n|n>0} a finite language?
6.8k
views
0 votes
Sign extension is a step in floating point multiplicationsigned $16$ bit integer additionarithmetic left shiftconverting a signed integer from one size to another
384
views
0 votes
List – I List – II(Flags) (Bit Position)(a) Sign flag (i) 4th bit(b) Parity (ii) 6th bit(c) Zero ...
2.7k
views
0 votes
Anyone is having standard book for coa hamachare 7 edition pls share link.
329
views
0 votes
From where I can get deep concepts of computer networks...for GATE as beginner..
1.1k
views
1 votes
For F(x,y,z)=$\sum (1,3,4,5)$ , what is the number of implicants and prime implicants?
3.5k
views
0 votes
Which of the following features cannot be captured by CFG? Syntax of if - then – else statements Whether a variable is declared before its use Syntax of recursive pr...