10/19/25, 6:53 PM Quiz 4: EEL4804 RVC 1258
Quiz 4
Due Oct 19 at 11:59pm
Points 100
Questions 20
Available Oct 16 at 12am - Oct 19 at 11:59pm
Time Limit 30 Minutes
Attempt History
Attempt Time Score
LATEST Attempt 1 9 minutes 85 out of 100
Correct answers will be available Oct 20 at 12am - Dec 7 at 12am.
Score for this quiz: 85 out of 100
Submitted Oct 19 at 6:52pm
This attempt took 9 minutes.
Question 1
pts
What is Code construct?
A code construct is a code low level that defines a functional property but not the details of its implementation.
A code construct is a code high level that defines a functional property but not the details of its implementation.
A code construct is a code component level that defines a functional property but not the details of its implementation.
A code construct is a code abstraction level that defines a functional property but not the details of its implementation.
Question 2
pts
How is the "if" statement used?
The "if" statement is frequently used by malware authors to loop until a condition is met, such as receiving a packet or
command.
The "if" statement adds two arguments and returns the result. The main function calls adder and prints the result using
printf.
Programmers use if statements to alter program execution based on certain conditions.
"If" statements are used by programmers to define an ordered set of similar data items.
, 10/19/25, 6:53 PM Quiz 4: EEL4804 RVC 1258
Question 3
pts
What does the arithmetic operations "--, ++" do?
They are used to decrement by 1 and increment by 1, respectively.
They are used to increment by 1 and decrement by 1, respectively.
They are used to decrement by 1 and decrement by 1, respectively.
They are used to increment by 1 and increment by 1, respectively.
Question 4
pts
What is a local variable?
Local variables cannot be accessed by the function in which they are defined.
Local variables can be accessed only by the global variable in which they are defined.
Local variables can be accessed only by the function in which they are undefined.
Local variables can be accessed only by the function in which they are defined.
Question 5
pts
Is the following an example of a local or global variable?
int x = 1;
int y = 2;
void main()
{
x = x+y;
printf("Total = %d\n", x);
}
Neither
Global variable.
Local variable.
Both.
Incorrect
Question 6
pts
What are "arrays"?
Programmers use arrays to alter program execution based on certain conditions.
Arrays are used by programmers to define an ordered set of similar data items. Malware sometimes uses an array of
pointers to strings that contain multiple hostnames that are used as options for connections.
Quiz 4
Due Oct 19 at 11:59pm
Points 100
Questions 20
Available Oct 16 at 12am - Oct 19 at 11:59pm
Time Limit 30 Minutes
Attempt History
Attempt Time Score
LATEST Attempt 1 9 minutes 85 out of 100
Correct answers will be available Oct 20 at 12am - Dec 7 at 12am.
Score for this quiz: 85 out of 100
Submitted Oct 19 at 6:52pm
This attempt took 9 minutes.
Question 1
pts
What is Code construct?
A code construct is a code low level that defines a functional property but not the details of its implementation.
A code construct is a code high level that defines a functional property but not the details of its implementation.
A code construct is a code component level that defines a functional property but not the details of its implementation.
A code construct is a code abstraction level that defines a functional property but not the details of its implementation.
Question 2
pts
How is the "if" statement used?
The "if" statement is frequently used by malware authors to loop until a condition is met, such as receiving a packet or
command.
The "if" statement adds two arguments and returns the result. The main function calls adder and prints the result using
printf.
Programmers use if statements to alter program execution based on certain conditions.
"If" statements are used by programmers to define an ordered set of similar data items.
, 10/19/25, 6:53 PM Quiz 4: EEL4804 RVC 1258
Question 3
pts
What does the arithmetic operations "--, ++" do?
They are used to decrement by 1 and increment by 1, respectively.
They are used to increment by 1 and decrement by 1, respectively.
They are used to decrement by 1 and decrement by 1, respectively.
They are used to increment by 1 and increment by 1, respectively.
Question 4
pts
What is a local variable?
Local variables cannot be accessed by the function in which they are defined.
Local variables can be accessed only by the global variable in which they are defined.
Local variables can be accessed only by the function in which they are undefined.
Local variables can be accessed only by the function in which they are defined.
Question 5
pts
Is the following an example of a local or global variable?
int x = 1;
int y = 2;
void main()
{
x = x+y;
printf("Total = %d\n", x);
}
Neither
Global variable.
Local variable.
Both.
Incorrect
Question 6
pts
What are "arrays"?
Programmers use arrays to alter program execution based on certain conditions.
Arrays are used by programmers to define an ordered set of similar data items. Malware sometimes uses an array of
pointers to strings that contain multiple hostnames that are used as options for connections.