C Old Question Paper for Reference (Bharathiyar University)
anuciaa1
2,787 views
20 slides
Apr 05, 2024
Slide 1 of 20
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
About This Presentation
C QP
Size: 1.92 MB
Language: en
Added: Apr 05, 2024
Slides: 20 pages
Slide Content
(d) Scanner
(b) Printer
Maximum : 75 marks
Answer ALL questions."
Mouse
(a) Keyboard
Choose an Output device
Choose the correct answer:
SECTIONA(10 x 1 = 10 marks)
First Semester
(c)
No. :
C PROGRAMMING
COMPUTING FUNDAMENTALS AND
Multimedia and Web Technologies)
Computer Technology/Software Systems/
Computer Science/lnformation Technology/
Part III -Computer Applications/
11 SS 01/11 MM 01]
11 IT 01/11 CTG 01/
Q.P. Code : (11 SC 01/11 CA 01/
Reg.
NOVEMBER 2015.
B.C.A/B.Sc. DEGREE EXAMINATION,
(For the candidates admitted from 2011 onwards)
Time: Three hours
1.
366
2
366
(d)
Infinite
number
of
times
(c)
65535 times
(b)
Till
the
stack
does
not
(a)
32767 times
main); printf("abc");
main( )
6.
print ("abc")? How
many
times
the
following
program
would
(c)
-6
(d)
None
(a)
6
(b)
4
5.
The
expression
X=4+2%-8
evaluates
(c)
.32767
(d)
(a)
32767
(b) -1.7014e+ 38
1.7014e+38
4.
have is The
maximum
value
that
an
integer
constant
can
(c)
(d)
'xyz'
(a)
\052'
(b) \0
3.
character constant
Determine
which
of
the
following
is
a
valid
(c)
1
(a)
(d)
1 KB
1
(b)
2.
Vhich
is
equivalent
to
1000
billion
bytes?
1 TB
overflow
MB GB
366 3
Displays runtime errors
Indefinite
Invalid
sqrt(( double )i)
printf(" ");
sqrt(i)
Valid
for(;;)
Only from the innermost loop
Only from the innermost switch
From the innermost loop or switch
The given FOR loop is
From the program
(d)
(d)
(c)
(b)
Gives an error message
(a)
Assigns a value 7 to p
Assigns a value 8 to p
The break statement causes an exit
(d)
(c)
(b)
(a)
(a) (double) sqrt(i)
(c)
compute sqrt(i)?
which one of the following calls would correctly
precision argument. If, i is an integer variable,
The library function sqrt( ) operates on a double
(d)
(c)
(b)
Assigns a value 5 to p (a)
Ifa = 5 and b=7 then the statement p = (a> b):a ?b
10.
9.
8
7.
366
and pointers as function arguments.
Discuss in detail about pointer to functions
Or
initialization of pointer variable.
0 (a) Briefly explain the process of declaration and
(b)
functions in C language.
A) Describe about passing Arrays and strings to
Or
of user defined functions.
Explain briefly about the need and elements
a)
9
(double) (sqrt()
(b)
for statement with an example coding.
(b) Discuss in detail about while, do whil
Or
appropriate examples.
(a) Explain character Arrays and Strings
output functions in C language.
(b) Discuss in detail about various inpu
Or
and associativity with example.
(a) Explain in detail about operator prece
(b) Describe the Classification of Computer
Or
with their features.
Explain the different types of IO d
Why is IIO devices necessary for a sy:
Answer ALL questions.
SECTION C-(5 x 8= 40 marks)
Discuss about Array of pointers.
Or
Array? Explain.
What is the difference between Pointer
(b)
18.
16. (a)
(a)
17.
15.
4
366
4
strings to functions.
(b) Write short notes on passing arrays and
Or
of using functions in C.
(a) What is a function? List out the advantages
examples.
Discuss about goto statement with suitable
Or
with sample program segment.
(a) Explain the concept of nested if statement
identifiers differ from keywords?
(b) What is meant by identifiers? How do
Or
(b)
language.
(a) List out the bitwise operators available in C
multi-user operating system with example.
(b) Compare and contrast single user and
Or
information.
magnetic tapes for storage of digital
(a) Mention the advantages and limitations of
Answer ALL questions.
SECTION B (5 x 5=25 marks)
14.
13.
12.
11.
(d) Control unit
(b) Memory
The brain of any computer system is
Choose the correct answer :
Answer ALL questions.
SECTION A (10 x 1= 10 marks)
Maximum:75 marks
C PROGRAMMING
CPU
CS/IT/CT/SS/CA/MM
First Semester
(a) ALU
COMPUTING FUNDAMENTALS AND
11 MM 01]
11 CTG 01/11 SS 01/
11 CA 01/11 IT 01/
Q.P. Code : [11 SC 01/
(c)
Reg. No. :
Time: Three hours
Part III
B.Sc. DEGREE EXAMINATION, APRIL 2017.
(For the candidates admitted from 2011 onwards)
1.
3399
35
opening and tile cloaing.
State and explain various modes
Or
pointer to structure.
Explain in detail array of structur
functions with example.
State and explain different types of
Or
reference with example.
Explain in detail call by value and
nested if-else.
Or
if-else
if
(iii)
(ii)
and example.
(b) Explain the following using genera
array in detail.
Define array. Expia1n different (a)
(b)
(a)
(b)
(a)
20.
19.
18.
3399
Program do no return a value.
36
2
32 (b)
-1
of a program?
operating system upon the successful completion
to the
What is the correct value to return
24
30
Interpreter
An Operating system
A compiler
An editor
(d)
number of keywords?
Standard ANSI C recognizes
VVLSI
(c)
System Knowledge
(b)
(a)
Artificial Intelligence
(c)
(a)
(d)
(c)
with the help of
C programs are converted into machine language
(b)
(a)
(d)
(c)
(b) Programming Intelligence
(a)
Fifth generation computers are based on
5.
4.
3
2
(d)
3399
12 10 11
3
(d) cquestionbank\o
It will print nothing
(null)
b) 11 11 12
cquestionbank
printfr"%astr),
strcpy(atr, "questionbank"),
(c)
char "strrNULL,
b)
void main( )
(a)
#inciude "string h
execute the follwing c de
What will be output if you wil ple and
12 11 11
#inciude "atdin.h
12 10 10
main (
the howbe?
(c)
int a=10,
(a)
voád
7.
inputnutput
ate s1ylain rmatud inputoutput
Bolving Prhlem
the
LIplan he Clazeifcatime f mputers.
5ECTIO% C5 zB= 40 marks)
rrZ pnters with e1aTnple.
J88 atrrat the concepta of funetiomn
Or
; B) Lesrite the deciaration of pointer variables.
Cpmpare the Strwture and union.
Or
cakeulate factorial of given number.
Wrte C langaze prRram u8ing recures
339
and find a smale
program to enter
number from an array.
elements in array
Write a C language
types data
Or
(a) Distinguish between character constant a
Or
string constant.
(d) both (a) and b)
(b) func(array):
C language.
Or
the
Short notes on Translator program.
Discuss
example.
(a) Explain in detail bitwise operators w
Write down the history of computers.
SECTION B (5 x 5 =25 marks)
(b)
func(*array);
func(&array);
(b)
(b)
(c)
11. (a)
(a)
13.
an array as a parameter to function
Which of the
following are correct syntaxes to
12.
10.
3399
(d)
member
(b) 8
4
12
4
printf("%d",sizeof(p)+sizeof );
double far* p,4;
Outer structure must have name
(c)
void main (){
execute the following c code?
What will be output if you will compile and
(a)
Inner structure must have name
variable
It is necessary to initialize the
Nesting of structure is not allowed in c
(d)
c)
(b)
(a)
char c;
struct inner{
int a;
struct outer{
What is error in following declaration? 8.
9. various
11 MM 01]
Q.P.
Code :
[11
SC
01/11
CA
01/
11
IT
01/11
CTG
01/11
SS
01/
Reg. No. :
321
admitted
from
2011
onwards)
NOVEMBER 2018.
First Semester
Computer
Science/
Computer
Applications/
Information
Technology/
Computer
Technology/
Software
Systems/
Multimedia
and
Web
Technology
Part III
PROGRAMMING
COMPUTING
FUNDAMENTALS
AND
C
Maximum:75 mnarks
Time
:
Three
hours
Answer ALL questions.
SRCTION
A
(10
x
1=
10
marks)
Choose
the
correct
answer
:
1.
is
a
combination
of
hardware
and
facilitates
the
sharing
of
information
between computing devices. (b)
Network
Peripheral
(a)
Board
(d)
Digital
device
(For
the
candidates
DEGREE EXAMINATION,
B.Sc./B.C.A.
software
that
(c)
Expansion
In
latest
generation
computers,
2
Parallel only
(a)
Sequentially only
(b)
Both
(a)
and
(b)
(c)
None
of
the
above
(d)
Which
is
not
a
3.
(b)
(a)
(d) |
(c)
Identify
the
derived
data
type
in
C
from
the
following
4.
(b) Float
Integer
(a)
(d) Union
Char
(c)
Identify
the
unconditional
control
structure
from
the following
5
Switch-case
(b)
Do-while
(a)
If
-(d)
Go to
(c)
The
array
elements
are
represented
by
6.
Index Values
(a)
Subscripted Values
(b)
Array name
(c)
Size
of
an
array
(d)
321
2
the instructions
are executed
character of C?
are
The
parameters
in
a
function
definition
7.
What
are
the
two
different
techniques
of
passing
arguments
to
function?
Explain
with
an example.
19.
Actual Parameters
(a)
(b) Formal Parameters
Or
Dummy
(c)
How
structure
is
different
from
Union?
Explain briefly.
(b)
None of the
(d)
data
20. (a)
Structure
is
used
to
implement
the
structure.
Write
a
C
program
to
illustrate
the
usage
of
Pointers.
8
Or
Queue
(b)
(a) Stack
Discuss
in
detail
about
file
management
with suitable illustrations.
(b)
(d)
All
of
the
above
Tree
(c)
The
operator
exclusively
used
with
pointer
to
structure is
9.
(b)
a)
*
(d)
File opening is
10.
(a)
A
default
action
in
file
processing
An
action
of
connecting
a
program
to
a
file
(b)
Not
using
any
library
function
(C)
(d)
None
of
the
above
321
3
321
6
Parameters
above
(a)
List
and
explain
the
important
s
15.
SECTION
B
(5
x
5=
25
marks)
pointers.
Or
11.
(a)
What
are
the
various
types
of
input
and
output devices? Explain.
What
is
a
file?
How
a
file
is
opene,
closed? Discuss.
(b)
Or
SECTION
C-
(5
x
8=
40
marks)
generations
of
computers
with
s
(a)
Explain
briefly
about
history
and
a
illustrations.
Define
software.
Discuss
briefly
about
its
types.
(b)
16.
Define
variable.
What
is
the
reserved
word
used
to
declare
variables?
a)
12.
Or
Or
Describe
the
salient
of
operating
(b)
What
are
the
two
types
of
expressions?
Explain.
(b)
Explain
briefly
about
various
ty
operations
with
suitable
examples.
(a)
17.
of while
use
(a)
Explain
the
syntax
and
statement
with
an
example.
13.
Or
use
p
(b)
Or
(b)
Enumerate
the
use
of
multidimensional
arrays
in
C
with
examples.
Discuss
the
syntax
of
for
and
statements
with
sample
program
segt
(a)
18.
14. (a) Define
Or
Or
Write
a
C
program
to
find
the
second
and
second
smallest
number
from
the
n
numbers
us1ng
array.
(b)
(b)
How
structure
is
different
from
an
array?
Explain
with
an
example.
5
321
4
system
neat sketch.
function
in
C
language
with
an
examp
Discuss
the
guidelines
to
recursion.
Why
it
is
important?
Reg. No.
Q.P.
Code
:[23
SC
01
3345
from 2023 onwards)
NOVEMBER 2023.
First Semester
Part III
Computer Science/Computer
Application/Computer Technology/Software
System/Multimedia
and
Web
Technology/1nformation
Technology/Hardware Systems and
Networking/Computer
Science
and
Application
COMPUTING
FUNDAMENTALS
AND
C
PROGRAMMING
Time :Three hours
Maximum:75 marks
SECTION
A
(10
x
1=
10
marks)
Answer ALL questions.
Choose
the
correct
answer.
Who
is
the
father
of
computers?
1.
James Gosling
(a)
Charles Babbage
(b)
Dennis Ritchie
(c)
(d) Bjarne Stroustrup
(For
the
candidates
admitted
EXAMINATION,
B.Sc./B.C.A. DEGREE
without any
7.
which
introduced
Microprocessor
Was
generation of computers?
specification
is
by
default
External variable
(a)
Second generation
(a)
Static variable
(b)
Fourth generation
(b)
Automatic var1able
(c)
Third generation
(c)
call itself directly
Register variable
(d)
First generation
(d)
8.
or
indirectly
is
called?
How
many
keywords
are
there
in
C
language?
Recursion
(a)
32
Type conversion
(b) 33
(d)
(a)
(b)
18
64
(c)
Constant
(C)
Abstract classes
(d)
What
is
the
correct
syntax
to
declare
a
variable
in
C?
data type variable_name;
(a)
Pointers
cannot
be
used
to
9
data_type
as
variable_name
;
(b)
Find
the
address
of
a
variable
in
memory
(a)
Reference value directly
(b)
Variable_name
(c)
Simulate
call
bv
reference
(c)
Variable
name
as
data
_type
;
(d)
Manipulate dynamnic data
(d)
Which
loop
is
guaranteed
to
execute
at
least
one
How
to
call
a
function
without
using
the
function
name
to
send
parameters?
10.
While
time?
(b)
For
(a)
Type defs
(a)
(d) Switch
Do while
(c)
Function pointer
(b)
Which
kevword
is
used
to
declare
a
character
Both
(a)
and
(b)
(C)
array in (?
None
of
the
above
(d)
Character
(b)
(a)
Str
3
Char
(d)
3345
3345
Arr
(c)
2
A
a function
variahle
declared which
in
a
function
process
The
data_type ;
structure
SECTIONB
(5
x
5
=
25
marks)
How
to
use
pointers?
Explain.
(a)
15.
ax for a
ALLL questions.
Or
(b)
the
about
1. (a) Briefly
function.
of
history
computers.
SECTION
C
(5x8=
40
marks)
Or
Answer ALL questions.
h
Compare
algorithm
and
flowchart
Explain
(a)
16.
lo)
How
to
define
symbolic
constant?
Discuss.
Or
Or
What
are
the
steps
involved
in
problem
solving techniques? Explain.
(b)
b)
Discuss
on
implicit
type
conversion
with
an
example.
What
are
the
different
data
type
modifiers
available
in
C?
Explain
with
an
example.
17. (a)
Give
the
importance
of
the
?:
operator.
13. (a)
Or
conditional
and
(b)
With
an
example,
explain
about
relational
evaluation
expression evaluation.
expression
Or
(0)
Wrte
a
C
program
to
find
the
sum
decision
statement
with
an
example.
(a)
18.
Or
14. of are
the used string
handling
functions
with
an
example.
(b)
Or
5
3345
3345
use
function
calls
in
C?
Discuss.
pointer to
Give
the
general
syntax
Answer
explain
in detail about
the
fundamental
units
ofa
computer
with
neat
sketch.
of series
+
n.
1+2+3+,
various
the
about
Discuss
making
the
elements
user-defined (a) What
function? Explain.
Demonstrate
most
commonly
(b)
How
to
a
Cprogram
to
find
the
factorial
of
the
19. (a)
Or
and
and unions.
a)
(a)
How
to
access
a
variable
through
its
pointer?
Explain.
Or
(b)
Examine
how
many
ways
to
access
the
members
of
the
structure
with
the
help
of
a
structure pointer.
3345
Write
n Using recurs10n.
given
number
Compare
b)
contrast
between
structures
Reg. No. :
Q.P.
Code
:
[11
SC
01/11
CA
01/
11
IT
01/1
1
CTG
01/
11
SS
01/11
MM
01]
5214
or
the
candidates
admitted
from
2011
onwards)
D.C.A./B.Sc.
DBCREE
EXAMINATION,
APRIL
2019.
First Semester
Computer
Science
/
Computer
Applications
/
Information
Technology
/
Computer
Technology
/
Software
Systems
/
Multimedia
and
Web
Technology
COMPUTING
FUNDAMENTALS
AND
C
PROGRAMMING
Part III
Maximum: 75 marks
Time: Three hours
SECTION
A
(10
x
1=
10
marks)
Answer ALL questions.
Choose
the
orrect
answer:
wWhich
of
the
1.
User Interface
(a)
Language Translator
(b)
Platforn
(c)
Sereen Saver
(d)
following
controls
the
process
of
:teraction
between
the
user
and
the
operating
8ystem?
1ntera
instructions
are executed
Sequentially Only
(b)
Parallel Only
(a)
None
of
the
above
(d)
Both (a)
(c)
whose meaning has
C complier.
are the words
3.
already
been
explained
to
the
Constants
(b)
Keywords
(a)
None
of
the
above
(d)
Variables
(c)
is
the
derived
data
type
in
C.
4.
float
(b)
integer
(a)
union
(d)
char
(c)
The
array
elements
are
represented
by
5.
Index Values
(a)
Subscripted Values
(b)
Array Name
(c)
Size
of
an
Array
(d)
6.
The
control
statement
that
allows
user
to
make
decision
from
the
number
of
choices
is
called
a
else if
(b)
if
(a)
for
(d)
Switch
(c)
5214
2
computers, the
generation latest In and (b)
The
value
obtained
in
the
function
is
given
back
to
7
Explain
all
the
their
keyword?
main by using
static
(b)
return
(a)
Or
volatile
(d)
new
(c)
printf)
function in
C
language
an
use
to
guidelines
the
Discuss
Structure is
8.
Write
a
C
program
to
print
the
largest
of
five
numbers
using
if-else
statement2.
Stack
(a)
Queue
(b)
Or
Tree
(c)
All
of
the
above
ib)
(d)
switch
and
of for
statements
with
sample
program
segments.
Discuss the syntax
The
function
used
for
waiting
to
binary
streams
is
9.
a)
Write
a
C
program
to
illustrate
the
concept
of
passing
arrays
to
a
function.
write 0
(a)
Or
fwrite )
(b)
is
different
from
Union?
fprintf )
(c)
b) How structure Explain briefly.
None
of
the
above
(d) The
operator
exclusively
used
with
pointer
to
structure is
a)
10.
W"hat
is
a
Pointer?
Explain
how
the
pointer
variable
declared
and
initialized.
Justify
your
answer
with
sample
program
segment.
Or
(b)
(a)
be
(d)
Can
b)
(c)
that
operations
Þerformed
in
Files
with
an
example.
Describe the
5214
3
5214
C
operators
along
with
Precedence and Associativity.
with example.
used to implement
the
data structure.
(5
x
5
=
25
marks)
14. (a) Enumerate
SECTION B
an example.
Or
Answer ALL questions.
Narrate
the
differences
hetween
(b)
of
generations
various
the
Computers? Explain.
What are
(a)
11.
How
will
you
represent
a
list
of
names
Pointer?
Discuss
with
an
example.
(a)
15.
Or
Or
Discuss
briefly
about
various
types
of
Software.
(b)
What
is
file?
How
a
file
is
opened
and
cos
Discuss.
(b)
Define
variable.
What
is
the
reserved
word
used
to
declare
variables?
(a)
SECTION
C-
(5
x
8=40
marks)
12.
Or
Answer ALL questions.
Discuss
(a)
16.
List
and
explain
any
two
operators
with
suitable examples.
(b)
Operating System
1)
(ii)
of While
Use
Explain the
(a)
13.
statement
with
an
example.
Or
Or
(b)
Describe
the
various
types
of
Input
dea
and
Output
devices
with
neat
sketch.
How
to
declare
an
Array?
Explain
with
an
example.
(b)
521
5
5214
the
importance
of
RecursiA
function
and
called
function.
the following:
Overview
Memory Management
syntax and