Decimal to Binary Conversion
44 Questions
3 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

When converting a decimal number to binary, what should you start with?

  • The average of all powers of 2.
  • A random power of 2.
  • The largest power of 2 that is less than or equal to the number to be converted. (correct)
  • The smallest power of 2.

After finding the largest power of 2 that can be subtracted, what is the next step in converting decimal to binary?

  • Subtract the power of 2 from the original number. (correct)
  • Add the power of 2 to the original number.
  • Multiply the power of 2 by the original number.
  • Divide the original number by the power of 2.

If a power of 2 cannot be subtracted from the remaining decimal value, what is annotated in the column under that power of 2?

  • A -1
  • A 1
  • A 0 (correct)
  • A 2

What is the binary equivalent of decimal 1?

<p><code>1</code> (A)</p> Signup and view all the answers

In the example provided, what is the largest power of 2 that can be subtracted from 75?

<p>64 (C)</p> Signup and view all the answers

Which license is this module designed for?

<p>Category B1 Licence (D)</p> Signup and view all the answers

What year is the copyright for this document?

<p>2024 (B)</p> Signup and view all the answers

What is the title of the CASA module presented?

<p>Digital Techniques / Electronic Instrument Systems (D)</p> Signup and view all the answers

According to the document, what should a Level 1 applicant be able to do?

<p>Give a simple description of the whole subject using common words and examples. (D)</p> Signup and view all the answers

What is expected of an applicant with a Level 2 knowledge indicator?

<p>Having a general knowledge of the theoretical and practical aspects of the subject. (B)</p> Signup and view all the answers

What is a key characteristic of a Level 3 knowledge applicant?

<p>Capacity to combine and apply separate elements of knowledge logically. (C)</p> Signup and view all the answers

What base does the binary numbering system use?

<p>Base 2 (C)</p> Signup and view all the answers

For Category C applicants, what basic knowledge level must they meet?

<p>Either the Category B1 or the Category B2 basic knowledge levels (C)</p> Signup and view all the answers

How many different values can be represented with one bit?

<p>2 (B)</p> Signup and view all the answers

What should a Level 2 applicant be able to do with sketches, drawings, and schematics?

<p>Read and understand them. (A)</p> Signup and view all the answers

What is another name for 4 bits?

<p>Nibble (D)</p> Signup and view all the answers

What values does a digital computer use?

<p>On and off (C)</p> Signup and view all the answers

How many bits are in a byte?

<p>8 (C)</p> Signup and view all the answers

What does a calculator do when you type in a decimal number?

<p>Converts it to digital (C)</p> Signup and view all the answers

Which numbering system uses powers of 2 to determine the value of a position?

<p>Binary (B)</p> Signup and view all the answers

Which numbering system is used by computers to perform calculations?

<p>Base 2 (Binary) (D)</p> Signup and view all the answers

In the base 8 numbering system, what does the '3' in the number represent?

<p>3 times 8 (B)</p> Signup and view all the answers

What does the zero in a number indicate?

<p>It indicates that there are no values in that position. (B)</p> Signup and view all the answers

Why is the Base 8 (Octal) system used?

<p>It's used because it is easily converted from binary. (C)</p> Signup and view all the answers

How many binary bits does an octal value represent?

<p>Three (A)</p> Signup and view all the answers

To what is the Base 16 (Hexadecimal) system similar in terms of ease of conversion?

<p>Octal (C)</p> Signup and view all the answers

How many binary bits does a hexadecimal numeral represent?

<p>Four (B)</p> Signup and view all the answers

What numbering system is the universal method of counting and recording values?

<p>Base 10 (Decimal) (B)</p> Signup and view all the answers

In hexadecimal, what represents remainders higher than 9?

<p>Letters (B)</p> Signup and view all the answers

What is the base of the hexadecimal number system?

<p>16 (B)</p> Signup and view all the answers

