Adobe Interview Question for Computer Scientists


Country: United States




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

It does not depend on stack,operating systems, or the JVM. It will be 256, because there are 256 possible values of a byte.
Of the 256 possible byte-long opcodes, 198 are currently in use, 51 are reserved for future use, and 3 are set aside as permanently unimplemented.

- Ajeet August 22, 2014 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

No, It does not depend on stack size. It depends on instruction size. And instruction size is one byte.

Can you please reply just on this thread, instead of creating too many answer threads .. ?

- Ajeet August 22, 2014 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

Can you give me sone source to read about this.
Is it 256?

- rahul23111988 August 22, 2014 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

Its not about that some link or doc says that it will be 256, actually it is understood that instruction size is one byte so maximum possible instructions can be 256.

Wiki also has some info, may be it can help you
en.wikipedia.org/wiki/Java_bytecode

- Ajeet August 22, 2014 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

If stack size is 2 bytes.then it will change.so it is depending on stack size as u mentioned it will not depend on stack size?

- rahul23111988 August 22, 2014 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

there are 256 possible byte-long opcodes, 198 are currently in use, 51 are reserved for future use, and 3 are set aside as permanently unimplemente

- Santhoshkumar August 22, 2014 | 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