1. What will be the value stored in the variable total when the following code completes executing:count = numtotal = num = 0For count = 1 to 10total = total + countendforA) 10B) 55C) 45D) 02. An algorithm is the sequence of steps necessary to solve a problem.A) TrueB) False3. Create a program using a loop that calculates the square of each number (the number raised to the second power) starting with 1 and outputs the square . The program should end when the square is equal to 100. You should use a WHILE loop.4. Each variable within an array has the same name and the same data type.A) TrueB) False