BIOinfo_Bootcamp_Quiz1

BIOinfo_Bootcamp_Quiz1

University

11 Qs

quiz-placeholder

Similar activities

Test 02 - rentrez seqinr R

Test 02 - rentrez seqinr R

University

10 Qs

Infecciones respiratorias

Infecciones respiratorias

University

10 Qs

Microprocessor and Microcontroller Lab Quiz

Microprocessor and Microcontroller Lab Quiz

University

14 Qs

BIOinfo_Bootcamp_Quiz1

BIOinfo_Bootcamp_Quiz1

Assessment

Quiz

Biology

University

Medium

Created by

Rachel Howard

Used 2+ times

FREE Resource

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

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?

Similar Resources on Wayground