Programming > QUESTIONS & ANSWERS > CMPE 102 Shell programming - San Jose State University_ CMPE-102 Sec 04 - Assembly Language Programm (All)
CMPE 102 Shell programming - San Jose State University_ CMPE-102 Sec 04 - Assembly Language Programming Chapter 9 Quiz: SP22: CMPE-102 Sec 04 - Assembly Language Programming https://sjsu.instructure.... com/courses/1479457/quizzes/1571205 1/6 Chapter 9 Quiz Due Apr 17 at 11:59pm Points 15 Questions 15 Available Apr 11 at 12am - May 20 at 11:59pm about 1 month Time Limit 20 Minutes Instructions Attempt History Attempt Time Score 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 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 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 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 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. 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 false Question 14 1 / 1 pts 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 Quiz Score: 13 out of 15 [Show More]
Last updated: 1 year ago
Preview 1 out of 6 pages
Buy this document to get the full access instantly
Instant Download Access after purchase
Add to cartInstant download
We Accept:
Connected school, study & course
About the document
Uploaded On
Apr 05, 2023
Number of pages
6
Written in
This document has been written for:
Uploaded
Apr 05, 2023
Downloads
0
Views
39
In Browsegrades, a student can earn by offering help to other student. Students can help other students with materials by upploading their notes and earn money.
We're available through e-mail, Twitter, Facebook, and live chat.
FAQ
Questions? Leave a message!
Copyright © Browsegrades · High quality services·