CSS Forums Thursday, June 20, 2013
04:29 AM (GMT +5)
 
 
Home   Beginner's Guide   Rules   Syllabus   Past Papers   CSP Members  

Go Back   CSS Forums > CSS Optional subjects > Group C > Computer Science


Reply Share this thread on: Submit Thread to Facebook Facebook     Submit Thread to del.icio.us del.icio.us     Submit Thread to Google Google     Submit Thread to Digg Digg     Submit Thread to StumbleUpon StumbleUpon    
 
LinkBack Thread Tools
  #11  
Old Wednesday, May 27, 2009
Future's Avatar
Senior Member
Medal of Appreciation: Medal of Appreciation - Issue reason:
 
Join Date: Mar 2009
Posts: 621
Thanks: 352
Thanked 568 Times in 348 Posts
Future is a glorious beacon of lightFuture is a glorious beacon of lightFuture is a glorious beacon of lightFuture is a glorious beacon of lightFuture is a glorious beacon of lightFuture is a glorious beacon of light
Default Gates

On November 11, 1999, the ASCI Red computer at Sandia National Labs was rated the fastest supercomputer in the world. This machine was designed to perform complex nuclear simulations which can replace actual testing of nuclear weapons. According to the machine's builders, this supercomputer can perform almost two and a half trillion floating point operations per second! Since nearly all scientific simulations involve data with real numbers, floating point operations are a good measure of a machine's performance. While these numbers are quite impressive, it will not be long before another machine surpasses the computer at Sandia National Labs.


You may be wondering how your desktop personal computer rates against a powerhouse like ASCI Red. According to Brian Marshall, "Most people have something like a Pentium computer running Windows or a Macintosh. A computer like this can execute approximately 100 million instructions per second. Your particular machine might be twice that fast or half that fast, but that's the ballpark." Interestingly, the most powerful processor in the world is the human mind. Marshall continues: "Your brain is made up of about one trillion cells with 100 trillion connections between those cells. We might take a rough estimate and say it is handling 10 quadrillion instructions per second, but it really is hard to say." With these estimates, we can conclude that our minds are about 5,000 times more powerful than the fastest supercomputer, and the fastest supercomputer is about 20,000 times more powerful than our PCs.

So, what is the source of all this electronic computing power? Amazingly, both supercomputers and PCs are built on the same basic logic which in the Computer Engineering world is called gates. Gates are tiny electronic devices that manipulate binary data in fixed ways. Three important gates are the AND gate, the OR gate, and the NOT gate. For each of these gates, we can describe their behavior (i.e., the way they manipulate binary data) using a truth table and a simple diagram. The truth tables for each of these gates are listed below.


Notice that the AND gate and the OR gate have two inputs while the NOT gate has a single input. Earlier we described various ways that bits can be represented: 0 or 1, off or on, false or true, high voltage or low voltage. Since gates are electronic devices, the appropriate way to represent binary data is with low or high voltage level. However, it is easier for us to think of these levels as 0 for low voltage and 1 for high voltage when describing the behavior of gates. Thus, the gates receive their binary input as a voltage, and they output a either a high or low voltage depending on their input. For the AND gate, both inputs must receive a high voltage in order for the output to be a high voltage. Any other combination results in a low voltage. We can think of the behavior of the AND gate this way: "If input 1 AND input 2 have a high voltage, output a high voltage. Otherwise, output a low voltage." For the OR gate, both inputs must receive a low voltage in order for the output to be a low voltage. Any other combination results in a high voltage. We can think of the behavior of the OR gate this way: "If input 1 OR input 2 have a high voltage, output a high voltage. Otherwise, output a low voltage." For the NOT gate, only one input is required. The behavior of the NOT gate is to reverse the voltage of its input.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiTweet this Post!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
EDS- notes Predator Everyday Science Notes 69 Monday, November 19, 2012 09:34 AM
Principles of Political Science Xeric Political Science 8 Thursday, December 01, 2011 11:19 PM
WEb Building GLossary Terms Janeeta Computer Science 0 Saturday, January 19, 2008 12:09 PM
Philosophy of Science A Rehman Pal Philosophy 0 Sunday, March 18, 2007 03:42 PM


CSS Forum on Facebook Follow CSS Forum on Twitter

Disclaimer: This is not the official website of Federal Public Service Commission Pakistan. This is a non-commercial website helping individuals who intend to join civil service of Pakistan. The material on this website is provided for informational purposes only. We do not claim that the site is an exhaustive compilation of information about Civil Service of Pakistan neither represent or endorse the accuracy or reliability of any information, content contained on, or linked, downloaded or accessed from any page of this website. These materials are intended, but not promised or guaranteed to be current, complete or up to date. However, honest efforts have been made to provide comprehensive information for the benefit of users. The documents and material displayed or mentioned on this site are not official copies. Please contact FPSC for updated rules and regulations governing CSS examination.

Sponsors: ArgusVision   vBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.