Data Representation IT Flashcards
(26 cards)
What is data representation in IT?
The method of encoding data in a format that can be processed by computers.
True or False: Data can only be represented in binary format.
False
Fill in the blank: The smallest unit of data in a computer is called a ______.
bit
What is a byte?
A group of 8 bits.
Which of the following is a common data type in programming? A) Integer B) String C) Boolean D) All of the above
D) All of the above
What is the purpose of data encoding?
To convert data into a specific format for efficient processing and storage.
True or False: ASCII is a character encoding standard.
True
What does UTF-8 stand for?
Unicode Transformation Format - 8-bit.
Fill in the blank: In hexadecimal, the decimal number 15 is represented as ______.
F
What is the main advantage of using binary data representation?
It is the most efficient format for computers to process.
What is a data structure?
A way of organizing and storing data to enable efficient access and modification.
True or False: A float is a data type that can represent decimal numbers.
True
What is a common use for the JSON format?
Data interchange between a server and a web application.
Which of the following represents a binary number? A) 1010 B) 123 C) 0x1A D) 15
A) 1010
What does the term ‘endianness’ refer to?
The order of bytes in a multi-byte data type.
Fill in the blank: A ______ is a sequence of characters used to represent text.
string
What is the difference between a primary key and a foreign key in databases?
A primary key uniquely identifies a record, while a foreign key is a reference to a primary key in another table.
True or False: XML is a markup language that defines rules for encoding documents in a format that is both human-readable and machine-readable.
True
What is the maximum value of an 8-bit unsigned integer?
255
What is a character set?
A collection of characters that can be used in data representation.
Which data type would you use to store a true or false value?
Boolean
What is the role of a compiler in data representation?
To translate high-level programming code into machine code.
Fill in the blank: The decimal number 10 in binary is represented as ______.
1010
What is a relational database?
A database that stores data in tables and allows relationships between tables.