• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/57

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

57 Cards in this Set

  • Front
  • Back
A C program consists of separate bodies of code known as ____.
a. subroutines c. functions
b. procedures d. all of the above
c. functions
Which of the following makes modifications to your program, such as including contents of other files and creating constant values?
a. Compiler c. Linker
b. Function d. Preprocessor
d. Preprocessor
Which of the following is a program that translates your source code into binary instructions?
a. Compiler c. Linker
b. Preprocessor d. None of the above
a. Compiler
_____ is an operation that scrambles a file's contents into secret code.
a. Decryption c. Incryption
b. Encryption d. Translation
b. Encryption
Which of the following is a utility that controls compilation as you make changes and additions to the program during the development phase?
a. Encryption utility c. Translation utility
b. Decryption utility d. Make utility
d. Make utility
Which of the following is required during the final phase of program development?
a. Assembler c. Linker
b. Postprocessor d. None of the above
c. Linker
Which of the following statements would be considered TRUE about key words?
a. They have special meanings and can NOT be used as names for variables.
b. They have special meanings and can NOT be used as names for functions.
c. Both A and B
d. They can be used as names for either variables or functions.
c. Both A and B
Which of the following is NOT an example of a C language keyword?
a. break c. char
b. or d. do
b. or
A C library consists of a function that performs which of the following types of operation?
a. File c. Keyboard
b. Screen d. All of the above
d. All of the above
Every function must have a name and every C program must have a function called ____.
a. start c. main
b. begin d. none of the above
c. main
Which of the following symbols denotes the beginning of a comment?
a. /* c. \#
b. \* d. /#
a. /*
Which of the following symbols denotes the end of a comment?
a. *\ c. #\
b. */ d. #/
b. */
Which of the following statements is an example of a preprocessor directive?
a. ?include <stdio.h> c. #include <stdio.h>
b. $include <stdio.h> d. none of the above
c. #include <stdio.h>
The file stdio.h is called a(n) ____ and is part of your C development system.
a. backward compatible file c. footer file
b. header file d. all of the above
b. header file
Which of the following C data types occupies a single byte and is designed to hold one character from the character set used by the running machine?
a. lnt c. double
b. float d. char
d. char
Strings are stored in memory in ____ memory locations.
a. asynchronous c. both A and B
b. consecutive d. none of the above
b. consecutive
Which of the following statements would be considered TRUE about C?
a. It does NOT provide a specific data type for character strings.
b. It requires you view strings the same way the computer does, as an array of characters.
c. Both A and B.
d. None of the above.
c. Both A and B.
Which of the following statements would be considered TRUE about variables?
a. You must declare all variables before you use them in a program.
b. Variables do NOT need to be declared before you put them in a program.
c. You must initialize them before you put them in a program.
d. None of the above
a. You must declare all variables before you use them in a program.
Variables that are declared inside a function are referred to as ____ variables.
a. synchronized c. automatic
b. manual d. transversed
c. automatic
One of the most commonly used screen output library functions is which of the following?
a. prnf c. print
b. prinf d. printf
d. printf
Which of the following format specifiers represents a signed decimal integer?
a. #I c. %I
b. $I d. -I
c. %I
Which of the following is a Linux command to use the C compiler?
a. ccg c. ggc
b. cgc d. gcc
d. gcc
Which of the following would NOT be considered a C looping mechanism?
a. and loop c. while loop
b. do-while loop d. for loop
a. and loop
A value passed to a function is called a(n) ____.
a. constant c. argument
b. scope d. none of the above
c. argument
Almost everything you type into a C program is in ____.
a. uppercase c. case does not matter
b. lowercase d. none of the above
b. lowercase
A(n) ____ is a collection of data.
a. object c. both A and B
b. class d. none of the above
a. object
A set of operations is often referred to as a(n) ____.
a. object c. both A and B
b. method d. none of the above
b. method
Which of the following programs follows object-oriented programming principles?
a. C c. Visual Basic
b. C++ d. None of the above
b. C++
Constructors and other member functions can be defined where in the class definition?
a. Inside c. Both A and B
b. Outside d. None of the above
c. Both A and B
In Perl, ____ reads input from the keyboard.
a. STIN c. STDON
b. STDIN d. STON
b. STDIN
Which of the following operators tests two numeric values for equality?
a. < c. <=
b. > d. ==
d. ==
Which of the following is NOT an example of the new numeric relational operator?
a. > c. <
b. ! d. <=
b. !
Which of the following Perl string relational operators means equality?
a. q c. eq
b. qe d. none of the above
c. eq
Which of the following Perl string relational operators means less than or equal to?
a. le c. el
b. ne d. all of the above
a. le
____ are symbolic names that represent values stored in memory.
a. Hashes c. Arrays
b. Variables d. Scalars
b. Variables
____ are simple variables that hold a number or string.
a. Arrays c. Scalars
b. Hashes d. Numbers
c. Scalars
Scalar variable names begin with which of the following signs?
a. pound sign c. question mark
b. exclamation point d. dollar sign
d. dollar sign
Which of the following do NOT change value when a program runs?
a. Scalars c. Hashes
b. Constants d. None of the above
b. Constants
Which of the following is an example of a double-precision, floating-point value?
a. 23456.85 c. Both A and B
b. 14321 d. None of the above
a. 23456.85
____ are often used for logical analysis, sorts, or searches.
a. Form feeds c. Strings
b. Horizontal tabs d. Carriage returns
c. Strings
String literals are usually delimited by which of the following?
a. Single quotes c. Two backslashes
b. Double quotes d. Both A and B
d. Both A and B
Which of the following characters means to delete in hexadecimal?
a. \033 c. \b
b. \x7f d. \t
b. \x7f
Which of the following characters means horizontal tab?
a. \t c. \a
b. \h d. \n
a. \t
Within double quotes, variables are interpolated; a ____ preceding a variable name is used to ensure that it is NOT interpolated.
a. pound sign (#) c. backslash (\)
b. forward slash (/) d. all of the above
c. backslash (\)
____ are variables that store an ordered list of scalar values that are accessed with numeric subscripts, starting at zero.
a. arrays c. both A and B
b. hashes d. none of the above
a. arrays
A(n) ____ is a variable that represents a set of key/value pairs.
a. array c. both A and B
b. hash d. none of the above
b. hash
Which of the following symbols precedes the name of an array when assigning its values?
a. % c. @
b. # d. !
c. @
Which of the following programs does NOT require the programmer to explicitly set up looping structures?
a. Perl c. GNOME
b. Awk d. All of the above
b. Awk
Which of the following programs uses more lines of code to resolve pattern matching extractions?
a. Awk c. Perl
b. GNOME d. All of the above
c. Perl
In the Awk program, which of the following options tells the shell that the program is being called with a script file that contains the awk command?
a. -A c. -F
b. -a d. -f
d. -f
A ____ is the name of a file connection between your Perl program and the operating system and it can be used inside your program to open, read, write, and close the file.
a. translator c. diamond operator
b. filehandle d. all of the above
b. filehandle
Two vertical bars represent the ____ operator.
a. logical AND c. logical OR
b. logical sort d. logical string
c. logical OR
Sorting numeric fields requires using a(n) ____ when you can define comparison conditions between the data you are sorting.
a. subroutine c. supernet
b. subnet d. sum lists
a. subroutine
The ____ feature allows your UNIX or Linux system to access its internal network configuration instead of an external network.
a. feedback c. loopback
b. transverse d. all of the above
c. loopback
Which of the following is the most commonly used language for common gateway interface programming?
a. Perl c. QBasic
b. Awk d. All of the above
a. Perl
Which of the following relational operators means less than or equal to?
a. >< c. Both A and B
b. <= d. None of the above
b. <=
The RGB color consists of which of the following colors?
a. Red c. Blue
b. Green d. All of the above
d. All of the above