Answer:
The answer is "True".
Explanation:
In this question, the given statement is true because the computer is a device that receives information as input, analyzes information utilizing a program that provides relevant information for the processed data, and in this, it performs numerous calculation and all the calculation will be store in its memory, which is used in the future for collect data on hard drives.
Answer:
Write out your birthday in the following format: M/DD/YY. For example, if your birthday is on June 11, 2013, it would be written as 6/11/13.
2. Convert the birthday date to binary format. Using our same example from above, 6/11/13 translated into binary code would be: 110/1011/1101.
3. Select one color of bead to represent “0”, a second color to represent “1” and then the third color to represent a space (/) between the numbers.
4. Layout the beads to represent your birthdate in binary code. Don’t forget the third color for the spaces in between the numbers!
5. Once laid out, string all the beads on to the string or pipe cleaner.
6. Tie a knot around the ends and enjoy your one-of-a kind masterpiece as a piece of jewelry or a bag tag….the options are endless!
Answer:
Following are the program to this question:
#include <iostream>//defining header file
using namespace std;
void squareOfAsterisks(int x) //defining method squareOfAsterisks
{
int i,j; //defining integer variable
for(i=1;i<=x;i++) //defining loop to print column value
{
for(j=1;j<=x;j++) //defining loop to print row value
{
cout<<"*"; //print value
}
cout<<endl; //for line break
}
}
int main() //defining main method
{
int x; //defining integer variable
cout<<"Enter any number: "; //print message
cin>>x; //input value from user
squareOfAsterisks(x); //calling the method and pass the value
return 0;
}
Output:
Enter any number: 4
****
****
****
****
Explanation:
The description of the above program can be given as follows:
- In the given program a method "squareOfAsterisks" is declared, that accepts an integer value "x" in its arguments, inside the method two integer variable I, j is used, that uses a to print the given pattern.
- In the main method, an integer variable x is declared, which takes input from the user end, and then calls the method, that is "squareOfAsterisks" and passes its value.