Answer: Logical Error
The division by 0 is a logical error.
Internet Protocol (IP) are guideline about how data should be sent across the internet.
Internet Protocol (IP) work hand in hand with packet as they are connected to every packet which therefore means that any internet users who connect to the internet will be allocated with a unique Internet Protocol (IP) address.
This Internet Protocol (IP) address will enables the user devices to connect and communicate across the internet with ease once the packets are connected to the each Internet Protocol (IP) address allocated to them.
Learn more here:
Answer:
Succeed and show traction within 6-10 months.
Explanation:
Ai (Artificial Inteliigence), also known as machine intelligence, is a branch of computer science that is specialized in making smart machines that are capable of doing human tasks
AI Transformation Playbook is a guide to use AI in enterprises successfully, written by Co-founder of Google Brain, Andrew Ng. In his guide, he unveiled the steps that can be followed to successfully installing AI in enterprises, companies, etc.
The most important trait of the first pilot projects is that it succeeds and begins to show traction within 6-10 months.
In his guide, he summarised five steps to install AI in enterprises. The first step is to 'Execute pilot projects to gain momentum.'
The most important trait of beginning with AI projects is that it succeeds first before being most valuable projects. The success is important as it will help to achieve familiarity and will help other people of the company to invest in this project more.
This success begins to show tractions within 6-12 months of its success.
Answer:
The formula is =OFFSET( A1, 7,3,1,1 )
Explanation:
Microsoft excel is a statistical and analytical tool for data management and analysis. Its working environment is called a worksheet. The worksheets are made up of rows and columns also known as records and fields respectively.
Functions like OFFSET in excel is used to return a cell or group of cells. It gets the position to turn by start getting a starting port, then the number of records below it and the fields after, then the length and width of cells to return.
syntax: =OFFSET( "starting cell", "number of rows below", "number of columns after", "height of cells to return", "width of cells to return" )
Answer:
1.
if(y==0.3){ x = 100;}
2.
if(y == 10){
x = 0; }
else {
x = 1; }
3.
if(sales< 10000){
commission = 0.10;
}
else if(sales>= 10000 && sales <= 15000 ){
commission = 0.15;
}
else{
commission = 0.20;
}
Explanation:
The statements written in brackets represent the conditions while the statements in {...} represent the operation that would be executed depending on the outcome of the if statement.
For 1: if(y==0.3){ x = 100;}
If y is 0.3, 100 would be assigned to x
For 2:
if(y == 10){ x = 0; }
If y is 10, 0 would be assigned to x
else { x = 1; }
If otherwise, 1 would be assigned to x
For 3:
if(sales< 10000){commission = 0.10;}
Is sales is less than 10000, commission would be 0.10
else if(sales>= 10000 && sales <= 15000 ){commission = 0.15;}
If sales is within range of 10000-15000, commission would be 0.15
else{commission = 0.20;}
If otherwise, commission would be 0.20
Answer: The shell sort is based on insertion sort. Here the list of elements are divided into smaller sub list which are sorted based on insertion sort.
Its best case time complexity is O(n* logn) and worst case is O(n* log^2 n)
Explanation:
Shell sort is an inplace sorting here we begin by dividing the list into sublist and sorting the list with insertion sort. We create interval for dividing the list into sub list until we reach the smallest interval of 1.
The best case is O(n* logn).
void f1(int array, int size);
void f1(int& array, int size);
void f1(int array[100], int size);
void f1(float array[], int size);
All of the above
C and D
A and B
Answer:
Only
Option: void f1(float array[], int size);
is valid.
Explanation:
To pass an array as argument in a function, the syntax should be as follows:
functionName (type arrayName[ ] )
We can't place the size of the array inside the array bracket (arrayName[100]) as this will give a syntax error. The empty bracket [] is required to tell the program that the value that passed as the argument is an array and differentiate it from other type of value.