Answer:
#include <iostream>
using namespace std;
int main() {
int a[4][5];//declaring a matrix of 4 rows and 5 columns.
for(int i=0;i<4;i++)
{
for(int j=0;j<5;j++)
{
if(i==3)//initializing last row as 0.
{
a[i][j]=0;
}
else//initializing last row as 1.
{
a[i][j]=1;
}
}
}
for(int i=0;i<4;i++)
{
for(int j=0;j<5;j++)
cout<<a[i][j]<<" ";//printing the matrix.
cout<<endl;
}
return 0;
}
Output:-
1 1 1 1 1
1 1 1 1 1
1 1 1 1 1
0 0 0 0 0
Explanation:
I have created a matrix of size 4 rows and 5 columns.I have used for loops to fill the array.To fill the last row with 0 i have used if statement.else we are filling it with 1.
Answer:
Query:
insert into Categories (category_name) values ('Brass Code');
Explanation:
- The query is a medium through which a user of the database can communicate with the database or tables or any particular data. It means that when a user wants to access the database or tables or any data then there is a medium of query which is also known as SQL query.
- The query can help to make the database(which is a collection of tables), make the table in the database, add the data, modify the data or delete the data.
- For add the data there is a insert query which syntax is as follows: insert into table_name (column_1_name,column_2_name,....,column_n_name) values (column_1_values,column_2_values,....,column_n_values);
- There is only one column value in the question which a user needs to add so that can be done by the help of a statement that is defined on the answer part.
Answer:
The correct answer to the following question will be "Option A".
Explanation:
Data validation seems to be an important part of every data managing mission unless you are in that area of information or data collection, data processing or planning to deliver the information to stakeholders.
- Validation could be viewed as something of an integral component of your process instead of as a further move.
- If your data set isn't correct from the beginning, then your outcomes will undoubtedly not be correct either. That's why the data needs to be checked or tested until it becomes used.
The other three options are not related to the given topic. So Option A is the right answer.
Answer:
The Internet is a big network that connects computers all over the world.
Answer: Biometrics
Biometrics is a technology that determines people by his or her physiological characteristics. It is commonly used by big companies, establishments and of course schools. It is also the study of a lot of biological characteristics. Biometrics is also used as an authentication measure through physical characteristics.