Deck 2: HTTP, PHP, and Object-Oriented Programming in PHP
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/25
العب
ملء الشاشة (f)
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
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
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
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
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
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
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
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
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
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
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()
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
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()
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
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
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
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
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
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
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
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
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
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
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
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
A)true
B)false
C)both a and b
D)none of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck