Briefly discuss some of the indicators of an outdated costing system (Word limit: 200 words) b) Despite the obvious advantages of ABC, many firms are still reluctant to implement it. What are the reasons for this reluctance? (Word limit: 150 words)
In: Accounting
Using a text editor, create a file english.txt containing the following
words:
yes no go come thanks goodbye
Create a second file chinese.txt contain the following words:
shi bu qu lai xiexie zaijian
Write a program that reads the words from english.txt so that
the successive slots of a char * array english point to them.
Use the %s conversion code in a fscanf call to read one word
at a time.
Similarly, read the words from chinese.txt so that the
successive slots of a char * array chinese point to them.
Your program should then execute a loop that prompts the user
for an English word, reads it in (use scanf), and then
displays the corresponding Chinese word. The loop should
continue until the user enters the word "done".
In: Computer Science
This problem is adapted from an earlier edition of P&H.
Consider the following code used to implement the instruction: foo $s0,$s1,$s2
mask: .word 0xFFFFF83F
start: la $t0,mask
lw $t0,0($t0)
la $s0,shftr
lw $s0,0($s0)
and $s0,$s0,$t0
andi $s2,$s2,0x1f
sll $s2,$s2,6
or $s0,$s0,$s2
la $t5,shftr
sw $s0,0($t5)
shftr: sll $s0,$s1,0
Add meaningful comments to the code. Please explain each line and write a paragraph describing how it works. Why do you suppose that writing “self-modifying code” such as this is a bad idea (and often times not actually allowed)?
Please explain it. thank you.
Note: We have not covered the .word directive yet. This is an assembler directive, which is essentially an instruction to the assembler (NOT an assembly language instruction). In this case, it tells the assembler to reserve a word of memory initialized to 0xfffff83f. Mask is the address of this word (just as start is the address of the word in memory containing the machine code for that lw instruction).
In: Computer Science
Apply Arithmetic encoding for the word AVATAR.
In: Computer Science
Name: Fahad B Word: Medical Bed: ICU bed #9
Age: 57 years Physician: Mona, Khaled (unit A)
Fahad is a fit and healthy consultant surgeon. He arrived by ambulance to the ER unconscious after having a seizure in his house after a long sentry duty in the same hospital.
His wife reported that he experienced incomprehensible symptoms in the last two months like continues headaches, strange feeling in his head, imperiled vision, difficulty to recall his patient and colleges names and general weakness specially in his hands. Fahad was known of his linguistic ability but these days he lost the right words.
Neurosurgeon did MRI and found a big malignant Grade I (brain tumor). They put him under surgery and sedate him after that in the ICU by using benzodiazepines, opioid narcotics and propofol for 5 days to help him recovery. In the ICU the medical team monitor him closely. The ICU dietitian decided to start enteral nutrition as soon as possible. So, a gastrointestinal tube was fixed immediately.
Diagnosis: Malignant Grade I
Medical plan: Brain surgery to remove the tumor followed intubation and sedation for 5 days. Radiation therapy is planned to be after the assessment.
Medical history: No medical history
Smoking: Heavy smoker 3 backet/day
Medication: None
Family history: Mother (Breast cancer and Diabetes)
Marital status: Married with 2 kids
Physical examination:
Abdomen: Normal
Chest/lungs: Clear
Skin: Soft, normal bowel sounds, no-tender
Edema: Brain edema around the skull
Stool: No
Urine: Normal
Edema: -ve
Vital signs:
BP: 140/80
Pulse: 70
Temperature: 37.2 OC
Height: 182 cm
Usual weight: 82 kg
Last weight before surgery: 79kg
Current weight after surgery: unknown
Biochemical lab test (after surgery):
|
Chemistry |
||||
|
Glucose |
18 |
20 |
15 |
5.6 to 6.9 mmol/L |
|
HbA1C (%) |
5.2 |
<5.7 |
||
|
Creatinine |
0.9 |
0.6-1.2 mg/dL |
||
|
Urea |
5.3 |
2.5 to 7.1 mmol/L |
||
|
BUN |
11 |
7-18 mg/dL |
||
|
Potassium |
4.3 |
3.5-5.3 mEq/L |
||
|
Phosphate |
2.38 |
2.5-4.5 mg/dL |
||
|
Sodium |
138 |
133-143 mEq/L |
||
|
Chloride |
100 |
98-108 mEq/L |
||
|
Calcium |
10.5 |
9-11 mg/dL |
||
|
Albumin |
4.7 |
3.5-5.8 g/dL |
||
|
WBC |
3.2 |
4.5-11 x109/L |
||
|
Platelets |
200 |
150,000-450,000 microliter |
||
|
Neutrophils |
6 |
3–7 x 109/L |
||
|
RBC |
5 |
4.8-9.3 x109/L |
||
|
Hb |
12 |
12-16 g/dL |
||
|
Hct |
40% |
36-46% |
||
|
Ferritin |
21 |
20-120 (mg/mL) |
||
|
MCV |
88 |
80-100 fL |
||
|
CRP |
2 |
<3 mg/L |
||
|
Fibrinogen |
230 |
150-400 mg/dL |
||
|
ESR |
20 |
0-22 mm/hr |
||
|
Cholesterol |
170 |
<200 (mg/dL) |
||
|
LDL |
110 |
<130 |
||
|
HDL |
55 |
>59 |
||
|
Triglycerides |
110 |
35-135 (mg/dL) |
||
24hours recall (usual menu before diagnosis with cancer):
Breakfast: 1 cup Americano + 1 protein bar
Snack: 1 orange juice
Lunch: 1 cup laban+ 1 cup rice + grilled meat or chicken of fish
+Dagoos (tomato sauce) + green salad (olive oil + lemon
dressing)
Snack: 300ml Arabic coffee + 5 Dates
Dinner: 1 cup low fat yogurt + protein chips
Questions: (100 points)
In: Nursing
breifly about "creativity " in 400 word ?
In: Operations Management
Question 1: The word size of a computer generally indicates the largest integer it can process in a single instruction. Discuss two different word sizes of computer systems and provide a brief comparison of both word size systems.(Discuss in one full page)
Question 2: A computer has RAM of size 64 M words, its instruction set has 32 instructions and 16 registers in the CPU. What is the format and size of each of the following instructions?
ADD R1,R2,R3
Move a, R1
Halt
In: Computer Science