0% found this document useful (0 votes)
20 views

Lesson 7: Half-Bit and Full-Bit Adders

Half-bit adders only add two bits and ignore carry from previous additions, while full-bit adders consider carry as a third input. Computer software includes both system software that manages hardware resources and application software that fulfills user needs. The syntax of a language defines acceptable character sequences, while semantics associate meaning to syntactically correct sequences. A CPU can only execute machine code instructions represented in binary, requiring translation of programs written in high-level languages by compilers or interpreters.

Uploaded by

raasiboi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views

Lesson 7: Half-Bit and Full-Bit Adders

Half-bit adders only add two bits and ignore carry from previous additions, while full-bit adders consider carry as a third input. Computer software includes both system software that manages hardware resources and application software that fulfills user needs. The syntax of a language defines acceptable character sequences, while semantics associate meaning to syntactically correct sequences. A CPU can only execute machine code instructions represented in binary, requiring translation of programs written in high-level languages by compilers or interpreters.

Uploaded by

raasiboi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Lesson 7

Half-bit and Full-bit adders


-

Half bit adder only adds two bits (only 2 inputs), ignores any carry from
previous addition
Full-bit adders consider carry input (3 inputs)
So why do we even consider half bit adders?

Operating Systems
An operating system is software that manages and interacts with the hardware
resources of a computer
Because it is intrinsic to the operation of a computer,

User-><- Application -><- Operating System -><- Hardware

Computer Software
Computer software is a set of program instructions, including documentation, that
can be executed by computer
While system software is part of a computer system, application software fulfills
users needs, such as a photo-editing program.

Syntax
The syntax of a language is a set of characters and the acceptable sequences of
those characters.

Semantics
The semantics of a language is the meaning associated with each syntactically
correct sequence of characters
Colorless green ideas sleep furiously
This sentence is syntactically correct, but has no meaning. Thus, it is semantically
incorrect.

Every language has its own syntax and semantics

Program Execution
A CPU is designed to interpret and execute a specific set of instructions represented
in binary form. (0s and 1s) called machine code.
Only programs in machine code can be executed by a CPU

Program Translation
Programs are written in a high level programming language such as python jaca

Thus we need a translator from high level

There are two fundamental types of translators:


-

Compiler: Translates programs into machine code to be executed by the CPU


Interpreter: executes instructions in place of the CPU

You might also like