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
Recent activity by souren
5
answers
1
GATE CSE 2006 | Question: 43
Consider a new instruction named branch-on-bit-set (mnemonic bbs). The instruction bbs reg, pos, label jumps to label if bit in position pos of register operand reg is one. A register is $32$ -bits wide and the bits are numbered $0$ to $31,$ bit ... $ mask\leftarrow \text{0xffffffff} << pos$ $ mask\leftarrow pos $ $ mask\leftarrow \text{0xf}$
Consider a new instruction named branch-on-bit-set (mnemonic bbs). The instruction “bbs reg, pos, label” jumps to label if bit in position pos of register operand reg...
11.2k
views
commented
Dec 17, 2020
CO and Architecture
gatecse-2006
co-and-architecture
normal
instruction-execution
+
–
3
answers
2
Kenneth Rosen Edition 6th Exercise 5.5 Example 6 (Page No. 374)
What is the value of k after the following pseudocode has been executed? k := 0 for i1 := 1 to n for i2 := 1 to i1 · · · for im := 1 to im−1 k := k + 1 The solution given is: $k = C(n + m − 1,m)$ (A) C(n + m ... - 1, n) (D) C(n - m + 1, n) How do we reach this answer? I'm not getting why they used the r-permutation formula here.
What is the value of k after the following pseudocode has been executed?k := 0 for i1 := 1 to n for i2 := 1 to i1 · · · for im := 1 to im−1 k := k + 1The solution gi...
2.7k
views
commented
Mar 13, 2020
Combinatory
kenneth-rosen
combinatory
+
–
0
answers
3
Discrete mathematics 7th ed by Kenneth Rosen,chapter3:Algorithm
Should not there be a second condition stating i = j-1 in While loop's conditional statement,if not then it seems to me while loop will be a infinite loop..
Should not there be a second condition stating i = j-1 in While loop's conditional statement,if not then it seems to me while loop will be a infinite loop..
1.0k
views
commented
Jun 13, 2019
Algorithms
discrete-mathematics
algorithms
sorting
+
–
1
answer
4
A first course in probability by Sheldon Ross
What are the relevant chapter of probability by sheldon ross to study for gate? I think whole syllabus is within chapter 5,Should i study everything upto chapter 5 or there are some topics that can be skipped.
What are the relevant chapter of probability by sheldon ross to study for gate?I think whole syllabus is within chapter 5,Should i study everything upto chapter 5 or ther...
952
views
commented
May 27, 2019
Combinatory
probability
sheldon-ross
+
–
0
answers
5
Discrete Mathematics by Kenneth Rosen,section2.4,recursive functions
$C_{a}^{k}:\mathbb{N}^{k}\rightarrow \mathbb{N}$ I am studying discrete math from beginnings and came across this term in primitive recursive function.I don't know what $C_{a}^{k}$ means and does $\mathbb{N}$ means set of natural numbers?Someone please help me out.
$C_{a}^{k}:\mathbb{N}^{k}\rightarrow \mathbb{N}$I am studying discrete math from beginnings and came across this term in primitive recursive function.I don't know what $C...
416
views
reshown
May 15, 2019
Set Theory & Algebra
discrete-mathematics
set-theory&algebra
kenneth-rosen
+
–
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register