CS101 Quizes
CS101 Quizes
23. Which geometric structure is most commonly used for image scaling?
- A) Pixel
- B) Vector
- C) Bitmap
- D) Matrix
31. In binary notation, what does the decimal number 10 convert to?
- A) 1000
- B) 1010
- C) 1100
- D) 1110
32. The power method for binary numbers determines:
- A) The total number of bits
- B) The value of each bit position
- C) The decimal equivalent
- D) The hexadecimal equivalent
33. To convert a decimal number to binary, you would use division by:
- A) 10
- B) 2
- C) 8
- D) 16
36. The radix point in binary is equivalent to which of the following in decimal?
- A) Period
- B) Comma
- C) Hyphen
- D) Slash
42. Adding two negative numbers in 2’s complement can lead to:
- A) An overflow
- B) A carried 1
- C) A loss of precision
- D) An underflow
60. What category do the instructions for arithmetic operations belong to?
- A) Control instructions
- B) Data transfer instructions
- C) Arithmetic instructions
- D) Logic instructions
61. What is a common method for data transfer between CPU and memory?
- A) Direct Memory Access (DMA)
- B) Pipelining
- C) Interrupt handling
- D) Software toggling
65. In a program execution cycle, the action of loading an instruction from memory is
known as:
- A) Writing
- B) Fetching
- C) Storing
- D) Executing
68. The arithmetic operator for multiplication in many programming languages is:
- A) *
- B) x
- C) #
- D) %
--------------------------------------------------------------------------------------
10. In audio files, which of the following formats is commonly compressed using
lossy compression?
- A) WAV
- B) FLAC
- C) MP3
- D) AIFF
12. What does the acronym MIDI stand for in music technology?
- A) Musical Instrument Data Interface
- B) Music Internal Digital Interface
- C) Musical Input Device Interface
- D) Music Indirect Display Interface
13. In the context of sound, the term "sampling rate" refers to:
- A) The number of channels in an audio file
- B) The number of samples taken per second
- C) The size of the audio file
- D) The quality of sound output
15. What is the maximum decimal value that can be represented in 4 bits?
- A) 8
- B) 15
- C) 16
- D) 7
16. In digital communication, what does the acronym CRC stand for?
- A) Centralized Resource Control
- B) Cyclic Redundancy Check
- C) Common Return Channel
- D) Computerized Redundancy Checksum
18. Which of the following methods is NOT typically used for audio compression?
- A) PCM
- B) AAC
- C) WMA
- D) TIFF
22. What does the acronym VRAM stand for in graphics hardware?
- A) Video Random Access Memory
- B) Variable Read Access Memory
- C) Virtual Readable Access Memory
- D) Video Read Access Memory
24. In computer graphics, what does the term "texture mapping" refer to?
- A) Adding detail to 2D images
- B) Applying a texture to 3D models
- C) Compressing image files
- D) Color correction in rendering
35. Which file format supports both lossy and lossless compression?
- A) JPEG
- B) PNG
- C) WEBP
- D) TIFF
41. What does the abbreviation SQL stand for in database management?
- A) Structured Query Language
- B) Standard Query Language
- C) Systematic Query Language
- D) Structured Quick Language
43. What is the primary purpose of the Domain Name System (DNS)?
- A) To assign IP addresses to devices
- B) To translate domain names into IP addresses
- C) To secure web traffic
- D) To balance network loads
44. The format that uses a lossless method of compression while retaining
transparency is:
- A) JPEG
- B) PNG
- C) GIF
- D) TIFF
45. In programming, which of the following is a common data structure that uses
key-value pairs?
- A) Array
- B) Queue
- C) Hash Table
- D) Stack
48. The term used to describe the reduction of file size without losing any quality is
called:
- A) Compression
- B) Decompression
- C) Compilation
- D) Conversion
----------------------------------------------------------------------------------------------------------
1. In binary notation, what is the decimal equivalent of the binary number 1101?
- A) 11
- B) 13
- C) 14
- D) 15
2. What is the power of 2 representation used to express the binary number 10110?
- A) \(2^4 + 2^2\)
- B) \(2^5 + 2^3 + 2^1\)
- C) \(2^4 + 2^3 + 2^1\)
- D) \(2^5 + 2^2 + 2^0\)
3. To find the binary representation of the decimal number 25, which process is
used?
- A) Divide by 2 and keep track of the remainders.
- B) Multiply by 2 until you reach 0.
- C) Subtract the largest powers of 2.
- D) Convert into hexadecimal first.
4. What is the result of adding two binary numbers: 1011 and 1101?
- A) 10000
- B) 10100
- C) 1110
- D) 11000
6. In the context of binary fractions, what does the radix point represent?
- A) The point where the number begins
- B) The division between whole numbers and fractional parts
- C) The average value of a binary number
- D) The standard form of binary notation
7. Given the binary number 110101.1, what is the value of the fractional part?
- A) 0.1
- B) 0.25
- C) 0.5
- D) 0.75
11. When converting a positive binary number to a negative representation using 2’s
complement, the procedure includes:
- A) Adding one to the binary number
- B) Inverting the bits and adding one
- C) Shifting to the left
- D) Doubling the binary number
12. What is the result of adding the 2’s complement binary numbers 0110 and 1100?
- A) 0100
- B) 0010
- C) 1110
- D) 1 (with overflow)
13. What is a common issue that occurs when adding two binary numbers?
- A) Information Loss
- B) Overflow
- C) Underflow
- D) Loss of precision
15. Which of the following describes how numbers are represented in Excess-127
notation?
- A) Using the actual value plus 127
- B) Using powers of 10
- C) Direct binary conversion
- D) Using decimal digits
16. Excess Four notation allows for how many unique representations?
- A) 4
- B) 8
- C) 16
- D) 10
22. Which of the following describes the primary method of compressing images?
- A) Changing color depth
- B) Using lossy compression techniques like JPEG
- C) Simply reducing resolution
- D) Adjusting brightness levels
23. When compressing audio, which format is commonly used for lossy
compression?
- A) BMP
- B) MP3
- C) PNG
- D) WAV
24. In data manipulation, a CPU primarily performs which of the following tasks?
- A) Manage storage devices
- B) Execute instructions and process data
- C) Handle user input and output
- D) Transfer data over a network
25. The stored-program concept pioneered by John von Neumann refers to:
- A) Storing programs on external drives
- B) The ability to store program instructions in memory
- C) The use of punch cards for program execution
- D) The separation of software and hardware
43. In networking, what does the term “protocol” most effectively define?
- A) A physical connection method
- B) A set of rules governing data communication
- C) The layout of network devices
- D) The bandwidth of a connection
---------------------------------------------------------------
1. In binary notation, what is the 8-bit representation of the decimal number 63?
- A) 00111111
- B) 00110111
- C) 01111111
- D) 01100111
3. What might be the result of adding the binary numbers 1110 and 0001?
- A) 1111
- B) 10000
- C) 1110
- D) 0001
5. To convert the decimal number 5 into binary, which sequence of operations would
you perform?
- A) Subtract 3 and convert
- B) Divide by 2 and record the remainders
- C) Multiply by 2 constantly
- D) Add numbers until reaching 5
6. In the context of binary representation, what does the term "overflow" refer to?
- A) An error in data transmission
- B) When the result of an arithmetic operation exceeds the range representable by
the number of bits
- C) Data being lost due to network issues
- D) Maximum memory usage in a CPU
7. Excess-127 notation is used primarily in which context?
- A) Image encoding
- B) Floating-point representation
- C) Integer programming
- D) Network protocols
9. What is the pattern for converting a number from 2's complement back to its
original decimal form?
- A) Add 1 to the least significant bit
- B) Invert the bits and add 1
- C) Subtract the max representable value
- D) Multiply the significant digits by their place values
11. Given a binary overflow occurs after adding two 8-bit 2's complement numbers,
what is the logical conclusion?
- A) The result still can be interpreted correctly
- B) The result wraps around and can be misinterpreted
- C) An error occurs without a resultant value
- D) The addition operation cannot be performed
12. In radix point representation, what does the position of the digit determine?
- A) The numerical value of the digit
- B) The overall number of non-unique values
- C) The corresponding byte size
- D) The encryption process
14. If given the binary fraction 0.1011, how would you represent this fraction in
decimal?
- A) 0.6875
- B) 0.625
- C) 0.875
- D) 0.75
15. When considering 2's complement, the number of bits used significantly impacts
the:
- A) Data transfer speed
- B) Maximum and minimum values representable
- C) Computer power consumption
- D) Amount of memory available
16. The binary number 1011.01 contains how many digits to the right of the binary
point?
- A) 1
- B) 2
- C) 3
- D) 4
17. Excess Notation uses a fixed bias to encode positive and negative numbers. What
is the bias used for Excess-2 notation?
- A) 1
- B) 2
- C) 3
- D) 127
20. When a floating-point operation exceeds its range and results in an undefined
number, this is commonly referred to as:
- A) Underflow
- B) Overflow
- C) Rounding error
- D) Truncation error
21. What is one of the practical challenges with floating-point arithmetic in
programming?
- A) They consume excess memory
- B) They cannot represent integer data
- C) Rounding errors may occur due to finite precision
- D) They are not supported in most programming languages
22. Which of the following is NOT a typical method for handling truncation errors in
floating point arithmetic?
- A) Using a lower precision format
- B) Rounding the result to the nearest representable number
- C) Arbitrary-precision arithmetic libraries
- D) Normalization of results
27. The process of retrieving and executing instructions from memory is known as:
- A) Fetch-decode-execute cycle
- B) Data transfer cycle
- C) Memory allocation cycle
- D) Instruction set cycle
32. Which operating system component is responsible for managing processes and
memory?
- A) Shell
- B) Kernel
- C) User Interface
- D) Application Software
42. What is the primary method used for connecting computers in a LAN?
- A) Optical fiber
- B) Copper cables
- C) Wireless connections
- D) Satellite connections
50. In a simple CPU architecture, which component is responsible for fetching and
decoding instructions?
- A) Memory unit
- B) Control unit
- C) Cache
- D) Input/Output unit