If you have missed the previous articles of the Quiz,Please Read:
http://itsmyslife.blogspot.in/2012/10/quiz-1-introduction-to-computer-science.html
The answers for the quiz questions are below:
1) Why does 53 represent the number 5 in ASCII?
In this context, we're representing characters through numbers. As such, the number 53 links to the character '5'.
2) An ASCII Table is a large reference guide that show which numbers represent which characters.
True
3) Express this binary number as a decimal number: 10010110
A: 150
4) One algorithm has a run time of n/1000. Another algorithm has a run time of log(n). Considering that n is a very large number, which of these will complete first?
The log(n) algorithm
5) In David's phonebook example, if he turns one page at a time, it will take him log(n) steps to complete the search.
False
http://itsmyslife.blogspot.in/2012/10/quiz-1-introduction-to-computer-science.html
The answers for the quiz questions are below:
1) Why does 53 represent the number 5 in ASCII?
In this context, we're representing characters through numbers. As such, the number 53 links to the character '5'.
2) An ASCII Table is a large reference guide that show which numbers represent which characters.
True
3) Express this binary number as a decimal number: 10010110
A: 150
4) One algorithm has a run time of n/1000. Another algorithm has a run time of log(n). Considering that n is a very large number, which of these will complete first?
The log(n) algorithm
5) In David's phonebook example, if he turns one page at a time, it will take him log(n) steps to complete the search.
False
----------------------------------------------------
Continued...
Happy Learning..Happy Programming :)
Happy Learning..Happy Programming :)
No comments:
Post a Comment