Exam 2: HTTP, PHP, and Object-Oriented Programming in PHP

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

______ tag is used for multiple selections.

Free
(Multiple Choice)
4.8/5
(36)
Correct Answer:
Verified

A

In PHP, there are three types of arrays one is not type of array in php which one:

Free
(Multiple Choice)
4.8/5
(47)
Correct Answer:
Verified

D

An abstract class is a class that contains at least one abstract method. An abstract method is a method that is declared, but not implemented in the code.

Free
(Multiple Choice)
4.8/5
(28)
Correct Answer:
Verified

A

Interface are similar to abstract classes. The difference between interfaces and abstract classes are Interfaces cannot have properties, while abstract classes can have.

(Multiple Choice)
4.8/5
(36)

Interfaces allow you to specify what methods a class should implement.

(Multiple Choice)
4.7/5
(34)

_______ statements reduce parsing time as the preparation on the query is done only once (although the statement is executed multiple times)

(Multiple Choice)
4.8/5
(45)

Abstract classes and methods are when the parent class has a named method, but need its child class(es) to fill out the tasks.

(Multiple Choice)
4.8/5
(33)

A constructor allows you to initialize an object's properties upon creation of the object.

(Multiple Choice)
4.9/5
(36)

When inheriting from an abstract class, the child class method must be defined with the same name, and the same or a less restricted access modifier.

(Multiple Choice)
4.9/5
(38)

__________ function is used to change the default database for the connection.

(Multiple Choice)
4.9/5
(38)

To implement an interface, a class must use the______ keyword.

(Multiple Choice)
4.7/5
(37)

HTTP stands for ___________.

(Multiple Choice)
4.9/5
(34)

A ______is a small file that the server embeds on the user's computer. Each time the same computer requests a page with a browser, it will send the ________ too.

(Multiple Choice)
4.8/5
(47)

PHP was designed as a ________ scripting language.

(Multiple Choice)
4.9/5
(34)

To upload the file ________ array is used.

(Multiple Choice)
4.8/5
(41)

The____ function fetches a result row as an associative array, a numeric array, or both.

(Multiple Choice)
4.8/5
(34)

____________is about communication between web clients and servers

(Multiple Choice)
4.7/5
(34)

Interfaces are declared with the ________ keyword:

(Multiple Choice)
4.9/5
(33)

An inherited class is defined by using the ______ keyword.

(Multiple Choice)
4.9/5
(36)

Get and ________ are two HTTP methods that a client use to pass from data server.

(Multiple Choice)
4.8/5
(36)
Showing 1 - 20 of 25
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)