Big Ideas #2: Data #1 Flashcards

:,T (13 cards)

1
Q

A programmer is writing a program that is intended to be able to process large amounts of data.

Wotf considerations is LEAST likely to affect the ability of the program to process larger data sets?

A

B. How many programming statements the program contains

Answer B: How many programming statements the program contains

The number of statements in a program is not likely to affect how a program will handle larger data sets. The efficiency of a program is independent of the number of statements it contains. There are some programs with very few statements that take a long time to execute, as well as programs with many statments that take little itme to execute.

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

Executing wotf sequences of steps will enable the algorith mto work as intended?

i. First shorten, then keep palindromes, then sort

ii. First keep palindromes, then shorten, then sort

iii. First sort, then keep palindromes, then shorten

A

D. ii and iii [(first keep palindromes, then shorten, then sort) and (first sort, then keep palindromes, then shorten)]

Answer D: ii and iii
Options ii and iii perform the steps in a correct order. In order to generate the desired list, the algorithm must perform the shorten step after the keep palindromes step, otherwise the keep palindromes step would not be able to determine whether the original word was a palindrome.

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

A digital photo gile contains data representing the level of red, green, and blue for each pixel in the phone. The file also contains metadata that describes the data and geographic location where the photo was taken.

For which of the following goals would analyzing the metadata be more appropriate than analysing the data?

A

B. Determining the likelihood that the photo was taken at a particular public event.

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

A group of students take hundred of digital photos for a science project about weather patterns.

Each photo file contains data representing the level of red, green, and blue for each pixel in the photo. The file also contains metadata that describes the date, time, and geographic location where the photo was taken.

Fwo the following goals would analyzing the metadata be more appropriate than analyzing data? (Set 2 answers)

A

A. Determing the chronological order of the photos.

D. Determining whether two photos were taken at the same location on different days

Answer A: Determing the chronological order of the photos

The time and date that a photo is taken is considered metadata about the image. This info can be used to determine the chronological order of the images.

Answer D: Determing whether two photos were taken at the same location on different days

The location and date that a photo is taken is considered metadata about the image. This info can be used to determine whether two pictures were taken at the same location on different dates.

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

ASCII characters can also be represented by hexadecimal numbers. According to ASCII character encoding, which of the folloiwng letters is represented by the hexadecimal (base 16) number 56?

A

C. V

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

What ASCII character is represented by the binary (base 2) number 1001010?

A

C. J

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

A file storage application allows users to save their files on cloud servers. A group of researchers gathered user data for the first eight years of the applicaitons existence.

note: 1MB = 1000 KB)

A

A. Across all eight years, the average amount of data stored per user was about 10 GB

Answer A: Across all eight years, the average amount of data stored per user was about 10 GB.

The 2 line graphs are roughly the same shape. Each value on the right line graph is about 10 times the corresponding value on the left line graph. Therefore, the avearge amount of data stored per user is about 10 GB.

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

What is the binary RGB triplet for the color INDIGO?

A

C.
(0-1-00-1-0-11, 00000000, 1-00000-1-0 )

Answer C: (01001011, 00000000, 10000010)
The decimal value of 75 is equal to 64+ 8+2+1, which is equal to 2^6 + 2^3+ 2^1+ 2^0, which is equal to the binary number 01001011. The decimal value 0 is equal to the binary number 00000000. The decimal value 130 is equal to 128+ 2, which equal to 2^7+2^1, which is equal to the binary number 10000010.

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

According to info in the table, what color is represented by the binary RGB triplet (11111111, 11111111, 11110000)?

A

A. Ivory

Answer A: Ivory
The binary # 11111111 is equalto 2^7+2^6+2^5+2^4+2^3+2^2+2^1+2^0, or 255.

The binary # 11110000 is equal to 2^7+2^6+2^4, or 240. Therefore, the given binary triplet represents the color ivory.

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

A online sotre uses 6-bit binary sequences to identify each unique item for sale. The store plans to increase the number of items it sells and is considering using 7-bit binary sequences.

Wotf best describes the result of using 7-bit sequences instead of 6-bit sequences?

A

C. 2 times as many items can be uniquely identified.

**Answer C: **2 times as many items can be uniquely identified.

Using 6-bit binary seq allows for 26 or 64 different items to be identified. Using 7-bit binary seq allows for 27 or 128 different items to be identified. Thus there are two times as many items that can be uniquely identified.

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

Biologists often attach tracking collars to wild animals? For each animal, the following geolocation data is collected at freq intervals.

The time 
The date 
The location of animal 

Wotf questions about a particular animal could NOT be answered using only the data collected from the tracking collars?

A

C. Do the movement patterns of the animal vary according to the weather?

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

A store employee wants to calculate the total amount of money the store will receive if they sell all of the available science fiction books. Which columns in the database can be ignored and still allow the employee to perform this calculation?

A

A. Author

B. Title

**Answer A: **Author
In order to perform the desired calculation, the selling price, the genre, and the quantity available are needed. The author is NOT needed.

Answer B: Title
In order to perform the desired calculation, the selling price, the genre, and the quantity available are needed. The title is NOT needed.

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