You are on page 1of 8

CIS126DL

Final Exam Study Guide

1) In which of the following languages was most of the Linux kernel written?
A. Bash shell script B. C C. Java D. Python

2) A computer power supply converts electricity from alternating current to


DC (Direct Current)

3) Which of the following is a Linux desktop environment?


A. GTK+ B. Terminal C. KDE D. Evolution

4) Which of the following commands would you type to rename newfile.txt to afile.txt?
A. mv newfile.txt afile.txt B. cp newfile.txt afile.txt
C. In newfile.txt afile.txt D. rn newfile.txt afile.txt E. touch newfile.txt afile.txt

5) Malicious outsiders can disrupt servers even if the computer that runs them is never broken into. A. True

B. False

6) The default shell on Fedora is:


A. cmd B. csh C. bash D. bsh

7) An Intel 64 CPU is capable of running a Linux distribution identified as being for the AMD64 CPU. A. True
B. False

8) Which hardware device forms an Ethernet LAN by linking different computers?


A. Server B. Switch C. Terminal D. HDMI

9) You can install and manage various Linux software applications via a(n) Package management system.

10) When used as a variable, it contains a list of directories that will be searched for executable files when a user
enters a command.
A. SSEARCH B. SPATH C. PATHS D. SEARCH

11) Why might you want to partition a hard disk?


A. To install more than one OS on the disk B. To use ext4fs rather than ReiserFS
C. To turn a PATA disk into an SATA disk D. To separate the disk's cache from its main data
12) Thunderbird is a(n) client program.

13) You type mkdir one/two/three and receive an error message that reads, in part, No such file or directory.
What can you do to overcome this problem?
A. Add the --parents parameter to the mkdir command.
B. Type rmdir one to clear away the interfering base of the desired new directory tree. C. Type
touch /bin/mkdir to be sure that the mkdir program file exists. D. Throw a tantrum and give up, it
probably wasn't meant to be there.
E. Type rm -r one to clear away the entire interfering directory tree.

14)The Apache software package is an example of a web server written for the Linux server environment.

15) Which command can be used to send four packets to test network connectivity to pete.ucertify.com?
A. ping pete.ucertify.com B. ping -c 4 pete.ucertify.com
C. ping -count 4 pete@ucertify.com D. ping -packet 4 pete.ucertify.com

16) The following describes my current level of experience with Linux.


A. Still learning, but am developing the basic skills of a competent Linux user.
B. Don't choose this answer.
C. I have mastered all there is to know.
D. Dazed and confused, not sure of anything.

17) Mr. Tagart is an awesome instructor.


A. This is a statement not a question.
B. Subjective question, whatever I choose — I will get it correct.
C. Awesome is an understatement.
D. Not so much.

18) What information will the who command display?


Shows all user who are online

19) A Linux server that handles the SMB/CIFS protocol normally runs the Samba software.

20) You can set a directory's time stamps with the touch command.
A. True B. False

21) Which of the following commands will change a specified file's permissions to rw-rw-rw-?
A. chmod a+x B. chmod a-rw C. chmod =rw D. chmod a+rw

22) If you want to enable one Linux computer to access files stored on another Linux computer's hard disk, which of the
following network protocols is the best choice?
A. SMTP B. NFS C. PHP D. DHCP

23) This symbol can also be used to refer to the current directory when issuing commands.
C. .dot

24) Which of the following commands provides the most information about your motherboard's features?
A. shombd B. Xorg -configure C. fdisk -l /dev/sda D. Ispci

25) A Relative path is the location of a file or directory that starts from the root of the filesystem, and therefore begins
with a slash character (l).
A. True B) False

26) Which of the following is the machine name portion of the student.ucertify.com hostname?
A. student B. ucertify
C. com D. None, machine name is not a part of hostname

27) Which of the following devices is not commonly attached via USB?
A. Video monitors B. KeyboardsC. Printers D. Scanners

28) If you log in to a Linux system in graphical mode, you cannot use text-mode commands in that session.
A. True B. False
29) Which of the following commands can be used to specify default permission mode for new files?

B. umask C. chown D.
ch
30) A filesystem is applied to a: mo
d

A. volume group B. physical volume C. partition D.


har
d
driv
e

31) A program written in Complied a(n)programming language is completely


converted to binary form before being run.

32) A type of software that's distributed for free but that requires payment on the honor system if a person uses it
is called Shareware

33) The touch command will create an empty file if it doesn 't already exist.
A. True B. False

34) A license created by the FSF and often used for libraries is the GGPL, General GPL, Global General Public
License.
A. True B. False

35) Which of the following statements is true of the /etc/skel directory?


