Semester : SEMESTER 5
Subject : Web Programming Using PHP
Year : 2016
Term : NOVEMBER
Branch : COMPUTER SCIENCE
Scheme : 2020 Full Time
Course Code : BCS 5B 09
Page:1
D 11197 (Pages : 3) 1 ne £
Time
ക
کی سس شد Reg.
FIFTH SEMESTER B.Sc. DEGREE EXAMINATION, NOVEMBER 2016
(CUCBCSS-UG)
Computer Science
BCS 5B 09—JAVA PROGRAMMING
: Three Hours _ Maximum : 80 Marks
PartA
Answer all questions.
Each question carries 1 mark.
. Which one is blue print for creating concrete realization of abstractions ?
(a) Abstractions. (b) Polymorphism.
(c) Encapsulation. (d) Global variables.
. Which of the following operator takes only integer operands ?
(a) %. (b) ++ (post increment).
(c) ++ (pre increment). (d) None of these.
Which of the array declaration and initialization is illegal ?
(a) int Dafj=new int[4][4]. (b) 176 ೩11-76೫ 170[41[4].
(೮) 81 ೩[1[] ಎ೮೪ 1711411]. (6) 1०४ 8} [=< 7०४] 4].
. When we implement the Runnable interface, we must define which of the following methods ?
(೩) start(). ൯) init().
(८) run(Q). (6) main().
. Which of the following keyword are used to control access to a class member ?
(a) default. (b) abstract.
(c) protected. (d) public.
Which of the following is not an abstract class or interface ?
(a) InputStream. (b) PrintStream.
(c) Reader. (d) DataInput.
The setBackground() method is part of the class
(a) Graphics. (b) Applet.
(൭) Component. (d) Container.
Turn over