Data Representation IT Flashcards

(26 cards)

1
Q

What is data representation in IT?

A

The method of encoding data in a format that can be processed by computers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

True or False: Data can only be represented in binary format.

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Fill in the blank: The smallest unit of data in a computer is called a ______.

A

bit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a byte?

A

A group of 8 bits.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Which of the following is a common data type in programming? A) Integer B) String C) Boolean D) All of the above

A

D) All of the above

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the purpose of data encoding?

A

To convert data into a specific format for efficient processing and storage.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

True or False: ASCII is a character encoding standard.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What does UTF-8 stand for?

A

Unicode Transformation Format - 8-bit.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Fill in the blank: In hexadecimal, the decimal number 15 is represented as ______.

A

F

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the main advantage of using binary data representation?

A

It is the most efficient format for computers to process.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is a data structure?

A

A way of organizing and storing data to enable efficient access and modification.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

True or False: A float is a data type that can represent decimal numbers.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is a common use for the JSON format?

A

Data interchange between a server and a web application.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Which of the following represents a binary number? A) 1010 B) 123 C) 0x1A D) 15

A

A) 1010

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What does the term ‘endianness’ refer to?

A

The order of bytes in a multi-byte data type.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Fill in the blank: A ______ is a sequence of characters used to represent text.

17
Q

What is the difference between a primary key and a foreign key in databases?

A

A primary key uniquely identifies a record, while a foreign key is a reference to a primary key in another table.

18
Q

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.

19
Q

What is the maximum value of an 8-bit unsigned integer?

20
Q

What is a character set?

A

A collection of characters that can be used in data representation.

21
Q

Which data type would you use to store a true or false value?

22
Q

What is the role of a compiler in data representation?

A

To translate high-level programming code into machine code.

23
Q

Fill in the blank: The decimal number 10 in binary is represented as ______.

24
Q

What is a relational database?

A

A database that stores data in tables and allows relationships between tables.

25
True or False: A character can be represented by more than one byte in UTF-16 encoding.
True
26
What is a key-value store?
A type of NoSQL database that uses a simple key-value method to store data.