search
Log In

Questions by thehobo03

1 vote
2 answers
1
Consider a magnetic disk containing 400 sectors per track. An application needs to read 100 randomly scattered sectors for loading the libraries at start up. Reading each sector requires exactly one disk access. The average seek time of the disk to a random location is given ... Rotational speed of the disk is 6000 rpm. How long does it take to load libraries at start up to run the application?
asked Nov 30, 2017 in CO and Architecture 276 views
2 votes
1 answer
2
Ms. Jones has 10 books that she is going to put on her bookshelf. Of these, 4 are mathematics books, 3 are chemistry books, 2 are history books, and 1 is a language book. Ms. Jones wants to arrange her books so that all the books dealing ... the same subject are together on the shelf. How many different arrangements are possible? Please provide a different explanation rather than the textbook one.
asked Jun 27, 2017 in Combinatory 128 views
1 vote
1 answer
3
The solution of an = 2an-1 + 1 where a0 = 1 is ? Please use the substitution method because I seem to have problem understanding it.
asked Jun 24, 2017 in Combinatory 90 views
2 votes
1 answer
4
How many ways we can put 5 letters L1, L2, L3, L4, L5 in 5 envelopes e1, e2, e3, e4 and e5 (at 1 letter per envelope) so that i. no letter is correctly placed? ii. at least 1 letter is correctly placed? iii. exactly 2 letters are correctly placed? iv. at most 1 letter is correctly placed? v. at least 1 letter is wrongly placed? vi. exactly 1 letter is wrongly placed?
asked Jun 23, 2017 in Combinatory 775 views
0 votes
1 answer
5
Show that the following statement is a tautology using Truth Table ( p ^ q) --> p I have some minor doubts in this seemingly simple question. First a tautology is a statement which is always True, but while solving the question we get 1 False value, so how is still called a tautology?
asked Jun 2, 2017 in Mathematical Logic 84 views
2 votes
0 answers
6
How long does it take to load a 64Kbytes Program from a disk whose Average Seek time is 30 ms Rotation time is 20 ms, Track Size is 32 Kbytes, Page Size is 4 Kbytes . Assume that Pages of the program are distributed randomly around the disk. What will be the % saving in time if 50% of the Pages of the program are Contiguous?
asked Jan 3, 2017 in Operating System 207 views
2 votes
0 answers
7
Consider the following sets L1 = {apbq | p +q >= 106 } L2 = {ambn | m - n >= 106} Which of the following is a Regular Language? Also how to find the compliment of the given languages?
asked Dec 26, 2016 in Theory of Computation 167 views
2 votes
1 answer
8
According to an example in Kenneth “Students who have taken calculus or computer science can take this class.” - is an example of inclusive or “Soup or salad comes with an entrée,” - it is almost always an example of exclusive or Is ... being inclusive or? And how do we know for sure which one is exclusive or inclusive or when the statements almost reads the same?
asked Jun 22, 2015 in Mathematical Logic 274 views
1 vote
2 answers
9
Assuming n>2 A() { while(n>1) { n = n/2; } }
asked Jun 5, 2015 in Algorithms 1k views
...