O Level | July 2012 | M3-R4 (Prog. and Prob. Solving Through ‘C’ Language)

1.1 Which of the following is not an unconditional control statement in ‘C’?

A) break

B) continue

C) exit()

D) while


D

Show Answer


1.2 What will be the output of the following program?
 

Main()
{ int x = 5;
While ( x = = 1)
x = x -1;
printf ( “ %d\n”, x);
}

A) 5

B) 4

C) 0

D) syntax error


A

Show Answer


1.3 Which of the following is not a proper storage class in ‘C’?

A) auto

B) dec

C) static

D) extern


B

Show Answer


1.4 Which of the following is a wrong pointer declaration?

A) int *int(a);

B) int *x, *y;

C) float *aptr;

D) int *x, float *y;


D

Show Answer


1.5 The value of S[5] in the segment char s[15] = “ MICROPROCESSOR” is

A) P

B) O

C) R

D) None of the above


A

Show Answer


1.6 Function putchar() displays

A) one word at a time on the screen

B) one character at a time

C) result on the screen

D) None of the above


B

Show Answer


1.7 The sqrt() function is available in

A) conio.h

B) string.h

C) math.h

D) graphic.h


C

Show Answer


1.8 If ‘a’ is an integer variable, then a = 5/2 will return a value

A) 2.5

B) 2

C) 2.000000

D) 2.500000


B

Show Answer


1.9 Which of the following a not a basic data type used in C language?

A) double

B) float

C) char

D) array


D

Show Answer


1.10 pow(x,y) is used to

A) power of yx

B) power of xy

C) logarithm of x on the base y

D) Such function does not exist


B

Show Answer


Exam Back Paper (Solved)


July 2013 | M4.3-R4 (Introduction to ICT Resources)


July 2013 | M3-R4 (Prog. and Prob. Solving Through ‘C’ Language)


July 2013 | M2-R4 (Internet Technology and Web Design)


July 2013 | M1-R4 (IT Tools and Business Systems)


January 2013 | M4.3-R4 (Introduction to ICT Resources)


January 2013 | M3-R4 (Prog. and Prob. Solving Through ‘C’ Language)


January 2013 | M2-R4 (Internet Technology and Web Design)


January 2013 | M1-R4 (IT Tools and Business Systems)


July 2012 | M4.3-R4 (Introduction to ICT Resources)


July 2012 | M3-R4 (Prog. and Prob. Solving Through ‘C’ Language)


July 2012 | M2-R4 (Internet Technology and Web Design)


July 2012 | M1-R4 (IT Tools and Business Systems)


January 2012 | M4.3-R4 (Introduction to ICT Resources)


January 2012 | M3-R4 (Prog. and Prob. Solving Through ‘C’ Language)


January 2012 | M2-R4 (Internet Technology and Web Design)


January 2012 | M1-R4 (IT Tools and Business Systems)


July 2011 | M4.3-R4 (Introduction to ICT Resources)


July 2011 | M3-R4 (Prog. and Prob. Solving Through ‘C’ Language)


July 2011 | M2-R4 (Internet Technology and Web Design)


July 2011 | M1-R4 (IT Tools and Business Systems)


January 2011 | M4.3-R4 (Introduction to ICT Resources)


January 2011 | M3-R4 (Prog. and Prob. Solving Through ‘C’ Language)


January 2011 | M2-R4 (Internet Technology and Web Design)


January 2011 | M1-R4 (IT Tools and Business Systems)


July 2010 | M4.3-R4 (Introduction to ICT Resources)


July 2010 | M3-R4 (Prog. and Prob. Solving Through ‘C’ Language)


July 2010 | M2-R4 (Internet Technology and Web Design)


July 2010 | M1-R4 (IT Tools and Business Systems)