Exam 7: Programming for Security Professionals
Which of the following statements in the C programming language is used to load libraries that hold the commands and functions used in your program?
A
Which of the following is a backdoor initiated from inside the target's network that makes it possible to take control of the target even when it's behind a firewall?
C
List and briefly describe the variable types used in
C.
Int: Use this variable type for an integer (positive or negative number). Float: This variable type is for a real number that includes a decimal point,such as 1.299999. Double: Use this variable type for a double-precision floating point. Char: This variable type holds the value of a single letter. String: This variable type holds the value of multiple characters or words. Const: A constant variable is one you create to hold a value that doesn't change for the duration of your program.For example,you can create a constant variable called TAX and give it a specific value: const TAX - .085.If this variable is used in areas of the program that calculate total costs after adding an 8.5% tax,it's easier to change the constant value to a different number if the tax rate changes,instead of changing every occurrence of 8.5% to 8.6%.
Which of the following mathematical operators in the C programming language increments the unary value by 1?
You can use the syntax /* and */ to accomplish what function when working with large portions of text?
Security professionals often need to examine Web pages and recognize when something looks suspicious.
In the Perl programming language,comment lines begin with the which of the following character(s)?
In object-oriented programming,which of the following are structures that hold pieces of data and functions?
Match each item with a statement below.
-An English-like language you can use to help create the structure of your program
In the C programming language,which variable type holds the value of a single letter?
If you want to know what the Perl print command does,you can use which of the following commands?
Which of the following is a mini-program within a main program that carries out a task?
Match each item with a statement below.
-An error that causes unpredictable results
Carelessly reviewing your program's code might result in having which of the following in your program code?
You must always add "//" at the end of comment text when using C language.
The Win32 class contains many functions you can call from your Perl script.How can attackers use these functions,and should security professionals become proficient at using them in a program?
In object-oriented programming,a function contained in a class is called which of the following?
Bugs are worse than syntax errors because a program can run successfully with a bug,but the output might be incorrect or inconsistent.
Which of the following is the act of performing a task over and over?
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)