In the division method for decimal to hexadecimal conversion, what is the first step?

<p>Convert the decimal number to binary. (A)</p> Signup and view all the answers

What binary grouping is substituted with a hexadecimal numeral?

<p>Four binary bits (C)</p> Signup and view all the answers

What is the hexadecimal equivalent of the decimal number 10?

<p>A (C)</p> Signup and view all the answers

If you have the binary number 1111, what is its hexadecimal equivalent?

<p>F (C)</p> Signup and view all the answers

Why is converting to binary useful in number system conversions?

<p>Binary is a common language. (B)</p> Signup and view all the answers

What is the result of converting the binary number 0011 to hexadecimal?

<p>3 (C)</p> Signup and view all the answers

How does the number of comparators in a Flash ADC scale with increasing binary bits?

<p>Exponentially (C)</p> Signup and view all the answers

What type of gates can be used to realize the highest-order-input selection effect in a Flash ADC encoder?

<p>Exclusive-OR (XOR) gates (A)</p> Signup and view all the answers

What limits the speed of a flash converter?

<p>Comparator and gate propagation delays (C)</p> Signup and view all the answers

What is a key disadvantage of the flash converter?

<p>High component count for a given number of output bits (A)</p> Signup and view all the answers

What is an often overlooked advantage of the flash converter?

<p>Ability to produce a scaled output (A)</p> Signup and view all the answers

In the context of a fuel tank float sensor, where does the float have more horizontal movement?

<p>At the extremities of close to full and empty (A)</p> Signup and view all the answers

What can be adjusted to ensure each change of Binary 1 at the output represents the same change in fuel quantity?

<p>The value of the resistors (B)</p> Signup and view all the answers

What components can a simpler, non-priority encoder in a Flash ADC be made from?

<p>Diodes (B)</p> Signup and view all the answers

Flashcards

Knowledge Level 1

Basic knowledge; familiar with subject elements; simple descriptions using common words and examples; use of typical terms.

Knowledge Level 2

General knowledge of theoretical and practical aspects; ability to apply knowledge.

Knowledge Level 3

Detailed knowledge of theoretical and practical aspects; capacity to combine and apply separate elements logically and comprehensively.

Level 1: Objective

Familiarity with the subject's basic components.

Signup and view all the flashcards

Level 2: Objective

Understanding theoretical fundamentals; using math formulas with physical laws.

Signup and view all the flashcards

Level 2: Skills

Reading and understanding sketches, drawings, and schematics.

Signup and view all the flashcards

Level 3: Objective

Detailed description using theoretical fundamentals and specific examples.

Signup and view all the flashcards

Level 3: Knowledge

The applicant should know the theory of the subject and interrelationships with other subjects.

Signup and view all the flashcards

Powers of 2 in Conversion

The highest power of 2 that is less than or equal to the decimal number you are converting.

Signup and view all the flashcards

Decimal to Binary: Division Method

Repeated division of the decimal number by 2, noting remainders, to convert to binary.

Signup and view all the flashcards

Decimal to Binary: Subtraction Method

Subtracting the largest possible power of 2, annotating a '1', and repeating with the remainder.

Signup and view all the flashcards

Octal to Decimal Conversion

Converting the octal number to binary first, then converting the binary to decimal.

Signup and view all the flashcards

Octal Truth Table

A table showing the decimal equivalent of each octal digit.

Signup and view all the flashcards

Bit

A digit in the binary system; has two possible values: 0 or 1.

Signup and view all the flashcards

Nibble

A group of 4 bits.

Signup and view all the flashcards

Byte

A group of 8 bits.

Signup and view all the flashcards

Word

A group of 16 bits.

Signup and view all the flashcards

Long Word

A group of 32 bits (2 words).

Signup and view all the flashcards

Very Long Word

A group of 64 bits (4 words).

Signup and view all the flashcards

Binary Numbering System

Base-2 numbering system using only 0 and 1.

Signup and view all the flashcards

Binary Place Value

A numbering system where each digit's position represents a power of 2.

Signup and view all the flashcards

Positional Notation

A numbering system where the position of a digit determines its value (e.g., base 10).

Signup and view all the flashcards

Importance of Zero

The numeral '0' indicates the absence of a value in a specific position and greatly impacts the value.

Signup and view all the flashcards

Base 10 (Decimal)

The common numbering system with base 10.

Signup and view all the flashcards

Base 2 (Binary)

A numbering system used in computers with base 2.

Signup and view all the flashcards

Base 8 (Octal)

A numbering system with base 8, commonly used in computer applications.

Signup and view all the flashcards

Binary to Octal Conversion

Octal is easily converted from binary by grouping binary digits into groups of three.

Signup and view all the flashcards

Base 16 (Hexadecimal)

A numbering system with base 16.

Signup and view all the flashcards

Digital vs. Analogue

Unlike analogue, which uses continuously changing values, digital uses discrete numerical values.

Signup and view all the flashcards

Hexadecimal Letters

Hexadecimal uses letters A-F to represent remainders 10-15 when converting from decimal.

Signup and view all the flashcards

Decimal to Hex Conversion

Convert decimal to binary first, then group binary into sets of four digits, and substitute each set with its hexadecimal equivalent.

Signup and view all the flashcards

Steps for Decimal to Hex

  1. Convert the decimal number to binary (using division or subtraction). 2. Group the binary digits into sets of four. 3. Convert each group of four binary digits to its hexadecimal equivalent.
Signup and view all the flashcards

Hexadecimal Digits

0-9, A, B, C, D, E, F. (A represents 10, B is 11, up to F which is 15)

Signup and view all the flashcards

Binary Grouping

The binary digits are grouped into sets of 4, starting from the right.

Signup and view all the flashcards

Binary as a Universal Translator

Using binary as a common language to convert between numbering systems.

Signup and view all the flashcards

Binary to Hex Example

Convert to binary and group in 4. 0011 0010 becomes 32

Signup and view all the flashcards

Binary to Hex Example 2

Convert to binary and group in 4. 1010 1111 becomes AF.

Signup and view all the flashcards

Flash ADC Comparator Count

In a Flash ADC, the number of comparators increases exponentially with each additional binary bit.

Signup and view all the flashcards

Flash ADC Encoder with XOR

A Flash ADC encoder uses Exclusive-OR (XOR) gates to achieve highest-order-input selection, simplifying the encoder design.

Signup and view all the flashcards

Flash ADC Speed

Flash converters are the fastest ADC technology because they are limited only by comparator and gate propagation delays.

Signup and view all the flashcards

Flash ADC Component Count

Flash ADCs are component-intensive, requiring many components for each output bit.

Signup and view all the flashcards

Flash ADC Scaled Output

Flash converters can produce a scaled output by adjusting resistor values, allowing for non-linear sensor response correction.

Signup and view all the flashcards

Float Sensor at Half-Full

The float moves almost vertically, giving a realistic readout of the contents at the half-full point.

Signup and view all the flashcards

Float Extremities Motion

At close to full and empty, the float has more horizontal movement, giving a larger change in angle.

Signup and view all the flashcards

Resistor Adjustment Purpose

By adjusting the value of the resistors, each change of Binary 1 at the output would represent the same change in fuel quantity, no matter the fuel level.

Signup and view all the flashcards

Study Notes

  • Computers are employed for repeated calculations and processing large data amounts, with applications in aviation, military, and scientific sectors.
  • Digital computers offer advantages like speed, accuracy, and manpower savings, taking over routine tasks.
  • Humans use decimal numbers, while computers use coded electronic pulses.

Numbering Systems

  • Numbering systems have common components: unit, number, and base.
  • Decimal: Base 10, uses 0-9
  • Binary: Base 2, uses 0 and 1
  • Octal: Base 8, uses 0 to 7
  • Hexadecimal: Base 16, uses 0-9 and A to F

