Shared Flashcard Set

Details

CGS 3767 by Tiana Solis Exam 4 ch 10-11
CGS 3767 by Tiana Solis Exam 4 ch 10-11
144
Computer Science
Undergraduate 3
03/30/2012

Additional Computer Science Flashcards

 


 

Cards

Term

What are the ways to access the Task Manager?

Definition

CTRL + ALT + DELETE

CTRL + SHIFT + ESC

Right click an empty area of the taskbar and click Task Manager

Term

In Fedora, what does ps do?

Definition

Displays a snapshot of the running processes in Fedora

Term

In Fedora, ps -e does what?

Definition

Shows all processes

Term

In Fedora, the first process is?

Definition

init

Term

In Fedora, ps -f does what?

Definition

Displays a full, detailed listing

Term

What is ppid?

Definition

Parent process id

Term

In Fedora, ps | grep user001 does what?

Definition

Shows the processes that contain the expression user001.

Term

How do you end processes?

Definition

kill -9 PID

or

kill -sighup PID value

Term

How do you access system monitor on Fedora?

Definition

Applications > system tools > system monitor

Term

System monitor is to Fedora as ___ is to Windows?

Definition

Task manager

Term

Which folder is not stored on the hard drive?

Definition

proc

Term

In Fedora, top does what

Definition

shows the top processes using resources

Term

In Fedora, top -d does what?

Definition

It adds a delay to the top command

Term

In Fedora, top -n does what?

Definition

It displays # of iterations for top

Term

In Fedora, what does free do?

Definition

It displays the amount of free and used memory in Fedora

Term

In Fedora, what does uptime do?

Definition

A command that displays the amount of time a computer system is functioning and available for use

Term

In Fedora, what does vmstat do?

Definition

A command that reports average values on process status, memory consumption, I/O operations, and CPU usage since the last reboot

Term

What is a memory leak?

Definition

Unnecessary memory consumption caused by a process that is not properly releasing memory.

 

Leaks can diminish the performance of the computer

Term

What is a baseline?

Definition

The level of performance that you can expect during typical computer usage

Term

What is a bottleneck?

Definition

A performance problem that occurs when multiple processes are competing for the same resource

 

Term

What does kill do?

Definition

A command that stops a process

Term

What is PID?

Definition

Process ID

Term

In Fedora, what is the /proc file system?

Definition

A command line reporting and control information system in Fedora. It is only stored in memory. It is used for system related tasks

Term

What is a pseudo-file system?

Definition

A system that acts like a file system but is specially constructed to interface with specific areas in a system.

 

Term

In Fedora, what does the watch free command do?

Definition

It is used to run a command repeatedly. 

Term

(Choose all that apply)

1. Use Windows 7 task manager to _____

a. install Windows 7 application

b. provide information about programs running on your computer

c. display common performance measurements for process running on your computer

d. provide informatiuon about process running on your computer

Definition

 

b. provide information about programs running on your computer (page454)

c. display common performance measurements for process running on your computer (page454)

d. provide informatiuon about process running on your computer (page454)

Term

2. The Run As feature in Windows 7 is similar to the ____ command in Fedora

a. run

b. go

c. su

d. runs

Definition

c. su (page454)

Term

(Choose all that apply)

3. You can use the Run As feature in Windows 7 to ____

a. access system tools that require administrative privileges for execution

b. run an administrative tool to determine what caused a problem

c. run all applications in Windows 7

d. resolve a problem

 

Definition

 

a. access system tools that require administrative privileges for execution (page454)

b. run an administrative tool to determine what caused a problem (page454)

Term

 (Choose all that apply)

4. Use the processes tab in Task Manager to view ____

a. the names of processes running on the computer

b. the processor

c. the memory usage

d. conflicts that are occuring

Definition

a. the names of processes running on the computer (page456)

c. the memory usage (page456)

Term

5. In Fedora, you use the ___ command to list the running process

a. view

b. kill

c. ps

d. top

Definition

c. ps (page465)

 

Term

6. In Fedora, you use the ___ command to stop processes

a. ps

b. kill

c. top

d. stop

Definition

b. kill (page456)

Term

7. In Windows 7, disk usage statistics help ___

a. determine which application can't run on your system

b. determine whether upgrades are necessary

c. balance uploading to your virtual machine

d. balance the workload of your virtual machine

Definition

d. balance the workload of your virtual machine (page471)

Term

(Choose all that apply)

8. You can use the /proc file system in Fedora to ____

a. view and modify run time parameters

