Computer Science 1033 - Western University FULL FLASHCARD SET

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

1/171

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.

172 Terms

1
New cards

Fill in the blank: 72 px = ___ Inches

1 inch

2
New cards

What is the difference between San Sief and Sief?

Sief fonts has extra strokes for readability and San Sief does not.

3
New cards

What's the difference between pixels and ems?

Pixels are based off of resolution, vs ems are relative to users' default settings.

4
New cards

Kerning

horizontal spacing between pairs of letters

5
New cards

Tracking

horizontal spacing between all the characters in a large block of text

6
New cards

Leading

the vertical space between lines of text

7
New cards

What is the numerical value (RBG) of FF (hexidecimal)?

255 (F=15, 15x15)

8
New cards

If I mixed equal amounts of each color (Red, Green, and Blue), what shade would I create?

Grey

9
New cards

What does the colour #FFFFFF create?

White (The maximum saturation of all colours)

10
New cards

What does the colour #000000 create?

Black (The absence of colours)

11
New cards

What does CRAP stand for?

Contrast, Repetition, Alignment, Proximity

12
New cards

True or False: Lower Resolution creates smaller pixels and small fonts.

False. Lower resolution creates bigger pixels and larger fonts.

13
New cards

What colour would the hexadecimal codes be?

1) 09AB78
2) #01DE34
3) #343434
4) #AC05EE
5) #FG0302

1) Not # in the front. Not a real color.
2) Green
3) Light Grey
4) Purple
5) Not a real color. Hexadecimals only consists of numbers 1-9 and letters A-F

14
New cards

What are these RGB colours?
1) 34, 58, 230
2) 102,102,102
3) 256, 256, 256

1) Blue
2) Medium Shade of Grey
3) Does not exist. The RGB code only goes up until 255

15
New cards

Explain Sampling in very basic terms.

Sampling is the process of breaking down multimedia (images, audio) into smaller chunks.

16
New cards

Explain Quantizing in very basic terms.

Assigning value to samples. (aka, assigning colours to images, and sounds to soundwaves.)

17
New cards

Application Question:
I have a piece of 10 x 12 inch paper and a printer of 200 dpi. How many pixels will I print out?

(10 inch x 200 dpi) * (12 inch x 200 dpi)
= 2000 * 2400
=4,800,000 samples

18
New cards

How many pixels is 6 megapixels?

6 * 1,000,000 pixels = 6,000,000 pixels

19
New cards

True or False: The combination of cyan, magenta, and yellow does not make a "pure" shade of black.

True.

20
New cards

What does PPI stand for?

Pixels per inch.

21
New cards

What does DPI stand for?

Dots per inch

22
New cards

Name two differences between PPI and DPI.

1) PPI is used to measure pixels within a screen. DPI is used to measure pixels when printing.

2) PPI affects the file size but DPI doesn't.

23
New cards

What is a Bit?

Smallest Unit within a Computer. Represented with digits of 0 and 1.

24
New cards

What is a byte?

a group of 8 bits

25
New cards

What is a megabyte?

A million bytes

26
New cards

Application Question:

Convert the binary number 1101 into decimal.

1101
= 2^3 x 1 + 2^2 x 1 + 2^1 x 0 + 2^0 x 1
= 8 + 4 + 0 + 1
= 13

27
New cards

True of False: If the rightmost digit of a binary decimal is a 0, the number is even.

True. Because if the rightmost digit is a 1, when it would be any value + 1, making it odd.

28
New cards

If you have a grayscale image with dimensions 200 pixels by 80 pixels, and you want to use 64 shades of gray for each pixel, what would be the file size of the image in bytes, assuming a color depth of 6 bits per pixel?

(200806)/8
=96000/8
=12000 bytes

Explanation:
(Width x Height x Color Depth) = Total Size

29
New cards

What is FF in binary?

11111111

30
New cards

True or False: If we have an image that is 200 by 300 pixels, it will look bigger on a monitor when the resolution is 1600 by 1200 than it would when the resolution is 800 by 600

False. It would look smaller since the resolution is higher.

31
New cards

True or False: A 200 pixel by 300 pixel image that has a dpi of 10 will look bigger on a monitor with a resolution of 1200 by 1000 than an image that is also 200 pixels by 300 pixels shown on the same monitor but this image has a dpi of 100.

False. Dpi does not affect the size of the image in the monitor.

32
New cards

True or False: RAW File has lossy compression.

False. Raw files have no compression.

33
New cards

In ASCII Code, each letter is represented by __ bits.

