Fundamentals of Information Systems (Looseleaf)
Fundamentals of Information Systems (Looseleaf)
9th Edition
ISBN: 9781337099042
Author: STAIR
Publisher: Cengage
Question
Book Icon
Chapter 7, Problem 4.2CTQ
Program Plan Intro

The way the Allina healthcare system is used in the improvement in treatment of patients.

Blurred answer
Students have asked these similar questions
Match each of the assembler routines on the left with the equivalent C function on the right. Write the name of the label (e.g., foo) to the right of the corresponding function. Note: shrq is the logical right shift instruction, and sarq is the arithmetic right shift instruction. foo1: leaq 0(,%rdi, 8), %rax long choice1 (long x) { ret return x - 8 >8; foo3: } movq sarq %rdi, %rax $8, %rax long choice4 (long x) ret { return x*256; } foo4: long choice5 (long x) leaq -8 (%rdi), %rax { ret return x-8; } long choice6 (long x) foo5: { leaq -8 (%rdi), %rax return x+8; shrq $63, %rax } ret
Given the variables and code in the text below, identify where in memory they will live once the code is compiled. 1 char big_array [1L<<24]; /* 16 MB */ 2 GB * :/ 2 char huge_array [1L<<31]; /* 3 4 int global = 0; 5 6 int useless () { return 0; } 7 8 int main() 9 { 10 void *p1, p2, *p3, *p4; int local = 0; malloc (1L << 28); /* 256 MB *, 11 12 p1 13 p2 = malloc (1L << 8); /* 256 B * 14 p3 15 p4 = malloc (1L << 32); malloc (1L << 8); /* 4 GB * */ /* 256 B */ 16 } Note: *pN is the thing at which pN points. 1. big_array 2. huge_array 3. global 4. useless 5. void* p1 6. *p1 7. void* p2 8. *p2 9. void* p3 10. *p3 11. void* p4 12. *p4
The next problem concerns the following C code: /copy input string x to buf */ void foo (char *x) { char buf [8]; strcpy((char *) buf, x); } void callfoo() { } foo("ZYXWVUTSRQPONMLKJIHGFEDCBA"); Here is the corresponding machine code on a Linux/x86 machine: 0000000000400530 : 400530: 48 83 ec 18 sub $0x18,%rsp 400534: 48 89 fe mov %rdi, %rsi 400537: 48 89 e7 mov %rsp,%rdi 40053a: e8 di fe ff ff callq 400410 40053f: 48 83 c4 18 add $0x18,%rsp 400543: c3 retq 400544: 0000000000400544 : 48 83 ec 08 sub $0x8,%rsp 400548: bf 00 06 40 00 mov $0x400600,%edi 40054d: e8 de ff ff ff callq 400530 400552: 48 83 c4 08 add $0x8,%rsp 400556: c3 This problem tests your understanding of the program stack. Here are some notes to help you work the problem: ⚫ strcpy(char *dst, char *src) copies the string at address src (including the terminating '\0' character) to address dst. It does not check the size of the destination buffer. • You will need to know the hex values of the following characters:

Chapter 7 Solutions

Fundamentals of Information Systems (Looseleaf)

Ch. 7 - Prob. 1.2RQCh. 7 - Prob. 1.1CTQCh. 7 - Prob. 1.2CTQCh. 7 - Prob. 2.1RQCh. 7 - Prob. 2.2RQCh. 7 - Prob. 2.1CTQCh. 7 - Prob. 2.2CTQCh. 7 - Prob. 3.1RQCh. 7 - Prob. 3.2RQCh. 7 - Prob. 3.1CTQCh. 7 - Prob. 3.2CTQCh. 7 - What sort of training and experience is needed by...Ch. 7 - Prob. 4.2RQCh. 7 - Prob. 4.1CTQCh. 7 - Prob. 4.2CTQCh. 7 - Prob. 1SATCh. 7 - Prob. 2SATCh. 7 - Prob. 3SATCh. 7 - Prob. 4SATCh. 7 - Prob. 5SATCh. 7 - Prob. 6SATCh. 7 - Prob. 7SATCh. 7 - Prob. 8SATCh. 7 - Prob. 9SATCh. 7 - Prob. 10SATCh. 7 - Prob. 11SATCh. 7 - Prob. 12SATCh. 7 - Prob. 13SATCh. 7 - Prob. 14SATCh. 7 - Prob. 15SATCh. 7 - Prob. 16SATCh. 7 - Prob. 17SATCh. 7 - Prob. 1RQCh. 7 - Prob. 2RQCh. 7 - Prob. 3RQCh. 7 - Prob. 4RQCh. 7 - Prob. 5RQCh. 7 - Prob. 6RQCh. 7 - Prob. 7RQCh. 7 - Prob. 8RQCh. 7 - Prob. 9RQCh. 7 - Prob. 10RQCh. 7 - Prob. 11RQCh. 7 - Prob. 12RQCh. 7 - Prob. 13RQCh. 7 - Prob. 14RQCh. 7 - Prob. 15RQCh. 7 - Prob. 16RQCh. 7 - Prob. 17RQCh. 7 - Prob. 18RQCh. 7 - Prob. 19RQCh. 7 - Prob. 20RQCh. 7 - Prob. 21RQCh. 7 - Prob. 22RQCh. 7 - Prob. 23RQCh. 7 - Prob. 1DQCh. 7 - Prob. 2DQCh. 7 - Prob. 3DQCh. 7 - Prob. 4DQCh. 7 - Prob. 5DQCh. 7 - Prob. 6DQCh. 7 - Prob. 7DQCh. 7 - Prob. 8DQCh. 7 - Prob. 9DQCh. 7 - Prob. 10DQCh. 7 - Prob. 11DQCh. 7 - Prob. 12DQCh. 7 - Prob. 13DQCh. 7 - Prob. 1PSECh. 7 - Prob. 2PSECh. 7 - Prob. 3PSECh. 7 - Prob. 1WECh. 7 - Prob. 2WECh. 7 - Prob. 3WECh. 7 - Prob. 1CECh. 7 - Prob. 2CECh. 7 - Prob. 3CECh. 7 - Prob. 1.1CSCh. 7 - Prob. 1.2CSCh. 7 - Prob. 1.3CSCh. 7 - Prob. 1.4CSCh. 7 - Prob. 1.5CSCh. 7 - Prob. 2.1CSCh. 7 - Prob. 2.2CSCh. 7 - Prob. 2.3CS
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Principles of Information Systems (MindTap Course...
Computer Science
ISBN:9781305971776
Author:Ralph Stair, George Reynolds
Publisher:Cengage Learning
Text book image
Fundamentals of Information Systems
Computer Science
ISBN:9781337097536
Author:Ralph Stair, George Reynolds
Publisher:Cengage Learning
Text book image
Principles of Information Systems (MindTap Course...
Computer Science
ISBN:9781285867168
Author:Ralph Stair, George Reynolds
Publisher:Cengage Learning
Text book image
Management Of Information Security
Computer Science
ISBN:9781337405713
Author:WHITMAN, Michael.
Publisher:Cengage Learning,
Text book image
A+ Guide To It Technical Support
Computer Science
ISBN:9780357108291
Author:ANDREWS, Jean.
Publisher:Cengage,
Text book image
MIS
Computer Science
ISBN:9781337681919
Author:BIDGOLI
Publisher:Cengage