Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
524 views

Computer Concepts and C Programming July 2014

This document appears to be an exam question paper for computer science subjects like programming, computer concepts, and C programming. It contains 10 multiple choice and descriptive questions across two parts (A and B) covering topics such as data types, operators, arrays, functions, loops, and parallel computing. Students are instructed to choose 5 full questions with at least 2 from each part and answer all objective type questions in the OMR sheet provided.

Uploaded by

Prasad C M
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
524 views

Computer Concepts and C Programming July 2014

This document appears to be an exam question paper for computer science subjects like programming, computer concepts, and C programming. It contains 10 multiple choice and descriptive questions across two parts (A and B) covering topics such as data types, operators, arrays, functions, loops, and parallel computing. Students are instructed to choose 5 full questions with at least 2 from each part and answer all objective type questions in the OMR sheet provided.

Uploaded by

Prasad C M
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

For More Question Papers Visit - www.pediawikiblog.

com

t0ccPt3t23

USN

une/July 2014

First/Second Semester B.E. Degree

rammrng

Gomputer Goncepts and

Max. Marks:t.O,O

3 hrs.
"Time:
,,::

ri!

ttr,. ,:r,

g.
co

N'gi{ll;,.\. Answer any FIVE full questions, choosing at least two from each part. ,',..
l_.,Answer all obiective type questions only in OMR sheet page_ 5 o{lhe ays.welbooklet.
3. A"pqwer to objective type quesfions on sheets other than OMR will not b$rvalued+'
" t .w
!;,;L::
'fr-'l
*

.g
ff
-S
'd

'.\I6
PART - A
?"r". *
th- r'
(04 Marks)
following
for
the
answers
I
a.
Choosetb"correct
E
D A cd r.converts data into this _
1
C
B) charts
C) softwary.;,'* D) input oroutput
A) infifrffiion
p".g
ii) A device tlme4rolds
a disk
' ,
-:a is called
-,;
;EH=
;
i,,.rit"o
^-^.
D) memory
C) Rqlyl
A) drive
B) RAM
pEr,rqcn
rvrvrD
relers
ro
LL,
ttt)
ttt)
llle
l
ne
[ertns
LsllllD
ools
uutD
(opu
PEr irllv.. \"Pll
o0"J
::"'i;
a's
printer output D) printer size
printer
printer
B)
speed
speed
C)
C)'I
A)
resolutioh,,.B)
resolutioh,p
resolution
i
.!
.=NI
.
.:|:(n$
=
iv) The earliest computei;er *S9.f -sysffiq
ES
paperd;/
paper$t#
D) slide rule
D)
*'if"3(-{5
A) digital B)
J) anpl+Far E
r; ,,+-/
(06 Marks)
qnd
Differentiate
Differentiate
irpplication
software.
b.
between
system
softvgfu{
soit@_ffindffilication
: fi
(10 Marks)
c. Explain with example, different typeffiffiters.
e
Eq7
-t 2 a. Choose the correct answers for*fi&fdtowir$ i..,-.
(04 Marks)
8

lo

x*:*.

ik

ib

u'

.p
ed
ia

E=

trEr

i)

:E Ib
E";
ooc
a

r)

iD

.g
;L14

ii\

E
-2" B
;
E
i? H
EE
3F
F

lEE

iii)
iv)

xc

A
n list
llDL ul
choiws *ti
!r 4u
an OS
v9 is
ro q#+.8!*
dal{ed
of vulrulr4llu
command wllvlslp
A) command line B) check box
C) drop down list

D) menu

ic one
nne nG*hp
hpnefifc rrcitro
using neturnrL
network.
is
gffi'benefits

A;
A) rile
File security',;,"
secr
t:*:
C) Protectig
Protecti
ffm
"t^' virus
FTP sitespis"bften
called
-'"T:^-^L:.,^^
^La.^:,;
B) archives
archives
A)
chflql"Ieh
^\ chmnbld

DASffi
DOS and Linux are examples

fashion
tashron

of _

GUI
GUI

