Midterm - Study - Sample Questions - Posted
Midterm - Study - Sample Questions - Posted
The midterm exam will have up to 50 questions: multiple choice and T/F.
The exam is closed book. You cannot bring calculator to the exam.
The exam covers lectures, book chapters and other posted reading material, and hw-
assignments for week 1~6 (i.e., module 1, 2-part_I , 2-part_II, 3, 4, 5).
1. Using the opcode table below, What is the binary machine language instruction for
Multiply?
a. 1111 0100
b. 0110 0011
c. 1111 0110
d. 0010 1100
4. Calculate the size of a video file in terms of GB if each frame comprises of 512x512
pixels with 6 bits assigned per pixel with a frame rate of 24 fps and lasts for 30 minutes.
a.. 32 G
b. 0.1875 MB
c. 7.91 GB
d.. 700 GB
e. None of the above
13. Calculate how many bits there are in a 4 KB digital audio file.
a. 4,000 bits
b. 32,000 bits
c. 32,768 bits
d. 4,096 bits
e. None of the above
14. How many “adds” does it take the ALU to process a 64 bit number if the word length is 16?
a. 3
b. 4
c .1
d. 2
15. In the Von Neumann Model, communication between the memory and processing unit consists of the
Memory Address Register (MAR) and the Memory Data Register (MDR).
a. True
b. False
16. What are CPU cycles during instruction processing? List in the correct order.
a. Fetch, decode, execute, write-back
b. Decode, fetch, write-back, execute
c. Execute, fetch, decode, write-back
d. Wrote-back, fetch, execute, decode
19. Which of the following is a memory element that temporary holds a single unit or word of data?
a. Arithmetic Logic Unit (ALU)
b. Control Unit
c. Registers
d. None of the Above
e. All of the Above
20. Which of the following indicates the amount of time between two pulses of an oscillator (1 and 0) and
measures the speed of the processor?
a. Control Unit
b. Clock cycle
c. Cache
d. None of the Above
e. All of the Above
19. Which of the following translates assembly language code to machine code?
a. Assembler
b. compiler
c. Cache
d. None of the Above
e. All of the Above
20. Which of the following transforms high-level source code in a high-level programming language into a low
level object code (binary code)?
a. Assembler
b. Compiler
c. Cache
d. None of the Above
e. All of the Above
21. When the control unit swings into action, which step comes first?
a. Perform arithmetic operations.
b. Load data into the ALU.
c. Fetch an instruction.
d. Execute the instruction.
22. Which Processor Instruction Execution method simultaneous use of more than one processor (multiple cores) to
execute a program?
a. Serial processing
b. Pipeline processing
c. Parallel Processing
d. None of the Above
e. All of the Above
23. Which Processor Instruction Execution method processes data one instruction at a time, completing one
instruction before beginning another?
a. Serial processing
b. Pipeline processing
c. Parallel Processing
d. None of the Above
e. All of the Above
24. Which Processor Instruction Execution method allows a processor to begin executing an instruction before
completing the previous instruction?
a. Serial processing
b. Pipeline processing
c. Parallel Processing
d. None of the Above
e. All of the Above
25. Which CPU cache allows a microprocessor to access data the fastest?
a. Level 1 cache (L1)
b. Level 2 cache (L2)
c. Level 3 cache (L3)
d. None of the Above
e. All of the Above
27. To represent the color gray in RGB system, the decimal value for green is 128. What are the equivalent
hexadecimal and binary values for green?
a. 80 and 10000000
b. 81 and 10100001
c. 82 and 10000010
d. 128 and 1000100
28. A characteristic of bitmap graphics is that they are resolution dependent, so that reducing the resolution
also reduces the image quality.
a. True
b. False
29. Vector graphics require more storage space than bitmaps, but vectors can be enlarged without becoming
pixelated.
a. True
b. False
30. What is the storage needed to store one video frame with 2080x1040 resolution in True-color format?
a. 415334400 bits
b. 2163200 bits
c. 6489600 bits
d. 51916800 bits
31. Based on the diagram below for Run Length Encoding (RLE), what is the repeat count for the Pixel value
of 22?
a. 9
b. 12
c. 30
d. 6
e. 8
32. Which step in the research process tells the reader what other researchers have discovered about the topic
of the paper, or tells the reader about other relevant research?
33. Which step in the research process is a tentative assumption made in order to draw out and test its logical or
empirical consequences to a scientific question?
a. Formulating the hypothesis
b. Literature Review
c. Data Collection
d. Data Analysis
e. Results
15
Week 3
9. The ________________is an example of a simple, functional digital circuit built from two logic gates.
A. Full Adder
B. Half adder
C. Two-bit adder
D. All of the above
Week 4
11. _________________ refers to the number of times per second that a sound is measured during the
recording process.
A. Bit rate
B. Sampling rate
C. Frame rate
D. Bit rate
12. ______________________is the process by which machines produce sound that resembles spoken words
(Digital to Analog conversion).
A. Speech recognition
B. Speech synthesis
C. Speech sampling
D. All of the above
13. Graphics stored in True Color format require _____ bits for each pixel.
A. 36
B. 16
C. 24
D. 48
14. ___________________is a representation of a 3-D object using separate lines, which resemble wire, to
create a model.
A. Scale
B. Wireframe
C. Vector image
D. Bitmap image
15. The number of frames that are displayed per second is the ____________
A. Image rate
B. Bit rate
C. Frame rate
D. Pixel rate
17. ________________provides a way to compress data and reconstitute it into its original state; uncompressed
data stays exactly the same as the original data. Reduces the file size, not the quality
A. File Zipping
B. Lossy compression
C. Lossless compression
D. Encryption
19. _________________is a type of lossless compression that replaces a series of similarly colored pixels with
a binary code that indicates the number of pixels and their colors
A. Resolution-length encoding
B. Run-length encoding
C. Raster-length encoding
D. None of the above
20. ___________ stores only the pixels that change color from one frame to the next
A. Image compression
B. Interframe compression
C. Neither A or B
D. Both A and B
1. Gigabyte is:
a. binary b. octal
c. decimal d. hex
10. Which type of signal varies smoothly and continuously over time?
a. Digital signal
b. Analog signal
c. All of the above
d. None of the above
a. 128 b. 256
c. 64 d. 255
a. 1 b. 0
c. both d. unknown
16. The carry bit status two`s complement arithmetic operation 7-5= +2 is:
a. 1 b. 0
c. both d. unknown
a. 1 b. 8
c. 16 d. 256
a. 194 b. 128
c. 137 d. 136