What is Computational Model

Ginni
Updated on 30-Jul-2021 13:37:04

7K+ Views

It is widely observed that certain computer architecture classes and programming language classes correspond to one another. For example von Neumann architectures and imperative languages, or reduction architectures and functional languages. The corresponding architecture and language classes must have a common foundation or paradigm called a computational model.The computational model comprises the set of following three abstractions are as shown in the figure −The first abstraction identifies the basic items of computation. This is a specification of the items the computation refers to any kind of computations that can be performed on them.For instance, in the Von Neumann computational model, ... Read More

Elements of Modern Computers

Ginni
Updated on 30-Jul-2021 13:35:07

5K+ Views

There are various elements of modern computers which are as follows −Computing Problems − It has been long identified that the theory of computer architecture is no greater limited to the mechanism of the bare machine hardware. A modern computer is an integrated system including machine hardware, an instruction set, system software, application programs, and user interfaces. These system elements are shown in the diagram.For scientific issues in science and technology, the solutions demand complex mathematical systems and endless integer or floating-point computations. For alphanumerical issues in business and government, the solutions demand detailed transactions, huge database management, and data ... Read More

Elements of Bus Design in Computer Architecture

Ginni
Updated on 30-Jul-2021 13:33:16

7K+ Views

There are few basic guidelines or design elements that distribute to categorize and differentiate buses.Bus TypesBus lines can be reported into two generic types are dedicated and multiplexed. A dedicated bus line is permanently authorized either to one function or a physical subgroup of computer components. A multiplexed bus line is assigned too many functions based on some parameters.Method of ArbitrationIn all but the simplest systems, more than one module can require control of the bus. Therefore only one unit at a time can strongly transfer over the bus, some method of arbitration is required. Various methods can be classified ... Read More

Hardware Components of the Computer System

Ginni
Updated on 30-Jul-2021 13:30:02

7K+ Views

The hardware components of a computer are classified into five groups are Input unit, Central processing unit, Output Unit, Control Unit, Arithmetic & logical unit.Input unitInput units are used by the computer to read the information. The most frequently used input devices are keyboards, mouse, joysticks, trackballs, microphones, and so on. Whenever a key is clicked, the matching letter or digit is necessarily interpreted into its equivalent binary code and communicate over a cable to either the memory or the processor.Output unitThe output unit is the reverse of the input unit. When the processor sends the output to the output ... Read More

Block Diagram of BCD Adder in Computer Architecture

Ginni
Updated on 30-Jul-2021 13:26:29

10K+ Views

BCD adder refers to a 4-bit binary adder that can add two 4-bit words of BCD format. The output of the addition is a BCD-format 4-bit output word. It can descript the decimal sum of the addend and augend and a carry that is created in case this sum exceeds a decimal value of 9. Therefore, BCD adders can perform decimal addition.A BCD adder is a circuit that adds two BCD digits in parallel and makes a sum digit also in BCD. A BCD adder should contain the correction logic in its internal construction. To add 0110 to the binary ... Read More

Decimal Arithmetic Operations in Computer Architecture

Ginni
Updated on 30-Jul-2021 13:23:01

8K+ Views

Decimal arithmetic operations refer to a digital function that does decimal micro-operations. This function adds or subtracts decimal numbers by forming 9’s or 10’s complement of the subtrahend. This decimal arithmetic unit first accepts coded decimal numbers and then generates output in the binary form.Algorithms that are used for arithmetic operations with decimal data and binary data are alike. If the micro-operations symbol is interpreted correctly the same flowchart can be used for both multiplication and division.The decimal numbers in BCD are stored in groups of four bits in the computer registers. When performing decimal micro-operations, every 4-bit group represents ... Read More

BCD Subtraction in Computer Architecture

Ginni
Updated on 30-Jul-2021 13:20:42

5K+ Views

A subtractor circuit is required to perform a subtraction operation on two decimal numbers. BCD subtraction is slightly different from BCD addition. Performing subtraction operation by taking the 9’s or 10’s complement of the subtrahend and adding it to the minuend is economical.It is not possible to obtain the 9’s complement by complementing every bit in the code because the BCD is not a self- complementing code. The 9’s complement has to be formed by a circuit that subtracts Notes every BCD number from 9.The 9’s complement of a decimal digit that is represented in BCD can be obtained by ... Read More

What is BCD Adder in Computer Architecture

Ginni
Updated on 30-Jul-2021 13:19:35

12K+ Views

BCD adder refers to a 4-bit binary adder that can add two 4-bit words of BCD format. The output of the addition is a BCD-format 4-bit output word, which defines the decimal sum of the addend and augend and a carry that is created in case this sum exceeds a decimal value of 9. Therefore, BCD adders can implement decimal addition.Construction of BCD AdderSum of Binary DigitsSum of BCD DigitsKZ8Z4Z2Z1CS8S4S2S1Decimal00000000000000010000110001000010200011000113001000010040010100101500110001106001110011170100001000801001010019010101001010010111001111011001000012011011000113011101011014011111011115100001010016100011010117100101101018100111101119In this table, K is the carry. The subscripts below the letter Z define the weights. The weights, according to the table, are 8, 4, 2, and 1. These weights can ... Read More

Use isgraph in Arduino

Yash Sanghvi
Updated on 30-Jul-2021 12:53:49

314 Views

The isGraph() function is very similar to the isPrintable() function in Arduino. The only difference is that isGraph() returns true only if the character being printed has some content.So, blank space gets excluded by isGraph() but included by isPrintable(). All normal characters, numbers, special characters, which have some content will return true when passed through isGraph().SyntaxThe syntax is −isGraph(myChar)Where myChar is the character being checked. A quick question. Will the tab and new line characters return true with isGraph().ExampleValidate your answer with a simple code like below −void setup() {    // put your setup code here, to run once: ... Read More

Shift In and Shift Out in Arduino

Yash Sanghvi
Updated on 30-Jul-2021 12:52:28

2K+ Views

shiftIn() and shiftOut() commands in Arduino are, very loosely speaking, software implementations of SPI. Of course, SPI is much faster, but SPI can work only on some specific pins of Arduino. shiftIn() and shiftOut() can use any two GPIOs of Arduino (not some specific pins like SPI).Both shiftIn() and shiftOut() require two digital pins, one dataPin and one clockPin.The dataPin will shift in or shift out a byte (8 bits) of data, 1 bit at a time. The clockPin synchronizes the data transfer. It is generally kept low, and for each bit transfer, it goes HIGH and then back to ... Read More

Advertisements