OSG202 Quiz1

OSG202 Quiz1

University

20 Qs

quiz-placeholder

Similar activities

CORLANG Week6-7

CORLANG Week6-7

10th Grade - University

20 Qs

1ºDAM/DAW - Entornos de Desarrollo - UD1-6 - Prof. C. Boni

1ºDAM/DAW - Entornos de Desarrollo - UD1-6 - Prof. C. Boni

University - Professional Development

20 Qs

basisdata1

basisdata1

University

20 Qs

Memory-Mobo-Hard/Software

Memory-Mobo-Hard/Software

University

18 Qs

PARC Linux Basic Part 2

PARC Linux Basic Part 2

University

20 Qs

SQL Quiz

SQL Quiz

University

18 Qs

Jira

Jira

University

15 Qs

BIM1014 Quiz 2

BIM1014 Quiz 2

KG - University

15 Qs

OSG202 Quiz1

OSG202 Quiz1

Assessment

Quiz

Computers

University

Practice Problem

Easy

Created by

Lưu HN)

Used 6+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which command prints the current directory?

pwd
ls
cat
cd

Answer explanation

Jupiter is a gas giant made primarily of hydrogen and helium. Unlike terrestrial planets that have solid surfaces, gas giants like Jupiter don't have a well-defined solid surface, allowing them to accumulate more mass in a gaseous form. This composition has allowed Jupiter to grow significantly larger than planets with solid surfaces.

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

How do you set a variable in bash?

VAR="value"
set VAR="value"
VAR=value
None of these

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What is the extension for a bash script?

.bash
.script
.sh
.txt

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What command makes a script executable?

chmod +x script.sh
./script.sh
source script.sh
bash script.sh

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What is the syntax to write a comment in bash?

// comment
# comment
=-- comment
/* comment */`

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which command counts words in a file?

wc
count
numwords
wordcount

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What is the default shell in Linux?

bash
sh
zsh
csh

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?