Deck 1: Getting Started With Php

ملء الشاشة (f)
exit full mode
سؤال
In PHP, you can declare a variable without assigning a value to it.
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
When you pass a variable name to the echo statement, you must enclose the variable name in double quotation marks.
سؤال
When using the
سؤال
In PHP, you are limited to ten (10) code blocks in a single page.
سؤال
When you assign a NULL value to a variable, you ensure that the variable does not contain any data.
سؤال
In PHP, each statement must be placed on a separate line.
سؤال
All Web pages containing PHP code must have an extension of .php.
سؤال
Using the standard method of writing PHP blocks, the are used to begin and end a code block.
سؤال
Constant names, like variable names, must begin with a $.
سؤال
$_ABC1 is a valid variable identifier.
سؤال
Both the echo and print statements return a value of 1 if successful and 0 if not successful.
سؤال
It is a good practice to name all Web files with a .php extension even if they contain no PHP code.
سؤال
The source code for PHP can be viewed in the client browser.
سؤال
When using multiple arguments in a function, you must separate the arguments with a comma.
سؤال
Constant names are always case sensitive.
سؤال
A line comment must be placed at the end of the line to which the comment refers.
سؤال
The primary purpose of a semicolon in PHP is to identify the end of a line.
سؤال
A text string can be contained in either double or single quotation marks.
سؤال
If you use a variable name in a text string enclosed by single quotation marks, the name of the variable will display.
سؤال
Data types that can be assigned only a single value are called primitive types.
سؤال
Type casting, changes the data type of a variable from one data type to another.
سؤال
A unary operator requires an operand before or after the operator.
سؤال
The numbering of elements within an array starts with an index number of one (1).
سؤال
A(n) ____ is an element's numeric position within an array.

A) location
B) index
C) indicator
سؤال
In PHP programming, you can only use TRUE or FALSE to indicate Boolean values.
سؤال
____ are positive and negative numbers and 0 with no decimal places.

A) Integers
B) Numbers
C) Digits
سؤال
The values assigned to different array elements of the same array can be of different data types.
سؤال
In a ____ programming language the data type for a variable will not change after it has been declared.

A) loosely typed
B) strongly typed
C) constantly typed
سؤال
Arrays and objects are examples of the primitive data type.
سؤال
____ are lines you place in your code that do not get executed but provide helpful information such as the name of the script, your name and the date your created the program.

A) Pointers
B) Instructions
C) Comments
سؤال
____ a variable is the processing of assigning a first value to a variable.

A) Initializing
B) Declaring
C) Finalizing
سؤال
Data types that can be assigned only a single value are called ____ types.

A) individual
B) mono
C) primitive
سؤال
Exponential ____ is a shortened format for writing very large numbers with any decimal places.

A) numbering
B) notation
C) registering
سؤال
The modulus operator returns the remainder left from the division of two integers.
سؤال
The ____ type is the specific category of information that a variable contains.

A) variable
B) data
C) content
سؤال
You can use parentheses with expressions to change the associativity in which individual operations in an expression are evaluated.
سؤال
The PHP Group recommends you use the standard ____ script delimiters to write PHP code declaration blocks.

A)
B)
C)
سؤال
Array names are often referred to with the array operators [ and ] at the end of the name to clearly define them as arrays.
سؤال
The ____ function is used to create a constant.

A) create()
B) define()
C) describe()
سؤال
A comparison operator returns a Boolean value of TRUE or FALSE after two operands have been compared.
سؤال
____ assignment operators perform mathematical calculations on variables and literal values in an expression and then assign a new value to the left operand.

A) Compound
B) Complex
C) Binary
سؤال
You use the ____ function to find the total number of elements in an array.

A) sum()
B) counta()
C) count()
سؤال
A(n) ____ is a literal value or variable that can be evaluated by the PHP scripting engine to produce a result.

A) expression
B) condition
C) clause
سؤال
The ____ operator executes one of two expressions based on the results of a conditional expression.

A) conditional
B) expressional
C) comparison
سؤال
A Web document containing PHP code must have an extension of ____________________.
سؤال
The ____ operation uses the === (triple equal sign) to compare two operands for equality and data type.

A) equal
B) strict equal
C) comparison
سؤال
One way to ensure that a variable is of the correct data type is through type ____.

A) naming
B) identifying
C) casting
سؤال
The ____ operator uses the % symbol to find the remainder of integer division.

A) division
B) modulus
C) arithmetic
سؤال
The individual lines of code that make up a PHP script are called ____________________.
سؤال
A(n) ____________________ is a character or sequence of characters used to mark the beginning and end of a code segment.
سؤال
Logical operators are used for comparing two ____ operands for equality.