Units and Numbers

  • A unit is a single object, like an apple or a dollar.
  • A number is a symbol representing a unit or quantity
  • Arabic numerals (0-9) are primarily used, may use letters.

Numbering Systems - Base

  • The base indicates the number of symbols
  • Indicated via a subscript decimal number (1010₂) following the value.
  • The highest value symbol used is always one less than the base.

Positional Notation and Zero

  • Positional notation: a number's value depends on its symbol and position.
  • Zero: Placement affects represented value's magnitude.

Digital Numbering Systems

  • Base 10 system aka Decimal is the universal method for counting. Example 12 as 12₁₀
  • Base 2 system or Binary: is used by computers to perform all calculations. Example 1100 as 1100₂
  • Base 8 or Octal is used in computer applications and digital systems. Example 144 as 144₈
  • Base 16 system aka Hexadecimal which eases conversion from binary. Example 90 as 90₁₆

Key Binary Terms

  • Bit: one binary digit
  • Nibble: 4 bits; four possible values
  • Byte: 8 bits
  • Word: 16 bits
  • Long word: 32 bits
  • Very long word: 64 bits

Binary Numbering System

  • The base 2 system relies on 0 and 1 symbols.
  • Each position represents a power of 2.

Octal Numbering System

  • Each octal numeral is represented by three binary digits for easy conversion.
  • Octal numerals: 0, 1, 2, 3, 4, 5, 6, 7.

Hexadecimal Numbering System

  • Base 16 uses 16 symbols: 0-9 and A-F. Each hex digit represents four binary digits
  • Hex uses the decimal system's first 10 numbers, uses A for 10, B for 11, C for 12, D for 13, E for 14, F for 15

Converting Between Numbering Systems

  • Binary to Decimal Conversion using the binary truth table.

Decimal to Binary Conversion - Division (Method 1)

  • Repeatedly divides a decimal number by 2 and records the quotient and remainder.

Decimal to Binary Conversion - Subtraction (Method 2)

  • Repeatedly subtracts powers of 2 from the decimal number.

Octal to Decimal Conversions

  • The Octal number may need conversion to binary for humans to understand its decimal expression.

Decimal to Octal Conversion (Method 1)

  • Convert the decimal number to binary, substitute three binary sets for the first octal digit.

Decimal to Octal Conversion (Method 2)

  • To convert decimal to octal, divide the decimal number by 8. All the remainders represent the converted octal number.

Hexadecimal to Decimal Conversions

  • To convert a hexadecimal number to decimal, convert the hex number to binary. Then convert the binary to decimal. As already explained by using binary truth table. One can convert directly with the hexadecimal truth table.

Decimal to Hexadecimal Conversions

  • To convert Decimal numbers, it is quite difficult to use division, instead one should first convert Decimal to Binary and then Binary to Hex using the above techniques.

Data Conversion

  • Data Conversion involves Analog and Digital Data

Data Conversion (5.3)

  • Analog data is continuous, capturing every nuance.
  • Digital data samples and encodes.
  • Analog is unfiltered raw data.
  • Digital is filtered data used in ADC and DAC.

Converting Between Analogue and Digital

  • Analogue-to-Digital Converters (ADC) convert analogue to digital.
  • Digital-to-Analogue Converters (DAC) convert digital to analogue.
  • The function of an Op-amp should be understood first

Typical Data System elements for conversion between digital Analog

  • Transducer

  • ADC

  • Computer

  • DAC

  • Actuator

  • The physical variable gets read by transducer, this outputs the data Electrical analogue. ADC then converts to digital to be processed by a computor, a proportional analogue voltage or current is presented.

Operational Amplifiers (Op-Amps)

  • Operational amplifiers compare amplitude of voltage with another
  • Open-loop configuration with input voltage on one input and reference voltage on the other

