Tuesday, September 16, 2008

MCA SOLVE ASSIGNMENTS MCS - 012

Question 1(a) use and bit binary representation for integer using signed 2’s compliment notation. Use this representation to performing the following operations on decimal numbers.
1. add -52 and 60
Solution.
00110100 (52)
00111100 (60)

11001100 (-52)
00111100 (60)
100001000

1 is discarded

2. subtract 20-100

00010100 (20)
01100100 (100)
01111000 (120)

(b) Convert the hexadecimal number F5B6D3 to binary and octal.
Solution.
(15, 5, 11, 6, 13, 3)
(001111 00101, 01011, 00110, 01101, 00011)

d) Draw a logical diagram of a 2×4 line decoder with only NOR gate. Include an enable input E so that the circuit is enabled when E-1 and disabled when E=0. Also list the truth table.

n=Input
2n=Output
Single enable line

I0 O0
O1
O2
I1 O3



E


N=2
2n = 22 = 4











TRUTH TABLE



input output
I0 I0 O0 O1 O2 O3
0 0 1 0 0 0
0 1 0 1 0 0
1 0 0 0 1 0
1 1 0 0 0 1



f) Representation the number (55.5)10 on a floating- point binary number with 24 bits. The normalized fraction mantissa has 16 bits and the exponent has 8 bits.
Solution. Here mantissa has = 16 bits
Exponent =8 bits
Now floating point ALU.

















(5.5)10

Here base=10
Floating point no.
3.5
It’s a higher positive no:-

5 * (0.5)10

5 + (0.5)10 * 2 -128

5 + 0.5 * 2-128
Mantissa representation







Question.2 Design a counter with the following represented binary sequence.
0, 1, 1, 2, 3, 4, 5, 6, 7, 8 using JK flip-flop.
J and K Flip-flop

Counters in flip-flop:- a counter is register whose values are incremented by 1 on the occurrence of some event. When the value is stored in counter reaches the man value it can store the next incremented value becomes 0(zero).The counter are used for counting the no of times of on event occurs and are useful for generating the timing. Signals for controlling the sequence of operation in digital computers.

Diagram for Flip-flop





(c)Pipelining:- It is a technique of decomposing a sequential process into sub operations, with each sub process being executed in a special dedicated segment that operates concurrently with all other segments. A pipelining can visualize as a collection of processing segment through which binary information flows.


Latency time: - time taken by a head to search a track and. It is read all data from any track.

Raid:-Raid is method which is use for mapping the data and mirroring the data.

Example:-






Mirroring of data

VON NEUMEN COMPUTER


















d) Difference between CD – ROM and DVD ROM

CD – ROM
CD- compact disk ROM is uses for reading
the data of CD and it is a hardware device. DVD – ROM
DVD- ROM uses for reading DVD’s data and it is also a DVD device. It is beneficial for reading the data from DVD.

Question3.

Right shift:-
11100011
After right shifting




1 1 1 0 0 0 1 1




1 1 1 1 0 0 0 1

After left shift:-
1 0 0 1 1 1 0 0



Question3 (b) simplify the following Boolean function in sum of products forms by a four variable K-map. Draw the logical with (a) OR-NAND gate (b) NOR gate.
F(a,b,c,d)= €( 1,3,5,6,7,9,11,14,15)


AB/CD C¯D¯ C¯D CD CD¯
A¯B¯ 0 1 3 2
A¯B 4 5 7 6
AB 12 13 15 14
AB¯ 8 9 11 10


F= A¯B¯D + A¯C¯D + ABC + BCD¯ + ACD

A B C D























Question 4(c) semiconductor memory: - the first memory chip was constructed in 1970 and could held 256 bits that means 28 .
Microprocessor: - Firstly is developed in 1971. In 1993, Intel annoc Pentium with 64 bits microprocessor.







Website counter

No comments: