• Tidak ada hasil yang ditemukan

CS-05/IT-05 {ZX}e : ¶h анZ nМ &quo - VMOU Question Papers

N/A
N/A
Protected

Academic year: 2025

Membagikan "CS-05/IT-05 {ZX}e : ¶h анZ nМ &quo - VMOU Question Papers"

Copied!
5
0
0

Teks penuh

(1)

CS-05/IT-05

December - Examination 2017 BA/BSC Pt.II Examination

Programming in C Paper - CS-05/IT-05

Time : 3 Hours ] [ Max. Marks :- 70

Note: The question paper is divided into three sections A, B and C.

Write answers as per the given instructions.

{ZX}e : ¶h àíZ nÌ "A', "~' Am¡a "g' VrZ IÊS>m| ‘| {d^m{OV h¡& à˶oH$

IÊS> Ho$ {ZX}emZwgma àíZm| Ho$ CÎma Xr{OE&

Section - A 7

×

2 = 14 (Very Short Answer Questions)

Note: Answer all questions. As per the nature of the question delimit your answer in one word, one sentence or maximum up to 30 words. Each question carries 2 marks.

IÊS> - "A' (A{V bKw CÎmar¶ àíZ)

{ZX}e : g^r àíZm| Ho$ CÎma Xr{OE& Amn AnZo CÎma H$mo àíZmZwgma EH$ eãX, EH$ dm³¶ ¶m A{YH$V‘ 30 eãXm| ‘| n[agr{‘V H$s{OE& à˶oH$ àíZ 2 A§H$m| H$m h¡&

800

(2)

CS-05/IT-05 / 200 / 5 (2) (Contd.)

1) (i) In flowchart representation, which symbol is used to denote START/END?

Flowchart

‘|, H$m¡Z gm àVrH$

START/END

H$mo Xem©Vm h¡?

(ii) State the rules to name identifiers/variables in C programming language.

gr àmoJ«mq‘J ^mfm ‘|

identifiers/variables

Ho$ Zm‘ Ho$ {Z¶‘m| H$mo

~VmAmo&

(iii) What is role of escape sequences in C programming?

gr àmoJ«mq‘J ‘| EñHo$n AZwH«$‘m| H$s ^y{‘H$m ³¶m h¡?

(iv) How do-while is different, from for and while loop?

do-while, for and while

byn go AbJ H¡$go h¡?

(v) What is the role of ‘default’ case in switch case?

pñdM Ho$g ‘| "{S>’$m°ëQ>' Ho$g H$s ³¶m ^y{‘H$m h¡?

(vi) What does strlen() function, returns?

strlen()

’§$³eZ, ³¶m [aQ>Z© H$aVm h¡?

(vii) Why function declaration is required prior to function call, if function definition is written after the call statement?

’§$³eZ H$m°b H$aZo go nhbo ’$§³eZ {S>bbo¶aogZ H$s Amdí¶H$Vm

³¶m| h¡, ¶{X ’$§³eZ n[a^mfm H$m°b ñQ>oQ>‘|Q> Ho$ ~mX {bIm h¡?

(3)

Section - B 4

×

7 = 28 (Short Answer Questions)

Note: Answer any four questions. Each answer should not exceed 200 words. Each question carries 7 marks.

IÊS> - ~ (bKw CÎmar¶ àíZ)

{ZX}e : {H$Ýht Mma àíZm| Ho$ CÎma Xr{OE& Amn AnZo CÎma H$mo A{YH$V‘

200 eãXm| ‘| n[agr{‘V H$s{OE& à˶oH$ àíZ 7 A§H$m| H$m h¡&

2) Explain the utility of break and continue statements, using suitable example.

break

Am¡a

continue

H$s Cn¶mo{JVm H$m| Cn¶w³V CXmhaU Ho$ gmW g‘PmAmo&

3) Write a C program, to elaborate how structures can be passed to function.

gr àmoJ«m‘ {bI|,

structures

H$mo H¡$go

function

‘| nmg Om gH$Vm h¡?

4) Explain the concept of pointer to pointer, with suitable example.

Cn¶w³V CXmhaU Ho$ gmW,

pointer to pointer

H$s AdYmaUm H$mo g‘PmBE&

5) Explain with example, use of following functions:

fseek(), ftell(), fwind().

CXmhaU Ho$ gmW, {ZåZ{b{IV H$m Cn¶moJ H$mo g‘PmE§:

fseek(), ftell(), fwind()

(4)

CS-05/IT-05 / 200 / 5 (4) (Contd.)

6) Compare low level, middle level and high level programming languages.

{ZåZ ñVa, ‘ܶ‘ ñVa Am¡a CÀM ñVar¶ àmoJ«mq‘J ^mfmAm| H$s VwbZm H$a|&

7) What is meant by formatted and unformatted Input/Output.

Explain the advantages and disadvantages of both.

ñdê${nV Am¡a An[ad{V©V BZnwQ>/AmCQ>nwQ> go ³¶m ‘Vb~ h¡? XmoZm| Ho$

’$m¶Xo Am¡a ZwH$gmZ ~VmEB&

8) Write a C program to implement bubble sort.

~~b gm°Q>© H$mo B‘ßbo‘|Q> H$aZo Ho$ {bE gr àmoJ«m‘ {bI|&

9) What do you understand by macro substitution? Write a macro to compute average of two numbers?

‘¡H«$mo à{VñWmnZ go Amn ³¶m g‘PVo h¢? Xmo Z§~am| Ho$ Am¡gV H$s JUZm H$aZo Ho$ {bE ‘¡H«$mo {bI|&

Section - C 2

×

14 = 28 (Long Answer Questions)

Note: Answer any two questions. You have to delimit your each answer maximum up to 500 words. Each question carries 14 marks.

IÊS> - g (XrK© CÎmar¶ àíZ)

{ZX}e : {H$Ýht Xmo àíZm| Ho$ CÎma Xr{OE& Amn AnZo CÎma H$mo A{YH$V‘ 500

eãXm| ‘| n[agr{‘V H$aZm h¡& à˶oH$ àíZ 14 A§H$m| H$m h¡&

(5)

10) Explain in detail, various operators of C Programming language, with suitable example.

Cn¶w³V CXmhaU Ho$ gmW, gr àmoJ«mq‘J ^mfm Ho$ {d{^ÝZ Am°naoQ>am| H$mo {dñVma go g‘PmAmo&

11) Differentiate between call by value and call by reference, with suitable example.

call by value

Am¡a

call by reference

Ho$ ~rM A§Va, Cn¶w³V CXmhaU Ho$ gmW g‘PmAmo&

12) With respect to dynamic memory allocation, explain with suitable example.

(i) How block of memory is allocated.

(ii) How multiple blocks of memory are allocated?

(iii) How used memory space is released?

(iv) How can the size of allocated memory be altered?

dynamic memory allocation

Ho$ g§~§Y ‘|, Cn¶w³V CXmhaU Ho$ gmW g‘PmBE&

(i)

ñ‘¥{V H$m ãbm°H$ Amd§{Q>V H¡$go {H$¶m OmVm h¡?

(ii)

ñ‘¥{V Ho$ EH$ go Á¶mXm ãbm°H$ H¡$go Amd§{Q>V {H$E OmVo h¢?

(iii)

ñ‘¥{V ñnog H$m| [abrµO H¡$go {H$¶m OmVm h¡?

(iv)

Amd§{Q>V ñ‘¥{V H$m AmH$ma H¡$go ~Xbm Om gH$Vm h¡?

13) What are Storage Classes in C-Language? Also explain properties associated with these classes using suitable example.

gr-^mfm ‘| ñQ>moaoO ³bmgog ³¶m h¢? BZ dJm] go Ow‹S>o JwUm| H$s ì¶m»¶m

Cn¶w³V CXmhaUm| H$m Cn¶moJ H$aHo$ g‘PmBE&

Referensi

Dokumen terkait

XÿarH$ g‘pîQ> H$mo n[a^m{fV H$s{O¶o& vii Define Cauchy sequence for metric space.. Examinees will have to answer any four 04

¶yamon ‘| Y‘© gwYma AmÝXmobZ Ho$ H$maU Am¡a n[aUm‘m| H$m {ddoMZm H$s{OE& 11 Evaluate the achievements of Nepolean Bonaparte as an

gm‘m{OH$aU H$s H$moB© Xmo g§ñWmAm| Ho$ Zm‘ {bImo& iii Write the two theories of social stratification.. gm‘m{OH$ ñVarH$aU Ho$ H$moB© Xmo {gÕm§V {bImo& iv Who wrote the book cultural

As per the nature of the question delimit your answer in one word, one sentence or maximum up to 30 words.. Each question carries 2

Omdm pñH«$ßQ> Ho$ {d{^ÝZ byn H$mo CXmhaU g{hV g‘PmBE& 13 Explain the sending and receiving procedure of E-mail.. Also discuss the E-mail client

As per the nature of the question delimit your answer in one word, one sentence or maximum up to 30 words.. Each question carries 2

{hÝXÿ Y‘© Ho$ ‘yb {gÕmÝVm| H$m dU©Z H$a|& 13 Define kinship and discuss the importance of kinship in social

àmMrZ ^maVr¶ B{Vhmg H$mo OmZZo Ho$ nwamVmpÎdH$ ñÌm¡Vm| H$m dU©Z H$s{OE& 11 Describe the main principles of