Computer Architecture  >  EXAM  >  CECS 341 Exam 1 | Questions with 100% Correct Answers (All)

CECS 341 Exam 1 | Questions with 100% Correct Answers

Document Content and Description Below

CECS 341 Exam 1 | Questions with 100% Correct Answers A computer in an Amazon building accessed by thousands of people for online shopping. a. Embedded b. Server c. PC A terabyte is one _____ bytes ... . a. Thousand b. Million c. Billion d. Trillion The collection of software on a computer that provides services to application software. a. System software b. Application software c. Compiler The ISA includes anything programmers need to know to make a binary machine language program work correctly, including instructions, I/O devices, and so on. a. True b. False "Bit" is short for "binary digit." a. True b. False Computers use binary because binary is more powerful than decimal numbers. a. True b. False Operating system and compiler are central to every computer system. a. True b. False Although binary's alphabet contains only two "letters", 0 and 1, the binary alphabet can represent as much information as the English alphabet's 26 letters. a. True b. False The number 12 can be represented in binary as 1100. If a computer's memory location contains 00001100, then that location contains the number 12. a. True b. False The corresponding binary representation of number 5C in hexadecimal is ___. a. 10101110 b. 01011101 c. 01011100 d. 10111100 An advantage of a high-level language (HLL) is allowing a programmer to ________ a. Think more naturally b. Think like a machine The following could be an assembly language instruction: 1000110010100000. a. True b. False Computer A requires 10 seconds to compress a file. Computer B requires 5 seconds. Which computer has the higher performance? a. A b. B Computer A: 2GHz, 10s CPU time. In order to design a computer B with 6s CPU time and 2.4 times clock cycles (CPI) of computer A assuming both use the same amount of instruction count, how fast must computer B clock be? a. 2 GHz b. 4 GHz c. 6 GHz d. 8 GHz e. None of above To determine how many times faster Computer C is than Computer D, which is the correct calculation? a. PerfC / PerfD b. PerfD / PerfC A given application written in Java runs 15 seconds on a desktop processor. A new Java compiler is released that requires only 0.6 as many instructions as the old compiler. Unfortunately, it increases the CPI by 1.1. How fast can we expect the application to run using this new compiler? a. 15x 0.6 /1.1 = 8.2 sec 3 b. 15 x 0.6 x 1.1 = 9.9 sec c. 15 x 1.1 / 0.6 = 27.5 sec Replacing a processor in a computer with a faster processor has what effect? a. Decreases response time b. Increases throughput c. Both (decreases response time and increases throughput) As clock rates increased in early Intel processors, power _____. a. Increased b. Decreased Which improvement has a bigger impact on power? a. 25% reduction in voltage b. 25% reduction in frequency switching Instructions, as well as data, can be stored in memory as numbers. a. True b. False Multiple operations are allowed per MIPS instruction a. True b. False The alignment restriction refers to that words must start at addresses that are multiple of 4 in MIPS a. True b. False Since registers are faster to access than memory, the compiler should keep all used variables in registers a. True b. False rt is always referred as the second source register for MIPS instruction. a. True b. False Indicate whether name $t9 refers to a MIPS register. a. True b. False Indicate whether name $one refers to a MIPS register a. True b. False Indicate whether name Memory[0] refers to a MIPS register. a. True b. False Indicate whether addi $s1, $s3, 50 is a valid MIPS instruction. a. True b. False Indicate whether lw $s1, 20($s8) is a valid MIPS instruction. a. True b. False More registers may benefit an assembly program, but may directly lead to a _____ clock frequency. a. Faster b. Same c. Slower d. Broken Assume $s3 has 5000, and words addressed 5000..5002 have the data shown: 5000: 99 5001: 77 5002: 323 What address will be computed by lw $t0, 2($s3): a. 5000 b. 5001 c. 5002 Assume $s3 has 5000, and words addressed 5000..5002 have the data shown: 5000: 99 5001: 77 5002: 323 Assume $s2 has 5001. What value will be put in $t2 by lw $t2, 1($s2)? a. 323 b. 99 c. 77 d. 88 Consider the 32-bit binary number 11100000 11000000 00000000 00000001, stored in the word with address 5000. For a big-endian architecture, what value is stored in byte 5003? a. 11100000 b. 00000000 c. 00000001 d. 11000000 Consider the 32-bit binary number 11100000 11000000 00000000 00000001, stored in the word with address 5000. For a big-endian architecture, what value is stored in byte 5001? a. 11100000 b. 00000000 c. 00000001 d. 11000000 Consider the 32-bit binary number 11100000 11000000 00000000 00000001, stored in the word with address 5000. For a little-endian architecture, what value is stored in byte 5001? a. 11100000 5 b. 00000000 c. 00000001 d. 11000000 If $s3 has 900, $t0 has 77, and memory locations 900, 904, and 908 have 10, 15, 20 respectively, what does location 904 have after the following instruction? sw $t0, 8($s3) a. 10 b. 15 c. 20 d. 77 Given the following 32-bit number, what is the most significant bit's value? 1000 0000 0000 0000 0000 0000 0000 0000 a. 0 b. 1 In two's complement, is the following number positive or negative? 1111 0000 0000 0000 0000 0000 0000 0000 a. Positive b. Negative Knowing that 231 is 2,147,483,648, what is the base ten value of the following two's complement number? 1000 0000 0000 0000 0000 0000 0000 0000 a. 0 b. -1 [Show More]

Last updated: 8 months ago

Preview 3 out of 9 pages

Buy Now

Instant download

We Accept:

Payment methods accepted on Scholarfriends (We Accept)
Loading document previews for CECS 341 Exam 1 | Questions with 100% Correct Answers

Loading document previews ...

Buy this document to get the full access instantly

Instant Download Access after purchase

Buy Now

Instant download

We Accept:

Payment methods accepted on Scholarfriends (We Accept)

Also available in bundle (1)

Click Below to Access Bundle(s)

CECS 341 EXAM 1 & 2 BUNDLE

CECS 341 EXAM 1 & 2 BUNDLE

By Nurse Henny 8 months ago

$18

2  

Reviews( 0 )

$12.00

Buy Now

We Accept:

Payment methods accepted on Scholarfriends (We Accept)

Instant download

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

99
0

Document information


Connected school, study & course


About the document


Uploaded On

Apr 01, 2025

Number of pages

9

Written in

All

Seller


Profile illustration for Nurse Henny
Nurse Henny

Member since 3 years

8 Documents Sold

Additional information

This document has been written for:

Uploaded

Apr 01, 2025

Downloads

 0

Views

 99

Document Keyword Tags

Recommended For You

Get more on EXAM »

$12.00
What is Scholarfriends

Scholarfriends.com Online Platform by Browsegrades Inc. 651N South Broad St, Middletown DE. United States.

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 © Scholarfriends · High quality services·