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

Digital Logic Fundamentals and Programming in C

Question

Uploaded by

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

Digital Logic Fundamentals and Programming in C

Question

Uploaded by

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

(6 pages)

OCTOBER 2013 U/ID 46432/UCCB

Time : Three hours Maximum : 100 marks

PART A — (10 × 3 = 30 marks)

Answer any TEN questions.

All questions carry equal marks.

1. Convert the Hexadecimal (B65F) into its decimal


equivalent.

£vß AÖ© Gs B65F–I u\© GsnõP ©õØÖP.

2. Expand ASCII and EBCDIC.

‘ASCII’ ©ØÖ® ‘EBCDIC’–I ›ÁõUSP.

3. Prove the theorem of Boolean algebra x + 1 = 1 .

§¼¯ß C¯ØPou ÷uØÓ® x + 1 = 1 –I {¹¤.

4. How to construct a flip-flop?

GÆÁõÖ flip-flop (HØÓ®&C¸US®)–I


E¸ÁõUSÁx?

www.downloadmela.com - World's number one free educational download p


5. List the set of micro-operations for the
accumulator.

vµÍPzvß & £À÷ÁÖ ~s&C¯UPzvøÚ £mi¯¼k.

6. List the steps involved in the design of an ALU.

ALU–øÁ ÁiÁø©¨£uØPõÚ ÁȰøÚ £mi¯¼k.

7. Summarize the rules that apply to all numeric


type constants.

AøÚzx Gs \õº ©õÔ¼°ß •øÓPøÍ öuõSzx


GÊx.

8. Explain all logical operators with example.

AøÚzx Hµn ö\¯ØSÔPøÍ Euõµnzxhß


ÂÍUSP.

9. Write ‘for’ loop control structure with an example.

For Pso Pmhø©¨¤øÚ Euõµnzxhß GÊxP.

10. Write a C function to swap two integer values


using pointers.

_mi°øÚ £¯ß£kzv Cµsk •Ê Gsoß


©v¨¤øÚ Ch©õØÓ® ö\´¯ ‘C’–ö©õȰÀ J¸
ö\¯À TÔøÚ GÊxP.

2 U/ID 46432/UCCB

www.downloadmela.com - World's number one free educational download p


11. Explain the usage of structures in ‘C’.
‘C’–ö©õȰÀ Pmhø©¨¤ß £¯ß£õmiøÚ ÂÁ›.

12. Explain any three file modes in ‘C’.


‘C’–ö©õȰÀ H÷uÝ® ‰ßÖ ÷Põ¨¦ •øÓø©ø¯
ÂÁ›.

PART B — (5 × 6 = 30 marks)

Answer any FIVE questions.

All questions carry equal marks.

13. Convert the expressions to sum-of-products term :


(a) (A + B) (B’ + C) (A’ + C)
(b) (A’ + C) (A’ + B’ + C’) (A + B’)
¤ßÁ¸® ÷PõøÁ°øÚ sum-of-products term– BP
©õØÖP.
(A) (A + B) (B’ + C) (A’ + C)
(B) (A’ + C) (A’ + B’ + C’) (A + B’)

14. Discuss any two implementations of a half-adder.


Half-adder–ß H÷uÝ® Cµsk |øh•øÓ°øÚ
ÂÁõv.

3 U/ID 46432/UCCB

www.downloadmela.com - World's number one free educational download p


15. Explain the operation of clocked RS flip-flop.
Clocked RS (HØÓ® – CÓUPzvß) ö\¯À£õmiøÚ
ÂÁ›.

16. Write in detail about data types in ‘C’.

‘C’–ö©õ顧 uµÄ ÁøPPøÍ ›ÁõP GÊuÄ®.

17. Explain the syntax of ‘switch.., case’ statement


with an example.

‘Switch.., case’ Pmhø©¨¤øÚ Euõµnzxhß


ÂÁ›.

18. Explain the difference between call by value and


call by reference with an example.

©v¨¦&AøÇ¨¦ ©ØÖ® •PÁ›&AøÇ¨¦US EÒÍ


÷ÁÖ£õmiøÚ Euõµnzxhß ÂÁ›.

19. Write a C function to find the length of a string


using pointers.

_mi°øÚ £¯ß£kzv J¸ \µzvß AÍøÁ


PnUQk® ö\¯Ø TØÔøÚ ‘C’–ö©õȰÀ GÊxP.

4 U/ID 46432/UCCB
[P.T.O.]

www.downloadmela.com - World's number one free educational download p


PART C — (4 × 10 = 40 marks)

Answer any FOUR questions.

All questions carry equal marks.

20. Using maps derive minimal product of sums


expression for the function in four variables
w , x , y, z : m0 + m2 + m4 + m8 + m9 + m10 + m11
+ m12 + m13 .
Áøµ£h® ‰»®, ¤ßÁ¸® |õßS ©õÔ ö\¯À TÔøÚ
_¸UPÄ®.
w, x , y, z : m0 + m2 + m4 + m8 + m9 + m10 + m11
+ m12 + m13

21. Explain the operation of a binary ripple counter.


C¸u\© SªÈ Gso&°ß ö\¯À£õmiøÚ ÂÁ›.

22. Describe in detail how the arithmetic and logic


unit of a computer is designed.
J¸ Po¨ö£õÔ°ß Pou Hµn APzvøÚ GÆÁõÖ
ÁiÁø©UP¨£kQÓx GߣuøÚ ÂÁ›UPÄ®.

23. Write in detail about precedence and associativity


of operators in ‘C’.
‘C’–ö©õ顧 AøÚzx C¯UP SÔPÎß •ß{PÌÄ
©ØÖ® öuõhº¤øÚ ›ÁõP GÊxP.

5 U/ID 46432/UCCB

www.downloadmela.com - World's number one free educational download p


24. Write a program in C to read an array of names
and to sort them in alphabetical order.
‘C’ö©õȰÀ GÊzxa\µ® Ao°øÚ Áõ[Q Aøu
Á›ø\¯õUP® ö\´²® J¸ {µÀ JßÔøÚ GÊxP.

25. Explain pointers with arrays and arrays of


structures with an example.
Aoa _mi ©ØÖ® Ao Pmhø©¨¤øÚ
Euõµnzxhß ÂÁ›.

——————

6 U/ID 46432/UCCB

www.downloadmela.com - World's number one free educational download p

You might also like