A) numeric
B) Boolean
C) string
سؤال
The ____ function tests whether a variable contains a numeric data type.

A) is_number()
B) is_digit()
C) is_numeric()
سؤال
____ are symbols, such as the (+) symbol that are used in expressions to manipulate operands.

A) Literals
B) Operators
C) Expressions
سؤال
Assignment operators are used to assign a ____ to a variable.

A) name
B) value
C) data type
سؤال
A(n) ____ operator is used in PHP to perform mathematical calculations.

A) math
B) arithmetic
C) calculation
سؤال
The PHP Group officially recommends that you use the ____________________ PHP script delimiters to write PHP code declaration blocks.
سؤال
The ____________________ attribute is used with the
سؤال
The print_r(), var_export(), and var_dump()functions are used with ____ to display the index and value of each element.

A) variables
B) functions
C) arrays
سؤال
A(n) ____ operator requires a single operand either before or after the operator.

A) unary
B) single
C) binary
سؤال
The ____ symbol is used to suppress any errors that might be generated by an expression to which it is prepended.

A) #
B) =>
C) @
سؤال
A(n) ____________________ contains information that does not change during the course of program execution.
سؤال
A(n) ____________________ is a static value such as a string or a number.
سؤال
The term ____________________ refers to a subroutine that performs a specific task.
سؤال
The name you assign to a variable is called a(n) ____________________.
سؤال
Assigning the value ____________________ to a variable indicates that the variable does not contain a usable value.
سؤال
A(n) ____________________ is a set of data represented by a single variable name.
سؤال
The ____________________ PHP script delimiters omit the word PHP from the opening delimiter.
سؤال
The ____________________ function is used to find the total number of elements in an array.
سؤال
A(n) ____________________ string is text that is contained within double or single quotation marks.
سؤال
____________________ comments allow multiple lines of text to be added.
سؤال
The echo() and print()____________________ are used to display text that is returned as a response to a client.
سؤال
____________________ operands are limited to the values TRUE or FALSE.
سؤال
____________________ operators are used to determine how one operand compares to another.
سؤال
The process of specifying and creating a variable name is called ____________________ the variable.
سؤال
To execute a function, you must use a function ____________________.
سؤال
Sending data to a called function is called ____________________ arguments.
سؤال
Reference or ____________________ data types can contain multiple values or complex types of information.
سؤال
The equal sign (=)is an example of a(n) ____________________ operator.
سؤال
A postfix operator is placed ____________________ a variable.
سؤال
____________________ are lines you place in your code that do not get executed but provide information.
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/83
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 1: Getting Started With Php
1
In PHP, you can declare a variable without assigning a value to it.
False
2
When you pass a variable name to the echo statement, you must enclose the variable name in double quotation marks.
False
3
When using the
False
4
In PHP, you are limited to ten (10) code blocks in a single page.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
5
When you assign a NULL value to a variable, you ensure that the variable does not contain any data.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
6
In PHP, each statement must be placed on a separate line.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
7
All Web pages containing PHP code must have an extension of .php.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
8
Using the standard method of writing PHP blocks, the are used to begin and end a code block.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
9
Constant names, like variable names, must begin with a $.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
10
$_ABC1 is a valid variable identifier.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
11
Both the echo and print statements return a value of 1 if successful and 0 if not successful.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
12
It is a good practice to name all Web files with a .php extension even if they contain no PHP code.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
13
The source code for PHP can be viewed in the client browser.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
14
When using multiple arguments in a function, you must separate the arguments with a comma.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
15
Constant names are always case sensitive.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
16
A line comment must be placed at the end of the line to which the comment refers.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
17
The primary purpose of a semicolon in PHP is to identify the end of a line.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
18
A text string can be contained in either double or single quotation marks.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
19
If you use a variable name in a text string enclosed by single quotation marks, the name of the variable will display.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
20
Data types that can be assigned only a single value are called primitive types.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
21
Type casting, changes the data type of a variable from one data type to another.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
22
A unary operator requires an operand before or after the operator.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
23
The numbering of elements within an array starts with an index number of one (1).
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
24
A(n) ____ is an element's numeric position within an array.

A) location
B) index
C) indicator
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
25
In PHP programming, you can only use TRUE or FALSE to indicate Boolean values.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
26
____ are positive and negative numbers and 0 with no decimal places.

A) Integers
B) Numbers
C) Digits
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
27
The values assigned to different array elements of the same array can be of different data types.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
28
In a ____ programming language the data type for a variable will not change after it has been declared.

A) loosely typed
B) strongly typed
C) constantly typed
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
29
Arrays and objects are examples of the primitive data type.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
30
____ are lines you place in your code that do not get executed but provide helpful information such as the name of the script, your name and the date your created the program.

