Welcome to your Pre-Assessment Quiz for C++ course! 1. Select the correct order for running a C++ programComposing the program in C++ language, compiling the program, executing the program, correcting mistakes if there are any.Composing the program in C++ language, executing the program, correcting mistakes if there are any, compiling the program.Composing the program in C++ language, correcting mistakes if there are any, compiling the program, executing the program.Composing the program in C++ language, compiling the program, correcting mistakes if there are any, executing the program. 2. What is the role of the main function in a C++ program?It is a function which is used to provide indications to the compiler’s preprocessor.It is a function which is used to declare that we are going to use a certain C++ library.It is a function which is used to control the execution of a C++ program.It is a function which is used to display messages on the screen. 3. A C++ variable is:A virtual object responsible for storing dataA name given to a specific location in the computer’s memory.A basic unit of storage in a program.All of the above. 4. What does a floating point number contain?Both integer and fractional part.Integer part only.Fractional part only.None of the above. 5. What are operators used for in C++?Execution of math operations.Assignment of values to constants & variables.Comparison between variables.All of the above. 6. For printing input and ouput C++ uses two standard streams, cout and cin. These streams work with the so called insertion operation. Choose the correct answer:Insertion operation is written as >> for the cout stream and it is overloaded and written as << for the cin stream.Insertion operation is written >> in both cases.Insertion operation is written << in both cases.Insertion operation is written as << for the cout stream and it is overloaded and written as 7. Look at the following lines of code and select the correct condition in order for the message to be printed.xx==yx>yx=y 8. Which is the most suitable loop form to choose when we know exactly how many times we want the loop block to be executed?The While Loop.The Do/While Loop.The For Loop.The nested Loop. 9. Arrays are a data structure that can store values in contiguous memory locations. Which of the following is true?Arrays have a size which can change after declaration.Arrays are used to store multiple values of the same type.Array indexes start from the 1st one.Arrays can have up to two dimensions. 10. C++ functions have a certain structure, namely a funtion name, a return type, parameters and a function body. Which of the following is true?We cannot create two different functions with the same function name.It is not necessary for a function to have parameters.It is not necessary for a function to have a return type.All of the above. Time is Up!