CSS Forums

CSS Forums (http://www.cssforum.com.pk/)
-   Computer Science (http://www.cssforum.com.pk/css-optional-subjects/group-i/computer-science/)
-   -   Computer Science (http://www.cssforum.com.pk/css-optional-subjects/group-i/computer-science/110-computer-science.html)

Future Wednesday, May 27, 2009 04:11 PM

Gates
 
[LEFT]On November 11, 1999, the ASCI Red computer at [URL="http://www.sandia.gov/ASCI/Red/"]Sandia National Labs[/URL] 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. [/LEFT]


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.
[IMG]http://i715.photobucket.com/albums/ww156/luscious_photos/GatesTable.jpg[/IMG]

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.

Sania Ali Saturday, November 16, 2013 06:40 PM

[B]SOS[/B]
How to prepare computer [B]architecture[/B]? Will the question be general in nature or specific, based on a particular machine? Because in university we were taught Computer architecture based on 8088 and 8086 microprocessors? The syllabus says [B]Modern Machines[/B], does it mean it will be based on modern processors like core i5 etc.???

Saba kareem Monday, July 06, 2015 04:56 PM

Assalam o Aliakm every one m new here ...please help me regarding computer science its course is very lenghty.

Naqeeb Sial Wednesday, July 22, 2015 01:42 PM

[QUOTE=Saba kareem;844721]Assalam o Aliakm every one m new here ...please help me regarding computer science its course is very lenghty.[/QUOTE]
I don't think so that computer course is very lengthy being a Computer Science student. There are total 12 sections and each seaction would hardly take 10-15 days with 6 hour of daily study but remmber this is only for those who had prior knowledge of computer science , never think of computer science as optional subject if your background is not about computer science.

mechanacal Thursday, November 26, 2015 11:52 PM

AOA plz if any one have computer science notes share with me plz

, differnce in computer engineering and bioinformatics?

mustansar~hussain Saturday, November 28, 2015 12:09 PM

[QUOTE=mechanacal;887498]AOA plz if any one have computer science notes share with me plz

, differnce in computer engineering and bioinformatics?[/QUOTE]

[URL="https://sites.tufts.edu/eeseniordesignhandbook/2015/bioinformatics/"][B]Click here[/B][/URL] to know the answer concerned.

HafizIkram678 Thursday, April 20, 2017 05:48 PM

Study any good book on algorithms. About 50% of the questions are related to algorithms and algorithmic theory.

Manshu Khan Monday, September 23, 2019 11:38 AM

Computer Science
 
This article have complete information. Thanks all members


11:11 AM (GMT +5)

vBulletin, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.