Answer: b. My name is BobBob
Explanation:
- $foo = 'Bob'; // Assigns foo variable the value Bob
- $bar = $foo; // Assigns the value of foo to bar
- $bar = "My name is $bar"; //changes the $bar this is the way to include variables directly in the string.
- print $bar; // this prints My name is and moves to the variable $bar which prints the value of $bar which is the value of $foo i.e. Bob
- print $foo; // prints another Bob
Answer:
The expression to this question can be defined as follows:
Expression:
(x >= 0 && y<0) //check condition using AND operator
Explanation:
In the given question it is defined that x and y are an integer variable that holds some value, in which it defines a condition that checks the value of variable x is positive, and the value of y is negative.
- To check positive value a condition is used, that checks x greater than equal to 0, and to check negative value, it uses condition, that is y is less than 0.
- In the above condition, the AND operator is used, which executes when both conditions are true.
Periodically adding, changing and deleting file records is called file updating. The correct answer is A.
Answer:
Return Key (Enter Key on Windows)
Explanation:
It is a key on the keyboard that has a downward arrow with corner leftward, it can be used to start a new line of writing.