Question 1 5 pts A variable defined within a class is called a(n) _____. object
ID: 3857368 • Letter: Q
Question
Question 15 pts
A variable defined within a class is called a(n) _____.
object
attribute
variable
method
Flag this Question
Question 25 pts
A function defined within a class is called a(n) _____.
attribute
function
object
method
Flag this Question
Question 35 pts
A constructor is a _____.
the name of a class
another word for “method”
a method called when a new object is created
a special attribute
Flag this Question
Question 45 pts
XML elements can be empty.
True
False
Flag this Question
Question 55 pts
What is the correct syntax of the declaration which defines the XML version?
<?xml version="1.0" />
<?xml version="1.0" >
<?xml version="1.0"?>
<xml version="1.0" />
Flag this Question
Question 65 pts
This a "well formed" XML document?
<?xml version="1.0"?>
<note>
<to>Tove</to>
<from>Jani</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend!</body>
</note>
True
False
Flag this Question
Question 75 pts
Amazon Elastic Beanstalk automates the details of which of the following functions?
Auto-scaling
Application deployment
All of the above
Elastic Computing
Flag this Question
Question 85 pts
With AWS Elastic Beanstalk, you can quickly deploy and manage applications in the AWS Cloud without worrying about the infrastructure that runs those applications?
True
False
Flag this Question
Question 95 pts
AWS Elastic Beanstalk supports which languages?
Go
Python
.NET
Java
PHP
All of the above
Flag this Question
Question 105 pts
Cloud computing is the on-demand delivery of compute power, database storage, applications, and other IT resources through a cloud services platform via the internet with pay-as-you-go pricing.
True
False
Flag this Question
Question 115 pts
What PHP function is used to send a cookie to the Web browser?
sendcookie()
setcookie()
send_cookie()
set_cookie()
Flag this Question
Question 125 pts
Previously set cookies can be accessed in PHP via _____.
$_COOKIE["value"]
$_COOKIES[‘name’]
$_COOKIE[‘name’]
$_COOKIE[‘value’]
Flag this Question
Question 135 pts
A cookie’s expiration value is set in terms of _____.
seconds from now
a fixed date and time on the server
seconds since the epoch
a fixed date and time on the client
Flag this Question
Question 145 pts
Compared to sessions, cookies _____.
can be used without the user’s consent
can store more data
can be set to last longer
are more secure
Flag this Question
Question 155 pts
The session_start() function _____.
must be called on every page that needs access to the session data
must be called before anything is sent to the browser
will attempt to send a cookie that stores the session ID
All of the above
object
attribute
Explanation / Answer
1.C
A variable defined with in a class is called as variable.
A class variable is a variable defined in a class of which a single copy exits and class variable is not an instance variable.
2.B
A function defined within a class is called as function
It seems to be method but, method is a piece of code, and it is called by a name that is associated by an object.
3.C
Constructor is a method, which is same name as class. And it is used to set values of the members of an object.
4.A
True.
XML elements are the building blocks of an XML. These elements can be act like containers to hold text or elements or some attributes…..etc.
It can be empty also. And there are empty elements also.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.