Programming > QUESTIONS & ANSWERS > CMPE 102 Shell programming - San Jose State University - Chapter 9 Quiz: SP22: CMPE-102 Sec 04 - Ass (All)
CMPE 102 Shell programming - San Jose State University - Chapter 9 Quiz: SP22: CMPE-102 Sec 04 - Assembly Language Programming. MAY 2022. Score for this quiz: 14 out of 15. Chapter 9 Quiz: SP22: CMPE- ... 102 Sec 04 - Assembly Language Programming https://sjsu.instructure.com/courses/1479457/quizzes/1571205 1/6 Chapter 9 Quiz LATEST Attempt 1 9 minutes 13 out of 15 Score for this quiz: 13 out of 15 Submitted Apr 16 at 4:53pm This attempt took 9 minutes. Chapter 9 Quiz This quiz is a self-check opportunity to test your knowledge of the topics and concepts for this learning objective. Please reach out to your instructor with any questions that you may have. Question 1 1 / 1 pts The MOVSW instruction copies a word from the location addressed by ESI to the location addressed by EDI. false 13:09:17 GMT -05:00 5/18/22, 10:40 PM Chapter 9 Quiz: SP22: CMPE-102 Sec 04 - Assembly Language Programming https://sjsu.instructure.com/courses/1479457/quizzes/1571205 2/6 true Question 2 1 / 1 pts The Str_compare procedure returns no value in the EAX register. Instead, it sets the Carry and Zero flags. false true Question 3 1 / 1 pts The LODSD instruction loads a doubleword from the memory location addressed by ESI. true false Question 4 1 / 1 pts The CMPSW instruction uses memory pointed to by EDI as the source operand. true false 13:09:17 GMT -05:00 5/18/22, 10:40 PM Chapter 9 Quiz: SP22: CMPE-102 Sec 04 - Assembly Language Programming https://sjsu.instructure.com/courses/1479457/quizzes/1571205 3/6 Question 5 1 / 1 pts The REPNZ CMPSB instruction pair will execute as long as the byte pointed to by ESI is not equal to the byte pointed to by EDI. true false Question 6 1 / 1 pts When calling Str_compare in the Irvine32 library, you can pass arguments to it in 32-bit registers. true false Question 7 1 / 1 pts The Str_trim procedure has a second parameter that holds the character to be trimmed from the end of the string. false true 13:09:17 GMT -05:00 5/18/22, 10:40 PM Chapter 9 Quiz: SP22: CMPE-102 Sec 04 - Assembly Language Programming https://sjsu.instructure.com/courses/1479457/quizzes/1571205 4/6 Question 8 1 / 1 pts The EDX and ECX registers can be combined in a based-indexed operand. false true Question 9 1 / 1 pts array[EDX+ESI] is an example of a base-index-displacement operand. false true Question 10 1 / 1 pts Binary search uses a divide and conquer strategy. false true Question 11 0 / 1 pts 13:09:17 GMT -05:00 5/18/22, 10:40 PM Chapter 9 Quiz: SP22: CMPE-102 Sec 04 - Assembly Language Programming https://sjsu.instructure.com/courses/1479457/quizzes/1571205 5/6 On the first pass through an array of N items, the inner loop of a bubble sort executes N - 1 times. ou Answered ou Answered false orrect Answer orrect Answer true Question 12 1 / 1 pts If an O(n ) sorting algorithm requires 0.2 seconds to sort an array of 1,000 elements, it will require 200 seconds to sort 10,000 elements. 2 true false Question 13 0 / 1 pts In 64-bit mode, operands that use register indexes must use 64-bit registers. You can use both base-index operands and base-indexdisplacement operands. orrect Answer orrect Answer true ou Answered ou Answered false Question 14 1 / 1 pts 13:09:17 GMT -05:00 5/18/22, 10:40 PM Chapter 9 Quiz: SP22: CMPE-102 Sec 04 - Assembly Language Programming https://sjsu.instructure.com/courses/1479457/quizzes/1571205 6/6 The REPNE prefix repeats an instruction while the Zero flag is set, and ECX is greater than zero. false true Question 15 1 / 1 pts The CLD instruction causes the ESI and EDI registers to be increased in value by the MOVSB instruction. false true \ [Show More]
Last updated: 2 years ago
Preview 1 out of 6 pages
Buy this document to get the full access instantly
Instant Download Access after purchase
Buy NowInstant download
We Accept:
Can't find what you want? Try our AI powered Search
Connected school, study & course
About the document
Uploaded On
Apr 23, 2023
Number of pages
6
Written in
All
This document has been written for:
Uploaded
Apr 23, 2023
Downloads
0
Views
102
Scholarfriends.com Online Platform by Browsegrades Inc. 651N South Broad St, Middletown DE. United States.
We're available through e-mail, Twitter, Facebook, and live chat.
FAQ
Questions? Leave a message!
Copyright © Scholarfriends · High quality services·