Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please let me know if these answers are right or not. Please help and explain clearly to me Multiple-Choice Questions 1. What is the value

Please let me know if these answers are right or not. Please help and explain clearly to me image text in transcribed
Multiple-Choice Questions 1. What is the value of the symbol "main" in the following line of Pep/8 assembler code: main: ADDA 0x1234, s a) 0x1234 b) SP 0x1234 0xA c) d) 0x1A. e) It cannot be determined from the given information. 2. Semaphores were developed to address what problem? a) paging b) deadlocks c) snarking d) vo requests e) critical sections 3. Which of these Pep/8 pseudo-ops would be best to declare storage and provide an initial value for one integer? a) .ASCII b) BLOCK c) .BYTE d) .EQUATE e) WORD 4. A language (not a tool or notation to describe a language is a set of a) terminal characters b) strings of terminal characters c) nonterminal characters d) strings of nonterminal characters e) grammar rules 5. Which of the following C++ keywords will produce Pep/8 assembler code that includes BR JT, x? HINT: JT is short for Jump Table. b) while c) for d) switch ey break. 6. I want to write Windows applications in C++, to be run on IBM/PC-compatible machines. I want to develop (write, compile, and assemble) these applications on an Apple Ma language must the resulting files them there. In what machine the compiler and assembler programs be represented? a) both must be in the PC's machine language b) both must be in the MacIntosh's machine language c) the assembler must be in the PC's language, the compiler must be in the MacIntosh's language d) the assembler must be in the Maclntosh's language, the compiler must in P language be the e) both must be C++ source code 7. Which of the following is not a way to define a language? a) give a grammar b) give examples of some elements c) give a finite state machine all of the above are ways to define a language e) none of the above are ways to define a language

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Learn To Program Databases With Visual Basic 6

Authors: John Smiley

1st Edition

1902745035, 978-1902745039

More Books

Students also viewed these Databases questions