# on 05-Oct-2018 (Fri)

#### Flashcard 3412316785932

Question
In python, you have dictionary, d = {'a':1, 'b':2}, how do you get a list of all its keys (i.e. ['a', 'b'])?
d.keys()

status measured difficulty not learned 37% [default] 0

#### pdf

cannot see any pdfs

#### Flashcard 3412329368844

Question
In python, you have dictionary, d = {'a':1, 'b':2}, how do you get a list of all its values (i.e. [1, 2])?
d.values()

status measured difficulty not learned 37% [default] 0

#### pdf

cannot see any pdfs

#### Flashcard 3412332514572

Question
In python, you have dictionary, d = {'one':1, 'two':2, 'three':3, 'four':4, 'five':5}, how do you return a reverse sorted list of the keys by numerical value (i.e. ['five', 'four', 'three', 'two', 'one']?
sorted(d.keys(), key=d.__getitem__, reverse=True)

status measured difficulty not learned 37% [default] 0

#### pdf

cannot see any pdfs

#### Flashcard 3412335660300

Question
In python, you have dictionary, d = {'one':1, 'two':2, 'three':3, 'four':4, 'five':5}, how do you return a sorted list of the values by keys sorted in alpabetical order (i.e [5,4,1,3,2])?

[v for (k,v) in sorted(d.items())]

^^^ also accurate is: [d[x] for x in sorted(d.keys())]

status measured difficulty not learned 37% [default] 0

#### pdf

cannot see any pdfs

#### Annotation 3412610387212

bezel noun be·zel | \ ˈbē-zəl , ˈbe- \ Definition of bezel

1 : a rim that holds a transparent covering (as on a watch, clock, or headlight) or that is rotatable and has special markings (as on a watch)

2 gems : the oblique (see oblique entry 1 sense 1a ) side or face of a cut gem specifically : the upper faceted portion of a brilliant projecting from the setting — see brilliant illustration

3 jewelry : a usually metal rim of a piece of jewelry in which an ornament (such as a gem) is set

Bezel | Definition of Bezel by Merriam-Webster
OF THE DAY VIDEO MORE WORD OF THE DAY VIDEO WORDS AT PLAY FAVORITES WORDS AT PLAY FAVORITES × dictionary thesaurus JOIN MWU GAMES THESAURUS WORD OF THE DAY VIDEO WORDS AT PLAY FAVORITES Follow: <span>bezel noun be·zel | \ ˈbē-zəl , ˈbe- \ Definition of bezel 1 : a rim that holds a transparent covering (as on a watch, clock, or headlight) or that is rotatable and has special markings (as on a watch) 2 gems : the oblique (see oblique entry 1 sense 1a) side or face of a cut gem specifically : the upper faceted portion of a brilliant projecting from the setting — see brilliant illustration 3 jewelry : a usually metal rim of a piece of jewelry in which an ornament (such as a gem) is set Examples of bezel in a Sentence Recent Examples on the Web Apple is expected to introduce an iPad Pro with Face ID, slim bezels, and no home button, plus several new MacBooks over the n

#### Flashcard 3412612484364

Question
bezel noun be·zel | \ ˈbē-zəl , ˈbe- \ Definition of bezel

[...]

1 : a rim that holds a transparent covering (as on a watch, clock, or headlight) or that is rotatable and has special markings (as on a watch)

2 gems : the oblique (see oblique entry 1 sense 1a ) side or face of a cut gem specifically : the upper faceted portion of a brilliant projecting from the setting — see brilliant illustration

3 jewelry : a usually metal rim of a piece of jewelry in which an ornament (such as a gem) is set

status measured difficulty not learned 37% [default] 0

#### Parent (intermediate) annotation

Open it
bezel noun be·zel | \ ˈbē-zəl , [emptylink] ˈbe- [emptylink] \ Definition of bezel 1 : a rim that holds a transparent covering (as on a watch, clock, or headlight) or that is rotatable and has special markings (as on a watch) 2 gems : the oblique (see oblique entry 1 sense 1a ) side or face of a cut gem specifically : the upper faceted portion of a brilliant projecting from the setting — see brilliant illustration 3 jewelry : a usually metal rim of a piece of jewelry in which an ornament (such as a gem) is set

#### Original toplevel document

Bezel | Definition of Bezel by Merriam-Webster
OF THE DAY VIDEO MORE WORD OF THE DAY VIDEO WORDS AT PLAY FAVORITES WORDS AT PLAY FAVORITES × dictionary thesaurus JOIN MWU GAMES THESAURUS WORD OF THE DAY VIDEO WORDS AT PLAY FAVORITES Follow: <span>bezel noun be·zel | \ ˈbē-zəl , ˈbe- \ Definition of bezel 1 : a rim that holds a transparent covering (as on a watch, clock, or headlight) or that is rotatable and has special markings (as on a watch) 2 gems : the oblique (see oblique entry 1 sense 1a) side or face of a cut gem specifically : the upper faceted portion of a brilliant projecting from the setting — see brilliant illustration 3 jewelry : a usually metal rim of a piece of jewelry in which an ornament (such as a gem) is set Examples of bezel in a Sentence Recent Examples on the Web Apple is expected to introduce an iPad Pro with Face ID, slim bezels, and no home button, plus several new MacBooks over the n

#### Annotation 3413230095628

List the congressional committees and government agencies that regulate health care in the United States. 2. Identify the regulatory and oversight bodies with jurisdiction over health system delivery of care. 3. Explain recent federal legislative and regulatory activity that affects the delivery of health care. 4. Describe the regulatory actions that govern the prescription drug approval process and the conduct of human subjects’ research. 5. Describe national quality initiatives aimed at improving health care delivery and patient health outcomes. 6. Explain medication policy implications at an insti- tutional level.

#### pdf

cannot see any pdfs

#### Annotation 3413231668492

Congress is bicameral, with two legislative chambers: the Senate and the House of Representatives.

#### pdf

cannot see any pdfs

#### Annotation 3413233241356

Appropriations Committee writes the legislation that allocates federal funds to the many government agencies, departments, and organizations on an annual basis and, in particular, funds discretionary programs. b. Finance Committee has jurisdiction over issues that pertain to taxation and health programs under the Social Security Act including Medicare, Medicaid, and the Children’s Health Insurance Program. c. Health, Education, Labor and Pensions (HELP) Committee, as it pertains to health, authorizes agencies, institutes, and programs under the Department of Health and Human Services (DHHS), which includes the U.S. Food and Drug Administration (FDA), National Institutes of Health (NIH), and Centers for Disease Control and Prevention (CDC). d. Committee on Veterans’ Affairs oversees issues related to veterans’ affairs (VA), including the VA health system. e. Aging Committee was initially established as a temporary committee but transitioned to a permanent, special committee without legislative authority for matters relating to older Americans. f. Legislation is reviewed by the committee with the most jurisdiction over the provisions in the bill. For example, the Pharmacy and Medically Underserved Areas Enhancement Act (S. 314) introduced in the Senate in 2015 was referred to the Committee on Finance because it amends the Medicare program.

#### pdf

cannot see any pdfs

#### Annotation 3413234814220

Senate is composed of 100 elected, voting members. Legislation and tasks are divided into 20 stand- ing committees, 68 subcommittees, and 4 joint committees. The committees that have jurisdiction over health-related policy include the following: a. Appropriations Committee writes the legislation that allocates federal funds to the many government agencies, departments, and organizations on an annual basis and, in particular, funds discretionary programs. b. Finance Committee has jurisdiction over issues that pertain to taxation and health programs under the Social Security Act including Medicare, Medicaid, and the Children’s Health Insurance Program. c. Health, Education, Labor and Pensions (HELP) Committee, as it pertains to health, authorizes agencies, institutes, and programs under the Department of Health and Human Services (DHHS), which includes the U.S. Food and Drug Administration (FDA), National Institutes of Health (NIH), and Centers for Disease Control and Prevention (CDC). d. Committee on Veterans’ Affairs oversees issues related to veterans’ affairs (VA), including the VA health system. e. Aging Committee was initially established as a temporary committee but transitioned to a permanent, special committee without legislative authority for matters relating to older Americans. f. Legislation is reviewed by the committee with the most jurisdiction over the provisions in the bill. For example, the Pharmacy and Medically Underserved Areas Enhancement Act (S. 314) introduced in the Senate in 2015 was referred to the Committee on Finance because it amends the Medicare program

#### pdf

cannot see any pdfs

#### Annotation 3413236387084

House of Representatives is composed of 435 elected, voting members and six delegates from the U.S. territories or from Washington, D.C., with nonvoting privileges. Legislation and tasks are divided into 20 standing committees, 4 joint committees, and 1 select committee. The committees with jurisdiction over health-related policy include the following: a. Appropriations has jurisdiction similar to that listed above. b. Ways and Means has jurisdiction over taxation and most programs authorized by the Social Security Act, similar to the Senate Finance Committee. c. Energy and Commerce is the oldest standing committee of the House of Representatives. It has over- sight of the DHHS and is similar to the Senate HELP committee. d. Veterans’ Affairs oversees issues related to VA. e. Legislation is sent to any committee that has jurisdiction over any of the provisions in the bill. For example, the companion bill to S. 314, the Pharmacy and Medically Underserved Areas Enhancement Act (H.R. 592) introduced in the House in 2015, was referred to the Subcommittees on Health in both the Energy and Commerce and Ways and Means committees.

#### pdf

cannot see any pdfs

#### Flashcard 3413426965772

Question
In linux, RPM stands for that use R [...] P [...] M [...]

status measured difficulty not learned 37% [default] 0
1. Introduction
eference to computer programming whatsoever. 1.7 Not RedHat: RedHat-like Throughout this book I refer to examples specific to RedHat'' and Debian''. What I actually mean by this are systems <span>that use .rpm ( r edHat p ackage m anager) packages as opposed to systems that use .deb ( deb ian) packages--there are lots of both. This just means that there is no reason to avoid using a distribution like Mandrake, which is .

#### Flashcard 3413430111500

Question
In Linux, Fedora/Redhat-based distrubutions use .rpm packages, while debian/ubuntu-like distributions use [...] packages
.deb

status measured difficulty not learned 37% [default] 0
1. Introduction
this book I refer to examples specific to RedHat'' and Debian''. What I actually mean by this are systems that use .rpm ( r edHat p ackage m anager) packages as opposed to systems that use <span>.deb ( deb ian) packages--there are lots of both. This just means that there is no reason to avoid using a distribution like Mandrake, which is .rpm based and viewed by many as being better than RedHat. In shor

#### Flashcard 3413435092236

Question
What is the hexadecimal equivalant of the binary number 01001011 (do it without using calculator, i.e. know you steps)?
4B
^^ trick is to split the binary into groups of 4 digits (i.e. 0100 = 4, 1011=B)

status measured difficulty not learned 37% [default] 0
2. Computing Sub-basics
ented by a single octal digit. Hence, a binary number can be represented with hex or octal digits without much calculation, as shown in Table 2.1. A binary number 01001011 can be represented in <span>hex as 4B and in octal as 113 by simply separating the binary digits into groups of four or three, respectively. In UNIX administration, and also in many programming languages, there is often the

#### Flashcard 3413439286540

Question
What is the octal equivilant of the binary number 01001011 (do it without using calculator, i.e. know the steps)?
113
^^
trick is to split the binary into groups of 3 digits (i.e. 01 = 1, 001 = 1, 011 = 3)

status measured difficulty not learned 37% [default] 0
2. Computing Sub-basics
octal digit. Hence, a binary number can be represented with hex or octal digits without much calculation, as shown in Table 2.1. A binary number 01001011 can be represented in hex as 4B and in <span>octal as 113 by simply separating the binary digits into groups of four or three, respectively. In UNIX administration, and also in many programming languages, there is often the ambiguity of whethe

#### Flashcard 3413442432268

Question
In Linux (and computer systems in general), hex or octal numbers are preferred to decimal numbers, as [...] numbers can easily be converted to/from hex and octal (but no so for decimal)
binary

status measured difficulty not learned 37% [default] 0
2. Computing Sub-basics
possible combinations and can therefore be easily represented by one of the 16 hex digits. A 3-digit binary number has possible combinations and can thus be represented by a single octal digit. <span>Hence, a binary number can be represented with hex or octal digits without much calculation, as shown in Table 2.1. A binary number 01001011 can be represented in hex as 4B and in octal as 113 by simply separating the binary digits into groups of four or three, respectively. I

#### Flashcard 3413445577996

Question
In Linux/Unix (and many programming languages like python), hex number 56 is represented as: [...]
0x56

status measured difficulty not learned 37% [default] 0
2. Computing Sub-basics
with the characters 0x'', while octal numbers are prefixed with a 0''. If the first digit is 1 through 9, then it is a decimal number that is probably being referred to. We would then write <span>0x56 for hex, and 056 for octal. Another representation is to append the letter H, D, O, or B (or h, d, o, b) to the number to indicate its base. UNIX makes heavy use of 8-, 16-, and 32-digit binary numbers, often rep

#### Flashcard 3413448723724

Question
In Linux/Unix (and many programming languages like python), octal number 56 is represented as: [...]
056

status measured difficulty not learned 37% [default] 0
2. Computing Sub-basics
cters 0x'', while octal numbers are prefixed with a 0''. If the first digit is 1 through 9, then it is a decimal number that is probably being referred to. We would then write 0x56 for hex, <span>and 056 for octal. Another representation is to append the letter H, D, O, or B (or h, d, o, b) to the number to indicate its base. UNIX makes heavy use of 8-, 16-, and 32-digit binary numbers, often rep

#### Flashcard 3413451869452

Question
In Linux, the data in each file is merely a long list of [...] .
numbers

status measured difficulty not learned 37% [default] 0
2. Computing Sub-basics
the reason a computer has files at all is because computer programmers have decided that this is the most universal and convenient way of storing data, and if you think about it, it really is.] <span>The data in each file is merely a long list of numbers. The size of the file is just the length of the list of numbers. Each number is called a byte. Each byte contains 8 bits. Each bit is either a one or a zero and therefore, once again, th

