Question
Let $\text{X}=\overline{\text{ABC}}+\overline{\text{BCA}}+\overline{\text{CAB}}.$ Evaluate X for:
  1. $\text{A}=1,\text{B}=0,\text{C}=1$
  2. $\text{A}=\text{B}=\text{C}=1$
  3. $\text{A}=\text{B}=\text{C}=0$

Answer

Given,
Output $\text{X}=\overline{\text{ABC}}+\overline{\text{BCA}}+\overline{\text{CAB}}$
  1. $\text{A}=1,\text{B}=0,\text{C}=1$
$\text{X}=1.\Big(\overline{0.1}\Big)+0\Big(\overline{1.1}\Big)+1\Big(\overline1.0\Big)$

$=1.\bar{0}+0.\bar{1}+1.\bar{0}$

$=1.1+0.0+1.1$

$=1+0+1$

$=1+1$

$=1$
  1. $\text{A}=\text{B}=\text{C}=1$
$\text{X}=1\Big(\overline{1.1}\Big)+1\Big(\overline{1.1}\Big)+1\Big(\overline{1.1}\Big)$

$=1.\bar{1}+1.\bar{1}+1.\bar{1}$

$=1.0+1.0+1.0$

$=0+0+0$

$=0$
  1. $\text{A}=\text{B}=\text{C}=0$
$\text{X}=0\Big(\overline{0.0}\Big)+0\Big(\overline{0.0}\Big)+0\Big(\overline{1.1}\Big)$

$=0.\bar{0}+0.\bar{0}+0.\bar{0}$

$=0.1+0.1+0.1$

$=0+0+0$

$=0.$

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free

Similar questions

The energy of a silver atom with a vacancy in K shell is 25.31keV, in L shell is 3.56keV and in M shell is 0.530keV higher than the energy of the atom with no vacancy. Find the frequency of $\text{K}_\alpha\text{K}_\beta$ and $\text{L}_\alpha$ X-rays of silver.
Though the law gives women equal status in India, many people hold unscientific views on a woman’s innate nature, capacity and intelligence, and in practice give them a secondary status and role. Demolish this view using scientific arguments, and by quoting examples of great women in science and other spheres; and persuade yourself and others that, given equal opportunity, women are on par with men.
An elastic spring of force constant K is compressed by an amount x. Show that its potential energy is $\frac{1}{2}\text{Kr}^2.$
It is required to construct a $10\mu\text{F}$ capacitor which can be connected across a 200V battery. Capacitors of capacitance $10\mu\text{F}$ are available but they can withstand only 50V. Design a combination which can yield the desired result.
A car of mass $1000\ kg$ accelerstes uniformly from rest to $I$ veloclty of $54\ km/ h$ in $5$ seconds. Calculate:
  1. Its acceleration.
  2. Its gain in $K.E$.
  3. Average power of the engine during this period Neglect friction.
Earthquakes generate sound waves inside the earth. Unlike a gas, the earth can experience both transverse $( S )$ and Iongitudinal ( $P$ ) sound waves. Typically the speed of $S$ wave is about $4.0 km s ^{-1}$, and that of $P$ wave is $8.0 km s ^{-1}$. A seismograph records P and S waves from an earthquake. The first P wave arrives 4 min before the first S wave. Assuming the waves travel in straight line, at what distance does the earthquake occur?
Prove that after a direct elastic collision between two balls of equal mass, their velocities mutually interchange.
A particle A having a charge of $2.0 \times 10^{-6} \mathrm{C}$ and a mass of 100 g is placed at the bottom of a smooth inclined plane of inclination $30^{\circ}$. Where should another particle $B$, having same charge and mass, be placed on the incline so that it may remain in equilibrium?
Let us assume that our galaxy consists of $2.5 \times 10^{11}$ stars each of one solar mass. How long will a star at a distance of $50,000 \mathrm{ly}$ from the galactic centre take to complete one revolution? Take the diameter of the Milky Way to be $10^5 \mathrm{ly}$.
A block of mass $15kg$ hangs from three chords as shown in figure. What are the tensions in the chords?