WorksheetsOS | Ch 4-5-6
Total questions: 63
Worksheet time: 32mins
Name
Class
Date
1.
Linux source code is available to:
a)
Employees of the FBI, CIA and NSA with top secret clearance
b)
Only employees of the Linux Foundation
c)
Only university researchers with a government grant
d)
Anyone who has the knowledge needed to access it
2.
Source code refers to:
a)
The interface that software uses to talk to the kernel
b)
The version of a program that the computer runs on the CPU
c)
The license that dictates how you may use and share the software
d)
A human-readable version of computer software
3.
Open source means:(choose two)
a)
You must share your changes
b)
You must support the software you share
c)
You can view the software’s source code
d)
You can modify the software’s source code
e)
You cannot charge anything for the software
4.
A license where you don’t have access to the source code is called:
a)
Closed source
b)
Impaired source
c)
Sourceless
d)
Open source
5.
Open source licenses differ, but generally agree that:(choose two)
a)
You should have access to the source code of software
b)
You are not allowed to sell the software
c)
You must redistribute your changes
d)
You should be able modify the software as you wish
6.
Richard Stallman is associated with:
a)
The Apache foundation
b)
Microsoft
c)
The Free Software Foundation
d)
BSD Unix
e)
The Open Source Initiative
7.
A copyleft provision in a software license means:
a)
If you redistribute the software, you must distribute the source to any changes you make
b)
You must provide free copies of the software if you use it
c)
You give up your copyright to the software
d)
You may not link against third party closed source software
e)
You must provide support for your modifications
8.
The largest difference between the GPLv2 and BSD licenses is:
a)
Nothing, they are virtually identical
b)
Only BSD allows commercial use
c)
BSD has no copyleft provision
d)
GPLv2 requires assigning copyright to the FSF
e)
GPLv2 is not approved by the OSI
9.
The Free Software Foundation believes that: (choose two)
a)
People should write software with no expectation of making money
b)
Software should not have copyright
c)
Software should be free to share
d)
No money should ever change hands
e)
Software should be free to modify
10.
Which of the following licenses was made by the FSF?
a)
GPLv3
b)
BSD
c)
MIT
d)
Creative Commons
e)
Apache
11.
A permissive free software license:(choose two)
a)
Requires you share software changes but not binaries
b)
Means you can use the software for anything you want
c)
Does not allow the software to be locked to certain hardware
d)
Places no restrictions on sharing modifications
e)
Places the software in the public domain
12.
Linux is distributed under which license?
a)
GPLv2
b)
BSD
c)
MIT
d)
Linux Foundation
e)
GPLv3
13.
Who founded the Open Source Initiative?(choose two)
a)
Eric Raymond
b)
Bruce Perens
c)
Richard Stallman
d)
Linus Torvalds
e)
University of California at Berkeley
14.
A generic term for Open Source and Free Software is:
a)
SLOFF
b)
Libre Software
c)
OS/FS
d)
FLOSS
e)
GPL
15.
Which are examples of permissive software licenses?(choose two)
a)
MIT
b)
BSD
c)
GPLv
d)
LGPLv3
e)
GPLv3
16.
What does it mean when a work is placed in the public domain?
a)
The work was done by a government agency
b)
The author has relinquished the copyright on the work
c)
You must redistribute changes to the software
d)
The author has died
e)
You may not use the work for commercial purposes
17.
Creative Commons licenses allow you to:(choose three)
a)
Allow or disallow commercial use
b)
Specify whether or not people may distribute changes
c)
Specify whether or not changes must be shared
d)
Receive royalties on the use of the work
e)
Get a veto on where the work is used
18.
If a podcast is licensed under the CC BY-ND license, you may:(choose two)
a)
Share it as long as you give credit to the author
b)
Post it to your website
c)
Sell it as part of a compilation
d)
Add ads to it and post it to your website.
e)
Use an interview or song from it for your own podcast
19.
How can you make money from open source software?(choose three)
a)
Unlock premium features for people that pay
b)
Charge a yearly fee for the right to use the software
c)
Sell hardware that’s built to work with the software
d)
Take payments for fixing bugs
e)
Provide paid consulting services for users
20.
The difference between the GPL and LGPL licenses are:
a)
LGPL allows you to distribute the software in binary-only form
b)
LGPL is shorter than GPL
c)
LGPL ensures that all variants of the original GPL program has the same freedom of use as the original
d)
LGPL was made by the OSI while GPL was made by the FSF
e)
LGPL applies to web services
21.
Permissive free software licenses:(choose three)
a)
Are not approved by the OSI
b)
Can allow software to be used inside closed source software
c)
Are not approved by the FSF
d)
Include the GPLv2 and BSD
e)
Don’t have a copyleft provision
22.
The Creative Commons version of Public Domain licensing is:
a)
NoAttribution-ShareAlike (CC BY-SA)
b)
Attribution-NonCommercial (CC BY-NC)
c)
No Rights Reserved (CC0)
d)
Attribution-NonCommercial-ShareAlike (CC BY-NC-SA)
e)
Attribution (CC BY)
23.
Your company makes a hardware firewall that runs a custom Linux kernel. What are your obligations under GPLv2?
a)
There are no requirements
b)
You must make the source to your kernel available
c)
You must make your hardware designs available
d)
You must make the source to your custom web interface available
e)
You must ensure your custom kernel runs on a regular Intel machine
24.
Which environment variable contains a list of directories that is searched for commands to execute?
a)
PS1
b)
PS2
c)
EXEC
d)
PATH
25.
Select the command that can report the location of a command:
a)
what
b)
which
c)
where
26.
A pair of single quotes (') will prevent the shell from interpreting any metacharacter.True or False?
a)
True
b)
False
27.
A pair of double quotes (") will prevent the shell from interpreting any metacharacter.True or False?
a)
True
b)
False
28.
Using a pair of back quotes (`) will cause a shell to execute the back-quoted text as a command and substitute the output back into the original command.True or False?
a)
True
b)
False
29.
The semicolon (;) can be used to separate multiple commands to be executed in order.True or False?
a)
True
b)
False
30.
The double ampersand characters (&& ) are used to separate commands to be executed conditionally, where if the command to the left of the ampersands fails, then the command to the right of the ampersands will be executed.True or False?
a)
True
b)
False
31.
To be able to output messages to the screen, use the _______ command:
a)
type
b)
display
c)
echo
d)
print
32.
The _______ command will print a list of the commands that you’ve previously executed.
a)
list
b)
eval
c)
history
d)
exec
33.
To execute the same command as previously executed five commands ago, you would type:
a)
@-5
b)
&5
c)
!-5
d)
!5
34.
The shell program interprets the commands you type into the terminal into instructions that the Linux operating system can execute.True or False?
a)
True
b)
False
35.
The acronym CLI stands for:
a)
Computer Link Interpreter
b)
Command Line Interpreter
c)
Command Line Interface
d)
Computer Line Interface
36.
What one character treats the character that follows it as if it was surrounded by single quotes?
a)
\
b)
#
c)
/
d)
%
37.
The echo command:
a)
Tests a variable for duplication
b)
Copies variables from one to another
c)
Is used to output text to the console
d)
Duplicates the input stream to the output stream
e)
Is used for variable assignment
38.
The most common shell used for Linux distributions is the ________ shell.
a)
Zsh
b)
Bash
c)
Tsch
d)
Fish
39.
HOME is an example of _________.
a)
A local variable
b)
An environment variable
c)
A path variable
d)
An internal command
e)
An alias
40.
What is the standard option to provide a command line program to view its documentation?
a)
-h
b)
--help
c)
--info
d)
--doc
41.
The command man -k is the same as the command apropos.True or False?
a)
True
b)
False
42.
The whatis command is the same as man -w.
a)
True
b)
False
43.
The directory where additional documentation for software packages most likely can be found is:
a)
/usr/share/doc
b)
/var/share/doc
c)
/var/lib/doc
d)
/usr/software/doc
44.
Which two pager commands are used by the man command to control movement within the document?(choose two)
a)
page
b)
more
c)
less
d)
grep
45.
Commands typically executed by a user are covered in what section of the manual?
a)
2
b)
5
c)
3
d)
1
46.
To search the man page sections for the keyword example, which of the following command lines could you execute?(choose two)
a)
man -k example
b)
apropos example
c)
man -f example
d)
whatis example
47.
The statement that describes the difference between a man page and an info page is:
a)
The info page is like a guide; a man page is a more concise reference.
b)
The man page is like a guide; the info page is a more concise reference.
c)
There is very little difference between them.
d)
The man page is a long detailed reference; the info page is very terse.
48.
If you are reading the synopsis of a command from a man page, then items in square [] brackets are:
a)
Optional
b)
Comments
c)
Required options
d)
Required arguments
49.
The following sections commonly appear on a man page:(choose three)
a)
SYNOPSIS
b)
DESCRIPTION
c)
NAME
d)
LICENSE
50.
Section 5 of the manual pages covers:
a)
User commands
b)
Games
c)
File Formats
d)
System administration commands
51.
To start searching a man page, the first key you press is:
a)
s
b)
!
c)
f
d)
/
52.
In order to exit viewing a man page, press:
a)
x
b)
q
c)
y
d)
z
53.
To get help on using the info command, execute:(choose two)
a)
info -q
b)
man info
c)
help info
d)
info info
54.
To get help while using the info command, press:
a)
A
b)
Shift+H
c)
Shift+z
d)
g
55.
To exit the info page, press:
a)
x
b)
Q
c)
z
56.
When interpreting the SYNOPSIS of a command found on a man page, the “|” means:
a)
The items it separates cannot be used together
b)
The items it separates can be used together
57.
The _____ command is normally executed daily to update the database of all files that are on the system.
a)
locate
b)
updatedb
c)
find
d)
search
58.
The _____ command is normally executed to search for a command or man page.
a)
updatedb
b)
man -k
c)
find
d)
whereis
59.
The _____ command can be used to find any file, not just commands or man pages.
a)
whatis
b)
locate
c)
whereis
d)
apropos
60.
The info command merges all available documentation into a single “book”.True or False?
a)
True
b)
False
61.
Section 9 of man pages relates to what?
a)
Games
b)
System Calls
c)
Kernel Routines
d)
Miscellaneous
e)
Library Calls
62.
The man command searches each of the sections in order until it finds a match.True or False?
a)
True
b)
False
63.
The whatis command will only return the first result for which section a man page is stored in.True or False?
a)
True
b)
False
100 %
