0% found this document useful (0 votes)
129 views5 pages

ComProg Part 2

A parameter is used to itemize the input values of a function. The syntax for a parameter is dataType variableName. A parameter is a component of a function which itemizes the input values of the function.

Uploaded by

MORAN Diana
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
129 views5 pages

ComProg Part 2

A parameter is used to itemize the input values of a function. The syntax for a parameter is dataType variableName. A parameter is a component of a function which itemizes the input values of the function.

Uploaded by

MORAN Diana
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

__________ 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

You might also like