Thursday, October 18, 2012

Quiz 1: Introduction to Computer Science and Programming

If you have missed the previous articles for the Quiz,Please Read:

http://itsmyslife.blogspot.in/2012/10/first-day-at-introduction-to-computer.html

http://itsmyslife.blogspot.in/2012/10/day-2-learn-introduction-to-computer.html

Today In this Article,I am posting 5 Quiz Questions..

These questions are with reference to Day-1 and Day-2 articles on 
"Introduction to Computer Science and Programming"




1) Why does 53 represent the number 5 in ASCII?
5 also represents 5 in ASCII. Either one will work

Numbers 1-47 actually represent negative numbers. 53 is the first positive number that links to 5 (going in order)

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

False

3) Express this binary number as a decimal number: 10010110

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 n/1000 algorithm

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.
True

False


----------------------------------------------------

If you want to solve this quiz,comment to the following questions.

Answers will be posted on Monday.

Continued...

Happy Learning..Happy Programming :)