A) Pointers
B) Instructions
C) Comments
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
31
____ a variable is the processing of assigning a first value to a variable.

A) Initializing
B) Declaring
C) Finalizing
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
32
Data types that can be assigned only a single value are called ____ types.

A) individual
B) mono
C) primitive
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
33
Exponential ____ is a shortened format for writing very large numbers with any decimal places.

A) numbering
B) notation
C) registering
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
34
The modulus operator returns the remainder left from the division of two integers.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
35
The ____ type is the specific category of information that a variable contains.

A) variable
B) data
C) content
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
36
You can use parentheses with expressions to change the associativity in which individual operations in an expression are evaluated.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
37
The PHP Group recommends you use the standard ____ script delimiters to write PHP code declaration blocks.

A)
B)
C)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
38
Array names are often referred to with the array operators [ and ] at the end of the name to clearly define them as arrays.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
39
The ____ function is used to create a constant.

A) create()
B) define()
C) describe()
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
40
A comparison operator returns a Boolean value of TRUE or FALSE after two operands have been compared.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
41
____ assignment operators perform mathematical calculations on variables and literal values in an expression and then assign a new value to the left operand.

A) Compound
B) Complex
C) Binary
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
42
You use the ____ function to find the total number of elements in an array.

A) sum()
B) counta()
C) count()
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
43
A(n) ____ is a literal value or variable that can be evaluated by the PHP scripting engine to produce a result.

A) expression
B) condition
C) clause
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
44
The ____ operator executes one of two expressions based on the results of a conditional expression.

A) conditional
B) expressional
C) comparison
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
45
A Web document containing PHP code must have an extension of ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
46
The ____ operation uses the === (triple equal sign) to compare two operands for equality and data type.

A) equal
B) strict equal
C) comparison
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
47
One way to ensure that a variable is of the correct data type is through type ____.

A) naming
B) identifying
C) casting
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
48
The ____ operator uses the % symbol to find the remainder of integer division.

A) division
B) modulus
C) arithmetic
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
49
The individual lines of code that make up a PHP script are called ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
50
A(n) ____________________ is a character or sequence of characters used to mark the beginning and end of a code segment.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
51
Logical operators are used for comparing two ____ operands for equality.

A) numeric
B) Boolean
C) string
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
52
The ____ function tests whether a variable contains a numeric data type.

A) is_number()
B) is_digit()
C) is_numeric()
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
53
____ are symbols, such as the (+) symbol that are used in expressions to manipulate operands.

A) Literals
B) Operators
C) Expressions
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
54
Assignment operators are used to assign a ____ to a variable.

A) name
B) value
C) data type
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
55
A(n) ____ operator is used in PHP to perform mathematical calculations.

A) math
B) arithmetic
C) calculation
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
56
The PHP Group officially recommends that you use the ____________________ PHP script delimiters to write PHP code declaration blocks.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
57
The ____________________ attribute is used with the
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
58
The print_r(), var_export(), and var_dump()functions are used with ____ to display the index and value of each element.

A) variables
B) functions
C) arrays
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
59
A(n) ____ operator requires a single operand either before or after the operator.

A) unary
B) single
C) binary
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
60
The ____ symbol is used to suppress any errors that might be generated by an expression to which it is prepended.

A) #
B) =>
C) @
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
61
A(n) ____________________ contains information that does not change during the course of program execution.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
62
A(n) ____________________ is a static value such as a string or a number.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
63
The term ____________________ refers to a subroutine that performs a specific task.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
64
The name you assign to a variable is called a(n) ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
65
Assigning the value ____________________ to a variable indicates that the variable does not contain a usable value.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
66
A(n) ____________________ is a set of data represented by a single variable name.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
67
The ____________________ PHP script delimiters omit the word PHP from the opening delimiter.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
68
The ____________________ function is used to find the total number of elements in an array.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
69
A(n) ____________________ string is text that is contained within double or single quotation marks.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
70
____________________ comments allow multiple lines of text to be added.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
71
The echo() and print()____________________ are used to display text that is returned as a response to a client.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
72
____________________ operands are limited to the values TRUE or FALSE.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
73
____________________ operators are used to determine how one operand compares to another.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
74
The process of specifying and creating a variable name is called ____________________ the variable.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
75
To execute a function, you must use a function ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
76
Sending data to a called function is called ____________________ arguments.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
77
Reference or ____________________ data types can contain multiple values or complex types of information.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
78
The equal sign (=)is an example of a(n) ____________________ operator.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
79
A postfix operator is placed ____________________ a variable.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
80
____________________ are lines you place in your code that do not get executed but provide information.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 83 في هذه المجموعة.