.,
..
S'08: 2 FN: AN203/ AD303 (1403) COMPUTING :\:\1) lNFOR\L.\TICS Time : Tbrcc hours
Maximum marks: 100 Answer
RYE
questions, taking A.,'\-Y r;'.-o from Group A,
A.'\I-T\\'Ofrom Group B :md All..from
Group C...
i.
I
All parts of a que~fjon (a, b, etc.) should be answered at one place. Answer
!
°.
j
sllOuldbe brief a.ndto-the-point and be supple-
mented with neat sketches. Un.rJ!xessary long anslVCT may resuit in loss of marks. Any missing or wrong dara may be assumed suitably giving prop~ justificatiolJ. FjguTes on the right-hand
side margin indicate full marks.
Group A i
Exr'lalnyouransw~rusmgsuitableexamples. (b)
What
are the advantages
.
( c)
6
of C++ programnlmg
compa!"ed 1:0C programming?
4
Write a C ++ program to read 20 integral numbers from
k.eyboard and from these separately print the foHowing: (E) .AJ]even numbers, (b) All odd numbers. ( c ) All numbers that are perf eet squares.
10 (Turn On~r)
- .-,.
j'
. I.
1. (a i Mention at least three" important features of C++ programmirlgthat are different from C programming.
,
i I
-
-
!
--
~
. I
I
1
! I
~
i
:
2. (a J \Vhat are constructors
8
(b) Definea structurecontainingbookname, book access number, author name. rack number at which book is located. Make suitable assumptions regarding the 4 size and type of these data.
.~
i
in C++?
Explain their use with suitable examples.
1
.'3
and destructors
1
,'t
( c) Det;ine an array of book structures using the structure definition of part ( b ) of this question. Write a method to sort the array of book structures in ascending order 8 of access number.
~ .
j
I ~
1;; -
i
3.
(a) Explain the difference between a L..\N and a WAN.
4
'
-'b) Explain, with the help of a schematic diagram, how LA..N"s can be internetworked. 8
j
(c) Explain how reliable transmission of data is achieved using TCP lIP even when the communication channel is noisy. 8
.,~
'~
~ ;&
1 tJ , ]
~
.1
4. (a) With the help of an example, explain how an informationsystem can be used for decisionmaking. 7
l.d
;
.1
31
;I i
j
;! ,/
Ii
{b} In an informationsystem, whatproblems mightoccur if the data are stored in files rather than a database. management system (DBMS)? 6 (c) Develop the flow-chart representation for a program that would read an integer from the user-representing the number of terms in a Fibonacci series and then 7
print the tcnns in the series. .1
~ J ~~
i
.. 1 j
! i,
Group B
5. (a) Give an algorithm to convert an octal number into a binary number.Using an exampk, explainhow the algorithmworks. 8 S'OR: 2 FN: AN203/AD303(l403} ( 2 J
( Continued)
( b) Draw a schematic diagram to show the different functional blocks inside a CPU and also show how they are interconnected. Briefly explain the roles of 6 different functional blocks.
(c) Explaindifferenttypes of secondarystorageusedin . computers. 6.
6
(a) What is the difference between a system software and an application software? Give at least two examples of each. -- - - -
6
( b) What is the difference between a compiler And a translator? Explain the relative advantages of these two techniques. 6 (c) What is the difference between multiprogrammed, multitasking and time-shared operating system? What is the advantage of a time-shared operating system over a multiprogrammed and a multitasking operating system?
7.
8
(a) What do you understand by a file system? How are files organized in the file system of Unix? 7 (b) Usinga schematic block diagram, explain how CPU, memory, secondary storage, and the input/output units are interconnected in a computer. Explainhow 7 they interact Witheach other. ( c) Briefly explain the main functions of an operatipg system. 6
8.
(a) Draw the truth table for the Boolean function ABC+A8C+AB. 5 ( b) Realize the Boolean expression of Q. 8 (a ) by using logic gates. 5 ( c) What do you mean by a virtual memory operating system? What are its advantages over an operating system using-physical memory only'?
S'08 : 2 FN : AN203/AD303(1403) ( 3 )
5
(Turn Over)
( d) What is Cache memory '?How does Cache memory improve the performance of a computer'?
,
5
Group C \
,
9. Identify whether the following statements are true or false. Also,justifyyour cho,iceinone sentence. Allprogra-
.
1
mmL11grelated questions refer to C -- :
2 x ]0
(i) A variable of type char can be used to store the integer 101.
1
'i" ~
i
(jj) A variable defined within a function is visible to all
1
I B ,t
functions onwards from its point of definition.
(ill) The dement referred to by array Example [5] is the sixth element of the array.
1
.
.:1
(iv) The binary representation of the decimal number 45.25 is 101101.1101.
.
( v) The hard disk is also known as the main memory of a cOJ:r.puter system.
1
i "i ..
,.
( vi) A minimum of four computers are required to establish a LAN. ( vii) The secondary m'~moryof a computer is also known as volatile memory.
( viii) A management information system is an exampl~ of a system program. {ix) Applicationprograms are easier to ""TItecompared to system programs. (x)
MS-DOS is an exampleDf a virtual memory operalllJg system.
~;"~Ii ~ FN : fu~2D31 AD303 (1403) ( .; )
AG-16.000