Op Amp Characteristics

  • High gain, order of a million.
  • High-input impedance, low-output impedance.
  • Split supply, usually +/- 15 V.
  • Used with feedback; gain determined by feedback network

Operation of Op-Amps as Comparators

  • Zero Level Detection is used to determine when an input voltage exceeds a level by grounding inverting input
  • High open-loop voltage of -amps drives it to saturation upon a small difference between inputs

Non-Zero Level Detection

  • Modified to detect voltages other than zero by connecting a fixed reference to inverting input
  • Practical arrangement uses voltage divider to set reference voltage

Non-Inverting Amplifier

  • Op-amp is connected in a closed-loop as a non-inverting amplifier.
  • It has a controlled amount of voltage gain.

Inverting Amplifier

  • Input signal applied to inverting input.
  • Output applied back to inverting input.
  • Feedback circuit forms voltage divider to reduce output voltage.

Digital to Analogue Conversion

  • Digital-to-Analogue Converters: convert signals between analogue and digital
  • Conversions based on a DAC or D/A converter circuit
  • 1, 2, 4, and 8 digital input values are input to op-amp via weighted resistors

Binary Weighted Resistor DAC

  • Converts a 4-bit binary number to a matching output voltage.
  • Circuit uses +5 V as logic 1 and 0 V as logic 0.
  • Digits 1, 2, 4, and 8 indicate relative weight.

R/2R Ladder DAC

  • This ladder uses just two resistance values
  • Temperature variations have less effect

R/2R Ladder DAC Operation

  • The fundamental principle shows two parallel resistors of equal value have a circuit resistance of one half of an individual resistor

Analogue to Digital Conversion

  • Analogue to digital conversion is a common interfacing process often used when a linear system must provida inputs to a digital system

Analogue to Digital Conversion Methods

  • Analogue to Digital Conversion typically includes:
  • Flash or simultaneous
  • Digital-ramp or counter type

Flash ADC

  • Determines which analogue voltage is closest to 0, 1, 2 or 3 volts, and stored as a 2-bit number
  • Requires a set of comparators
  • Encoder: Additional circuitry encodes signals into digital numbers.
  • Requires many comparators

Flash ADC Encoder

  • Flash ADC Encoder: allows the use of a simpler, non-priority encoder

Digital-Ramp ADC

  • Uses a DAC and single comparator
  • Uses a binary counter as a register

Data Buses (5.4)

  • Data Buses use binary
  • Transfer data through Digital Data Transfer

Serial Data Transfer

  • Bits in sequence
  • Less hardware than parallel

Parallel Data Transfer

  • Each bit from separate circuit, transferred over separate line

Multiplexing

  • Multiplexing. is the combining two or more channels onto a common transmission medium.
  • In aircraft multiplexing decreases number of wires carrying signals.
  • Digital 'time division' technique

Aircraft Multiplex System

  • With digital technology, digital computers offered increased computational capabilities than anlogue systems

Data Bus systems

  • Interface between computer to external device.
  • Usually shielded and jacketed.
  • Provide spike protection, EMF elimination, accurate transmissions.

Data Bus connectors

  • Multiplexer bus acts as an arterial highway.
  • Bus Controller manages data, peripheral components connect through breakouts.

Bus Controller

  • Terminals are capable as BC, only one BC Active at a time
  • Commands : Data transfer, Control, Management and the bus

MIL-STD-1553 Data Bus

  • MIL-STD-1553 - Military Standard defines electrical and protocol characteristics for data bus

MIL-STD-1553 Data Words

  • Each word length is 20 bits long.
  • The 3 bits sync field Device clocks to re-sync.
  • The next 16 bits are the information field
  • parity bit

Data Bus information

  • Data: Contains purely data, are always commanded with status.
  • Status words: Contain terminal address where status word is sent.
  • Bit encoding: based on Bi-Phase Manchester II format

