Question

In: Computer Science

I. Fill in the blank by matching the high level construct correct number to the corresponding...

I. Fill in the blank by matching the high level construct correct number to the corresponding letter of the instruction sequence. Write one sentence to support your answer.

1. Access the disk block i.   

2. Enqueue x into Q.    

3. C= AX B where A, B, C are matrices.  

4. Send file f to printer P.     

5. Load program p into memory and execute p.

  1. Copy f into a temporary file f'.
    Wait until printer P not busy.
    Reserve printer P.
    Send file f' to printer P.
    Release printer P.

____

  1. for all i:
    for all j:
    for all k:
    Cij = Cij + Aik x Bkj

_____

  1. Given a file block i, determine the track number t and the block number j within t that correspond to block i. Access block j on track t.

_____

  1. If program p is too large to fit into memory, divide p into smaller partitions p1, p2, ...
    Load p1 and start execution.
    Whenever a different partition pi is needed, save current partition and load pi.
    Resume execution.

_____

  1. Allocate new queue element e.
    Copy x into e.
    Insert e at rear of Q.

____

Solutions

Expert Solution

Answer A

Copy f into a temporary file f'.
Wait until printer P not busy.
Reserve printer P.
Send file f' to printer P.
Release printer P.

Here we are waiting for printer to get free.

4. Send file f to printer P.   

Answer B

for all i:
for all j:
for all k:
Cij = Cij + Aik x Bkj

This is multiplication logic for square matrix.

3. C= AX B where A, B, C are matrices.

Answer C

Given a file block i, determine the track number t and the block number j within t that correspond to block i. Access block j on track t.

track, blocks (sector) are part of disk.

1. Access the disk block i.  

Answer D

If program p is too large to fit into memory, divide p into smaller partitions p1, p2, ...
Load p1 and start execution.
Whenever a different partition pi is needed, save current partition and load pi.
Resume execution.

Here, we are loading particular page of program in memory and executing.

5. Load program p into memory and execute p.

Answer E

Allocate new queue element e.
Copy x into e.
Insert e at rear of Q.

Here we are creating new node e which has value x. New node is added as rear of queue.

2. Enqueue x into Q.    


Related Solutions

I.  Fill in Blank / Matching   Fill in the blanks with the appropriate terms below.  (2...
I.  Fill in Blank / Matching   Fill in the blanks with the appropriate terms below.  (2 pts. each = 20 pts.)   activity                        chemical                      resonance                    polychromatic             empirical electrons                      evaporation                 emission                      filtration                      filtrate gas                               hydrogen                     VESPR                       limiting                       liquid   mass                            mass percent               mole                            molecular                    oxide absorption                   oxygen                        physical                       precipitate                   precipitation    monochromatic           Lewis Dot                   supernatant                  periods                        groups     Many metals react readily with oxygen to form binary ____________ compounds.    ...
29-34. Matching – fill in the blank with the correct response from A-E below: A). ANOVA...
29-34. Matching – fill in the blank with the correct response from A-E below: A). ANOVA B). Pearson’s r C). Chi Square D). Multiple Regression E). t-test 29. ______ This parametric test analyzes the means between groups, to determine if the group means differ significantly from one another. This test helps reduce Type I errors, and is closely related to the t-test. 30. ______ This is a parametric test used when two measures are taken on one sample, or when...
Fill the blank with the correct word from the word blank Because of the adverse selection...
Fill the blank with the correct word from the word blank Because of the adverse selection problem in the financial market, a firm’s newly issued stocks or bonds could be ( ) so that the firm would withdraw from the market. It will leave only the ( ) credit firms in the market. To solve the asymmetric information problem between the lenders and borrowers, ( ) could be used as a good mechanism for ensuring that a borrower is likely...
Fill the blank with the correct word from the word blank Because of the adverse selection...
Fill the blank with the correct word from the word blank Because of the adverse selection problem in the financial market, a firm’s newly issued stocks or bonds could be ( ) so that the firm would withdraw from the market. It will leave only the ( ) credit firms in the market. To solve the asymmetric information problem between the lenders and borrowers, ( ) could be used as a good mechanism for ensuring that a borrower is likely...
1) Matching. Fill in the number matching column A with the column B _______ adsorption chromatography                      ...
1) Matching. Fill in the number matching column A with the column B _______ adsorption chromatography                          1. Solute equilibrates between mobile phase and surface of stat. phase _______ Reverse phase                                                        2. Effluent from a chromatographic column _______ ion-exchange chromatography                              3. Relates resolving power of a column with parameters that cause peak                                                                                      broadening         _______ molecular exclusion chromatography                      4. The most common type of column used in partition chromatography _______ affinity chromatograhy                                              5. Different size solutes penetrate...
Fill in the blank with the correct answer by typing in the box. The GDP deflator...
Fill in the blank with the correct answer by typing in the box. The GDP deflator is a price index that _______________ all the components of GDP (that is, consumption plus investment plus government plus exports minus imports).
FILL IN THE CORRECT TERMINOLOGIES IN THE BLANK SPACES _____ 1. a. Any cost that the...
FILL IN THE CORRECT TERMINOLOGIES IN THE BLANK SPACES _____ 1. a. Any cost that the management of a responsibility center cannot affect within a given time span. _____ 2. b.Units that exist only to support other departments or customers. _____ 3. c. Characteristics or attributes that managers must achieve in order to drive the organization toward its goals. _____ 4. d. A measure of income divided by the investment required to obtain that income. _____ 5. e. The effort...
Fill in the blank with a number by the accrual method of accounting based on the...
Fill in the blank with a number by the accrual method of accounting based on the following information about a construction company. What is the amount of revenues ($) on the income statement of March 31st? Company's total assets and liabilities by the end of February Total Assets (Cash only): $1,084,009 Total Liabilities: $155,823 Construction project Contract terms Duration: 3/1 ~ 12/31 Contract amount: $512,936 with the owner $470,443 with the subcontractors including the suppliers Terms of payment: Monthly payment...
Matching: Please pick up at least one item from column B to fill in the blank...
Matching: Please pick up at least one item from column B to fill in the blank in column A. Column A Non-gated ion channel : Ligand-gated ion channel = K+ channel : ________(1) High Km (Kd) : Low Km (Kd) = _____(2) affinity : _____(3) affinity Active transport : Second active transport : Simple diffusion = _____(4) : Cotransporter : _____(5) Extracellular : Intracellular = _____(6) : K+ Sacroplasmic reticulu, Ca2+ pump : Phosphorylate = ABC family ATP pump :...
Match the fill-in-the-blank statement in the left column to the corresponding term/phrase in the drop down...
Match the fill-in-the-blank statement in the left column to the corresponding term/phrase in the drop down on the right. Stated another way, match the left column statements to the meanings presented in the right column drop down. There is only one BEST answer/statement combination. 1. _____ is another way of referring to a non-equity mode of entry with an alliance partner. 2. _____ is another way of referring to an equity mode of entry including, but not limited to, an...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT