Professional Documents
Culture Documents
Computer Programming - 1
Computer Programming - 1
Select one:
a. Variable name
b. Array Size
c. Data Type
d. Value
Select one:
a. Function Declarations
b. Parenthesis
c. Curly Braces
d. Square Braces
Select one:
a. Declares
b. Sets
c. Initializes
d. Destroys
True or False:
Select one:
True
False
True or False:
Select one:
True
False
True or False:
Select one:
True
False
True or False:
Sorting problems are problems where the values of given array is being arranged in a decremental
order.
Select one:
True
False
Question 8
Correct
Flag question
Question text
True or False:
The int main()function serves as an entry point of any C++ application.
Select one:
True
False
__________ is a component of the function which itemizes the input values of the function.
Select one:
a. Return Statement
b. Parameter
c. Function Declaration
d. Body
The syntax for the ______________ is dataType variableName.
Select one:
a. Parameter
b. Increment/Decrement
c. for Loop Declaration
d. Function Declaration
Parameter is a component of the function which _______ the input values of the function.
Select one:
a. Increases
b. Destroys
c. Multiplies
d. Itemizes
We used __________to get user input.
Select one:
a. std::cin
b. Cout
c. Cin
d. std::cout
Question 13
Correct
Mark 0.00 out of 1.00
Flag question
Question text
True or False: Parameter code block can adopt input from another code block.
Select one:
True
False
Question 14
Correct
Flag question
Question text
True or False:
Select one:
True
False
Question 15
Correct
Flag question
Question text
The _____________ header file is used for string input with no space on it in C+
+.
Select one:
a. #include <cstring>
b. #include <stdio>
c. #include <cstdlib>
d. #include <iostream>
___________ is the result of incorrect action committed unexpectedly.
Select one:
a. Runtime Error
b. Exception
c. Interruption
d. Compile Error
Question 17
Correct
Flag question
Question text
____________ are also known as procedures.
Select one:
a. Fields
b. Functions
c. Properties
d. Anonymous Variables
Question 18
Correct
Flag question
Question text
True or False:
Select one:
True
False
True or False:
Select one:
True
False
Question 20
Correct
Flag question
Question text
True or False:
Select one:
True
False
An array can contain ___________ values of the same data type.
Select one:
a. Zero or One
b. Zero
c. One or Two
d. One or more
Question 22
Correct
Flag question
Question text
True or False:
Select one:
True
False
In the discussion, the allocated size for a double data type is___________.
Select one:
c. 32 bits (integer)
d. 64 bits (integer)
Select one:
a. Reference
b. Pointer
c. Procedure
d. Variable
The ___________ statement is used for the system function.
Select one:
a. #include <cstring>
b. #include <iostream>
c. #include <cstdlib>
d. #include <stdio>
C++ does not allow array of ________ sizes.
Select one:
a. Singular
b. Dynamic
c. Implicit Size
d. Fixed
________ is defined as part of an entire code.
Select one:
a. Function
b. Exception
c. Code Block
d. Snippet
Feedback
Correct
Marks for this submission: 1.00/1.00. Accounting for previous tries, this gives 0.67/1.00.
True or False:
Select one:
True
False
The ____________ serves as an entry point of any C++ application.
Select one:
a. EXIT_SUCESS
b. int main()
c. using namespace std;
d. #include<iostream>
A property that states if a value cannot be changed is called. _____________.
Select one:
a. Immutability
b. Definiteness
c. Constant
d. Persistent