#### Flashcard 3413455801612

Question
In Linux, for ASCII text files, each letter is represented by a single number that is a single [...] in size.
byte

status measured difficulty not learned 37% [default] 0
2. Computing Sub-basics
racter also has a numerical equivalent. A mapping between numbers and characters is called a character mapping or a character set. The most common character set in use in the world today is the <span>ASCII character set which stands for the American Standard Code for Information Interchange. Table 2.2 shows the complete ASCII mappings between characters and their hex, decimal, and octal equivalents

#### Flashcard 3413459471628

Question
In Linux, for ASCII text files, each letter is represented by a one byte number, therefore there are [...] possible combination of chars/letters that can be supported.
256

status measured difficulty not learned 37% [default] 0
2. Computing Sub-basics
umber is called a byte. Each byte contains 8 bits. Each bit is either a one or a zero and therefore, once again, there are possible combinations. Hence a byte can only hold a number as large as <span>255. There is no type of data that cannot be represented as a list of bytes. Bytes are sometimes also called octets. Your letter to Mary will be encoded into bytes for storage on the comput

#### Flashcard 3413463141644

Question
passwd

status measured difficulty not learned 37% [default] 0
2. Computing Sub-basics
ust typing commands into it. After you entered the passwd command, you were no longer in the shell, but moved into the password place. You could not use the shell until you had moved out of the <span>passwd command. 2.5 Listing Files Type in the command ls . ls is short for list, abbreviated to two letters like most other UNIX commands. ls lists all your current files. You may find that ls

