Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1)Which of the following are embedded systems applications? a javascript program

ID: 3857411 • Letter: 1

Question

1)Which of the following are embedded systems applications?

a javascript program running on a Web page

both  a video game for a dedicated consoleand a phone book searching program in a cellular phone

a video game for a dedicated console

an accounting program

a phone book searching program in a cellular phone

2)Which of the following is the binary translation of signed decimal -33 ?

11011111

11001100

10101011

11100011

3 )Device drivers nearly always contain some code written in

Java

an application-oriented language

machine language

Assembly Language

4) The expression NOT(x AND y) is true when X and Y are both false.

True

False

5) If an integer's sign bit is 1, the integer is positive.

True

False

6) Is the expression x OR (y AND z) equivalent to (x OR y) AND (x OR z) for all possible inputs of X, Y, and Z?

No

Yes

Cannot tell from the information given

Probably

7)

byte1 BYTE 0FFh,1,2

byte2 BYTE 14h

word1 WORD 0FFFFh,1,2

word2 WORD 3

word3 SWORD 7FFFh,8000h

word4 SWORD 9000h

dword1 DWORD 10h,20h,30h,40h

dArray DWORD 10 DUP(?)

What is the final hexadecimal value of EAX when this code executes?

mov edx,8

mov eax,dword1[edx]

00000030h

00300000h

00000010h

20000000h

8 )                 word1 WORD 1000h,2000h,3000h,4000h,5000h

dword1 DWORD 10000h,20000h,30000h,40000h

What is the final value of AX after this code has executed?

  mov esi,OFFSET word1

  mov ecx,5

  mov eax,100h

L1:    add ax,[esi]

         add ax,16

         add esi,TYPE word1

            Loop L1

F159h

F016h

F150h

0150h

Explanation / Answer

Question 1

The following which are embedded systems applications are

both a video game for a dedcated console and a phone book searching program in a cellular phone.

dedicated console have game built only for them so it cannot be played on anothere.Also a phone book searching program is built for a particular model so it is unique for it.

Question 2

The binary translation of signed decimal -33 is 11011111

Question 3

Device drivers nearly always contain some code written in Assembly Language


Question 4

The expression NOT(x AND y) is true when X and Y are both false.

The statement is True.when a and y are false the result of and gate is false and a not of false is true.