Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 9

A sector of array which contains a _________ is called element.

Select one:

a. Variable name

b. Array Size

c. Data Type

d. Value

Statements found inside of the ___________ are called code block.

Select one:

a. Function Declarations

b. Parenthesis

c. Curly Braces

d. Square Braces

The index _________ which element of the array is on being process.

Select one:

a. Declares

b. Sets

c. Initializes

d. Destroys
True or False:

Function is used as an alias as reference to the function.

Select one:
True
False
True or False:

The allocated size if a chartype is 8 bits.

Select one:
True
False
True or False:

Function name is a separate code block that performs a specific task.

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

Mark 1.00 out of 1.00

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

Mark 1.00 out of 1.00

Flag question

Question text
True or False:

Parameter is used to itemize the input values of the function.

Select one:
True
False

Question 15

Correct

Mark 1.00 out of 1.00

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

Mark 1.00 out of 1.00

Flag question

Question text
____________ are also known as procedures.

Select one:
a. Fields
b. Functions
c. Properties
d. Anonymous Variables

Question 18

Correct

Mark 0.00 out of 1.00

Flag question
Question text
True or False:

string is an array of text.

Select one:
True
False
True or False:

The allocated size for a double data type is 64 bits (integer).

Select one:
True
False

Question 20

Correct

Mark 1.00 out of 1.00

Flag question

Question text
True or False:

The body of the function is a group of statements contained by a code block.

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

Mark 1.00 out of 1.00

Flag question

Question text
True or False:

The allocated size for an int data type is 64 bits

Select one:
True
False
In the discussion, the allocated size for a double data type is___________.

Select one:

a. 64 bits (floating point)

b. 32 bits (floating point)

c. 32 bits (integer)

d. 64 bits (integer)

A __________ can call several other functions.

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:

Descending is the usual arrangement for numerical values.

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

You might also like