Certiport Software Development #1-4
Exam 2024-2025
<! DOCTYPE html PUBLIC "-//W3C//DTD WHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml/DTD/xhtml-Strict.dtd">
<html> - ANSWER-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict// EN"
"http://www.w3.org/TR/Xhtmll-strict.dtd">
<html xmIns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>The Title</title>
</head>
<body>
<h1>This is a Heading.</h1>
<p>This is a paragraph</p><br>
</body>
</html>
What will cause an error?
A.) All tags are not uppercase
B.) The line break tag is incorrectly formatted - 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 - ANSWER-C.) Inheritance
A data dictionary describes the structure of a database is called _________
A.) metacontent
B.) metadata - ANSWER-B.) metadata
A database dictionary that describes the structure of a database is called
______________
A.) DBMS
B.) Metacontent
C.) Normalization
, D.) Metadata - 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. - 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 - 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 - ANSWER-A.) m1, m2, m3
Converting an object to a more general type is called upcasting.
A.) downcasting
B.) no change is needed - 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
Exam 2024-2025
<! DOCTYPE html PUBLIC "-//W3C//DTD WHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml/DTD/xhtml-Strict.dtd">
<html> - ANSWER-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict// EN"
"http://www.w3.org/TR/Xhtmll-strict.dtd">
<html xmIns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>The Title</title>
</head>
<body>
<h1>This is a Heading.</h1>
<p>This is a paragraph</p><br>
</body>
</html>
What will cause an error?
A.) All tags are not uppercase
B.) The line break tag is incorrectly formatted - 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 - ANSWER-C.) Inheritance
A data dictionary describes the structure of a database is called _________
A.) metacontent
B.) metadata - ANSWER-B.) metadata
A database dictionary that describes the structure of a database is called
______________
A.) DBMS
B.) Metacontent
C.) Normalization
, D.) Metadata - 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. - 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 - 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 - ANSWER-A.) m1, m2, m3
Converting an object to a more general type is called upcasting.
A.) downcasting
B.) no change is needed - 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