b. view performance and memory information

c. view hardware information

d. view statistical information

Definition

a. view and modify run time parameters (page475)

b. view performance and memory information (page475)

c. view hardware information (page475)

d. view statistical information (page475)

Term

(Choose all that apply)

9. In Fedora, the top command ____

a. monitors system statistics and displays them in real time

b. constantly updates console based output for the most CPU intensive processes that are running

c. is used to kill processes

d. is used to monitor processes

Definition

a. monitors system statistics and displays them in real time (page478)

b. constantly updates console based output for the most CPU intensive processes that are running (page478)

 

Term

(Choose all the apply)

11. Frequent paging ___

a. is a normal occurrence

b. indicates that you may have a memory shortage

c. indicates that you have a lot of memory available

d. does not drain performance

Definition

b. indicates that you may have a memory shortage (page472)

Term

(Choose all the apply)

12. High CPU usage is ___

a. indicated by a value that is consistently greater than 85 percent

b. an indication that the processor speed is inadequate

c. an indication that your system needs more RAM

d. indicated by a high rate of page file activity

Definition

a. indicated by a value that is consistently greater than 85 percent (page474)

b. an indication that the processor speed is inadequate (page474)

Term

(Choose all that apply)

10. In Fedora, the top command ___

a. uses a large amount of memory

b. is mainly used for troubleshooting and tuning

c. is very efficient for viewing processes

d. should be kept running all the time

 

Definition

 

a. uses a large amount of memory (page479)

b. is mainly used for troubleshooting and tuning (page479)

 

Term

13. A high rate of page file activity is ___

a. indicated by a value that is consistently greater than 85 percent

b. an indication that the processor speed is inadequate

c. an indication that your system needs more RAM

d. indicated by high CPU usage

Definition

c. an indication that your system needs more RAM (page472)

Term

14. The GUI task management tool in Fedora is ___\

a. Task Management

b. System Monitor

c. GNOME System Tool

d. KDE System Monitor

Definition

b. System Monitor (page461)

Term

15. Which of the following displays CPU related system information in System Monitor?

a. system tab

b. resources tab

c. processes tab

d. both the system and resources tabs

e. both the system and processes tabs

Definition

d. both the system and resources tabs (page462 & 465)

Term

16. If you want to report a bug when u8sing the Automatic Bug Reporting Tool, which of the following should you use?

a. Bugzilla

b. Logger

c. Either Bugzilla or Logger

d. None of the above

Definition

c. Either Bugzilla or Logger (page486)

 

Term

17. By default, the Windows 7 Performance Monitor displays the ____

a. %Disk Time

b. %Pocessor Time

c. Disk Reads/Sec

d. Disk Writes/Sec

Definition

b. %Pocessor Time (page469)

Term

(Choose all that apply)

18. The Windows 7 Reliability Monitor tracks ____

a. hardware problems

b. software problems

c. changes to the computer

d. user errors

Definition

 

a. hardware problems (page484)

b. software problems (page484)

c. changes to the computer (page484)

Term

(Choose all that apply)

19. Events monitored in the Windows 7 Reliability Monitor include ___

a. Windows updates

b. software installations and uninstalls

c. application hangs and crashes

d. disk and memory failures

Definition

 

a. Windows updates (page484)

b. software installations and uninstalls (page484)

c. application hangs and crashes (page485)

d. disk and memory failures (page485)

Term

20. Reporting of events in the Windows 7 Reliability Monitor is delayed ___ hours

a. 8

b. 24

c. 48

d. 168

Definition

b. 24 (page486)

Term
What is client/server?
Definition
A network design in which each computer is either a client or server
Term
What is Dynamic Host Configuration Protocol (DHCP)?
Definition
An auto configuration protocol used on IP networks
Term
What is a homegroup?
Definition
A Windows feature that permits a simple password protected network with other sytems through which you can share printers and folders
Term
What is Internet Protocol (IP)?
Definition
The communication protocol used for relaying packets across the internet
Term
What is IP address?
Definition
A numeric label assigned to each computer, printer, and other device in a computer network
Term
What is a Local Area Network (LAN)?
Definition
A network that is usually confined to a local area
Term
What is a network?
Definition
A series of computer devies interconnected by communication paths
Term
What are packets?
Definition
Units of data traveling over a network
Term
What is a peer to peer network?
Definition
A type of network where each workstation has equivalent capabilities and responsibilities
Term
What is Samba?
Definition
The Fedora implementation of peer to peer networking
Term
What is a Server Message Block (SMB)?
Definition
A network protocl used by Windows 7 and Fedora that allows systems within the same network to share files
Term
What is a sticky bit?
Definition
An access flag that you can assign to files and directories on UNIX systems. With it, a user can only modify and delete files in the directory that they own
Term
What is Universal Naming Convention (UNC)?
Definition
A naming convention used primarily to specify and map network drives
Term
What is a virtual private network (VPN)?
Definition
A secured private network connection built on top of publicly accessible infrastructure
Term
What is a Wide Area Network (WAN)?
Definition
Two or more local area networks (LANs)
Term
What is a workgroup?
Definition
A collection of computers on a LAN that share common resources and responsibilities
Term

