Search Header Logo

BIOinfo_Bootcamp_Quiz1

Authored by Rachel Howard

Biology

University

Used 2+ times

BIOinfo_Bootcamp_Quiz1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

11 questions

Show all answers

1.

OPEN ENDED QUESTION

5 mins • 1 pt

You are currently in the directory /home/student/project/. You want to move to /home/student/data/. What command would you use? Type the entire syntax.

Evaluate responses using AI:

OFF

Answer explanation

To move from /home/student/project/ to /home/student/data/, use the command 'cd /home/student/data/'. This changes the current directory to the specified path.

2.

OPEN ENDED QUESTION

5 mins • 1 pt

You want to create an empty file named "sequences.fasta" in your "CLI_Intro_Quiz" directory, and then verify it was created. Provide the two commands you would use. Type the entire syntax.

Evaluate responses using AI:

OFF

Answer explanation

To create an empty file named 'sequences.fasta', use the command 'touch sequences.fasta'. To verify its creation, use 'ls -l sequences.fasta' to list the file details.

You can also use nano. We will go over this in class.

3.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

You have a FASTA file named genes.fasta. How many sequences are there in "genes.fasta"?

1

2

3

4

5

Answer explanation

grep -c ">" genes.fasta

4.

OPEN ENDED QUESTION

5 mins • 1 pt

You need to find all occurrences of the word "bacteria" (case insensitive) in a text file named "microbes.txt" and display the matching lines with their line numbers. How many instances of "bacteria" are in the file? What line numbers are they on? And finally, what command would you use? Type the entire syntax.

Evaluate responses using AI:

OFF

Answer explanation

4 instances of "bacteria" on lines 1, 2, 3, and 4.

grep -ni bacteria microbes.txt 

5.

OPEN ENDED QUESTION

5 mins • 1 pt

In the CLI_Intro_Quiz directory, there are multiple .txt files. Please list all of the text files in your answer. I also want to know the number of lines in each file.

Evaluate responses using AI:

OFF

Answer explanation

microbes.txt-4

species_list.txt-6

6.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

How many lines are in data1.csv?

4

6

7

3

8

Answer explanation

wc -l data1.csv

7.

FILL IN THE BLANK QUESTION

5 mins • 1 pt

Please fill in the blank as if we are trying to make a new directory in the CLI_Intro_Quiz folder named "results"


(base) rachelhoward@MacBook-Pro-8 CLI_Intro_Quiz % __________ results

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?