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, Score: 13 out of 15

Document Content and Description Below

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

Add to cart

Instant download

We Accept:

We Accept
document-preview

Buy this document to get the full access instantly

Instant Download Access after purchase

Add to cart

Instant download

We Accept:

We Accept

Reviews( 0 )

$7.50

Add to cart

We Accept:

We Accept

Instant download

Can't find what you want? Try our AI powered Search

OR

REQUEST DOCUMENT
39
0

Document information


Connected school, study & course


About the document


Uploaded On

Apr 05, 2023

Number of pages

6

Written in

Seller


seller-icon
PAPERS UNLIMITED™

Member since 2 years

484 Documents Sold


Additional information

This document has been written for:

Uploaded

Apr 05, 2023

Downloads

 0

Views

 39

Document Keyword Tags

More From PAPERS UNLIMITED™

View all PAPERS UNLIMITED™'s documents »
What is Browsegrades

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 are here to help

We're available through e-mail, Twitter, Facebook, and live chat.
 FAQ
 Questions? Leave a message!

Follow us on
 Twitter

Copyright © Browsegrades · High quality services·