Certiport Software Development #1-4 Questions With
Complete Solutions
What will cause an error?
A.) All tags are not uppercase
B.) The line break tag is incorrectly formatted Correct Answer
B.) The line break tag is incorrectly formatted
A class named Manager is derived from a parent class named
Employee. The Manager class includes characteristics that are
unique to managers.
Which term is used to describe this object-oriented concept?
A.) Encapsulation
B.) Data hiding
C.) Inheritance Correct Answer C.) Inheritance
A data dictionary describes the structure of a database is called
_________
A.) metacontent
B.) metadata Correct Answer B.) metadata
A database dictionary that describes the structure of a database
is called ______________
A.) DBMS
B.) Metacontent
C.) Normalization
,D.) Metadata Correct Answer D.) Metadata
A table named Student has columns named ID, Name, and Age.
An index has been created on the ID column.
What advantage does this index provide?
A.) It speeds up query execution.
B.) It reorders the records alphabetically. Correct Answer A.) It
speeds up query execution.
An application presents the user with a graphical interface. The
interface includes buttons that the user clicks to perform tasks.
Each time the user clicks a button, a method is called that
corresponds to that button.
Which term is used to describe this programming model?
A.) structured
B.) event driven Correct Answer B.) event driven
Class C and Class D inherit from Class B. Class B inherits from
Class A.
The classes have the methods shown in the following table.
Class Method
A m1
B m2
C m3
D m4
A.) m1, m2, m3
B.) only m2, m3
, C.) only m3, m4
D.) only m1, m3 Correct Answer A.) m1, m2, m3
Converting an object to a more general type is called upcasting.
A.) downcasting
B.) no change is needed Correct Answer B.) no change is
needed
Dim beakerFull As Boolean = True
Dim flameOn As Boolean = False
Dim iResults As Integer = 0
If beakerFull = True Then
If flameOn = True Then
iResult =1
Else
iResult = 2
End if
Else
iResult = 3
End If
What will the variable iResult be?
A.) 4
B.) 1
C.) 0
D.) 2 Correct Answer D.) 2
Dim beakerFull As Boolean = Ture
Complete Solutions
What will cause an error?
A.) All tags are not uppercase
B.) The line break tag is incorrectly formatted Correct Answer
B.) The line break tag is incorrectly formatted
A class named Manager is derived from a parent class named
Employee. The Manager class includes characteristics that are
unique to managers.
Which term is used to describe this object-oriented concept?
A.) Encapsulation
B.) Data hiding
C.) Inheritance Correct Answer C.) Inheritance
A data dictionary describes the structure of a database is called
_________
A.) metacontent
B.) metadata Correct Answer B.) metadata
A database dictionary that describes the structure of a database
is called ______________
A.) DBMS
B.) Metacontent
C.) Normalization
,D.) Metadata Correct Answer D.) Metadata
A table named Student has columns named ID, Name, and Age.
An index has been created on the ID column.
What advantage does this index provide?
A.) It speeds up query execution.
B.) It reorders the records alphabetically. Correct Answer A.) It
speeds up query execution.
An application presents the user with a graphical interface. The
interface includes buttons that the user clicks to perform tasks.
Each time the user clicks a button, a method is called that
corresponds to that button.
Which term is used to describe this programming model?
A.) structured
B.) event driven Correct Answer B.) event driven
Class C and Class D inherit from Class B. Class B inherits from
Class A.
The classes have the methods shown in the following table.
Class Method
A m1
B m2
C m3
D m4
A.) m1, m2, m3
B.) only m2, m3
, C.) only m3, m4
D.) only m1, m3 Correct Answer A.) m1, m2, m3
Converting an object to a more general type is called upcasting.
A.) downcasting
B.) no change is needed Correct Answer B.) no change is
needed
Dim beakerFull As Boolean = True
Dim flameOn As Boolean = False
Dim iResults As Integer = 0
If beakerFull = True Then
If flameOn = True Then
iResult =1
Else
iResult = 2
End if
Else
iResult = 3
End If
What will the variable iResult be?
A.) 4
B.) 1
C.) 0
D.) 2 Correct Answer D.) 2
Dim beakerFull As Boolean = Ture