<h2>
Answer:</h2>
(c) 4
<h2>
Explanation:</h2>
The function <u>strpos()</u> is a function in php that returns the position of the first occurrence of a particular substring in a string. Positions are counted from 0. The function receives two arguments. The first argument is the string from which the occurrence is to be checked. The second argument is the substring to be checked.
In this case, the string is "Get Well Soon!" while the substring is "Well"
Starting from 0, the substring "Well" can be found to begin at position 4 of the string "Get Well Soon!".
Therefore, the function strpos("Get Well Soon!", "Well") will return 4.
Then, with the echo statement, which is used for printing, value 4 will be printed as output of the code.
Answer:
1. 45
2. 90
3. 161
4. 227
Explanation:
Binary starts off with the first bit equaling 1 and then each subsequent bit being double the previous bit from right to left, so.
128, 64, 32, 16, 8, 4, 2, 1 In this example. If you imagine each 1 or 0 being and on or off for the value it's related to, you just add the numbers together that are on (with a 1 on them)
#1) What summarizes a data source into a grid of rows and columns?
Answer: A Database. A database is an organized collection of data. It is the collection of schemas, tables, queries, reports, views, and other objects. The data are typically organized to model aspects of reality in a way that supports processes requiring information.
Answer:
C++.
Explanation:
#include <iostream.h>
void main(int argc,char* arg[]) {
// Arrays
int x[100];
int y[50];
int z[50];
////////////////////////////////////////////////////////////////////////////
int count = 0;
for (int i = 0; i < 100; i+=2) {
z[count] = x[i] * y[count];
count++;
}
for (int i =0; i < 5; i++) {
cout<<z[i]<<endl;
}
getche();
}