Sec. 7: Searching and Extracting Data from Files and Archiving

Sec. 7: Searching and Extracting Data from Files and Archiving

University

10 Qs

quiz-placeholder

Similar activities

TERMS OF DATABASE

TERMS OF DATABASE

4th Grade - University

10 Qs

Sistem Operasi dan Aplikasi

Sistem Operasi dan Aplikasi

University

10 Qs

Sec. 8: Scripting Basics

Sec. 8: Scripting Basics

University

10 Qs

MOOC

MOOC

University

10 Qs

WYA Video Vocabulary 1

WYA Video Vocabulary 1

5th Grade - University

10 Qs

techveorp_ict

techveorp_ict

University

15 Qs

EdTech

EdTech

University

10 Qs

Computer Basics and Programming Quiz 2

Computer Basics and Programming Quiz 2

12th Grade - University

15 Qs

Sec. 7: Searching and Extracting Data from Files and Archiving

Sec. 7: Searching and Extracting Data from Files and Archiving

Assessment

Quiz

Instructional Technology

University

Medium

Created by

Renato Biz Martins

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Pipes or command-pipelines help users mash-up two or more commands at the same time and run them consecutively.

True

False

Answer explanation

True, by using a command pipe (|), a user can enter two or more commands in a series or chain.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The grep command allows you to:

Rename a file or directory

Search for files that contain a specified string

Repeat the previous command

Answer explanation

Grep is used to search for a specific string or regular expression within a file.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which redirection operator accepts text on the following lines as standard input

<>

>>

<<

Answer explanation

The << operator allows the user to accept text on the following lines as standard input.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The two forms of commonly used regular expressions: basic and complicated.

True

False

Answer explanation

There are also two types of regular expressions: basic and extended.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The regular expression b[aeiou]g will match the words:

bag, beg, big

bag, beg, big, bog, bug

baeioug

Answer explanation

The regular expression b[aeiou]g will search for any three letter words that begin with b, end with g, and have a vowel as the second letter.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the redirection operator <> do?

Accepts text on the following lines as standard input.

Causes the specified file to be used for both standard input and standard output.

Sends the contents of the specified file to be used as standard input.

Answer explanation

The <> redirection operator will let the file be used for input and output.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Two types of output messages

Manual and Automatic messages

Standard Output and Input messages

Standard Output and Standard Error messages

Answer explanation

Standard Output and Standard Error messages are the two different types of output messages within Linux.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?