The following questions (Q20-Q33) are of a slightly different
pattern than those above and may also be asked:
20. Find the output of the following program
21. What does the statement int(*x)() indicate?
22. Which addressing mode is used in the following statements:
(a) MVI B,55
(b) MOV B,A
(c) MOV M,A
Ans. (a) Immediate addressing mode.
(b) Register Addressing Mode
(c) Direct addressing mode
23. RS-232C standard is used in _____________.
Ans. Serial I/O
24. How are parameters passed to the main function?
25. What does the file stdio.h contain?
a) functin definition
b) function decleration
c) both func. defn & func. decleration.
26. sscanf is used for ?
27. Memory. Management in Operating Systems is done by
a) Memory Management Unit
b) Memory management software of the Operating System
28. What does the statement strcat(S2,S1) do?
29. TCP(Transmission Control Protocol) is Connection Oriented and used in
30. IP(Internet Protocol) is connectionless and used in _________________ layer?
31. For LAN Netwrok layer is not required. Why?
32. What is done for a Push opertion?
Ans: SP is decremented and then the value is stored.
33. Describe the following structures as LIFO/FILO/FIFO/LILO
Page No :