aspose file tools*
The moose likes Product and Other Certifications and the fly likes quesiton in  SCMAD emulator! why 8 bits support 4096 colors? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Product and Other Certifications
Bookmark "quesiton in  SCMAD emulator! why 8 bits support 4096 colors?" Watch "quesiton in  SCMAD emulator! why 8 bits support 4096 colors?" New topic
Author

quesiton in SCMAD emulator! why 8 bits support 4096 colors?

beginer beginer
Greenhorn

Joined: Oct 06, 2005
Posts: 2
The question is how many colors are supported by a JTWI1.0 devices?
the answer is: 4096

The explanation is: JTWI1.0 devices must support the color depeth of at least 4096 colors (8 bits)

I don't know why? 4096=2^12
why 8 bits means 4096???
Bert Bates
author
Sheriff

Joined: Oct 14, 2002
Posts: 8764
    
    5
Hi There Beginer Beginer -

We're happy to see you at the ranch! I do have a request though... we've found that if people use their real names things tend to stay friendlier, so please change your display name!

Thanks,

Bert


Spot false dilemmas now, ask me how!
(If you're not on the edge, you're taking up too much room.)
Ko Ko Naing
Ranch Hand

Joined: Jun 08, 2002
Posts: 3178
Hi beginer beginer,

You are right that 4096=2^12.

But you are wrong that JTWI 1.0 devices must support 4096(8 bits). In the JTWI 1.0 speification, Page #10, Table #1, it says that Color depth as returned by Display.numColors() is 4096(12 bits). I am not sure from where you got the 4096(8 bits) information.

Hope it helps Please don't forget to change you display name so that I also don't have to call you "beginer beginer" in coming threads.


Co-author of SCMAD Exam Guide, Author of JMADPlus
SCJP1.2, CCNA, SCWCD1.4, SCBCD1.3, SCMAD1.0, SCJA1.0, SCJP6.0
HaoZhe Xu
Ranch Hand

Joined: Nov 03, 2003
Posts: 222
Which emulator did you use? Is there any setting options in the emulator that can change the color without affecting the version (MIDP 1)?


[url]Olnex.net[/url]
[SCJP 1.2, SCJD, SCWCD]
beginer beginer
Greenhorn

Joined: Oct 06, 2005
Posts: 2
Hi, Thanks a lot!

The question that i asked come from the "Whizlabs SCMAD Emulator"

This is the 4th quesion in the part "Interactive Quize" -JTWI

If the explanation is wrong, I hope the author can modify it, since it's really a simply question. And we already pay the money for that product.

From some website i notice some people say there are some mistakes in the answers and explanations. I hope some people can point out clearly for checks.
sometimes I feel there are questions answers and explanations are confusing. But I don't know it's my understanding problem or the product problem. :-(

Sathya Srinivasan
Ranch Hand

Joined: Jan 29, 2002
Posts: 379
Hi beginer beginer,

Glad to see you using the WhizLabs product. The color depth is an error on my part (as the writer of the questions) and I do apologize for the same. You might want to check the WhizLabs forum for errata and other related issues for clarification on the errors.

We have tried our best to keep the answers right and the explanations simple. If you are not sure of an answer or are not satisfied with an explanation, you can always post a question here or at the WhizLabs forum.

Folks at JavaRanch are very friendly and I tend to frequent these forums often too.

Best wishes for your exam appearance.


Cheers, Sathya Srinivasan - SCJP 1.2, SCWCD 1.2, SCMAD 1.0
Co-Author of Whizlabs SCMAD Certification Exam Simulator and SCMAD Exam Guide Book
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: quesiton in SCMAD emulator! why 8 bits support 4096 colors?
 
Similar Threads
Difference?
int -> short (OK) ; short -> byte (not ok ) Why?..
About Sathya Notes_How to get it
Conversion and Casting
How to create png image with the pixels array?