It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I need to code a simple memorization game using MIPS . The game starts by randomly printing a number between 10-99 on the screen,then ask the user to enter the exact number.
How can that be done using MIPS ?
There are already some similar questions on SO:
Generating random numbers using a syscall
MIPS assembly - random integer range
Have a look at those, your textbook, and possibly some online tutorials. Most importantly: give it a go yourself; that's the only way you'll get better at it.
Related
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I want to use a <textarea> tag or an alternative written in JavaScript, that highlights my SQL statements as I write them (effectively the same as phpMyAdmin's SQL section where you can manually write queries.)
Please tell me that this is possible without using HUGE libraries and can be easily customizable. If so, which library should I be using and how?
http://codemirror.net/
I think I found what I wanted. Though this looks like a big library, this will do the trick. Thanks everybody.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I am writing a MATLAB m file which looks like this:
for k = 1:100
func_a();
func_b();
func_c();
end
where func_a, func_b, and func_c are three different m files each has about 500 lines.
Now, I want to know how MATLAB compiles this code. Does is compile each of the functions 100 times (which would be very tedious) or MATLAB just compile each function once.
Thanks
They enabled JIT (Just In Time Compilation), so every loop interprets once, runs several times. discussed here
To check the difference, you can run this command:
feature accel off
This command would disables the JIT, then all commands would be interpreted even in the loops. You will see the difference ...
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I was just going through all the Mathematical stuff which is used in programming. There I saw a lot of generating functions which seems to be good in mathematics. But how are they implemented in the form of coding? I mean how these Mathematical functions can be transformed (or thought of as) into code form. As an example, this link shows some generating functions but I don't know how to use/implement those functions in the form of coding. Any striking idea is appreciated.
Thanks.
http://en.wikipedia.org/wiki/Partition_%28number_theory%29
"As an example, this link shows some generating functions but I don't know how to use/implement those functions in the form of coding"
in python they may look like this:
examples
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
is it possible to create a english to SQL app using Part of Speech Tagging. or else please suggest some efficient ways to do this app
I'm not exactly sure what you want to do, but...
There is "FCO-IM (Fully Communication Oriented Information Modeling)". It is relatively unknown, but it allows for "english to sql".
For example, you'd have code such as
There is a person with the name Saman;
Person with name Saman has last name Weerasinghe;
There is a Stackoverflow question with id 8062888;
Person with the name Saman asked Stackoverflow question with id 8062888;
Then you can define the relationships and multiplicity, and generate the tables for your data.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 12 years ago.
i need some information about csv extension, what is the use of csv extention, how to use it, any simple example
Here is all you could possibly want to know about CSV.
And if that doesn't satisfy your unquestionable thirst for knowledge, try the references from Wikipedia and Google.
It's just a way to indicate the type of the file, nothing more, nothing less.
Could call the file XXXX.doodleberry for all the operating system or the application using it could care about it.