B) te*ipheral sharing
D) Fol@{',creation

.,t
"'*i",,... D) domain
--^,,^^":'=&
C) groups

interface.

patatLel
B)
lJ)
C) command lin6i-,.e"'D)
U)
llne:r..r ,,,D) parallel
,CffqTU
Ad'ffi
;4" ,,,,,",.
l-*Jd:;r:;,{^+^.:l
,,^-:^,,.
+-^^.
+^*^l^^;-.
tt Marks)
(10
ExpJain,in detail, various types of
^f-o+,',a*1.
network

w
b.
c.

; 6
l E
HE
g
E

mQ{,9
,4'

topologies.

Define the following:

i)

Thrashing

ii) Buffering

iii)

{,';::ff'

Spooling

(06 Marks)

ts;.

E 3 t a. Choose the correct answers for the following :


D Which of the following is a character constant,
E g -.
",
A)'C'
B) "c"
C) "b"
3 #: o#"'
ii) Which
field specification is used to refer short int?
a\n/^
n\o/r
/r\ o,/fr
--.:h
B)
C)
A)
%td
%c
%d
..
;5
iii) A nibble is _.
z
B) 8 bits
C) 16 bits
A) 4 bits
E
input
function.
iv)
Identify
formatted
console
E
B) gets( )
C) scan( )
A) getchar( )
3
b. Explain the structure of a C program.
c. What are the different types of input and output functions?

(OdM",grks)

ou-ii

D)

"?"

,1,
"

r\\o,/Ll

D) %hd

I of3

For More Question Papers Visit - www.pediawikiblog.com

D) 32 bits
D) fgets( )
(06 Marks)

(10 Marks)

ficcP13l23

For More Question Papers Visit - www.pediawikiblog.com

4 a.

Choose the correct answers for the following :


(04 Marks)
A
is name given to the memory location where data can be stored, accessed or

manipulated.
B) keyword
A) string
C) reserved
The _
data type does not occupy any space in the memory.
A) long int
B) float
C) void
An operator which acts on 3 operands
B) Key operator
A) Unary operator
D) Ternary operator
C) Binary operator
What is the output of the following

4,.d'd

"-*""

code?

flk)
;'*d.,,,^.*main

c.

Evahaffipxpressions wheri o:
D z.((aYi$y,$+Lb-

b:

c:4.

15,

,',llH:,-'

(06Marks)

coefficients. '"".

(l0Marks)

.-n:;,'.'

*ART _ B

ik

.p
ed
ia

A) main( )
B) sqtf4"6',-,
A function that calls itse

Parameters

'

C) clrscr(

,,.L-

i::j

D) gets( )

=;pl none of these

.,*1,*" called as
B) Mhal parameters

to the functbn

,*

agcffi#cl?

::tor:
ii)

;u,,.

7='=t

paramdbfs'

w
w

,**,,)t

qj!-

D) void

C) no
D) non@f,these
Design and de$ahp a function rightrot (x, n) in C that itffifp Jhe value of the integer x
rotated to t$F{hfit by n bit positions as an unsigned intege*{ffq..k the tunction from the
main withdlifferent values for x and n and print the results with siii$able headings. (08 Marks)
How auff', irctions categorized based on the value returned by thiltfufierion and parameter
^^^a."s.(;lr,
(08Marks)

a. 6ffiose

-3

(04 Marks)

o+*-B) iterative function

A) actual

q.

'J :

u *.rrfopqt. fotto*i"!-it,* ,
i) The default return type 6f hhg{ion is, ,"\Lh
A) int
B) flo#"1,.,,. * 1** C) char
ii) Which is the user defined fu
Choose the correct

iv)

c.

* mD) Error
.f', .

Write a C progr&ult find and output all the roots of a guadratic equation for non zero

iiD

b.

65.0

ii) 100 120<=,....19=;5+100%10-20-:5>:1!:20 $qr\,\"

{r**
5 a.

8,

3)/(c+2)))

C)

,*"*

**' fu' "


*#*

ib

b.

