ITC 242 Chapter 7

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

The print command for Perl is almost identical to the print command used in which of the following programming languages?

C

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

True

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

member function

Which of the following special characters is used with the printf() function in the C programming language to indicate a new line?

/n

Which of the following logical operators in the C programming language is used to compare the equality of two variables?

==

Which of the following takes you from one area of a program (a function) to another area?

Branching

UNIX was first written in assembly language. However, it was soon rewritten in what programming language?

C

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

Char

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

False

Which of the following is a markup language rather than a programming language?

HTML

Most programming languages have a way to branch, loop, and test.

True

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

True

When a compiler finds errors, it usually indicates what they are so you can correct the code and compile the program again.

True

In the C programming language, which of the following show where a block of code begins and ends?

braces

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

classes

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

comment

In the C programming language, which statement tells the compiler to keep doing what is in the brackets over and over and over?

for(;;)

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

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

perldoc -f print

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?

reverse shell

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

#

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?

#include

Which of the following mathematical operators in the C programming language increments the unary value by 1?

++

In the Perl programming language, which of the following keywords is used in front of function names?

sub

In the Perl programming language, variables begin with which of the following characters?

$

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

bug

In a Perl program, to go from one function to another, you simply call the function by entering which of the following in your source code?

name


Kaugnay na mga set ng pag-aaral

Hoofdstuk 6 Nederlands in gang (2): mogen/willen/moeten/kunnen/zullen

View Set

managing people & work chapter 2

View Set

New Abeka Science Matter & Energy Exam Test 9

View Set

Crash Course Economics (8) Fiscal Policy and Stimulus, (9) Deficits and Debts, (10) Monetary Policy and the Federal Reserve, and (11) Money and Finance

View Set