Ethical Hacking - Module 7 Quiz
Which of the following correctly illustrates a comment in the C language?
/* This is a comment */
What benefit does object-oriented programming offer?
All are benefits of object-oriented programming
Why is documenting computer programs essential?
Documentation makes a program easier to modify.
A function contained in a class is known as what?
Member function
What programming language emphasizes code readability and uses indentation to define blocks of code?
Python
In the C programming language, which of the following show where a block of code begins and ends?
braces
In HTML, each tag has a matching closing tag that is written with which of the following characters?
forward slash (/)
Which of the following is a mini-program within a main program that carries out a task?
function
In the Perl programming language, which of the following keywords is used in front of function names?
sub
Most programming languages include a way to do which of the following?
Branching, Looping, and Testing
UNIX was first written in assembly language. However, it was soon rewritten in what programming language?
C
To return the username of the person running Perl, what command is necessary?
Win32::LoginName()