Search Results

Showing results 1 to 35 of 35
Search took 0.01 seconds.
Search: Posts Made By: darkagn ; Forum: Computer Science and child forums
Forum: Computer Science Oct 19th, 2009
Replies: 6
Views: 372
Posted By darkagn
I studied scheme at university for a semester and I don't remember much besides lots and lots of brackets. Most of the problems I had with it all boiled down to the fact that I had unbalanced...
Forum: Computer Science Oct 6th, 2009
Replies: 4
Views: 688
Posted By darkagn
1/2 is 0 remainder 1 because you have 0 whole divisions into 2. You are correct in saying that it is 0.5, but when doing a conversion between bases we deal only in whole numbers.
Forum: Computer Science Aug 20th, 2009
Replies: 1
Views: 502
Posted By darkagn
There are a few different types of SQL, but http://www.w3schools.com/sql/default.asp is a good site for general SQL knowledge. http://www.sql.org/sql-database/sql-tutorial/ is a good beginner's...
Forum: Computer Science Aug 4th, 2009
Replies: 5
Views: 475
Posted By darkagn
Read up on arctan. It might give you a few ideas...
Forum: Computer Science Jul 23rd, 2009
Replies: 9
Views: 1,045
Posted By darkagn
Hi Patrick,

Unfortunately it is not as simple as that. Different languages are better at different tasks. Most are designed to perform specific tasks at first and grow from there. Really what you...
Forum: Computer Science Jul 6th, 2009
Replies: 2
Views: 452
Posted By darkagn
So how would you go about creating the messenger and its authorisation system? I think that's all you need to do, 50 pages would include diagrams (UML for example) I would suggest...



Cheats...
Forum: Computer Science Apr 22nd, 2009
Replies: 1
Views: 588
Posted By darkagn
Hi martyulrich and welcome to DaniWeb,

Do you know what is meant by theta notation? If you show us that you understand the top-level theory we might be inclined to help you with the specifics...
Forum: Computer Science Mar 18th, 2009
Replies: 2
Views: 633
Posted By darkagn
The most basic program requires some form of planning, even if it is just a few notes on some scrap paper. It is always a good habit to plan, you will make fewer mistakes and write more manageable...
Forum: Computer Science Mar 10th, 2009
Replies: 2
Views: 595
Posted By darkagn
Hi Steph,

The Oracle forum can be found here:
http://www.daniweb.com/forums/forum129.html

The people that frequent that forum might not necessarily come to the CS one, so might be worthwhile...
Forum: Computer Science Dec 6th, 2008
Replies: 2
Views: 2,043
Posted By darkagn
Hi zoroman,

Sorry but we aren't allowed to just do your homework for you. Perhaps you could show us what you've tried or discuss how you think the problem should be tackled. We would love to help,...
Forum: Computer Science Mar 24th, 2008
Replies: 2
Views: 4,105
Posted By darkagn
I'm sorry sbv but I don't understand your question. Are you asking how to determine the score as a percentage if you have an average mark for someone?
Forum: Computer Science Mar 18th, 2008
Replies: 2
Views: 795
Posted By darkagn
I would suggest using Java since your main concern seems to be portability. Java is a cross-platform object oriented language and provides several API's for GUI development. The swing package in...
Forum: Computer Science Mar 18th, 2008
Replies: 4
Views: 646
Posted By darkagn
Hi naiad08 and welcome to Daniweb,

We have some pretty strict rules here in that we can't just do the work for you, we need to see some effort and then we can guide you. What have you done so far?...
Forum: Computer Science Mar 9th, 2008
Replies: 5
Views: 1,672
Posted By darkagn
Actually I am trying to help you discover the answer without just giving it to you.



This question was a bit misleading sorry.

What I meant was, how does the "j *= 5" part of the loop...
Forum: Computer Science Mar 9th, 2008
Replies: 6
Views: 1,619
Posted By darkagn
Ah yes you are correct. The loop is not linear.
Forum: Computer Science Mar 9th, 2008
Replies: 6
Views: 1,619
Posted By darkagn
Actually I think that loop is linear, so it should be O(n).
Forum: Computer Science Mar 9th, 2008
Replies: 5
Views: 1,672
Posted By darkagn
How do you think the "j *= 5" part of the for loop affects the number of operations performed as the input size (n) gets very large?
Forum: Computer Science Mar 9th, 2008
Replies: 5
Views: 1,672
Posted By darkagn
Hi there aishaahmad and welcome to Daniweb,

Sorry but we aren't allowed to just do your homework for you. Do you know what is meant by O(N) and why that loop is O(N)? Do you understand what the...
Forum: Computer Science Mar 9th, 2008
Replies: 3
Views: 919
Posted By darkagn
Ah ok, now I see your confusion...

