midterm exam linux

40 questions • 2025-01-30
Alexandra Svobodová
Report

Question

The most popular Linux platform for mobile phones is:

  • IOS

  • BlackBerry

  • MobileLinux

  • Android

  • Slackware

  • Skip

Question

The release cycle:

  • Dictates how often software is updated

  • Should be short so you always have the freshest releases

  • Describes how long software will be supported

  • Should be long so that you have time before you need to upgrade

  • Only has meaning for paid software

  • Skip

Question

What does a distribution provide to add and remove software from the system?

  • Partitioning tool

  • Application Programming Interface (API)

  • Package Manager

  • Bash

  • Compiler

  • Skip

Question

A maintenance cycle:

  • Describes how long a version of software will be supported

  • Should be long so that you have time before you need to upgrade

  • Describes how often updates for software come out Only has meaning for paid software

  • Should be short so you always have the freshest releases

  • Skip

Question

When choosing a distribution of Linux, you should consider: (choose five)

Answer

Question

Which of the following are examples of desktop software?

  • Web browser

  • Music player

  • Compiler

  • File share

  • Web server

Question

Which of the following pieces of software deal with file sharing?

  • NFS

  • PostgreSQL

  • Netatalk

  • Samba

  • X-Windows

Question

The Linux shell:

  • Allows you to launch programs

  • Is customizable

  • Has a built-in text editor

  • Has a scripting language

  • Is responsible for tracking the location of configuration files

Question

Virtualization means:

  • A user can connect to a server over the network and use a virtual console

  • Two users get different memory spaces on the same machine

  • A machine can swap memory to disk

  • A single host can be split up into multiple guests

  • Many users can share one hard drive

  • Skip

Question

In graphical mode, you can get to a shell by running which applications?

  • console

  • Terminal

  • Gbash

  • Xterm

  • Guiterm

midterm exam linux

TestMaker

Score

0 / 10

Correct rate

0%

Correct: 0

Incorrect: 0

Unanswered: 10

 
ankimaker.com

Question list

  • 1

    The most popular Linux platform for mobile phones is:

    Android

  • 2

    The release cycle:

    Dictates how often software is updated

  • 3

    What does a distribution provide to add and remove software from the system?

    Package Manager

  • 4

    A maintenance cycle:

    Describes how long a version of software will be supported

  • 5

    When choosing a distribution of Linux, you should consider: (choose five)

    If the application software is supported by the distribution, Will commercial support be required for the OS, Does the distribution offer a “stable” version, Will users require a GUI, Does your organization require long-term support for the system

  • 6

    Which of the following are examples of desktop software?

    Web browser, Music player

  • 7

    Which of the following pieces of software deal with file sharing?

    Samba, NFS, Netatalk

  • 8

    The Linux shell:

    Is customizable, Has a scripting language, Allows you to launch programs

  • 9

    Virtualization means:

    A single host can be split up into multiple guests

  • 10

    In graphical mode, you can get to a shell by running which applications?

    Terminal, Xterm

  • 11

    Source code refers to:

    A human-readable version of computer software

  • 12

    Open source means:

    You can view the software’s source code, You can modify the software’s source code

  • 13

    A copyleft provision in a software license means:

    If you redistribute the software, you must distribute the source to any changes you make

  • 14

    Linux is distributed under which license?

    GPLv2

  • 15

    Creative Commons licenses allow you to:

    Allow or disallow commercial use, Specify whether or not changes must be shared, Specify whether or not people may distribute changes

  • 16

    Which environment variable contains a list of directories that is searched for commands to execute?

    PATH

  • 17

    Select the command that can report the location of a command:

    which

  • 18

    A pair of double quotes (") will prevent the shell from interpreting any metacharacter.

    False

  • 19

    The shell program interprets the commands you type into the terminal into instructions that the Linux operating system can execute.

    True

  • 20

    The acronym CLI stands for:

    Command Line Interface

  • 21

    The most common shell used for Linux distributions is the ________ shell.

    Bash

  • 22

    Which two pager commands are used by the man command to control movement within the document?

    more, less

  • 23

    In the command tar -czf foo.tar.gz bar, what is the purpose of the f flag?

    Tells tar to write to the file that follows the flag

  • 24

    The three main modes of tar are: (choose three)

    List, Extract, Create

  • 25

    Which of the following commands can be used to compress a file? (choose three)

    bzip2, zip, gzip

  • 26

    Lossy compression: (choose three)

    Sacrifices some quality, Usually results better compression than lossless, Is often used with images

  • 27

    Compression of a file works by:

    Removing redundant information

  • 28

    The asterisk character is used to represent zero or more of any character in a filename. True or False?

    True

  • 29

    The main purpose of using glob characters is to be able to provide a list of filenames to a command. True or False?

    True

  • 30

    Which of the following are glob characters? (choose three)

    The question mark ?, The asterisk *, The square brackets [ and ]

  • 31

    The touch command can be used to: (choose two)

    Update the timestamp of existing files, Create new files

  • 32

    Which of the following commands can be used to rename a file?

    mv

  • 33

    The first character in a long listing (ls -l) indicates:

    If something is a file, directory, or symbolic link

  • 34

    What command will allow you to change your current working directory?

    cd

  • 35

    The cd command by itself will take you to what directory?

    Your home directory

  • 36

    The tilde (~) is used to represent:

    A user’s home directory

  • 37

    The top-level directory on a Linux system is represented as:

    /

  • 38

    The following sections commonly appear on a man page: (choose three)

    SYNOPSIS, DESCRIPTION, NAME

  • 39

    The statement that describes the difference between a man page and an info page is:

    The info page is like a guide; a man page is a more concise reference.

  • 40

    To search the man page sections for the keyword example, which of the following command lines could you execute? (choose two)

    man -k example, apropos example