Certified Java Programmer Mock Exam


Question 1

Which of these words belongs to the set of Java keywords?

a. qualified
b. record
c. repeat
d. restricted
e. label
f. to
g. type
h. until
i. value
j. virtual
k. xor
l. None of the above

Question 2

Which of these words belong to the set of Java keywords?

a. exit
b. strictfp
c. enum
d. super
e. abort
f. event
g. goto
h. native
i. exception

Question 3

Which of these words belong to the set of Java keywords?

a. Double
b. goto
c. min
d. extern
e. new
f. signed
g. finally
h. const
i. and
j. array
k. do

Question 4

Which of these words belong to the set of Java keywords?

a. declare
b. global
c. const
d. preserve
e. continue
f. Float
g. extends
h. select
i. break
j. dim
k. instanceOf

Question 5

Which of these words belong to the set of Java keywords?

a. next
b. catch
c. function
d. instanceof
e. mod
f. const
g. or
h. Boolean
i. goto
j. import
k. transient

Question 6

Which of these words belong to the set of Java keywords?

a. byte
b. short
c. int
d. long
e. decimal
f. int64
g. float
h. single
i. double
j. boolean
k. char
l. unsigned
m. array
n. string

Question 7

Which of these words belongs to the set of Java keywords?

a. clause
b. loop
c. expression
d. overrides
e. statement
f. assertion
g. validate
h. exception
i. cast
j. None of the above

Question 8

Which of these words belong to the set of Java keywords?

a. transient
b. serializable
c. runnable
d. run
e. volatile
f. externalizable
g. cloneable

Question 9

Which of these words belong to the set of Java keywords?

a. virtual
b. goto
c. ifdef
d. typedef
e. friend
f. struct
g. implements
h. union
i. const

Question 10

Which of these lists contains at least one word that is not a Java keyword?

a. abstract, default, if, private, this
b. do, implements, protected, boolean, throw
c. case, extends, int, short, try
d. import, break, double, exception, throws
e. byte, else, instanceof, return, transient
f. None of the above

Question 11

Which of these lists contains at least one word that is not a Java keyword?

a. interface, static, void, catch, final
b. char, strictfp, finally, long, volatile
c. native, super, class, float, while
d. const, for, new, switch, import
e. continue, finalize, goto, package, synchronized
f. None of the above


Copyright © 2002-2003, Dan Chisholm
All rights reserved.