Business Driven Technology
Business Driven Technology
6th Edition
ISBN: 9780073376905
Author: Paige Baltzan Instructor
Publisher: McGraw-Hill Education
Question
Book Icon
Chapter B, Problem B12.3MBD
Program Plan Intro

Digital Pen:

A special purpose pen that uses the technology to represents the handwritten contents in its natural way. The contents that are written are recorded based on the movement using digitizer that is being placed under the LCD. The contents that are recorded are further can be converted in the typed form using recognition technology or saved in the handwritten form.

Digital Paper:

Digital papers are used in combination with the digital pen to store the contents that are handwritten in the digital format.

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 B Solutions

Business Driven Technology

Ch. B - Prob. B1.1MBDCh. B - Prob. B1.2MBDCh. B - Prob. B1.3MBDCh. B - Prob. B1.4MBDCh. B - Prob. B1.5MBDCh. B - Prob. B1.6MBDCh. B - Prob. B2.1CCOCh. B - Prob. B2.2CCOCh. B - Prob. B2.3CCOCh. B - Prob. B2.1CCTCh. B - Prob. B2.2CCTCh. B - Prob. B2.3CCTCh. B - Prob. B2.4CCTCh. B - Prob. B2.5CCTCh. B - Prob. B2.1MBDCh. B - Prob. B2.2MBDCh. B - Prob. B2.3MBDCh. B - Prob. B2.4MBDCh. B - Prob. B3.1CCOCh. B - Prob. B3.2CCOCh. B - Prob. B3.3CCOCh. B - Prob. B3.4CCOCh. B - Prob. B3.1CCTCh. B - Prob. B3.2CCTCh. B - Prob. B3.3CCTCh. B - Prob. B3.4CCTCh. B - Prob. B3.1MBDCh. B - Prob. B4.1CCOCh. B - Prob. B4.2CCOCh. B - Prob. B4.3CCOCh. B - Prob. B4.4CCOCh. B - Prob. B4.5CCOCh. B - Prob. B4.6CCOCh. B - Prob. B4.1CCTCh. B - Prob. B4.2CCTCh. B - Prob. B4.3CCTCh. B - Prob. B4.4CCTCh. B - Prob. B4.5CCTCh. B - Prob. B4.1MBDCh. B - Prob. B4.2MBDCh. B - Prob. B4.3MBDCh. B - Prob. B4.4MBDCh. B - Prob. B5.1CCOCh. B - Prob. B5.2CCOCh. B - Prob. B5.3CCOCh. B - Prob. B5.4CCOCh. B - Prob. B5.5CCOCh. B - Prob. B5.1CCTCh. B - Prob. B5.2CCTCh. B - Prob. B5.4CCTCh. B - Prob. B5.5CCTCh. B - Prob. B5.1MBDCh. B - Prob. B5.2MBDCh. B - Prob. B5.3MBDCh. B - Prob. B5.4MBDCh. B - Prob. B5.5MBDCh. B - Prob. B5.6MBDCh. B - Prob. B6.1CCOCh. B - Prob. B6.2CCOCh. B - Prob. B6.3CCOCh. B - Prob. B6.4CCOCh. B - Prob. B6.5CCOCh. B - Prob. B6.1CCTCh. B - Prob. B6.2CCTCh. B - Prob. B6.3CCTCh. B - Prob. B6.4CCTCh. B - Prob. B6.5CCTCh. B - Prob. B6.1MBDCh. B - Prob. B6.2MBDCh. B - Prob. B6.3MBDCh. B - Prob. B6.4MBDCh. B - Prob. B7.1CCOCh. B - Prob. B7.2CCOCh. B - Prob. B7.3CCOCh. B - Prob. B7.4CCOCh. B - Prob. B7.5CCOCh. B - Prob. B7.6CCOCh. B - Prob. B7.7CCOCh. B - Prob. B7.1CCTCh. B - Prob. B7.2CCTCh. B - Prob. B7.3CCTCh. B - Prob. B7.4CCTCh. B - Prob. B7.1MBDCh. B - Prob. B7.2MBDCh. B - Prob. B7.3MBDCh. B - Prob. B7.4MBDCh. B - Prob. B8.1CCOCh. B - Prob. B8.2CCOCh. B - Prob. B8.3CCOCh. B - Prob. B8.4CCOCh. B - Prob. B8.5CCOCh. B - Prob. B8.6CCOCh. B - Prob. B8.1CCTCh. B - Prob. B8.2CCTCh. B - Prob. B8.3CCTCh. B - Prob. B8.1MBDCh. B - Prob. B8.2MBDCh. B - Prob. B9.1CCOCh. B - Prob. B9.2CCOCh. B - Prob. B9.3CCOCh. B - Prob. B9.4CCOCh. B - Prob. B9.1CCTCh. B - Prob. B9.2CCTCh. B - Prob. B9.3CCTCh. B - Prob. B9.4CCTCh. B - Prob. B9.5CCTCh. B - Prob. B9.1MBDCh. B - Prob. B9.2MBDCh. B - Prob. B9.3MBDCh. B - Prob. B9.4MBDCh. B - Prob. B9.5MBDCh. B - Prob. B9.6MBDCh. B - Prob. B10.1CCOCh. B - Prob. B10.2CCOCh. B - Prob. B10.3CCOCh. B - Prob. B10.4CCOCh. B - Prob. B10.5CCOCh. B - Prob. B10.6CCOCh. B - Prob. B10.7CCOCh. B - Prob. B10.8CCOCh. B - Prob. B10.1CCTCh. B - Prob. B10.2CCTCh. B - Prob. B10.3CCTCh. B - Prob. B10.4CCTCh. B - Prob. B10.5CCTCh. B - Prob. B10.1MBDCh. B - Prob. B10.2MBDCh. B - Prob. B10.3MBDCh. B - Prob. B10.4MBDCh. B - Prob. B10.5MBDCh. B - Prob. B11.1CCOCh. B - Prob. B11.2CCOCh. B - Prob. B11.3CCOCh. B - Prob. B11.1CCTCh. B - Prob. B11.2CCTCh. B - Prob. B11.3CCTCh. B - Prob. B11.4CCTCh. B - Prob. B11.1MBDCh. B - Prob. B11.2MBDCh. B - Prob. B11.3MBDCh. B - Prob. B11.4MBDCh. B - Prob. B12.1CCOCh. B - Prob. B12.2CCOCh. B - Prob. B12.3CCOCh. B - Prob. B12.4CCOCh. B - Prob. B12.1CCTCh. B - Prob. B12.2CCTCh. B - Prob. B12.3CCTCh. B - Prob. B12.1MBDCh. B - Prob. B12.2MBDCh. B - Prob. B12.3MBDCh. B - Prob. B12.4MBDCh. B - Prob. B12.5MBDCh. B - Prob. B12.6MBD
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Text book image
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Text book image
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
Text book image
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education