How To Exam?

a knowledge trading engine...


DOEACC Society 2009 Bachelor of Computer Application (B Level) Programming and Problem solving through C - Question Paper

Thursday, 13 June 2013 12:00Web

M4.1-R3: PROGRAMMING AND issue SOLVING THROUGH 'C' LANGUAGE
NOTE:
1. There are 2 PARTS in this Module/Paper. PART 1 contains 4 ques.
and PART 2 contains 5 ques..
2. PART 1 is to be answered in the TEAR-OFF ans SHEET only, attached to the
ques. paper, as per the instructions contained therein. PART 1 is NOT to be
answered in the ans book.
3. Maximum time allotted for PART 1 is 1 HOUR. ans book for PART 2 will
be supplied at the table when the ans sheet for PART 1 is returned. However,
candidates, who complete PART 1 earlier than 1 hour, can collect the ans
book for PART 2 immediately after handing over the ans sheet for PART ONE.
TOTAL TIME: three HOURS TOTAL MARKS: 100
(PART 1 – 40; PART 2 – 60)
PART ONE
(Answer all the questions)
1. every ques. beneath provide a multiple option of answers. select the most
improper 1 and enter in the "tear-off" ans sheet attached to the ques.
paper, subsequent instructions therein. (1 x 10)
1.1 The operator & is used for
A) Bitwise AND
B) Bitwise OR
C) Logical AND
D) Logical OR
1.2 Built-in data structures in 'C' are
A) Arrays
B) Structures
C) Files
D) All of the above
1.3 The size of a character variable in 'C' is
A) four byte
B) eight bytes
C) 16 bytes
D) None of the above
1.4 What is the output of the subsequent program segment?
#include
main()
{
int i=10, m=10;
clrscr();
printf("%d", i>m?i*i:m/m,20);
getch();
}

A) 20
B) 1
C) 120
D) 100 20
1.5 Data kind of the controlling statement of a SWITCH statement cannot of the type:
A) int
B) char
C) short
D) float
1.6 How long the subsequent loop runs:
for (x=0; x=3; x++)
A) 3 time
B) 4 times
C) Forever
D) Never
1.7 An expression contains assignment, relational and arithmetic operators. If parentheses
are not specified, the order of valuation of the operators would be:
A) assignment, arithmetic, relational
B) relational, arithmetic, assignment
C) assignment, relational, arithmetic
D) arithmetic, relational, assignment
1.8 The continue on statement cannot be used with
A) for
B) switch
C) do
D) while
1.9 Output of the subsequent program will be:
main( )
{
int a [ ] = {1, 2, 9, 8, 6, 3, 5, 7, 8, 9};
int *p = a+1;
int *q = a+6;
printf ("\n%d", q-p);
}
A) 9
B) 5
C) 2
D) None of the above
1.10 Size of the subsequent union (assume size of int=2; size of float=4 and size of char = 1):
union Jabb
{
int a;
float b;
char c;
};
A) 2
B) 4



( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER DOEACC Society 2009 Bachelor of Computer Application (B Level) Programming and Problem solving through C - Question Paper