A. The files in this directory are automatically copied to a new user's home directory when the user is created.
B. This directory contains the default configuration settings for the root user.
C. The contents of this directory are copied to each user's home directory at system start.
D. This directory contains configuration files that define how users log into the system.
36) A pseudo-filesystem containing information about the system is:

A. /usr B. /proc C. /var D. /sbin

37) Which keyword is used to terminate a case statement?


A. done B. fi C. end D. esac
38) Article 1 Section 8 Clause of the US Constitution deals with COPYRIGHT
Patenan
t d
39) The Free Software Foundation advocates that software should be free (no cost) and users should be able to
use it however they see fit.
A. True B. False

40) An organization devoted to promoting open source-like principles in fields such as video and audio
recordings is the Creative Commons.
A. True B. False

41) Copyright law governs the distribution of software in all countries.


A. True B. False

42) A piece of software that "talks" to hardware is known as a(n) DRIVER

43) Which of the following is not a function of the Linux kernel?


A. Allocating memory for use by programs
B. Allocating CPU time for use by programs
C. Creating menus in GUI programs
D. Controlling access to the hard drive
E. Enabling programs to use a network
44). Software companies use a SOFTWARE LICENSE to modify the copyright terms.

45) Which of the following commands can be used to bring up a network interface?
A. iwlist B. route C. ifconfig D. traceroute

45) From the command line within the terminal, if you press the up arrow button, it will?
A. Display an error
B. Retrieves the previous entry from the command history.
C. Retrieves the next entry from the command history. D. Displays the contents of the SPATH variable

46) The term SHAREWARE is used to describe software that depends on the honor system for payment.?

47) An MICROPROCESSORS is one of the 5 types of embedded computers we discussed during the class.

48) Consider the following output of the Is —l command:


-rw-rwxr-x 2 fred users 0 Jan 26 13:08 22 test.mp3
Which of the following statements is true?
A. The user fred has only read permission on test.mp3.
B. The user fred has only read and write permission on test.mp3.
C. The user fred has read, write and execute permission on test.mp3.
D. The user fred should get an iPad to access test.mp3.

49) Linux distributions that have no version number but instead release upgrades in an ongoing manner are said to
have a(n).ROLLING release cycle.

50) Which of the following is a notable difference between Linux and Mac OS X?
A. Linux can run common GNU programs, whereas OS X cannot.
B. Linux's GUI is based on the X Window System, whereas OS X's is not.
C. Linux cannot run on Apple Macintosh hardware, whereas OS X can run only on Apple hardware.
D. Linux relies heavily on BSD software, whereas OS X uses no BSD software. E. Linux supports
text-mode commands, but OS X is a GUI-only OS.

51) Consider the following output of the Is —l command:


-rw-rwxr-x 2 fred users O Jan 26 13:08 22 test.mp3

Which of the following statements is true?


A. The user fred has only read permission on test.mp3.
B. The user fred has only read and write permission on test.mp3.

C. The user fred has read, write and execute permission on test.mp3.
D. The user fred should get an iPad to access test.mp3.

52) The x86 CPU uses a(n).8 -bit architecture.

53) The first block on the disk is called (the):


A. Master boot record B. Bootloader C. Index D. GRUB

54) Outside the normal class hours, the instructor is available Mon-Friday 9:00am to 10:00am (day/time) onsite
at Phoenix College in the Open Computer Lab.
55) A common security problem with Windows that's essentially nonexistent on Linux is VIRUSES

56) Which of the following is an example of an embedded Linux OS?


A. Android B. CentosC. Debian D. Fedora

57) Which partition table allows you to have the largest number of primary partitions?
A. Master boot record B. GUID partition table C. Logical partition D. Primary partition

58) To modify a GUID partition table you would use:


A. Diskpart B. gdisk C. genguid D. parted

59) The FSF's general principles are summarized by the term copyleft, which refers to using copyright laws for
purposes that are in some ways contrary to copyright's original intent. A. True B. False

60) Which of the following utilities is used to install packages on a Debian system?
A. rpm B. yum C. dpkg D. yast

61) The first day of class, we performed an INSTALLATION (what activity) involving the flash drive.

62) Which of the following are not mass storage devices?


A. Network attached drive B. Flash drive C. RAM D. CD-ROM

63) Prerelease software that's likely to contain bugs is known as ALPHA and BETA

64) The FSF's free software definition and the OSI's 10 principles of open source software both require that users
have the ability to examine a program's workings—that is, its SOURCE CODE

65) Because their hardware designs are proprietary, hardware vendors cannot release open source drivers for their
products.
A. True B. False

66) What is the correct order in which permissions are represented in the permission string?
A. Group, owner, world
B. B. Owner, group, world
C. Group, world, owner