#### Flashcard 3413466811660

Question
In Linux shell prompt, what is keyboard shortcut to go to beginning of line?
ctrl-a

status measured difficulty not learned 37% [default] 0
2. Computing Sub-basics
as had a long and twisted evolution from the mainframe, and the , and other keys may not work properly. The following keys bindings are however common throughout many LINUX applications: Ctrl-a <span>Move to the beginning of the line (). Ctrl-e Move to the end of the line (). Ctrl-h Erase backward (). Ctrl-d Erase forward (). Ctrl-f Move forward one character (). Ctrl-b Move backward one character (). Alt-f Move for

#### Flashcard 3413470481676

Question
In Linux shell prompt, what is the keyboard shortcut to go to end of line?
ctrl-e

status measured difficulty not learned 37% [default] 0
2. Computing Sub-basics
mainframe, and the , and other keys may not work properly. The following keys bindings are however common throughout many LINUX applications: Ctrl-a Move to the beginning of the line (). Ctrl-e <span>Move to the end of the line (). Ctrl-h Erase backward (). Ctrl-d Erase forward (). Ctrl-f Move forward one character (). Ctrl-b Move backward one character (). Alt-f Move forward one word. Alt-b Move backward one

#### Flashcard 3413474151692

Question
In Linux, what is keyboard shortcut to exit prompt?
ctrl-d

