(lorosig P,pe

rDd

non

$r

aa

ttn[.d r rour^B"q

Rq,k)

B. T€ch. (S€cond Semester)Theorl ExahiEation, 2010-11

!

COMPUTER CONCEPTS & TROGR\MMINC IN C

'

lidc

l|,.:

JI

|

'ha\.

tt,.

tto4..-1A

Sedn,n-A

This quesiion coniains l0 quesrions ol nrulriple cnoicc. Truc/Falsc bd Fill in lhc blanks. AllenDt all

edsoi$i'se.rion. (aJ CNr

(i) rlighlelrl Languge (i0 LovLereLL guage (iii)

HighLevelLarguasewilh someloslele1

(iv) IosLerelLaneussesithhignhlrl

(b) whi.! ol lhc lbllorving is not a inernal DOS

(i) Move (ii0

Edn

(i0

Rd

(iv) Mtdn

r

ift

folloM.s

iLio; piini("%d".siaolti)); )

a\2 (ii)

4

(iii) Would var, fion congiLr (iv) EEor, i undefin d (d) cmid*fieturclio!:

to

@npild

Fi.d (int x. inty) {

retm (G
? 0 :

E-y)J

let a, b b. 1wo non-aegaivc inlese6. The call

fiid (a 6nd(a,b)) cmbe

(i) (ii)

Mdinumorah Posilive dif.Enc

(iii) sMota,h

(i!) 1602

Mioimtmof4 (2)

b

used ro find the I

ofa, b

htj=

i

ll

P. f(:%d'i+)j i&'lo)

be.\

.

)}

(,)

Itcq;dilioo

in

$.

rorl@P

1,

hf,urt

(tr)' Th.ltros@icolbninfdloophustt'

I

,

..c.rr{ii&iri d',, 'ii'ix r*n TheftrloopmNtbe

(r)

'

Fplaed

bv

wbile

I I

i

The vEhe iG'sn dutoodc

(D

d4l,rd

(i)

bul nor rnnralircd

wiI

be :

0

(ii0 -1

G) It

n=3. &en

outpui

oi thc stltendt

'he

Oi ('old%dlr+. +n)i sU

(i)

15

(ii)

45

b€

I

(iii) 44 (iv) (h)

Th.

(,

is

imple@ntatioa acprdent'

sleifi{used

loI double is t

(ii)

"/"r,j

(iv) %Lf

(iii) %u (')

Usnaily

%ld

EcNionwork slovd tianl@pGneiFals)'

d)

1602

are the cx'mlle ol "denre' and "includc'

(r)

S.crioD-B

Ir',/s: Attenpt my ,/,res

Pa

subqudsons(anY equol

2

(?)

(i)

Whst is

d

s of this qu6tions'

Al1

mrls.

oDerd'ns sv'Lm

r

CNe

rhe

clajsifi otion ollhe opedling svstc'n.

iii) Diferdtiate beiseo dftn'l

and

iilernal

DOSco@ands.

&)

Erplain lhe various dna sdtable exuplcs

9_Pes

in C giring

of cach Aho give the

chssiticadon ofoPeraroN in C.

(c)

CoNen

ilre

followins nuhbes

as

sleilied

:

(i) (ll0il1l0l.0lt0l)"=(?)m (io (489.287),0=(U (iii)

{\

(lololllolol0r lol

(iv) (AB4F.cl)

(d)

Wlal

do you

Write

e

0l t0l0).=oLt=(?)x

61)ir'

nndd$and bv

abonihh lo

(st

iid

tu

tem Algorilim ?

lhe sum of individrBl

G)

Wdte

a

ptuCim in

C lo $vap two

vahes' AII bv

value a.d call bY rferencc bolh

Sction'C Nore: Anenpi mv

no

Pa.ls

fron e&h

quesnon' AII

1015=50 qu6tions@comPllery' 3. (a) Explain &e wiou svmboh usd in Flow

(hd6

OEwr5eflo$ 'han

b

;$ I

:ndvh'rlEr $e

giren numb.r is Pdne ornot'

(b) (c)

Wtrat is thense ofneader 6le 2

Dieus

Wtar h the difretn'e between

declMlion of a lanable suitahle

a dennnion and

? Explain bv givine

e@!l€.

Die6sthedilIdenrstoragecls'sinc' (b)

wbal @ th€ nerits md dmerns ofstahc and

dynmic me$ory allocaliontechniques (c)

r602

wlal

?

is dara ryPe ? Explain the ditre@lt dlta

(6)

-\

d -(') lvrit ' lmgmd h c 10 sihulate ctldl . uhgswitch gstenEnr Sract using O) Vrite .lNsrd i' C to inplelml G)

6.

(!)

Show 0E usge

ofbeai ed

conlinuc

slat6ent

given li$ of Vrire a. algorirhn to sort tlie

(.)

1602

s lor Wri€ haco detunions wi$ at$$e pcrjm'L! ofa Gdglq a oalcdalion ofaca dd

7

rlr

1r\i

k a pbg.m

in C to

di.ol)y rh(

coird ola

givm file say'a.tal'.

(b)

CHle

a structu€ lo

sp{ify

dala on sFdents

giv€nb€low:

Rollnuabtr Nme. DeDenn.nr aolN. Yee ofjoining.

.

assMe that lhere ?e not moF than

100

stu&nlsinthecollase.

rir w.te a ifdion s ud(nF who

ro

Dri

nmes oI au

|oitrd ina Dan'.u1tu yed

(n) wrnc a nEdon ro print the dala of ctodenr whoseroll

(.)

wnrea,irn r,@ lo lind a

a

nmber.sCivcr rhe

binaryequralen or

givetrdecimal integertnddistlay it.

'*-

(8)

1602-3-26500

UPTU B.Tech ECS-201 Computer Concepts And Programming in C ...

UPTU B.Tech ECS-201 Computer Concepts And Programming in C sem 2_ 2010-11.pdf. UPTU B.Tech ECS-201 Computer Concepts And Programming in C ...

444KB Sizes 6 Downloads 280 Views

Recommend Documents

UPTU B.Tech Computer Concepts & Programming in C-ECS-201 ...
UPTU B.Tech Computer Concepts & Programming in C-ECS-201 sem 2_ 2009-10.pdf. UPTU B.Tech Computer Concepts & Programming in C-ECS-201 sem 2_ ...

UPTU B.Tech Computer Concepts & Programming in C-ECS-101 ...
UPTU B.Tech Computer Concepts & Programming in C-ECS-101 Sem 1_2009-10.pdf. UPTU B.Tech Computer Concepts & Programming in C-ECS-101 Sem ...

UPTU B.Tech Computer Concepts & Programming in C ECS 201 ...
UPTU B.Tech Computer Concepts & Programming in C ECS 201 ECS201 Sem 3_2011-12.pdf. UPTU B.Tech Computer Concepts & Programming in C ECS 201 ...

Concepts, Techniques, and Models of Computer Programming
Jun 5, 2003 - 2.1 Defining practical programming languages . . . . . . . . . . . . . 33 .... 3 Declarative Programming Techniques. 113 ... 3.7.3 A word frequency application . ...... an Apple Macintosh PowerBook G4 with Mac OS X and X11. The first ..

Concepts, Techniques, and Models of Computer Programming
Jun 5, 2003 - One approach to study computer programming is to study .... based on Java, but the problem exists in all existing languages to some degree.

Read PDF Computer Fundamentals & Programming in C
... Programming in C E-Books, Online Computer Fundamentals & Programming ... Data Structures Using C ... Computer System Architecture, 3Rd Edn (Update).

Read PDF Computer Fundamentals Programming in C
Online, Computer Fundamentals Programming in C Best Book, Best Book Computer ... C is designed to serve as a textbook for the undergraduate students of engineering, computer science, computer applications, and information technology.

Ebook Computer Fundamentals Programming in C ...
It lays down the foundation for all the advanced courses that a student is expected to learn in the following semesters. ... PDF Computer Fundamentals Programming in C Download Online free, Computer Fundamentals Programming in C Full ...