1. A ___ employs desktop computers that are capable of being both clients and servers.

a. client/server network

b. peer to peer network

c. LAN

d. WAN

e. VPN

Definition

a. client/server network

Term

2. The four layers of the Internet Protocol Suite are aranged in the following order form top to bottom

a. application, internet, transport, network

b. application, transport, internet, link

c. link, internet, transport, application

d. applications, link, transport, network

Definition

b. application, transport, internet, link (page 498 & wikipedia)

Term

(Choose all that apply)

3. TCP/IP normally requires which of the following setings to communicate on a routed network?

a. IP address

b. Supnet mask

c. Router address

d. DNS IP address

e. Web server address

Definition

 

a. IP address (page499)

b. Supnet mask (page523)

d. DNS IP address (page499)

Term

4. ___ is a computer networking protocol used by hosts to retrieve IP address assignments

a. DNS

b. Workgroup

c. DHCP

d. Homegroup

Definition

c. DHCP (page499)

Term

5. In Windows 7, the ___ command displays TCP/IP settings

a. DHCP

b. DNS

c. ifconfig -a

d. IPCONFIG/ALL

Definition

d. IPCONFIG/ALL (page499)

Term

(Choose all that apply)

6. In Fedora, the ___ command displays TCP/IP settings

a. DHCP

b. DNS

c. ifconfig -a

d. nm-tool

e. IPCONFIG/ALL

 

Definition

c. ifconfig -a (page501)

Term

7. In Windows 7, the ___ makes it easy to share libraries with a single password

a. peer to peer network

b. client/server

c. homegroup

d. workgroup

Definition

c. homegroup (page503)

Term

8. In windows 7, the NET USE command maps a ___ to a shared folder

a. path

b. drive letter

c. homegroup

d. computer

Definition

b. drive letter (page506)

Term

9. In Windows 7, the correct format for the UNC is ___

a. \\driveletter\sharename

b. \\servername\sharename

c. \\servername\driveletter

d. \\sharename\servername

Definition

b. \\servername\sharename (page505)

Term

10. To securely share folders and files with required permissions in Windows 7, use the ___ file system

a. NT

b. FTS

c. FAT32

d. FAT

Definition

a. NT (page511)

Term

11. Folder permissions are used to ___

a. keep pagin at a minimum

b. control access to folders and their files

c. maintain processors

d. control memory usage

Definition

b. control access to folders and their files (page513)

Term

(Choose all that apply)

12. Which of the following statements is true of NTFS?

a. it is required to support NTFS permissions

b. Its permissions are not support by FAT16 and FAT32 file system

c. Its permissions are removed when a file folder is moved or copied to a FAT 16 or FAT32 formatted partition

d. Its permissions are supported by FAT16 and FAT32 file systems

Definition

 

a. it is required to support NTFS permissions (page513)

b. Its permissions are not support by FAT16 and FAT32 file system (page516)

c. Its permissions are removed when a file folder is moved or copied to a FAT 16 or FAT32 formatted partition (page516)

Term

13. In Fedora, the file type is a ___ when the first bit in the permission column is a "-"

a. directory

b. socket

c. link

d. regular file

 

-rwxrwxrwx

Definition

d. regular file (page520)

Term

14. In Fedora, the file type is a ___ when the first bit in the permission column is a d

a. directory

b. socket

c. link

d. regular file

Definition

a. directory (page520)

Term

15. To switch to the superuser in Fedora, use the ___ command

a. su-

b. SU-

c. SUPERUSER

d. Superuser

Definition

a. su- (page508)

 

Term

(Choose all that apply)

16. In windows 7, the shared folder permissions are ___

a. read

b. write

c. change

d. full control

 

Definition

a. read (page512)

c. change (page512)

d. full control (page512)

 

Term

(Chooose all that apply)

17. In Windows, the NTFS file permissions are ___

