Exam 7: Programming for Security Professionals

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

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?

Free
(Multiple Choice)
4.9/5
(38)
Correct Answer:
Verified

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?

Free
(Multiple Choice)
4.9/5
(39)
Correct Answer:
Verified

C

List and briefly describe the variable types used in C.

Free
(Essay)
4.9/5
(35)
Correct Answer:
Verified

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?

(Multiple Choice)
4.8/5
(31)

You can use the syntax /* and */ to accomplish what function when working with large portions of text?

(Multiple Choice)
4.9/5
(41)

Security professionals often need to examine Web pages and recognize when something looks suspicious.

(True/False)
4.7/5
(42)

In the Perl programming language,comment lines begin with the which of the following character(s)?

(Multiple Choice)
4.9/5
(35)

​In object-oriented programming,which of the following are structures that hold pieces of data and functions?

(Multiple Choice)
4.9/5
(33)

Match each item with a statement below. -An English-like language you can use to help create the structure of your program

(Multiple Choice)
4.7/5
(31)

In the C programming language,which variable type holds the value of a single letter?

(Multiple Choice)
4.7/5
(26)

If you want to know what the Perl print command does,you can use which of the following commands?

(Multiple Choice)
4.9/5
(45)

Which of the following is a mini-program within a main program that carries out a task?

(Multiple Choice)
4.9/5
(38)

Match each item with a statement below. -An error that causes unpredictable results

(Multiple Choice)
4.9/5
(30)

Carelessly reviewing your program's code might result in having which of the following in your program code?

(Multiple Choice)
4.8/5
(41)

You must always add "//" at the end of comment text when using C language.

(True/False)
4.7/5
(40)

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?

(Essay)
4.9/5
(29)

What is the difference between the = and = = operators in C?

(Essay)
4.8/5
(41)

In object-oriented programming,a function contained in a class is called which of the following?

(Multiple Choice)
4.8/5
(27)

Bugs are worse than syntax errors because a program can run successfully with a bug,but the output might be incorrect or inconsistent.

(True/False)
4.8/5
(43)

Which of the following is the act of performing a task over and over?

(Multiple Choice)
4.8/5
(28)
Showing 1 - 20 of 50
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)