D. World, group, owner

67) The tool we used to create an environment so we could install Linux on the Windows computers in the
classroom is VIRTUAL MACHINE

68) One method users apply to motivate programmers to work on open source projects is by offering a bounty to
whomever completes the project first.
A. True B. False

69) The RM command will remove or delete a file.


70) The execute permission for directories provides what access?
A. The ability to list file names in a directory
B. The ability to add files to the directory
C. The ability to remove files from the directory
D. The ability to change into the directory
71) The distribution (brand) of Linux we installed the first day of class is FEDORA

72) Consider the following Is —l output:


-rwxr-xr-- 2 fred users 0 Jan 26 13:08 22 sample.mp3
What are the permissions for the user fred on the sample.mp3?
A. Read, write, and execute B Read and execute C. Read and write D.
Only read

73) Which file defines groups on a Linux system?


A. /etc/grp B. /etc/group C. /etc/groups D. /var/groups

74) The key combination that can be used to launch a Virtual Terminal session is.
A. Ctrl-Alt Func key #
B. B Ctrl-Tab Up Arrow
C.Ctrl-Shft # key
D.D Shft-Cmd Tab

75) Which of the following is a key part of the FSF's philosophy?


A. Users should engage in civil disobedience by copying proprietary software.
B. Developers should write software only for free operating systems such as GNU/Linux.
C. Users should have the right to modify free software and distribute it under a commercial license.

D. Users must have the right to use software as they see fit.

76) You want to add an entry in a file named output.txt. but you don't want to overwrite the current contents of the
output.txt file. Which of the following operators causes the proper result to happen?
>>
D.

77) To display the pathname for the current directory, use the PWD command.

78) The CLEAR command is used to clear the terminal screen/window.

79). Which of the following is not required in order for software to be certified as open source?
A. The license must not discriminate against people or groups of people. B. The license must
automatically apply to anybody who acquires the software.
C. The license must be distributed at no cost.
D. The program must come with source code, or the author must make it readily available on the Internet.

80) There is a program that provides scrollbars, widgets, menus, background wallpaper, and virtual desktops for
the X environment. Which phrase best describes this program?
A. Desktop B. Window manager C. X server D. X client
81) Which of the following is most likely to provide a program like a file manager:
A. The X server B. A display manager C. A desktop D. A window manager

82) A primary function of a display manager is to?


A. Manage hardware, such as the mouse and keyboard B. Allow X clients to connect to the X server
C. Facilitate the login process D. None of these

83) In Linux, the keystroke combination Ctrl+Alt+F3 will take the user from the GUI to virtual terminal 3
(/dev/tty3)?
A. True B. False
84) Which of the following accessibility features is used to verbally read text displayed on the screen?

A. Speaknow B. Orca C. Speakit D. Text-to-speech

85) Which regular expression string is used to match any sequence of characters of any length?

. DOT

86) Which of the following files contains information about the user accounts in a Linux computer?

A. /etc/users B. /etc/resolv.conf C. /etc/passwd D. /etc/hosts

87) Which of the following stores the exit status of the most recently executed command?

88) Which protocol offers reliable data package transfer?


A. TCP B. UDP C. IGMP D. ICMP

89) What command is used to create a directory? MKDIR

90) The less command is used to view the contents ofa file a page at a time A. True B. False

91) The LS command to list directory contents.

92) Which symbol is appended with a command to run it in the background?

&

93) The usermod command can be used to move an existing users current home directory contents to a new
home directory?
A. True B. False

94) Which of the following directory references refers to the current directory's parent directory?
../
C. /parent/

95) Which of the following directories contains system configuration files on a Linux system?

A. /etc B. [home C. /root D. /tmp

96) A text file keeps records in the following format:


field11fie1d21fie1d31fie1d4
Which of the following commands will you use to display only the information in the second field for all the
records in the file?

Note: Assume the name of the file to be rec.txt.

A. echo rec.txt I cut -f 2 B. cut -f 2 -d "l" rec.txt C. cut -f 2 rec.txt D. cut -c 2 rec.txt

97) Which of the following commands displays the memory usage by a system?
A. free B. ps C. df D. du

98) The top command can be used to change a process's priority.


A. True B. False
99) Which of the following is true of a file with the SUID bit set?
A. Files cannot be deleted by other users.
B. Files can be modified only by the owner of the file.
C. The file runs with the permission set on the owner of a file, instead of the executor of the file.
D. The file runs with the permission set on the group members of a file, instead of the executor of the file.

100) Which of the following is the first process run by the Linux kernel?
A. /bin/bash B. login
C. init D. None of these, kernel does not run any process

You might also like