• 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/33

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;

33 Cards in this Set

  • Front
  • Back
Question 1 (1 point)

The process of developing an application is known as the ____.


a. system development life cycle
b. program development life cycle
c. both A and B
d. none of the above
b. program development life cycle
____ is a computer language that uses English-like expressions.


a. Machine language
b. Source language
c. High-level language
d. Development language
c. High-level language
Which of the following is an example of a low-level language?


a. Source language
b. High language
c. Development language
d. Machine language
d. Machine language
Which of the following is an example of a high-level language?


a. COBOL
b. C
c. C++
d. All of the above
d. All of the above
A(n) ____ reads the lines of code that the programmer wrote and converts them into the appropriate machine language instructions.


a. compiler
b. source identifier
c. translator
d. none of the above
a. compiler
Grammatical mistakes that are located in a program are referred to as ____.


a. logic errors
b. syntax errors
c. language errors
d. interpreted errors
b. syntax errors
After you create a shell script, you simply tell the operating system that the file is a shell script that is to be executed; this is accomplished by using which of the following commands?


a. modch
b. intscr
c. chmod
d. tr
c. chmod
Which of the following statements would be considered TRUE about shell scripts?


a. They run less quickly than compiled programs.
b. They run more quickly than compiled programs.
c. Both A and B are TRUE.
d. None of the above are TRUE
a. They run less quickly than compiled programs.
Which of the following Linux shells are fully backward compatible?


a. Bourne
b. Korn
c. Bash
d. All of the above
c. Bash
You would use ____ to store information about the setup of the operating system and NOT change them.


a. environment variables
b. configuration variables
c. shell variables
d. none of the above
b. configuration variables
You would set up ____ with initial values that you can change as needed.


a. environment variables
b. shell variables
c. configuration variables
d. all of the above
a. environment variables
____ are those you create at the command line or in a script.


a. Configuration variables
b. Environment variables
c. Shell variables
d. Translated variables
c. Shell variables
In the Bash shell, which variable shows path names for directories?


a. CDPATH
b. PATHCD
c. PSPATH
d. PRPATH
a. CDPATH
In the Bash shell, which variable shows the filename containing commands to initialize the shell?


a. VNE
b. SHELL
c. ENV
d. PATH
c. ENV
You would use which of the following symbols to set a variable?


a. Pound sign (#)
b. Two dots (..)
c. Backslash (\)
d. Equal sign (=)
d. Equal sign (=)
When creating variables, which of the following statements are TRUE?


a. There are NO spaces between the equal operator and its operands.
b. There are spaces between the equal operator and its operands.
c. Both A and B are TRUE
d. None of the above are TRUE.
a. There are NO spaces between the equal operator and its operands
Which of the following statements would be considered TRUE about shell scripts?


a. They can automatically access variables created on the command line or by other shell scripts.
b. They can NOT automatically access variables created on the command line or by other shell scripts.
c. They ignore variables created on the command line.
d. None of the above.
b. They can NOT automatically access variables created on the command line or by other shell scripts
Which of the following is NOT an example of an arithmetic operator?


a. +
b. -
c. #
d. *
c. #
You can use the set command with the ____ option to prevent a file from being overwritten.


a. -o noclobber
b. -i noclobber
c. -d noclobber
d. -dd noclobber
a. -o noclobber
Wildcard characters are known as a(n) ____ characters.


a. pattern
b. glob
c. noclobber
d. all of the above
b. glob
____ works so that commands are executed in the order in which they appear in script programs.


a. sequential logic
b. symmetric logic
c. both A and B
d. none of the above
a. sequential logic
____ logic enables your script or program to execute a statement or series of statements ONLY if a certain condition exists.


a. Sequential
b. Decision
c. String
d. All of the above
b. Decision
Which of the following is the primary decision making control structure?


a. Or statement
b. An statement
c. If statement
d. None of the above
c. If statement
You would use the ____ command for looping through a range of values. It causes a variable to take on each value in a specified set one at a time and perform some action while the variable contains each individual value.


a. and
b. or
c. for
d. all of the above
c. for
Which of the following structures specifies the selection of a match when you have a list of choices?


a. Decision logic
b. Case logic
c. Sequential logic
d. All of the above
b. Case logic
When debugging a shell script, which of the following options displays the lines of code in the script as they are read by the interpreter?


a. sh -v
b. sh -x
c. sh -i
d. sh -a
a. sh -v
When debugging a shell script, which of the following options displays the command and the accompanying arguments line by line as they are run?


a. sh -v
b. sh -x
c. sh -i
d. sh -a
b. sh -x
Which of the following commands initializes a terminal to respond to a setting that the user chooses?


a. utput command
b. uptut command
c. tput command
d. all of the above
c. tput command
A(n) ____ is a name that represents another command.


a. finder
b. alias
c. translator
d. none of the above
b. alias
You can use a(n) ____ to simplify and automate commands you use frequently.


a. .bashrc file
b. login script
c. alias
d. translator
c. alias
Which of the following commands is useful when you want your shell program to automatically remove any temporary files that are created when the shell script runs?


a. tr
b. dd
c. trap
d. dl
c. trap
Which of the following is NOT needed for the program development?


a. Asymmetric logic
b. Sequential logic
c. Case logic
d. Decision logic
a. Asymmetric logic
Which of the following would be considered a basic logic structure needed for program development?


a. Case logic
b. Looping logic
c. Decision logic
d. All of the above
d. All of the above