Answer:
C
Explanation:
All the calculation by computer is performed in base 2. Base 2 is also named as binary computation and it is used in all the computer and digital data processing processors.
Some differences between base 2 and base 10 are:
- Base 2 number system contains 0 and 1 whereas base 10 is from 0 to 9.
- Digital systems works on 0 and 1 logic i.e on and off logic. So we use digital system easily in binary domain whereas, decimal system has 0-9 levels and they are hard to be catered in digital domain.
- Base 10 is used in normal calculations for daily use and binary is only confined to digital domain.
There are some function which can be performed with database but not with a spread sheet, these functions include:
1. Enforcement of data type.
2. Support for self documentation.
3. Defining the relationship among constraints in order to ensure consistency of data.
Answer:
The computer will follow the steps, but the program might not work.
Explanation:
MS Excel is a spreadsheet programme developed by Microsoft in 1985, with the sole purpose of helping businesses compile all their financial data, yearly credit, and yearly debit sheets. Fast forward to the future after 31 years, it is now the most commonly used program for creating graphs and pivot tables.
Answer:
Following are the program in the Java Programming Language.
public class Main // declared class
{
public void hopscotch(int x) // function definition
{
int count=0; // variable declaration
for (int j=0; j<x; j++) // iterating over the loop
{
System.out.println(" " + (++count)); // print the value of count
System.out.println((++count) + " " + (++count));
}
System.out.println(" " + (++count));
}
public static void main(String[] args) // main method
{
Main ob=new Main(); // creating object
ob.hopscotch(3); // calling hopscotch method
}
}
<u>Output</u>:
1
2 3
4
5 6
7
8 9
10
Explanation:
Here, we define a class "Main" and inside the class, we define a function "hopscotch()" and pass an integer type argument in its parentheses and inside the function.
- We set an integer variable "count" and assign value to 0.
- Set the for loop which starts from 0 and end at "x" then, print space and value inside the loop, again print value then space then value, then repeat the 1st print space then value.
- Finally, set the main function "main()" and inside the main function, we create the object of the class "ob" then, call the function " hopscotch()" through the object and pass the value 3 in its parentheses.