a. read

b. write

c. change

d. full control

Definition

a. read (page513)

b. write (page513)

d. full control (page513)

 

Term

18. When a file is moved to an existing folder on the same partition, the permissions ___

a. are copied with the folder

b. are inherited

c. must be rentered by the sdministrator

d. are ignored

Definition

b. are inherited (page516)

Term

(Choose all that apply)

19. Fedora has permissions for ___

a. owner

b. user

c. group

d. everyone

Definition

a. owner (page520)

c. group (page520)

d. everyone (page520)

 

Term

20. In Fedora, the r-x file and directory permissions represent ___

a. read only

b. read and change

c. read and execute

d. read and write

Definition

c. read and execute (page521)

Term
What is a sleeping process?
Definition
A process that is waiting for user input
Term
What is a zombie process?
Definition
A process that has detached from the parent process.
Term
/bin stores what?
Definition
binary executables
Term
/etc stores what?
Definition
configurations
Term

What is /home ?

Definition

It is the user's home directory

Term
/proc stores what?
Definition
process information
Term
/usr stores what?
Definition
the specific files for the Linux distro
Term
/var stores what?
Definition
variable files
Term
what does tar do?
Definition
it creates archives and compressed.
Term
What does tar -c do?
Definition
It creates a tar file
Term
What does tar -v do?
Definition

It verbosely lists files procsssed

 

Term
tar -cf abc.tar abc/
Definition
creates an archive named abc.tar from file abc
Term
What does gzip do?
Definition
It compresses/decompresses a file
Term
Easily maintaining and managing multiple computers at a lower cost is an advantage of which network model?
Definition
Client/server model
Term
What is SAMBA?
Definition
It is a file server to share files with both Windows and Linux clients
Term
What is a protocol?
Definition
A set of rules that must be followed by all computers.
Term
How large is IPv4?
Definition
32 bit address (4byte)
Term
How large is IPv6?
Definition
128 bit (16 byte) address
Term
ipconfig /all does what?
Definition
For Windows, shows the network configuration for all networks attached to the computer
Term
ifcongig -a does what?
Definition
For Linux, shows the network configuration for all networks attached to the computer
Term
What does this address denote 192.168.___.____
Definition
denotes a local address
Term
What does this address denote 127.0.0.1?
Definition
Local loopback
Term
What is WMI?
Definition
Windows Management Instrumentation
Term
Get-ExecutionPolicy used in which shell?
Definition
Powershell
Term
Set-ExecutionPolixy Unrestricted is a command used in which shell?
Definition
Powershell
Term
What does TCP/IP stand for?
Definition
Transmission Control Protocol/Internet Protocol
Term
What does VPN stand for?
Definition
Virtual Private Network
Term

What are the 7 layers of the OSI model?

Definition

Physical, DataLink, Network, Transport, Session, Presentation, Application

 

Use this mnemonic if you are having trouble remembering

P-lease

D-o

N-ot

T-hrow

S-ausage

P-izza

A-way

Term

What does DNS stand for?

Definition

Domain Name Server

Term

A fixed IP address is called ___?

Definition

Static IP address

Term

What assigns the dynamic IP address?

Definition

The DHCP server.

Term

What does ping do?

Definition

Determines if there's a connection to another system

Term

What does traceroute do?

Definition

It traces the connection.

Term
What does dig do in Linux?
Definition
It gets DNS information.
Term

What does dig stand for?

Definition

