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

ملء الشاشة (f)
exit full mode
سؤال
HTTP stands for ___________.

A)Hyper text transfer protocol
B)hyper text mark protocol
C)File transfer protocol
D)none of these
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
Get and ________ are two HTTP methods that a client use to pass from data server.

A)get
B)Post
C)Server
D)Client
سؤال
______ tag is used for multiple selections.

A)select tag
B)text tag
C)list tag
D)none of these
سؤال
To upload the file ________ array is used.

A)$Files
B)$load
C)$New
D)none of these
سؤال
PHP was designed as a ________ scripting language.

A)Sever side
B)client slide
C)compiler
D)none of these
سؤال
____________is about communication between web clients and servers

A)WWW
B)HTML
C)TCP
D)FTP
سؤال
Communication between client computers and web servers is done by sending _________________.

A)HTTP request & HTTP Responses
B)GET & POST
C)TCP & FTP
D)none of these
سؤال
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.

A)Cookie & cookie
B)FTP & TCP
C)GET & POST
D)HTTP request & HTTP Responses
سؤال
_______ statements reduce parsing time as the preparation on the query is done only once (although the statement is executed multiple times)

A)Prepared
B)fetch
C)array
D)SSL
سؤال
The MySQLi functions allows you to access______ database servers.

A)Mysql
B)SSL
C)Fetch
D)none of these
سؤال
The____ function fetches a result row as an associative array, a numeric array, or both.

A)fetch array()
B)Cookie()
C)S_Array()
D)D_array()
سؤال
The ssl_set()function is used to establish secure connections using _____

A)secure socket layer (SSL)
B)Mysql
C)http
D)none of these
سؤال
__________ function is used to change the default database for the connection.

A)fetch_array()
B)Cookie()
C)S_Array()
D)mysqli_select_db()
سؤال
An inherited class is defined by using the ______ keyword.

A)extends
B)constructor
C)object
D)none of these
سؤال
Abstract classes and methods are when the parent class has a named method, but need its child class(es) to fill out the tasks.

A)true
B)false
C)both a and b
D)none of these
سؤال
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.

A)true
B)false
C)both a and b
D)none of these
سؤال
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.

A)true
B)false
C)both a and b
D)none of these
سؤال
Interfaces allow you to specify what methods a class should implement.

A)true
B)false
C)both a and b
D)none of these
سؤال
Interfaces are declared with the ________ keyword:

A)interface
B)abstract class
C)implements
D)None of these
سؤال
Interface are similar to abstract classes. The difference between interfaces and abstract classes are Interfaces cannot have properties, while abstract classes can have.

A)interface
B)abstract class
C)implements
D)None of these
سؤال
To implement an interface, a class must use the______ keyword.

A)interface
B)abstract class
C)implements
D)None of these
سؤال
In PHP, there are three types of arrays one is not type of array in php which one:

A)Indexed arrays -
B)Associative arrays -
C)Multidimensional arrays -
D)polygamy array
سؤال
An inherited class is defined by using the extends keyword.

A)true
B)false
C)both a and b
D)none of these
سؤال
Classes and objects are the two main aspects of __________________

A)object oriented programming
B)constructor and destructor
C)object and array
D)none of these
سؤال
A constructor allows you to initialize an object's properties upon creation of the object.

A)true
B)false
C)both a and b
D)none of these
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/25
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 2: HTTP, PHP, and Object-Oriented Programming in PHP
1
HTTP stands for ___________.

A)Hyper text transfer protocol
B)hyper text mark protocol
C)File transfer protocol
D)none of these
Hyper text transfer protocol
2
Get and ________ are two HTTP methods that a client use to pass from data server.

A)get
B)Post
C)Server
D)Client
Post
3
______ tag is used for multiple selections.

A)select tag
B)text tag
C)list tag
D)none of these
select tag
4
To upload the file ________ array is used.

A)$Files
B)$load
C)$New
D)none of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
5
PHP was designed as a ________ scripting language.

A)Sever side
B)client slide
C)compiler
D)none of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
6
____________is about communication between web clients and servers

A)WWW
B)HTML
C)TCP
D)FTP
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
7
Communication between client computers and web servers is done by sending _________________.

A)HTTP request & HTTP Responses
B)GET & POST
C)TCP & FTP
D)none of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
8
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.

A)Cookie & cookie
B)FTP & TCP
C)GET & POST
D)HTTP request & HTTP Responses
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
9
_______ statements reduce parsing time as the preparation on the query is done only once (although the statement is executed multiple times)

A)Prepared
B)fetch
C)array
D)SSL
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
10
The MySQLi functions allows you to access______ database servers.

A)Mysql
B)SSL
C)Fetch
D)none of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
11
The____ function fetches a result row as an associative array, a numeric array, or both.

A)fetch array()
B)Cookie()
C)S_Array()
D)D_array()
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
12
The ssl_set()function is used to establish secure connections using _____

A)secure socket layer (SSL)
B)Mysql
C)http
D)none of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
13
__________ function is used to change the default database for the connection.

A)fetch_array()
B)Cookie()
C)S_Array()
D)mysqli_select_db()
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
14
An inherited class is defined by using the ______ keyword.

A)extends
B)constructor
C)object
D)none of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
15
Abstract classes and methods are when the parent class has a named method, but need its child class(es) to fill out the tasks.

A)true
B)false
C)both a and b
D)none of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
16
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.

A)true
B)false
C)both a and b
D)none of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
17
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.

A)true
B)false
C)both a and b
D)none of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
18
Interfaces allow you to specify what methods a class should implement.

A)true
B)false
C)both a and b
D)none of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
19
Interfaces are declared with the ________ keyword:

A)interface
B)abstract class
C)implements
D)None of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
20
Interface are similar to abstract classes. The difference between interfaces and abstract classes are Interfaces cannot have properties, while abstract classes can have.

A)interface
B)abstract class
C)implements
D)None of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
21
To implement an interface, a class must use the______ keyword.

A)interface
B)abstract class
C)implements
D)None of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
22
In PHP, there are three types of arrays one is not type of array in php which one:

A)Indexed arrays -
B)Associative arrays -
C)Multidimensional arrays -
D)polygamy array
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
23
An inherited class is defined by using the extends keyword.

A)true
B)false
C)both a and b
D)none of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
24
Classes and objects are the two main aspects of __________________

A)object oriented programming
B)constructor and destructor
C)object and array
D)none of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
25
A constructor allows you to initialize an object's properties upon creation of the object.

A)true
B)false
C)both a and b
D)none of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.