8

34
New cards

Why was the Huffman Code invented?

The inventor decided to rearrange the alphabet in the Huffman Code to reduce the amount of bits used.

35
New cards

Letter e: Huffman Code: 010
Convert the letter e into decimal.

2^2 x 0 + 2^1 x 1 + 2^0 x 0 = 0 + 2 + 0
= 2

36
New cards

Concept Question: When reducing the file size of an image, should we reduce the brightness of the image of the colors of the image?

Colors of the image. Human eyes notice differences in brightness more than differences in colors.

37
New cards

What does Lossy Compression mean?

Looses original quality when compressed.

38
New cards

What does Lossless Compression mean?

Original quality is maintained when compressed.

39
New cards

Out of JPG, PNG, and GIF, which file type is the best to use for logos and clipart?

GIF.

40
New cards

Out of JPG, PNG, and GIF, which of the following typically has the smallest file size?

JPG, because it has a lossy compression.

41
New cards

True or False: There is no dithering or interlacing in JPG.

True. There is no interlacing in JPG. There is no dithering because a JPG can display 16 million colors. (Max colours needed for the human eye)

42
New cards

How many color bits are needed to show 16 million colours?

24 color bits

43
New cards

Explain dithering

Putting pixels of two colors together to give the illusion of a third color.

44
New cards

Explain interlacing

Showing a less pixalated picture, therefore the picture doesnt have to fully download.

45
New cards

Explain Interpolation

When you stretch out a picture and the computer has to automatically guess the colors in between pixels to enlarge the picture. > The picture becomes blurry.

46
New cards

What are bitmapped images?

Images resulting from interpolation

47
New cards

What is the bit-depth for GIFs? And how many colors does it show?

8-bit depth. 256 colors

48
New cards

True or False: JPG, PNG, and GIF all allow transparency.

False. Only PNG and GIF do.

49
New cards

Out of JPG, PNG-8, PNG-24, PNG-32, and GIF, which one has the smallest file size?

PNG-8

50
New cards

Out of JPG, PNG, and GIF, which two are good for logos?

PNG and GIF.

51
New cards

What does the Creative Commons logo "BY" stand for, and what does it mean?

BY stands for Attribution, and it means users must acknowledge the original work when publishing.

52
New cards

What does the Creative Commons logo "NC" stand for, and what does it mean?

NC stands for Non-Commercial, it means users cannot use the work for commercial purposes.

53
New cards

What does the Creative Commons logo "ND" stand for, and what does it mean?

ND stands for Non-Derivatives. It means users cannot make any altercations to the original work.

54
New cards

What does the Creative Commons logo "SA" stand for, and what does it mean?

SA stands for Share Alike. It means new versions of the original work would have to carry the same license.

55
New cards

True or False: Once your pen leaves the paper, you have copyright to your creation.

True. Once you create it, you own it and have copyrighted.

56
New cards

Give one explanation as to why TCP/IP network is reliable.

Because one computer has multiple sources of connections. Therefore, if one computer shuts down, other computers would still function.

57
New cards

During packet switching, what does TCP do on the sending end?

TCP breaks large data into datagrams, and they might take different routes, but they all end up in the same destination.

58
New cards

During packet switching, what does TCP do on the recieving end?

Detects lost data, packages with defects due to network congestion and then reassembles lost ones.

59
New cards

True or False: IP addresses are geographical

False.

60
New cards

True or Flase: ONE IP address can map to multiple domain names.

True. It is rare, but possible.

61
New cards

URL: http://www.uwo.ca/its/courses/spring.html

Identify
1) The Domain Name
2) The Website(s)
3) The Webpage

1) The Domain Name
uwo.ca

2) The Website(s)
"its" and "courses"
*Websites are the folders used to store webpages

3) The Webpage
"spring.html"

62
New cards

URL:
https://www.csd.uwo.ca

1) The Top Level Domain
2) The Second Level Domain
3) The Third Level Domain

1) .ca
2) .uwo
3) .csd

63
New cards

Extracting Second Tier and Top Tier domain, how many levels of subdomains can there be?

125 levels. 127 levels including second level and top level domain.

64
New cards

Fill in the blank: Each level of domain can go up to __ characters long, the entire domain cannot be more than ___ characters.

63, 255

65
New cards

What is wrong with each of the following domains?

1) https://www_csd.uwo.ca_
2) https://www-youtube.com-
3) https://www.mcdonalds%.com
4) https://www.five guys.com