Domain Information Groper (This is what it says in Wikipedia but Prabakar insists it's DNS Information Groper)

Term
What does nm tool stand for?
Definition
Network manager tool
Term
What does l means in lrwx rwx rwx? (this is a small L)
Definition
link
Term
b means what? (brwx rwx rwx)
Definition
block
Term
c means what? (crwx rwx rwx)
Definition
character
Term
chmod o+r filename does what?
Definition
adds read permission to others in the filename
Term
chmod g-x filename does what?
Definition
removes execute permission to group from filename.
Term

chmod a-w filename does what?

Definition

remove write permission from all groups from filename

Term

Review for exam #4

 

(True/False)

1.   The Fedora Automatic Bug Reporting Tool (ABRT) resides in the foreground and watches for application crashes.

 

Definition

False (ABRT resides in the background, page 486)

Term

Review for exam #4

(True/False)

2.   The Internet Protocol Suite Network layer allows the IP to transfer packets across a link.

Definition

False (The Internet layer allows the IP to transfer packets across a link, Network layer links the computers, page 498)

Term

Review for exam #4

3. In Windows 7, you can use the ____ feature to access system tools that require administrative privileges and determine the cause of a problem.
a.    Author   
b.    Run As

c.    Open With

d.    Send To

Definition

b.    Run As (page 454)

Term

Review for exam #4

4.   The Windows 7 Task Manager ____ tab is not available to computer systems in a domain network.
a.    Users   
b.    Networking   

c.    Services

d.    Processes

Definition

a.    Users (page 456)

Term

Review for exam #4

5.   From the Windows 7 Task Manager ____ tab, you can determine if a program is not responding.
a.    Processes   
b.    Applications

c.    Services

d.    Performance

Definition

b.    Applications (page 456)

Term

Review for exam #4

6.   To stop a process, select the program and click the ____ button.
a.    End   
b.    Stop   

c.    Quit

d.    Exit

Definition

a.    End (page 457) 

Term

Review for exam #4

7.   You use ____ to monitor active applications, view graphs, and manipulate the running applications on your Fedora computer.
a.    System Monitor
b.    Task Manager   

c.    System Manager

d.    /proc file system

Definition

a.    System Monitor (page 461)   

Term

Review for exam #4

8.   Whenever a program or command is executed, the kernel assigns an identification number called a(n) ____ to the process.
a.    SUID (set user ID)   
b.    PID (process ID)

c.    GUID (set group ID)

d.    UID (User ID)

Definition

b.    PID (process ID) (page 465)   

Term

Review for exam #4

9.   The /proc file system is known as a ____-file system, which directly interfaces with the kernel and is stored in memory.
a.    virtual
b.    logical

c.    Pseudo

d.    real

Definition

c.    Pseudo (page 475)

Term

Review for exam #4

10.   Fedora provides peer-to-peer networking with ____, which is based on the common client/server protocol of Server Message Block (SMB).
a.    SOHO   
b.    Samba 

c.    DHCP

d.    POP3

Definition

b.    Samba (page 494) 

Term

Review for exam #4

11.   The Internet Protocol uses unique addresses, simply called ____ addresses, to identify computers or devices in a network.
a.    IP
b.    UNC   

c.    standard

d.    DNS

Definition

a.    IP (page 497)  

Term

Review for exam #4

12.   You can join an existing Windows 7 network workgroup, by default called ____, or you can create a new one.
a.    DEFAULTGRP   
b.    NETGRP   

c.    WORKGROUP

d.    GROUP

Definition

c.    WORKGROUP (page 503)

Term

Review for exam #4

13.   To access a Fedora share, you must ____ the share.
a.    Mount   
b.    load   

c.    clean

d.    execute

Definition

a.    Mount (page 507)

Term

Review for exam #4

14.   ____ are responsible for setting up shared printers on the network.
a.    Disk drive manufacturers   
b.    Managers   

c.    Users

d.    Network administrators

Definition

d.    Network administrators (page 509)

Term

Review for exam #4

15.   Simply stated, a(n) ___ is a series of computer devices or nodes interconnected by communication paths.

Definition

network (page 494)

Term

Review for exam #4

16.  ___ is a system of linked networks that are worldwide in scope and facilitate data communication services that permit access to the World Wide Web and e-mail.

Definition

The Internet (page 495)

Term

Review for exam #4

17.   What is the top command used for in Fedora?

 

Definition

It displays  system statistics continuously in real time (page 478)

Term

Review for exam #4

18.   Describe the two standards of IP addresses.

Definition

IPv4, which is 32 bits
IPv6, which is 128 bits and allows for longer address (page 498)

Term

Review for exam #4

1) Show the screen output of the following code if it runs without any error


# PowerShell Loop
$MyList = (0,1,2,3,4,5,6,7,8,9)
Foreach ($Item in $MyList) {$Item + 1}

Definition

1

2

3

4

5

6

7

8

9

10

 

 

Term

Review for exam #4

2) Show the screen output of the following code if it runs without any error


# Breaking down information
echo "Your information:"
$ID = "111-22-3434"
$ID.split("-")

Definition

111
22
3434

Term

Review for exam #4

Bash shell script question
1) Assume that the code below is stored in a file called myLoop.sh.

Show the screen output of the following code
if it runs without any error as follows: sh myLoop.sh 5 10

 

#!/bin/sh
start=$1
end=$2
while [ $start -le $end ]
do
     echo "$start is _____ $end"
     start=`expr $start + 2`
done

Definition

5  is _____ 10
7  is _____ 10
9  is _____ 10

Supporting users have an ad free experience!