Summer 07

  • June 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Summer 07 as PDF for free.

More details

  • Words: 1,093
  • Pages: 6
,'-",

(

; "

"

'~ ,'I.

,. ,

,,'< "

S'01': 2 h'~ : A~203/

,.

" ..

AD 303 (1403)

COMPUTING AND INFORMATICS

.

Tirhc : TJjt~c hours

,

Maximum In.-irks: 1(}O Answer

FIVE questions,

uu,:Jl1g A.'-'YTWO [rom Group A,

( Al''YTWO[rom Group B and ALL {rom Group C.

All jJlirts otu questio/J (H, b, 'ctc) should be IllJslVcrcd at ollC'ZJlacc, Answer should be br~e[and to-thc-point and be suppJemen~cd with neat s~ctches, Unncccssa~ ~ong answers may result in las!>:of'mllrks, Any missing or wrong dat8 llWY he assumed 5'uitably givingpro]Jcr justiJjcatiwl: rigures on the right -hand side margJil indicate lull mads, Gr(,>upA 1.

(a) With reference (OOP),

to object

oriented 'programming

explain the terms (J) ,:ncapsu~ation, and

( if) abstraction,

( b) Differentiate between (I) fu nction and ( Ii) function overriding, (c)

2+2

"

"

"

,

(,>,verloading, ' 2 +2

Write a C" program which will determine whether an input number is prime or not?

(i ( Tum Over)

,

=

(d)

,-",.

~

1\ phonc number, such as (212) 767-8900, can tJc thought or as having three parts: the area code (20.1.2), -. , the exchange (767), and thc number (3900). W':"ite.. . ;

a C' . program that uses strueture to store these threc' . parts of a phone number separately. Callthe structure phone. Create two structure variables of type phone. Initialize one, alld have the user input a number for the other one. Theil display both numbers.

J

The

interchallge might look lik~ this: Enter your aleu cod~, exchallge alld number: 4155551212 My number is (212) 769-H900 Your numbcr is (415) 555-1212.

2.

6

(,1) Write a swap () function which exchanges two Iloaling point vallies of x and y., Test this function for a:=22 . 2 and b = 44 .4 as input and write down the _6 corresponding outpul. ( b) Write a program that reads 5 numbers in an array and then print them in reverse order. The numbers are l10ating point values. (c)

What is meant by the term 'system'? characteristics and categories system? Brieny discuss them. .

3.

(a) With

reference

to

ISO/QSI

following terms:

of

6

W,hat are the infonnation 8

model,

explain 2x4

(i) Entity (Ii) Protocol (ifi)

IS£>

( iv) Message. AN 203/AD 303 (1403)

( 2 )

( COli/ill uccl)

~

(7~ A LAI\ network using CSMA/CD has a bandwidth "of lO Mbps, If the maximu m propagation time {including the delays) is 25. 6 ~lsec, what is the 4 minimum size of the frame:

(c) What is LAN? What is IEEE standards for LA1\i? , Describethem briefly with a neat diagram, 8 4.

(a) What is email ? Definy and brietly e,xplain the terms: (i) Mailbox, (iI) User agent, and (,in)Message transfer agents, in relatio~ to email services. 2x 4

~

(b) What meant by process-to~processdeliveryin transport layer.? How can this be achieved thrc?ugh client-servertechnology? 6 (c) What is TCPlIP protocol suite? How many layers are there in TCPlIP? Draw a neat diagram and brieflydescribe them. . 6 Group B 5.

(a) Convert the following from one number system to another: 2x 5 , (j) (1357)10=(

(ij)' (1463)10=

)2

(

(iii) (010010110)2

(jv) (573)8 = (

(I')

(1100100110)2

~ 203/ AD 303 (] 403)

)8

= (

) 16

) 16

=( ( 3 )

)8

( Turn Q"cr)

'2x

( b) Explz.ii1bricny the following:'

-

( j) Object program (jj) Use of BIOS (jji) Interp.reter. (c) What are the functions of an operating system? Briefly explain them. Also, give name ot any two OS known to you.

6.

4

(a) What is DBMS? What is' the prhnary go"al of DBMS? Describe brieflywith applications. . 8 ( b) How an EX-NOR gate works nVhatis its truth table? i.

6

( c) What is aJK Hip-nop? Write the truth table and show how it can be converted into a T-tlip-flop.

7.

(a) What is meant by iJiformation systems? How is strategic information system useful. for" decision-. making? Briefly discuss. 8 ( b) What is a file?

What are the features

of file 8

management?

. --:=

.

(c) How does a floppy diskwork? Givea schematiCdetail of its working with the capacities availabfe today:

8.

6

- "4

."

(al What is the structure of a typical UNIX tife system? (Differentiate between (I) ordinary file, (il) directory tile, and (iil) device tile, in reference to tJNIXOS. 10 ( b) Draw a schematic diagram of a full-adder show the truth-table.

AN 203/AD 303 (1403)

( 4 )

and

5

( C9ntjnued.')

-

, ~ t~ .. '. ..,'

i c) What is a Cache memory? How does it improve the performance of the -.:omputersystem'! 5

ti ; !, r

Group C

I

I

t

9. 'Only one choice is correct. Select the most appropriate one for the following: 2 x 10

f

f;

i

i

(j) Which of the following is the base class for stream classes in C". ": .-

(a) iostream k ~:

r

(b) streambuf

p,

;!'

(c) ios (d) streambutTer (ii) A static automatic variable is used to

p.

,

~ t;-

;

~

I

f

"f

,

(a) make a variablevisibleJo

several1un~tions

i

.1 E

(b) make a variab~e ~is~ble to only °!l~ fu.nction (c) conserve ~emory executing

when a fun<.:tion is not

-

(d) initialize a pointer -

~ t.

,

f

i

~

L i'-

-:-',

"

i"

I,

(iii) A memb~r furictIon can 'always-access tne'data'in (a) the object of which:';t is-Hnember. /-~, :-:". _?,

;,.

!

,

--".

I

.'.

~:

I t.

!: ~. ~

(b) the class of which it is a membe~.<;.. -

I

(c) any object of the class ofwhidi it is-a member

,; t t

(d) the pubiic part of its class AN 203/.-\D

303 (I.1()3)

( 5 )

- { Tum Ovcr}

;

,,,,

( h') Which of the following is cheapest memof) ? :. ,

(a) RAI\1 (b) Floppy (c) Magnetic tape (d) Cache \

In DBMS, the field, which uniquely identifies the

(I')

value in the table, is known as . (.a) - foreign key

(b) secondary key

-

(c) primary key (d) column \ I'j) The strategic information system is used for' (a) taking structured decision. (bj taking semi-structured

decision.

(c) making life-cycle easier. (d) taking unstructured decision. (uj)

A program segment defmes : int x = 5 ; int y = 6 ; int z; the expression z = (x> y)? x: y;

t.

will give the value of z as (a) 5 A1'\ 203/AD

303 (1403)

( 6 )

( Q;minued)

Related Documents

Summer 07
June 2020 1
Bbc Summer 07 Menu
November 2019 24
Enter Prize 07 Summer
November 2019 13
Summer
December 2019 36
Summer
June 2020 15