Computer organization




Comment hidden because of low score. Click to expand.
0
of 0 vote

I'm guessing the intended answer was c) 600, though the question is very bad because it requires multiple assumptions to be made.

Let's say we assume that having 24-bit instructions means that instructions are laid out contiguously in memory (there are no, say, 8-bit empty gaps). Let's further assume that the address is measured in 8-bit bytes, and hence instruction pointers will increase in multiples of 24 / 8 = 3. (This is not a good assumption because the machine could instead have a word size of 24 bits, and then instruction pointers would advance in increments of 1 and all of the choices would be valid).

Based on the two assumptions above, we get that locations of the form 300 (starting address) + 3 * n are definitely valid. 400, 500, and 700 are not of this form, and 600 would be the answer.

- eugene.yarovoi October 09, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

option c
because 2^3=24
so multiples of 3 is 600

- upasana October 11, 2015 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

option c
2^3=24
so,if starting address is 300 then the next instruction which will be multiple of 3 is 600

- upasana October 11, 2015 | Flag Reply
Comment hidden because of low score. Click to expand.
-1
of 1 vote

this is AwSM!

- Anonymous September 27, 2013 | Flag Reply




Add a Comment
Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.

Books

is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.

Learn More

Videos

CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.

Learn More

Resume Review

Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.

Learn More

Mock Interviews

Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.

Learn More