1) No underscores are allowed
2) No hyphens are allowed
3) No symbols are allowed
4) No spaces are allowed

66
New cards

Who established URL and domain names? When did they do it?

Tim Berners-Lee. 1990s.

67
New cards

Who invented HTML? When did they do it?

Tim Berners-Lee. 1990s.

68
New cards

Can you use capital letters in domain names?

Yes. URLs are case insensitive.

69
New cards

Name first seven approved Top Level Domain Names.

1) .com
2) .org
3) .net
4) .edu
5) .gov
6) .intl
7) .mil

70
New cards

Rank the chronological order these Top Level domain names were approved:

A) Brand Names
B) Countries
C) Geographical
D) Original 7 Domain Names

D, B, C, A

71
New cards

True or False: Tim Berners-Lee invented hyperlinks as well.

True.

72
New cards

Match the Letter to the Alphabet

A) Java Script
B) CSS File
C) Html File

1) Webpage Content
2) Webpage Behavior
3) Webpage Design

A) - 2)
B) - 3)
C) - 1)

73
New cards

Application Question: Assume that you have created the external CSS file called myfavstyles.css., then you would put this (fill in the blank) <______ ="stylesheet" href="myfavstyles.css"> under the <head> tag in your .html file

link rel

74
New cards

Application Question: Under CSS rules, what is the correct way to change the background colour of all elements given the class "large" in your website?

.large { background-color: cyan; }

75
New cards

Which of the following pages will load into a browser the fastest? Assume you have a page hockey.html containing JUST the hockey image and a page tennis.html containing JUST the tennis image. Assume that the image hockey.jpg is 1000 pixels by 1000 pixels and is 958 Kbytes and the image tennis.jpg is 300 pixels by 300 pixels and is 28 Kbytes.

hockey.jpg

76
New cards

Application Question: <a href="_______________">Mail to Homer</a>

mailto:homer@gmail.com

77
New cards

A "nested table" in the context of web design is ____

A table inside another table

78
New cards

The set of font types that are universally available on all computers and devices, and thus are recommended for websites, are called _____

Websafe Fonts

79
New cards

When building an index, what searches through webpages for keywords?

Web Crawlers

80
New cards

True or False: Webpages can be searched on a Search Engine prior to being added to an index

False. Webpages must be added to the index prior to it being searchable in the Search Engine.

81
New cards

Name the two inventors of PageRank Algorithm.

Larry Page and Sergey Brin.

82
New cards

What was the original name of the PageRank Algorithm?

BackRub Algorithm

83
New cards

What is the highest PageRank ranking?

1

84
New cards

What is the lowest PageRank ranking?

0

85
New cards

In the exam, if they provide us with a diagram of a PageRank algorithm, how would you calculate the weight amongst the outgoing links of a webpage.

Divide 1 amongst the number of webpages. Divide the weight amongst the outgoing links of a webpage.

86
New cards

Which part of the webpage is most important for a keyword?

The title

87
New cards

What is a fold in a webpage?

Text/content where you don't have to scroll down.

88
New cards

Name the Three Factors for keywords on a webpage

1) Prominence
2) Proximity
3) Density

89
New cards

Name the three factors of page popularity in PageRank

1) Number of Clicks
2) Number of Returning Users
3) Duration of visit on the page.

90
New cards

Which page would rank higher in PageRank?

A) Webpage with no alt tags
B) Webpage with alt tags

B

91
New cards

Which page would rank higher in PageRank?

A) Webpage with no broken links
B) Webpage with broken links

A

92
New cards

Which page would rank higher in PageRank?

A) Webpage with larger file sizes of images
B) Webpage with smaller file sizes of images

B. Because it is quicker to load

93
New cards

I want to search the term fruit on Google without orange (the fruit) showing up in my results. How would I do so?

Minus Operator. "fruit -orange"

94
New cards

I want to search the term pepsi specifically in Google. How would I do so?

Quotations. "Pepsi"

95
New cards

I am open to many possibilities in looking up How to ____ a cake in Google. How would I do so?

Wildcard. How to * a cake.

96
New cards

I would like to search for a specific pdf file on Google to learn Italian. How would I do so?

Filetype. filetype: pdf learn Italian

97
New cards

I would like to search Barack Obama before the year 1995 on Google. How would I do so

"Barack Obama" before:1995

98
New cards

How many frames per second are movies?

24 Fps

99
New cards

How many frames per second are TV Displays?

30 Fps

100
New cards

What is the minimum amount of frames per second needed for the human eye?

12-15 Fps