i.ffi*rintfO
("%d", 'A');)
*'&f5
B) A

D) double

g.
co

iiD

lo

'.t ;=

D) variable

word

ii)

the correct answers for the following

break

continue

'

'

(04 Marks)

exit
D) goto " *
,.. #
Several statements grouped together in braces is called
A) compound B) equivalent C) complex
D) simple *,..."
iW,_=
ii, In C language,"x?y:2" is equivalent to
A) if (x : : 0)y; else z;
B) if (x : - l)z; else y;
C) if (x ::0)y; z;
D) if (x : : 1)y; else z;
A)

B)

C)

.".

.t,

iv)

How many times is the following loop executed


for (i:0; i <= 5; i++;
{printf ("Hello");}

A)1

b.

c.

8)6

C) zero
Write a C program to find the sum ofN natural numbers.
What is the purpose of a switch case statement? Explain with syntax.
2 of3

For More Question Papers Visit - www.pediawikiblog.com

D) infinite
(08 Marks)
(08

Marks)

For More Question Papers Visit - www.pediawikiblog.com

7 a.

Choose the correct answers for the following

D
ii)

(04 Marks)

The number of elements in array At3lt4l is

A)8
If A[4]

B)

D) none of these

12

is declaration, then the first and last array

D) none of these a'


C) 3,0
B) 0,3
"
A function that is used to string copy is
6
d
,\
n\
- _,- --1, \; ; l;
D) concatp
C) copy-string( ),
B) strcpy( )
A) strcopy( )
o,
*,{
dirr"n Ailttzt : {1,2,1, q, i, e};The element in 3id row2nd col is
\,4"
;""'
.'"*
a\ 3
a
Er\
/.
a\ 6
6
D\ 27 .,,,..". t'"
D)
C)
B)
4
A)
,,,0.r,
* " (08 Marks)
b.;'.,,Explaininitialization and declaration of 2D array.
c. '$ffig-,u C program to input N integers in a single dimensional array- and sort them in
',,&
(08 Marks)
ut"Uffider using Bubble
L

A) 1,4

lL

g.
co

.
iil)
1'.,,-1r;
""'"
' ;' . iv)

.{-

10ccP13/23

1:;,,,:r.

-"'

sort.

*,_

'.

(04 Marks)
Chooseffi,mrrect answers for the following :
-*{*=
t.r-'"-^-.^^..r:^:\
;^^+^,^+:^:a
na'-arrfa;^
oo
'*;',,
-LhA+..
-^o^*^A
^r an
^^ instruction in a computermfft&fn is referred
as parallel
i)
ecution of
^o-ollol
*"
:"
computatibt _
d%"r"
. d'%
O) Simultaneous
C) Agppptte
B) Serial

lo

8 a.

ii)

Open fr,f rta,iffi-1or


A) open multi paralHism

pafuffism
ring

C) open multi progi

lar.=j:

ganized multi programming

D) organaed multi parallelism


_i-:_"

ik

iir)

ib

;:

An example of environh{qnt variable inppen MP is


OMP_thread_limit u.-, B) OMP_init_lock
D) OMP_get_byname
C) OMP_thread_ref " j .*
iv) Which of the following can b=g.-ffi?s resource in parallel computing?
A) Single computer with ryilti $roOss, B) Network of computers
D) None of these
C) Combination of aboyg='{f'
u* i
What are threads? Give the ffintages and disadraqtages of multiple threads. (08 Marks)
Design and develop a paraffil'program in C to determine and print prime numbers which are
(08 Marks)
less than 100 making udi8iffthe algorithm of Sieve of Erqtosthenes.

.p
ed
ia

A)

b.
c.

,:"'..,..".

:F***:f

q-*-''*

,-*".,b

""

=,.,,.,."j.u

!
":

:.j

..:\.w. #

hI

;-

tl'

1,.

1.*.:,4' 1g"i

4,-'b,'

;.''tl:'
*-F',/

"

of3

For More Question Papers Visit - www.pediawikiblog.com

You might also like