status measured difficulty not learned 37% [default] 0
2. Computing Sub-basics
The following keys bindings are however common throughout many LINUX applications: Ctrl-a Move to the beginning of the line (). Ctrl-e Move to the end of the line (). Ctrl-h Erase backward (). <span>Ctrl-d Erase forward (). Ctrl-f Move forward one character (). Ctrl-b Move backward one character (). Alt-f Move forward one word. Alt-b Move backward one word. Alt-Ctrl-f Erase forward one wo

#### Flashcard 3413477821708

Question
In Linux, what is keyboard shortcut to move backward to your previosly typed commands?
arrow up

status measured difficulty not learned 37% [default] 0
2. Computing Sub-basics
one character (). Ctrl-b Move backward one character (). Alt-f Move forward one word. Alt-b Move backward one word. Alt-Ctrl-f Erase forward one word. Alt-Ctrl-b Erase backward one word. Ctrl-p <span>Previous command (up arrow). Ctrl-n Next command (down arrow). Note that the prefixes Alt for , Ctrl for , and Shift for , mean to hold the key down through the pressing and releasing of the letter key. These are

#### Flashcard 3413481491724

Question
In Linux, what is keyboard shortcut to move forward for list of old commands you typed in (in case you went too far back)?
arrow down

status measured difficulty not learned 37% [default] 0
2. Computing Sub-basics
rd one character (). Alt-f Move forward one word. Alt-b Move backward one word. Alt-Ctrl-f Erase forward one word. Alt-Ctrl-b Erase backward one word. Ctrl-p Previous command (up arrow). Ctrl-n <span>Next command (down arrow). Note that the prefixes Alt for , Ctrl for , and Shift for , mean to hold the key down through the pressing and releasing of the letter key. These are known as key modifiers. Note also,

