Data representation Flashcards
(27 cards)
What is data representation?
Data representation is the method of expressing information in a format that can be processed by a computer.
True or False: Binary is the only number system used by computers.
True
What are the two digits used in the binary system?
0 and 1
Fill in the blank: In binary, the number 2 is represented as ____.
10
What is the decimal equivalent of the binary number 101?
5
What is a bit?
A bit is the smallest unit of data in a computer, representing a single binary value (0 or 1).
What is a byte?
A byte is a group of 8 bits.
Multiple Choice: Which of the following is NOT a data type? A) Integer B) String C) Bytecode D) Float
C) Bytecode
What does ASCII stand for?
American Standard Code for Information Interchange
True or False: The ASCII code can represent 256 different characters.
False
What is the range of values for an 8-bit unsigned integer?
0 to 255
Fill in the blank: In hexadecimal, the number 15 is represented as ____.
F
What is the purpose of data encoding?
Data encoding is used to convert data into a specific format for efficient transmission or storage.
Multiple Choice: Which of the following is a common image file format? A) TXT B) JPEG C) MP3 D) HTML
B) JPEG
What is the main advantage of using binary for data representation?
Binary is less prone to errors and can be easily processed by electronic devices.
True or False: The number system used in programming is usually decimal.
False
What is a character set?
A character set is a collection of characters that can be used in text data.
Fill in the blank: A pixel is the smallest unit of a digital image, representing a single ____.
point of color
What does the term ‘data compression’ refer to?
Data compression refers to the process of reducing the size of a data file.
Multiple Choice: Which of the following is NOT a method of data compression? A) Lossy B) Lossless C) Encryption D) Run-Length Encoding
C) Encryption
What is a digital signal?
A digital signal is a signal that represents data as a sequence of discrete values.
True or False: A graphic representation of data is known as a chart.
True
What is the purpose of a data structure?
A data structure is used to organize and store data efficiently for access and modification.
Fill in the blank: A spreadsheet is an example of a ____ data representation tool.
table-based