1,486 Answered Questions for the topic computer programming
07/28/19
Need help with this terminology
i need help comparing and explaining:
Artificial Intelligence and Expert System
EDSAC and EDVAC
System Programmer and Application Programmer
Information Technology and Information System
Transistor...
more
07/27/19
What is an idempotent operation?
07/25/19
Determine Whether Two Date Ranges Overlap?
Given two date ranges, what is the simplest or most efficient way to determine whether the two date ranges overlap?As an example, suppose we have ranges denoted by DateTime variables `StartDate1`...
more
Anyone know anything about OLAP Internals?
I know a bit about database internals. I've actually implemented a small, simple relational database engine before, using ISAM structures on disk and BTree indexes and all that sort of thing. It...
more
Why is cloning (in .NET) so difficult?
In the past I had the need to clone objects, only to find that they don't implement a <code>Clone()</code> method, forcing me to do it by hand (create a new instance and copy all...
more
07/22/19
C++ program use of getchar and putchar function
What is difference between these two programs1 )#include<iostream.h>#include<stdlib.h> int main(){ system("cls"); char ch ; do { cout<<"enter a character :"; ch=...
more
07/21/19
What is an NP-complete in computer science?
What is an NP-complete problem? Why is it such an important topic in computer science?
07/21/19
Does Presenter in Model-View-Presenter create views?
How are Views created in MVP? Does the Presenter always create them (in addition to View in case of subviews)? Or is it a separate third-party component or App or something that creates them?
Simple basic explanation of a Distributed Hash Table (DHT)?
Could any one give an explanation on how a DHT works?
Storing Images in DB - Yea or Nay?
So I'm using an app that stores images heavily in the DB. What's your outlook on this? I'm more of a type to store the location in the filesystem, than store it directly in the DB.What do you think...
more
07/19/19
Partially Overriding a Virtual Auto-Property in a Child Class?
Time for a theoretical question I just ran across.The following code is valid and compiles: public class Parent { public virtual object TestProperty { get; set; } } public class...
more
07/19/19
What does it mean to "program to an interface"?
I have seen this mentioned a few times and I am not clear on what it means. When and why would you do this? I know what interfaces do, but the fact I am not clear on this makes me think I am...
more
07/19/19
Explaining computational complexity theory?
Assuming some background in mathematics, how would you give a general overview of computational complexity theory to the naive? I am looking for an explanation of the P = NP question. What is P? ...
more
How a RegEx engine works?
In learning Regular Expressions it had me wondering how the underlying engine works. Probably more specifically, I'd like to know more about how it evalutates, prioritizies and parses the...
more
07/18/19
What is the origin of "launch the missiles"?
In the context of functional programming, a typical example of a side effect is "launch the missiles". Where does that expression come from historically?
How to program a fractal?
I do not have any experience with programming fractals. Of course I've seen the famous Mandelbrot images and such.Can you provide me with simple algorithms for fractals? Programming language...
more
07/18/19
Are there any O(1/n) algorithms?
Are there any O(1/n) algorithms?Or anything else which is less than O(1)?
What does it mean to compose two Functors?
Exercise 5 of the Haskell Typeclassopedia Section 3.2 asks for a proof or counterexample on the statement: *The composition of two Functors is also a Functor.* I thought at first that this was...
more
Why use two step approach to deleting multiple items with REST?
We all know the 'standard' way of deleting a single item via REST is to send a single DELETE request to a URI `example.com/Items/666`. Grand, let's move on to deleting many at once. As we do not...
more
07/16/19
What is VLSI logic design?
Still looking for help? Get the right answer, fast.
Ask a question for free
Get a free answer to a quick problem.
Most questions answered within 4 hours.
OR
Find an Online Tutor Now
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.