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:
2) Interpreted programming languages (e.g. Python, Perl)
3) In computer science, the syntax of a computer language is the set of rules that defines the combinations of symbols that are considered to be correctly structured statements or expressions in that language. That means that the each programing language has its own specific rules.
4) Pseudocode
5) Cryptographic coding, examples: The Caesar shift, Kryptos
Answer:
Explanation:
I will go straight to the code, and hope it didn't confuse you.
Here is it
public static void main(String[] args)
int [] x = new int [args.length]
for (int y = 0; y< args.length;yi++)
int[y] = (int) args [y]
Answer:
802.11ac
Explanation:
the newest wireless standard that provides data rates up to 1.3Gbps is the 802.11ac, its speed is three times faster than 802.11n and uses the 5GHz frequency range though there are some that uses 2.4GHz for dual support.
this Wireless standard has better features such as high speed file transfers and HD video streaming.