C7
In the C programming language, which of the following show where a block of code begins and ends? brackets braces parenthesis dashes
braces
Which of the following is a mini-program within a main program that carries out a task? branch loop script function
function
In object-oriented programming, a function contained in a class is called which of the following? member function label function test function variable function
member function
In the Perl programming language, variables begin with which of the following characters? % ! $ *
$
Which of the following logical operators in the C programming language is evaluated as true if both sides of the operator are true? = == || &&
&&
If you want to know what the Perl print command does, you can use which of the following commands? perldoc -f print perl -h man perl print perl -h print
perldoc -f print
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? use #include package #import
#include
Which of the following mathematical operators in the C programming language increments the unary value by 1? + ++ & %
++
Which of the following logical operators in the C programming language is used to compare the equality of two variables? || = && ==
==
The print command for Perl is almost identical to the print command used in which of the following programming languages? Smalltalk PHP Java C
C
In the C programming language, which variable type holds the value of a single letter? Char Const Float String
Char
Which of the following is a markup language rather than a programming language? HTML Perl PHP C
HTML
Which of the following is the act of performing a task over and over? Looping Testing Branching Remembering
Looping
When a compiler finds errors, it usually indicates what they are so you can correct the code and compile the program again. True False
True
Which of the following special characters is used with the printf() function in the C programming language to indicate a new line? \0 \n \l \t
\n
Carelessly reviewing your program's code might result in having which of the following in your program code? bug branch virus variable
bug
You can use the syntax /* and */ to accomplish what function when working with large portions of text? run erase execute comment
comment
In the C programming language, which statement tells the compiler to keep doing what is in the brackets over and over and over? do(forever) loop($) for(;;) continue
for(;;)
In HTML, each tag has a matching closing tag that is written with which of the following characters? bang (!) ampersand (&) forward slash (/) backward slash (\)
forward slash (/)
In the Perl programming language, which of the following keywords is used in front of function names? sub proc func declare
sub
In the Perl programming language, comment lines begin with the which of the following character(s)? # % $ //
#
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? back shell reverse door reverse shell reverse port
reverse shell
UNIX was first written in assembly language. However, it was soon rewritten in what programming language? Python Smalltalk C Perl
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 False
True
Most programming languages have a way to branch, loop, and test. True False
True