Google Answers Logo
View Question
 
Q: Assembly Random Strings and Color Matrix ( No Answer,   1 Comment )
Question  
Subject: Assembly Random Strings and Color Matrix
Category: Computers
Asked by: bildy-ga
List Price: $20.00
Posted: 08 Apr 2003 20:56 PDT
Expires: 22 Apr 2003 17:46 PDT
Question ID: 188072
1.
Random Strings  
Write a program that generates and displays twenty random strings,
each consiting of ten capital letters {A...Z}.

2.  
Color Matrix
Write a program that displays a single character in all possible
combinations of foreground and background colors (16x16 =256).  The
colors are numbered from 0 to 15, so you can use a nested loop to
generate all possible combinations.

Request for Question Clarification by jeanluis-ga on 09 Apr 2003 02:54 PDT
Hello,
I need more information here, I assume what you want is someone to
implement these two problems in some kind of computer program. In
order to do so we would need to know what platform, what compiler,
etc... Also can you be more specific on #2, I am not sure if you want
a block of color on the screen, or just a block of chars representing
colors on the screen. In fact it would be nice if you could provide
some example output for both problems, and if you could tell us what
these are for (i.e. homework, or just getting ready for a test, or
just curious) so that we can comment appropriately.
Thanks
-jld

Clarification of Question by bildy-ga on 09 Apr 2003 10:11 PDT
1.  I would like these two separate questions implemented into two
different simple assembly programs.

2.  I am running a windows operating system and using MASM as my
compilier.

3.  #2 is written exactly as the question was posed to me.  What it
seems to me is that it is looking for one character (i.e. A) to be
displayed in the 16 different foreground as well as 16 different
background colors.  Which means, there should be 256 "A's"(or
whichever character your choose) displayed on the screen, in all
combinations of foreground and background colors.

4.  In using these programs, I am preparing for an upcoming exam, so
it would be EXTREMELY helpful if these programs were thoroughly
commented.

Thanks alot, and please feel free to clarify.

Clarification of Question by bildy-ga on 10 Apr 2003 07:32 PDT
I have upped the amount to $20 for answering this question.  If at all
possible, please answer within the next few hours. Thanks !

Clarification of Question by bildy-ga on 11 Apr 2003 20:17 PDT
Obviously I do not understand how to do these.  The test is on Monday,
so I would like the answers within the next 24 hours.  Please let me
know what you can do.  Thanks.

Clarification of Question by bildy-ga on 17 Apr 2003 20:44 PDT
What would it take to get someone to answer this question for me?
Answer  
There is no answer at this time.

Comments  
Subject: Re: Assembly Random Strings and Color Matrix
From: turingcomplete-ga on 10 Apr 2003 22:18 PDT
 
You should really do your own school assignments.  Doing this yourself
will help you prepare for your exam, if that's what you really need it
for.  Reading other peoples code will not get you there--no matter how
good it's commented.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy