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 himgta
0
votes
1
answer
1
Rosen ch.3
Q.1 :Give a big-O estimate for f(n)=3n log(n!) + ($n^2$+3)log n, where n is positive integer Answer is given as O($n^2$ logn), Why it is not O($n^3$)? Q.2: Find the least integer n such that f(x) is O($x^n$) f(x)=2$x^2$ + $x^3$logx here n is given as 4, why it can not be 3??
Q.1 :Give a big-O estimate for f(n)=3n log(n!) + ($n^2$+3)log n, where n is positive integerAnswer is given as O($n^2$ logn), Why it is not O($n^3$)?Q.2: Find the least i...
1.0k
views
asked
Mar 12, 2019
Algorithms
kenneth-rosen
asymptotic-notation
+
–
0
votes
0
answers
2
ME TEST2
Pick the true statements among the following Circuit switching is stored and forward technique Packet switching is faster as compared to circuit switching Packet switching wastes less resources as compare to circuit switching Packet switching is not store and forward technique Only 2nd 2nd and 3rd both 1st and 4th both all are correct
Pick the true statements among the followingCircuit switching is stored and forward techniquePacket switching is faster as compared to circuit switchingPacket switching w...
256
views
asked
Mar 10, 2019
1
votes
2
answers
3
ME TEST1
Match the following List 1 Link time load time compile time Run time List 2 A. Resolving references B. Relocation C. Token Recognition D. Activation record
Match the followingList 1Link timeload timecompile timeRun timeList 2 A. Resolving references B. Relocation C. Token Recognition D. Activation record
676
views
asked
Mar 10, 2019
Compiler Design
compiler-design
runtime-environment
match-the-following
made-easy-test-series
+
–
1
votes
1
answer
4
ME TEST
in selective repeat(SR) protocol the sender window size is K frames. What is the number of sequence bits required for the communication to take place? $log_2$(k+1) 1+$log_2$k 1+$log_2$(2k) None
in selective repeat(SR) protocol the sender window size is K frames. What is the number of sequence bits required for the communication to take place?$log_2$(k+1)1+$log_2...
667
views
asked
Mar 10, 2019
0
votes
0
answers
5
LIC AAO
$P,Q,R,S,T,V,$ and $W$ are seven members of a family each one of them has a different profession. Doctor, Teacher, Lawyer, Engineer, Architect and Banker and their incomes are different. There are two married couples in the group. $R$ is the Doctor and ... Lawyer. The charted Accountant earns less than Lawyer but more than the Banker. Who earns the maximum in the family ? V W R S None
$P,Q,R,S,T,V,$ and $W$ are seven members of a family each one of them has a different profession. Doctor, Teacher, Lawyer, Engineer, Architect and Banker and their income...
887
views
asked
Mar 3, 2019
0
votes
1
answer
6
LIC AAO question
Statements: Some boxes are triangles. All Spheres are triangles. All circles are boxes. All triangles are quadrilaterals. Conclusions: Some quadrilaterals are boxes. Some quadrilaterals are triangles. Some triangles are spheres. No circle is quadrilaterals. Options. 1 only 1st follow 2 only 1 ,2 ,3 follows 3 only 3rd follows 4 all follows
Statements:Some boxes are triangles. All Spheres are triangles.All circles are boxes.All triangles are quadrilaterals.Conclusions:Some quadrilaterals are boxes.Some quadr...
807
views
asked
Mar 3, 2019
Mathematical Logic
analytical-aptitude
logical-reasoning
statements-follow
+
–
0
votes
1
answer
7
Rosen Ex.6.1
Find a recurrence relation for the number of ways to lay out a walkway with slate tiles if the tiles are red, green, or gray so that no two red tiles are adjacent and tiles of the same color are considered indistinguishable
Find a recurrence relation for the number of ways to lay out a walkway with slate tiles if thetiles are red, green, or gray so that no two red tiles are adjacent and tile...
830
views
asked
Mar 3, 2019
1
votes
1
answer
8
Rosen example 12 Ch 5.2
Show that every sequence of $n^2$+1 distinct real numbers contains a subsequence of length n+1 that is either strictly increasing or strictly decreasing.
Show that every sequence of $n^2$+1 distinct real numbers contains a subsequence of length n+1 that is either strictly increasing or strictly decreasing.
1.8k
views
asked
Feb 24, 2019
0
votes
2
answers
9
Kenneth Rosen Example 9 Ch.5.2
Suppose that a computer science laboratory has 15 workstations and 10 servers. A cable can be used to directly connect a workstation to a server. For each server, only one direct connection to that server can be active at any time. We ... ;t understand this part. How is it concluded that remaining nine servers are insufficient when at most 59 connections are used?
Suppose that a computer science laboratory has 15 workstations and 10 servers. A cable can be used to directly connect a workstation to a server. For each server, only on...
544
views
asked
Feb 23, 2019
3
votes
1
answer
10
kenneth rosen Ex2.4 Q.46
Show that the set of functions from the positive integers to the set {0,1,2,3,4,5,6,7,8,9} is uncountable.
Show that the set of functions from the positive integers to the set {0,1,2,3,4,5,6,7,8,9} is uncountable.
1.6k
views
asked
Feb 21, 2019
0
votes
0
answers
11
#programming
https://www.sanfoundry.com/c-program-checks-strings-anagrams/ what is the meaning of line number 32?
https://www.sanfoundry.com/c-program-checks-strings-anagrams/what is the meaning of line number 32?
370
views
asked
Feb 19, 2019
1
votes
1
answer
12
NPTEL CODING ASSIGNMENT
Consider a matrix M of integers. Divide M into 4 sub-matrices. These sub-matrices are called as Quadrants. Report the Quadrant number which has the smallest minimum-element. If two or more quadrants have same smallest minimum, report the smallest ... than 1 and less than 12 OUTPUT FORMAT: Print in a separate line, the quadrant number with the smallest minimum-element.
Consider a matrix M of integers. Divide M into 4 sub-matrices. These sub-matrices are called as Quadrants. Report the Quadrant number which has the smallest minimum-eleme...
1.7k
views
asked
Feb 18, 2019
0
votes
1
answer
13
Kenneth Rosen Edition 6th Exercise 2.3 Question 36 (Page No. 147)
Let f be a function from the set A to the set B.Let S and T be subsets of A.Show that $f(S\cup T)=f(S)\cup f(T)$ $f(S\cap T)\subseteq f(S)\cap f(T)$ Show that inclusion in part b can be proper
Let f be a function from the set A to the set B.Let S and T be subsets of A.Show that$f(S\cup T)=f(S)\cup f(T)$$f(S\cap T)\subseteq f(S)\cap f(T)$Show that inclusion in p...
478
views
asked
Feb 18, 2019
Set Theory & Algebra
kenneth-rosen
set-theory&algebra
discrete-mathematics
+
–
0
votes
1
answer
14
kenneth rosen Ex 2.3 Q.29,30
Justify the statements. 1. if f and f o g are one to one,does it follows that g is one to one. 2 if f and f o g are onto,does it follow that g is onto
Justify the statements.1. if f and f o g are one to one,does it follows that g is one to one.2 if f and f o g are onto,does it follow that g is onto
460
views
asked
Feb 18, 2019
–1
votes
0
answers
15
Kenneth Rosen Ex.2.3 Q.3(c)
https://prnt.sc/cncgcv plz explain the c part!
https://prnt.sc/cncgcvplz explain the c part!
385
views
asked
Feb 18, 2019
0
votes
0
answers
16
#Nptel assignment
https://ide.geeksforgeeks.org/BX0OOC4rpt please explain what is wrong with the following code! The Collatz function is defined for a positive integer n as follows. f(n) = 3n+1 if n is odd n/2 if n is even We consider the repeated application of the Collatz ... positive number <= 32,000. You have to output how many times f has to be applied repeatedly in order to first reach 1.
https://ide.geeksforgeeks.org/BX0OOC4rptplease explain what is wrong with the following code!The Collatz function is defined for a positive integer n as follows.f(n) = 3n...
1.1k
views
asked
Feb 16, 2019
1
votes
0
answers
17
Kenneth Rosen Ex.1.3 Q.37
Express each of these statements using predicates and quantifiers. a) A passenger on an airline qualifies as an elite flyer if the passenger flies more than 25,000 miles in a year or takes more than 25 flights during that year.
Express each of these statements using predicates and quantifiers.a) A passenger on an airline qualifies as an elite flyer if the passenger flies more than 25,000 miles i...
1.7k
views
asked
Feb 10, 2019
0
votes
1
answer
18
ME MOCK 2
We are given a C function, mystery() as follows. void mystery(int m, int n) { while(m<=n) { m++; n--; } } Let X be the number of times the comparission inside the while loop ( i.e., m<=n ) is performed, when mystery(127,255) is called. Then the value of X is _______________
We are given a C function, mystery() as follows. void mystery(int m, int n) { while(m<=n) { m++; n ; } }Let X be the number of times the comparission inside the while loo...
712
views
asked
Jan 30, 2019
DS
algorithms
+
–
0
votes
0
answers
19
ME DISCRETE MATHS
Consider the following partial order relations: Note that Z+ and Z– denote the set of positive integers and the set of negative integers respectively. How many of the above POSETs are well ordered?
Consider the following partial order relations:Note that Z+ and Z– denote the set of positive integers and the set of negative integers respectively. How many of the ab...
207
views
asked
Jan 23, 2019
0
votes
1
answer
20
ME T2
A large number of consecutive IP addresses are available starting at 198.16.0.0. Suppose that four organizations Aerie, Boston, Castle and Daron request 4000, 2000, 4000, and 8000 addresses, respectively and in that order. Which of the following is correct mask for organization Castle? A 198.16.24.0/20 B 198.16.0.0/20 C 198.16.64.0/19 D 198.16.128.0/20
A large number of consecutive IP addresses are available starting at 198.16.0.0. Suppose that four organizations Aerie, Boston, Castle and Daron request 4000, 2000, 4000,...
628
views
asked
Jan 23, 2019
Page:
1
2
3
4
5
6
...
8
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register