#### Flashcard 3413485161740

Question
In Linux, what keyboard shortcut at the prompt will activates a search of your command history? (for example if you are at shell prompt and you want to search your command history for the word 'docker')
ctrl-r
^^ the r stands for "reverse-i-search"

status measured difficulty not learned 37% [default] 0
2. Computing Sub-basics
Never type in anything more than once--use your command history instead. Ctrl-s is used to suspend the current session, causing the keyboard to stop responding. Ctrl-q reverses this condition. <span>Ctrl-r activates a search on your command history. Pressing Ctrl-r in the middle of a search finds the next match whereas Ctrl-s reverts to the previous match (although some distributions have this confused with suspend). The Tab comman

#### Flashcard 3413488831756

Question
In Linux, if you pressed "ctrl-r" at shell prompt to activate reverse-i-search of your command history, and you type in your search, how do you go to the next item found in the search?
ctrl-r

status measured difficulty not learned 37% [default] 0
2. Computing Sub-basics
tory instead. Ctrl-s is used to suspend the current session, causing the keyboard to stop responding. Ctrl-q reverses this condition. Ctrl-r activates a search on your command history. Pressing <span>Ctrl-r in the middle of a search finds the next match whereas Ctrl-s reverts to the previous match (although some distributions have this confused with suspend). The Tab command is tremendously useful for saving key strokes. Typing a parti

#### Flashcard 3413495123212

Question
In Linux, what is the keyboard shortcut to finish a directory name/file name/command that you partially typed in at the prompt?
Tab

status measured difficulty not learned 37% [default] 0
2. Computing Sub-basics
r command history. Pressing Ctrl-r in the middle of a search finds the next match whereas Ctrl-s reverts to the previous match (although some distributions have this confused with suspend). The <span>Tab command is tremendously useful for saving key strokes. Typing a partial directory name, file name, or command, and then pressing Tab once or twice in sequence completes the word for you

#### Flashcard 3413498793228

Question
In Linux, what flag do you use if you want to see things in human-readable format (for example, type the command to see the list of all files in current directory, with file sizes in easy to understand format, i.e. not bytes, but M, G, etc)?
ls -lah
>> also acceptable answer is: "h" flag

status measured difficulty not learned 37% [default] 0

#### Flashcard 3413508754700

Question
In Linux, what command-line option/flag do you use if you want to see information about the command-line options/flags available for that command (e.g. to see the flags available for "ls")?
--help

status measured difficulty not learned 37% [default] 0
4. Basic Commands
ommands and are therefore more flexible.] , for example, ls -a -l , ls -l -a , or ls -al --any of these will list all files in long format. All GNU commands take the additional arguments -h and <span>--help . You can type a command with just this on the command-line and get a usage summary. This is some brief help that will summarize options that you may have forgotten if you are already f

#### Flashcard 3413512424716

Question
In Linux, for all command-line options/command flags (e.g. ls -h), there is always a [...] version, as well as, most times, a shorthand version (-h is the shorthand version).
longer/more descriptive/etc
^^ any of above answers is good

status measured difficulty not learned 37% [default] 0
4. Basic Commands
me of a hidden file starts with a period. Hiding files in this way is not for security, but for convenience. The option ls -l is somewhat cryptic for the novice. Its more explanatory version is <span>ls --format=long . Similarly, the all option can be given as ls --all , and means the same thing as ls -a . 4.2 Error Messages Although commands usually do not display a message when they execute [The c

#### Flashcard 3413515570444

Question
In Linux, for the -h flag of ls, what is the longhand/descriptive version of -h?