Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Filter
wh04m1
Wall
Recent activity
All questions
All answers
Exams Taken
All Blogs
Answers by wh04m1
0
votes
1
Kenneth Rosen Edition 6th Exercise 6.1 Question 9d (Page No. 401)
Solve the recurrence relation $a_n = a_{n-1} + 2n + 3, a_0 = 4$
Solve the recurrence relation $a_n = a_{n-1} + 2n + 3, a_0 = 4$
869
views
answered
Dec 21, 2018
Combinatory
kenneth-rosen
discrete-mathematics
combinatory
recurrence-relation
+
–
0
votes
2
Kenneth Rosen Edition 6th Exercise 5.3 Question 35 (Page No. 362)
How many bit strings contain exactly eight 0s and 10 1s if every 0 must be immediately followed by a 1 ?
How many bit strings contain exactly eight 0s and 10 1s if every 0 must be immediately followed by a 1 ?
899
views
answered
Dec 21, 2018
Mathematical Logic
kenneth-rosen
discrete-mathematics
combinatory
counting
+
–
5
votes
3
MadeEasy Test Series 2019: Combinatory- Generating Functions
Let $M(x) = \frac{x^{2018}}{(1-x)^{2019}}$ we define $M(x) = \sum_{r=0}^{\infty}a_{r}x^{r}$ ,then $a_{r}$ is equal to- $A)\binom{r}{2019}$ $B)\binom{r}{r+2018}$ $C)\binom{r}{2019-r}$ $D)\binom{r}{r-2018}$
Let $M(x) = \frac{x^{2018}}{(1-x)^{2019}}$we define $M(x) = \sum_{r=0}^{\infty}a_{r}x^{r}$ ,then $a_{r}$ is equal to-$A)\binom{r}{2019}$$B)\binom{r}{r+2018}$$C)\binom{r}{...
945
views
answered
Dec 21, 2018
Combinatory
discrete-mathematics
generating-functions
made-easy-test-series
+
–
0
votes
4
#discrete matmatics
recurrence relation 2a$_{n}=a_{n-1}+2^{n}$ intial condtion a$_{0}$=1 value of a$_{100}$
recurrence relation 2a$_{n}=a_{n-1}+2^{n}$ intial condtion a$_{0}$=1 value of a$_{100}$
472
views
answered
Dec 21, 2018
Combinatory
recurrence-relation
+
–
3
votes
5
ISRO2018-2
Consider the following declaration : structaddr { char city[10]; char street[30]; int pin; }; struct { char name[30]; int gender; struct addr locate; } person, *kd = &person; Then *$(kd->name + 2)$ can be used instead of: $person.name+2$ $kd-> (name+2)$ $*((*kd).name+2)$ either $A)$ or $B)$ , not $C)$
Consider the following declaration :structaddr { char city[10]; char street[30]; int pin; }; struct { char name[30]; int gender; struct addr locate; } person, *kd = &pers...
5.6k
views
answered
Jul 12, 2018
Programming in C
isro2018
programming
structure
+
–
0
votes
6
Decision properties of finite automata
Is equivalence problem decidable problem or not?
Is equivalence problem decidable problem or not?
1.6k
views
answered
Jul 9, 2018
Theory of Computation
theory-of-computation
finite-automata
+
–
0
votes
7
dragon book - exercise 6.2.2 i)
How to represent a=b[i]+c[j] in quadruple?
How to represent a=b[i]+c[j] in quadruple?
874
views
answered
Jun 14, 2018
Compiler Design
compiler-design
intermediate-code
+
–
0
votes
8
compiler design (run time environments)
can anyone tell broadly about "Arbitrary lifetime in case of heap allocation".
can anyone tell broadly about "Arbitrary lifetime in case of heap allocation".
763
views
answered
Jun 14, 2018
Compiler Design
compiler-design
runtime-environment
+
–
0
votes
9
Top Down Parsing
Since it is a Bottom Up Parser do we need to evaluate expressions following Right Hand Derivations or Left Hand Derivations,i.e. should we evaluate D -> d first or B -> B first?
Since it is a Bottom Up Parser do we need to evaluate expressions following Right Hand Derivations or Left Hand Derivations,i.e. should we evaluate D - d first or B - B f...
1.0k
views
answered
Jun 12, 2018
Compiler Design
compiler-design
parsing
test-series
+
–
0
votes
10
CMI2011-A-08
In programming languages like C, C++, Python $\dots$ the memory used by a program is typically separated into two parts, the stack and the heap. Consider the following statements: A stack is efficient for managing nested function calls. Stack space is limited while heap space is not. ... $2$ is false. $2$ and $3$ are true but $1$ is false. All three statements are true.
In programming languages like C, C++, Python $\dots$ the memory used by a program is typically separated into two parts, the stack and the heap. Consider the following st...
1.7k
views
answered
Jun 12, 2018
Compiler Design
cmi2011
compiler-design
runtime-environment
+
–
0
votes
11
Compiler Design Activation Record
As actual parameters are stored in the Actual parameter field in case of Activation record then where does formal parameters will be stored? f(a,b) { a(e,f) } Here e,f are actual parameters that will be stored in actual parameter field,but where does formal parameters a,b will be stored for f activation record?
As actual parameters are stored in the Actual parameter field in case of Activation record then where does formal parameters will be stored?f(a,b){a(e,f)}Here e,f are act...
1.6k
views
answered
Jun 12, 2018
Compiler Design
compiler-design
runtime-environment
activation-record
+
–
0
votes
12
what is true about the syntax directed translation scheme given below :
S->aSb { S.c=S.c+2 } S->bSa { S.c=S.c+2 } S->epsilon {S.c=0 } 1. Equal no of a's and b's . 2. No of a's or no of b's in a given string . 3. No of a's and no of b's in a given string .. 4. None of these . According to me , it should be total no of a's and no of b's .
S->aSb { S.c=S.c+2 }S->bSa { S.c=S.c+2 }S->epsilon {S.c=0 } 1. Equal no of a's and b's .2. No of a's or no of b's in a given string .3. No of a's and no of b's in a given...
3.1k
views
answered
Jun 12, 2018
Compiler Design
compiler-design
syntax-directed-translation
+
–
0
votes
13
Parse tree
Consider the following grammar $S \rightarrow SS/Sa/aS/a$ Construct Parse Tree for $w=aaaa$ as many as possible? How many parse trees are possible?
Consider the following grammar$S \rightarrow SS/Sa/aS/a$Construct Parse Tree for $w=aaaa$ as many as possible? How many parse trees are possible?
767
views
answered
Jun 12, 2018
Compiler Design
compiler-design
parsing
+
–
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register