Answer:
b. 16
Explanation:
The given PHP code segment consists of 2 statements.
$str="The quick brown fox jumps over the lazy dog";
This defines a variable $str and assigns the given text to it.
echo strpos($str,'fox');
This statement prints the location of 'fox' in the text associated with the variable $str.
Upon execution it will print the value 16 which corresponds to the position of 'fox' in the given sentence.
Answer:
d. integrity
Explanation:
Data integrity is defined as the condition in which all of the data in the database are consistent with the real-world events and conditions.
Data integrity can be used to describe a state, a process or a function – and is often used as a proxy for “data quality”. Data with “integrity” is said to have a complete or whole structure. Data integrity is imposed within a database when it is designed and is authenticated through the ongoing use of error checking and validation routines. As a simple example, to maintain data integrity numeric columns/cells should not accept alphabetic data.
Answer: I dont really know but im guessing it depends on the type of assignment you have. im thinking True.
Explanation:
Answer:
Bits
Explanation:
The protocol data unit is the representative unit of data in the OSI layer of a network. The OSI system has seven layers.
The physical layer is the first layer of the system and the protocol data unit is represented as bits of data.
Note that the term packet is the PDU for data in the network layer of the OSI network system.
Answer:
A
Explanation:
Option A is not true because a Boolean variable type can hold one of two values only that is (true/True or false/False).
All the other options given in the question are correct because
- A variable declaration refers to specifying its type and name
- If string variables are assigned a numeric values which is legal provided the values are enclosed in quaotes( " "), trying to carryout a mathematical operation like addition will result in string concatenation.
- The Variable name I_Love_to_eat_pizza is legal because it contains no special characters, doesn't start with a number and its not a reserved word in any language