Deck 7: Understanding PHP Basics: Data Types, Operators, and Control Structures
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/9
Play
Full screen (f)
Deck 7: Understanding PHP Basics: Data Types, Operators, and Control Structures
1
__________ is used to show the out put …or give message..same as printf in c language…
A)echo
B)java script
C)angular js
D)none of these
A)echo
B)java script
C)angular js
D)none of these
echo
2
PHP supports a ___________ range of databases
A)wide
B)small
C)short
D)none of these
A)wide
B)small
C)short
D)none of these
wide
3
PHP supports the following data types:
A)string
B)integer
C)float (floating point numbers - also called double)
D)all of the above .
A)string
B)integer
C)float (floating point numbers - also called double)
D)all of the above .
all of the above .
4
In PHP, an object must be_________declared.
A)explicitly
B)implicitly
C)both a and b
D)none of these
A)explicitly
B)implicitly
C)both a and b
D)none of these
Unlock Deck
Unlock for access to all 9 flashcards in this deck.
Unlock Deck
k this deck
5
PHP divides the operators in the following groups:
A)increment/decrement operators
B)logical operators
C)string operators
D)all of the above
A)increment/decrement operators
B)logical operators
C)string operators
D)all of the above
Unlock Deck
Unlock for access to all 9 flashcards in this deck.
Unlock Deck
k this deck
6
The basic assignment operator in PHP is __________ It means that the left operand gets set to the value of the assignment expression on the right.
A)(=)
B)(++)
C)(==)
D)(?)
A)(=)
B)(++)
C)(==)
D)(?)
Unlock Deck
Unlock for access to all 9 flashcards in this deck.
Unlock Deck
k this deck
7
the _________ statement is used to perform different actions based on different conditions
A)switch
B)if condition
C)foreach
D)while
A)switch
B)if condition
C)foreach
D)while
Unlock Deck
Unlock for access to all 9 flashcards in this deck.
Unlock Deck
k this deck
8
In PHP, we have the following loop types:
A)while loop
B)for loop
C)foreach
D)all the these.
A)while loop
B)for loop
C)foreach
D)all the these.
Unlock Deck
Unlock for access to all 9 flashcards in this deck.
Unlock Deck
k this deck
9
In php, A ___________ is a block of statements that can be used repeatedly in a program.
A)function
B)procedure
C)block
D)loop
A)function
B)procedure
C)block
D)loop
Unlock Deck
Unlock for access to all 9 flashcards in this deck.
Unlock Deck
k this deck