CSE 230 midterm 1 Questions with Correct Answers (Grade A+)
Question 1: An assembly language programmer's view of the microprocessor
Answer: instruction set architecture
Question 2: Assembly language instructions that can be executed by the processor
Answer: instruction set
Question 3: Storage within the processor
Answer: register
Question 4: Addresses where data comes from and where it goes when it is executed
Answer: addressing mode
Question 5: Binary encoding of instructions and data
Answer: machine language
Question 6: The representation of symbols in a source alphabet by strings of binary digits
Answer: binary encoding
Question 7: What translates symbolic assembly language code into binary machine language code?
Answer: assembler
Question 8: When using a HLL, does a programmer need an understanding of the underlying
instruction set architecture?
Answer: no
Question 9: What does using a HLL increase?
Answer: productivity
Question 10: The rate at which programmers can develop code
Answer: productivity
Page 1
, Question 11: HLLs are generally hardware-(dependent, independent).
Answer: independent
Question 12: A compiler can be written to generate machine language for (any, only one) target ISA.
Answer: any
Question 13: Programs written in HLLs are (less, more) portable than those written in assembly
language.
Answer: more
Question 14: A trait of code that means source code can be modified as required and recompiled to run
on a different machine
Answer: portability
Question 15: What is a kilobyte?
Answer: 10^3
Question 16: What is a megabyte?
Answer: 10^6
Question 17: What is a gigabyte?
Answer: 10^9
Question 18: What is a terabyte?
Answer: 10^12
Question 19: What is a petabyte?
Answer: 10^15
Question 20: What is an exabyte?
Answer: 10^18
Question 21: What is a zettabyte?
Answer: 10^21
Page 2
Question 1: An assembly language programmer's view of the microprocessor
Answer: instruction set architecture
Question 2: Assembly language instructions that can be executed by the processor
Answer: instruction set
Question 3: Storage within the processor
Answer: register
Question 4: Addresses where data comes from and where it goes when it is executed
Answer: addressing mode
Question 5: Binary encoding of instructions and data
Answer: machine language
Question 6: The representation of symbols in a source alphabet by strings of binary digits
Answer: binary encoding
Question 7: What translates symbolic assembly language code into binary machine language code?
Answer: assembler
Question 8: When using a HLL, does a programmer need an understanding of the underlying
instruction set architecture?
Answer: no
Question 9: What does using a HLL increase?
Answer: productivity
Question 10: The rate at which programmers can develop code
Answer: productivity
Page 1
, Question 11: HLLs are generally hardware-(dependent, independent).
Answer: independent
Question 12: A compiler can be written to generate machine language for (any, only one) target ISA.
Answer: any
Question 13: Programs written in HLLs are (less, more) portable than those written in assembly
language.
Answer: more
Question 14: A trait of code that means source code can be modified as required and recompiled to run
on a different machine
Answer: portability
Question 15: What is a kilobyte?
Answer: 10^3
Question 16: What is a megabyte?
Answer: 10^6
Question 17: What is a gigabyte?
Answer: 10^9
Question 18: What is a terabyte?
Answer: 10^12
Question 19: What is a petabyte?
Answer: 10^15
Question 20: What is an exabyte?
Answer: 10^18
Question 21: What is a zettabyte?
Answer: 10^21
Page 2