Académique Documents
Professionnel Documents
Culture Documents
QUESTION 1
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.
1 points
QUESTION 2
1.
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.
1 points
QUESTION 3
1.
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.
1 points
QUESTION 4
1.
What is Code construct?
A code construct is a code low level that defines a functional property but not the
QUESTION 5
1.
What is the purpose of "while loops"?
Programmers use the while loops to alter program execution based on certain
conditions.
The while loops adds two arguments and returns the result. The main function calls
adder and prints the result using printf.
"while" loops are used by programmers to define an ordered set of similar data items.
The while loop is frequently used by malware authors to loop until a condition is met,
such as receiving a packet or command.
1 points
1.
QUESTION 6
What is a global variable?
Global variables can be accessed and used by any function in a program.
Global variables cannot be accessed and used by any function in a program.
Global variables can be accessed but not used by any function in a program.
Global variables cannot be accessed but not used by any function in a program.
1 points
1.
QUESTION 7
What does the arithmetic operations "%" do?
The "%" operation performs the modulo between the two variables, which is the
remainder after performing a multiplication operation.
The "%" operation performs the modulo between no variables, which is the remainder
after performing a division operation.
The "%" operation performs the modulus between the two variables, which is the
1.
QUESTION 8
What is the purpose of the "adder" function?
The function adder adds two arguments and returns the result. The main function calls
adder and prints the result using printf.
Programmers use the adder function to alter program execution based on certain
conditions.
The adder function is frequently used by malware authors to add until a condition is
met, such as receiving a packet or command.
The adder is used by programmers to define an ordered set of similar data items
1 points
QUESTION 9
1.
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.
1 points
QUESTION 10
1.
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.
Arrays are used by programmers to define an ordered set of similar data items.
The arrays add two arguments and returns the result. The main function calls adder and
prints the result using printf.
1 points
QUESTION 11
1.
QUESTION 12
1.
What is Windows API type "word" mean?
A 16-bit unsigned value.
A 32-bit unsigned value.
A reference to an object.
A pointer to another type.
1 points
1.
QUESTION 13
How is the file system function "ReadFile and WriteFile" used?
These function are used to create and open files.
These functions are used for reading and writing to files.
The "ReadFile and WriteFile" functions load a file from disk into memory.
Represents functions that will be called by the Windows API.
1 points
1.
QUESTION 14
How is the file system function "MapViewOfFile" used?
This function is used to create and open files.
This function is used for reading and writing to files.
This feature is extremely handy when parsing a file format, because you can easily jump
to different memory addresses.
1.
QUESTION 15
How is the file system function "CreateFile" used?
This function is used to create and open files.
This function is used for reading and writing to files.
The "CreateFile" function loads a file from disk into memory.
Represents a function that will be called by the Windows API.
1 points
1.
QUESTION 16
How is the file system function "CreateFileMapping" used?
This function is used to create and open files.
This function is used for reading and writing to files.
Malware writers commonly use file mappings because they allow a file to be loaded into
memory and manipulated easily.
Represents a function that will be called by the Windows API.
1 points
QUESTION 17
1.
What is the Windows Registry?
The Windows registry is used to store OS and program configuration information, such
as settings and options.
The Windows registry is used to delete OS and program configuration information, such
as settings and options.
The Windows registry is used to hide OS and program configuration information, such as
settings and options.
The Windows registry is used to obfuscate OS and program configuration information,
such as settings and options.
1 points
QUESTION 18
1.
What is Windows API type "callback" mean?
A 32-bit unsigned value.
A reference to an object.
A pointer to another type.
Represents a function that will be called by the Windows API.
1 points
QUESTION 19
1.
What is the WinInet API?
The WinINet API is the current Windows way to use libraries to share code among
multiple applications.
The WinINet API is used as containers to manage resources and keep sep- arate
programs from interfering with each other.
The WinINet API implements protocols, such as HTTP and FTP, at the application layer.
The WinINet API is the container for execution, but threads are what the Windows OS
executes.
1 points
1.
QUESTION 20
What is Regedit?
The Registry Editor (Regedit) is a built-in Macintosh tool used to view and edit the
registry.
The Registry Editor (Regedit) is a built-in Linux tool used to view and edit the registry.
The Registry Editor (Regedit) is a built-in Unix tool used to view and edit the registry.
The Registry Editor (Regedit) is a built-in Windows tool used to view and edit the
registry.