ARINC 429

  • ARINC provides Standard specifications and standards for avionics equipment
  • Aircraft can equip with a different number of systems due to interconnections. ARINC details specifications for these numbers.

ARINC 429 Usage

  • ARINC 429 is found in air craft's like airbus 310 - A340 as well as boeing and mcdonnel douglas

ARINC 429 Characteristics

  • Used for data busses with two signal wires.
  • a word size of 32 bit
  • simplex data bus
  • Bit encoding has bipolar return

ARINC 629

  • new technology known as digital autonomous terminal access communication was being developed by boeing
  • it has the design for global data bus which will have all information to get to components
  • the device was to provide both coding components so this wouldn't be jumbled during exchange

Logic Circuits (5.5)

  • Boolean Logic
  • Representing Binary Quantities
  • Digital Signals and Timing Diagrams
  • Boolean Constants and Variables
  • Truth Tables
  • Simple Logic Gates
  • Logic Gates

Boolean Logic

  • Is a circuit's outputs and inputs.

Representing Binary Quantities

  • Digital systems: binary used for computations.
  • Two operating states/conditions.
  • Open/ closed switch
  • Lightbulb

Logic States

  • Binary 0 is 0V.
  • Binary 1 is +5V.
  • Practical systems use Voltage Range.
  • 0 or 0.8V == Binary zero.
  • 2+ or 5V == Binary 1.

Digital Signals and Timing Diagrams

  • An ideal digital waveform is a square wave.

Boolean Constants and variables

  • Boolean algebra contains 2 values, 0 and 1
  • Boolean variable: quantity equal to 0/1
  • Voltage is voltage, 0/1 (Logic Level).
  • 0/1, Low/High, False/True, Off/On are Synonyms.

Boolean Values

  • Boolean algebra: means to expresses relationship with a logic circuit
  • Logic Operations: AND / OR/ NOT

OR Gates

  • If A or B or both are one
  • If not 1
  • The same holds for multiline combinations

And Gates

  • Can only be 1 when they are all 1

Not gates

  • Not is when it is always inverted

The Universal Gates

  • NOR and NAND gates can both form an inverter, OR gate or AND gate

Buffers

  • Buffer : Where output feeds to next input, the inverters cancel each other
  • Used mainly for impedance matching

Inverters in Circuits

  • Output is simple input expression
  • The overbar represents not operation

Logic Waveform Example Problems

  • To be able to understand the operation of components
  • To comprehend the language the components use
  • Important for signal integrity and digital electronics

Electrical Circuit Logic Examples

  • Circuits all form basic and and or relationship for operation

Flip-Flops and Latches

  • Flip-flops arrange logic gates and stores binary data

Flip-Flops

  • One of interesting thing with using Logic gate is memory. With logic gates, flip flop circuits can be achieved by creating a "remembered" arrangement and maintains the state until altered.

Common Applications for FlipFlops

  • The most common application of flip flops,

  • Frequency divider circuits

NAND S-R FlipFlops and RS latch

  • Constructed within circuits

SR Flip Flops

  • Invalid state means states are reverse

The term invalid or determinate

  • Is in some cases what the flip-flops and switch reverse or be in same state.

Aperiodic Mode

  • data is direct result of discrete events
  • updated at a non uniform rate

ARINC 429 standard

  • installs standard

  • Electrical Characteristic has different variable value

  • high performance

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

Description

Learn the steps to convert a decimal number to its binary equivalent, starting with finding the largest power of 2. Understand how to annotate powers of 2 and determine the binary representation.

More Like This

الاختبار القبلي
10 questions

الاختبار القبلي

EngagingLeaningTowerOfPisa avatar
EngagingLeaningTowerOfPisa
Number Systems and Conversions Quiz
8 questions
Conversión Decimal-Binario
37 questions
Binary to Decimal Number Conversion
6 questions
Use Quizgecko on...
Browser
Browser