If I have a variable called kev that is a type BankAccount and I write kev.debit(), the program looks in the class BankAccount for the debit() function to run....
Forum: Computer Science Mar 7th, 2008
Replies: 2
Views: 761
Posted By darkagn
Hi gauravdott and welcome to DaniWeb,

For number 1, I would use the mathematical proof by iteration - ie prove the statement true for n=2 then assume true for n=k and prove true for n=k+1.
...
Forum: Computer Science Mar 7th, 2008
Replies: 3
Views: 919
Posted By darkagn
Hi chapelhoffer and welcome to DaniWeb,

This question should probably go in the C++ forum, but now that we are here I will try to help you out.

Let's take for example your member function...
Forum: Computer Science Mar 3rd, 2008
Replies: 4
Solved: Red black trees
Views: 2,711
Posted By darkagn
http://en.wikipedia.org/wiki/Red_black_tree describes the difference in fairly good detail. The main difference between the two is in the worst case, where a BST can be as bad as O(n) for insertion,...
Forum: Computer Science Jan 27th, 2008
Replies: 4
Views: 1,089
Posted By darkagn
The print function is O(n), so you were right the first time. Although n changes each call to print, it is still O(n) since each time print is called it takes roughly n steps to compute.

I'm not...
Forum: Computer Science Jan 17th, 2008
Replies: 21
Views: 32,080
Posted By darkagn
for (int i=0; i<n; i++)


int i=0;
(while i<n)


These two pieces of code are equivalent loops. But the while loop needs n steps to execute because the initialisation of i occurs outside the...
Forum: Computer Science Jan 15th, 2008
Replies: 1
Views: 573
Posted By darkagn
Hi there fm_hyudin and welcome to Daniweb,

We are not allowed to help you until you show us that you have made an effort to answer the question yourself. What have you done so far?
Forum: Computer Science Jan 11th, 2008
Replies: 6
Views: 5,567
Posted By darkagn
Hi there santhi1986 and welcome to Daniweb :)

We have a few rules here at Daniweb that you might want to read. Probably the most important one is that we can't do your homework for you, we need to...
Forum: Computer Science Jan 2nd, 2008
Replies: 12
Views: 1,931
Posted By darkagn
Certainly maths knowledge is an advantage (particularly algebra) and physics can be helpful (although I never studied physics after year 10 at school). There are actually a few philosophy subjects at...
Forum: Computer Science Dec 30th, 2007
Replies: 3
Views: 781
Posted By darkagn
Hey there kafil03,

Sorry but that's against the DaniWeb rules. We can only show you the door; it is up to you to step through it. That is, try doing some yourself and if you come across some...
Forum: Computer Science Dec 28th, 2007
Replies: 10
Views: 24,239
Posted By darkagn
Hi bramu and welcome to Daniweb.

What DVD Burner do you have? What blank DVD's are you using? What software are you using? What errors do you get when you try to burn?
Forum: Computer Science Dec 14th, 2007
Replies: 11
Views: 3,204
Posted By darkagn
I agree with jbennet but would like to add that perhaps your best bet would be to contact the GIMP community administrators and just double check with them. They may have specific requirements that...
Forum: Computer Science Nov 9th, 2007
Replies: 10
Views: 8,342
Posted By darkagn
Hi tomthehun,

Welcome to daniweb. I don't mean to be rude, but this thread was last used over 4 years ago, so I am not sure that you will get an answer to your question. Please check the date of...
Forum: Computer Science Oct 2nd, 2007
Replies: 2
Views: 903
Posted By darkagn
Hi Ginwah,

Sorry but you have to do a little better than that. Do you know what CPI is?
Forum: Computer Science Sep 18th, 2007
Replies: 12
Views: 15,246
Posted By darkagn
Hi anshads,

Just a word of warning - it is very dangerous to post your personal phone number, address, passport number, credit card number or PIN number on a forum. You can send a private message...
Forum: Computer Science Sep 18th, 2007
Replies: 3
Views: 1,048
Posted By darkagn
Hi xraaz,

What are your thoughts on how to proceed? Please show that you have at least thought about the solution and maybe we can see where you are headed and help you along the way...
Forum: Computer Science Sep 16th, 2007
Replies: 5
Views: 1,341
Posted By darkagn
a -> 1 step
For i = 1 to n -> takes n steps -> n+1 steps so far -> the 1 is negligible as n gets big so approx n steps so far
For j = 1 to i -> takes i steps for each n -> i*n so far -> approx n*n...
Showing results 1 to 35 of 35

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC