AP Comp Science Prinp Unit 1

0.0(0)
studied byStudied by 2 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/117

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

118 Terms

1
New cards

Which of the following best describes how computing devices represent information?

2
New cards
3
New cards

A. A computer will either represent information as bits or bytes but not both

4
New cards

B. A computer represents data as a byte which is either a 0 or a 1

5
New cards

C. A computer represents data as bits which is either 0 or a 1

6
New cards

D. A computer represents information as bits which contains 8 bytes.

C. A computer represents data s bits which is either a 0 or a 1

7
New cards

Which of the following is NOT true of how computers represent complex information?

8
New cards
9
New cards

A. Computing devices use patterns of bits to represent complex information

10
New cards

B. Abstraction helps represent complex information by surfacing complexity that might otherwise be hidden

11
New cards

C. Depending on context the same sequence of bit may represent different types of information

12
New cards

D. Common abstractions that are represented by computing devices include numbers, characters, and color.

B. Abstraction helps represent complex information by surfacing complexity that might otherwise be hidden

13
New cards

When visiting a museum Lian takes a photo of a painting with a smartphone which stores the photo as an image file. Which of the following best describes the difference between the painting itself and the photo of the painting stored on the smartphone?

14
New cards
15
New cards

A. Both the painting and the photo are analog

16
New cards

B. The photo is a digital representation of the analog painting

17
New cards

C. Sampling can e used to determine whether the analog image is an accurate representation of the painting.

18
New cards

D. The phone can represent the photo in either digital or analog formats depending on the sampling technique that is used

B. The photo is a digital representation of the analog painting

19
New cards

Your computer uses 4 bits to represent decimal numbers (0, 1, 2, 3 and so on) in binary. What is the SMALLEST number for which an overflow error occur?

20
New cards
21
New cards

A. 14

22
New cards

B. 15

23
New cards

C. 16

24
New cards

D. 17

C. 16

25
New cards
26
New cards

I believe this is because you cannot represent the number sixteen with only four binary bits. The highest you can go is 15.

27
New cards

Which of the following is true of how computers represent numbers?

28
New cards
29
New cards

A. Using a fixed but large number of bits can eliminate the possibility of round off error when representing numbers in binary

30
New cards

B. With a fixed number of bits some numbers are too large to represent in a computer which will lead to overflow errors.

31
New cards

C. Using a fixed but large number of bits, for example 128, eliminates the possibility of overflow errors.

32
New cards

D. With a large but fixed number of bits it is possible to eliminate either round-off errors or overflow errors, but not both.

B. With a fixed number of bits some numbers are too large to represent in a computer which will lead to overflow errors.

33
New cards

Convert the binary (base-2) number 1001 to decimal (base-10)

34
New cards
35
New cards

A. 9

36
New cards

B. 10

37
New cards

C. 16

38
New cards

D. 17

A. 9

39
New cards
40
New cards

Refer to a flippy do, 1001 (1) = 2^3 (222) = 8, 0(null) 0(null) (1) = 2^0 (2*0) = 1

41
New cards
42
New cards

8+1 = 9

43
New cards

Convert the decimal (base-10) number 20 to binary (base-2)

44
New cards
45
New cards

A. 10010

46
New cards

B. 00101

47
New cards

C. 11000

48
New cards

D. 10100

D. 10100

49
New cards
50
New cards

Refer to a flippy do, 10100 = (2^4 = 16, 0 , 2^2 = 4, 0 ,0) 16+4 = 20, so = 10100

51
New cards

which of the following binary base-2 numbers is LARGEST?

52
New cards
53
New cards

A. 11000000

54
New cards

B. 01111111

55
New cards

C. 00000001

56
New cards

D. 10111111

A. 11000000

57
New cards
58
New cards

A = 128 + 64 + 0 +0 +0 +0 +0 +0 =0 = 192

59
New cards

B= 0 + 64 +32 + 16 +8 + 4 + 2 + 1 = 127

60
New cards

C = 0+0+0+0+0+0+0 + 1 = 1

61
New cards

D. = 128 + 0 +32 + 16 +8 +4 +2 + 1 = 191

62
New cards

How many total numbers can be represented with an 8-bit binary (base-2) system?

63
New cards
64
New cards

A. 127

65
New cards

B. 128

66
New cards

C. 255

67
New cards

D. 256

D. 256

68
New cards
69
New cards

Explanation: Add the total amount of add-able numbers in a 8-bit binary base-2 system.

70
New cards
71
New cards

2^0=1

72
New cards

2^1=2

73
New cards

2^2=4

74
New cards

2^3=8

75
New cards

2^4=16

76
New cards

2^5=32

77
New cards

2^6=64

78
New cards

2^7=128

79
New cards

1+2+4+8+16+32+64+128=255, but 00000000(which is 0) also counts as a number, so the answer is 256.

80
New cards

Which of the following is true of lossy and lossless compression algorithms?

81
New cards

A. Lossy compression algorithms are used when perfect reconstruction of the original data is important.

82
New cards

B. Lossy compression algorithms are typically better than lossless compression algorithms at reducing the number of bits needed to represent a piece of data.

83
New cards

C. Lossless compression algorithms are only used to compress text data.

84
New cards

D. Lossless compression algorithms only allow for an approximate reconstruction of the original data.

B. Lossy compression algorithms are typically better than lossless compression algorithms at reducing the number of bits needed to represent a piece of data.

85
New cards

Jorge is sending a large image file to a friend as part of a shared classroom project. Which of the following is most likely true if Jorge opts to compress the image before sending it?

86
New cards
87
New cards

A. The image can no longer be represented using bits.

88
New cards

B. The image will have been converted into an analog form.

89
New cards

C. The image will require more pixels to display it on the screen.

90
New cards

D. The image will require fewer bits in order to be represented.

D. The image will require fewer bits in order to be represented.

91
New cards
92
New cards

When a file is compressed it gives room for a lot of files to be fused into one for easy access and also to ensure that the files aren't too large for use later in the future.

93
New cards

Which of the following is true of intellectual property?

94
New cards
95
New cards

A. Information created on a computer is not owned by anyone since only analog information is protected under copyright law.

96
New cards

B. You do not need to cite work created by someone else if both the original work and your use of it are in digital form.

97
New cards

C. Creative Commons enables content creators to freely distribute their otherwise copyrighted work.

98
New cards

D. Creative Common has severely hindered broad and open access to digital information

C. Creative Commons enables content creators to freely distribute their otherwise copyrighted work.

99
New cards

Lucy is completing a project as part of a science class using materials she found online. Which of the following is MOST LIKELY to lead to legal consequences?

100
New cards

A. Modifying a piece of open source software.