Actual Complete Real Exam Questions And Correct
Answers (Verified Answers) Already Graded A+ |
Newest Exam | Just Released!!
what is rgb (255,0,0)? - ANSWER-pure red
what are the 3 major color angles on a HSL Color Wheel ? -
ANSWER-0 red,
120 green, 240
blue
what is rgba (0,255,0,0.5)? - ANSWER-green with 50%
transparency
what is quantization and dithering? - ANSWER-Quantization:
each pixel gets
closest
available color (leads to
banding)
Dithering: add noise, which
looks better!
what is the difference between raster and vector graphics? -
ANSWER-Raster:
,stored pixel-by-pixel, should be
prescaled
Vector: mathematical description,
scale perfectly
what is a float? - ANSWER-an element that overlays a block
what is a problem with floats and how do you fix it? id =
"footer" - ANSWER-Floating element may be taller than
containing element so they could overlay a footer that should
be below everything. fix: #footer { clear: left; }
what is a problem with ppi? - ANSWER-Different resolutions
= different sizes
Different devices = different view
distances
what is monospace? - ANSWER-each character takes up the
same amount of
space
what is x-height ? - ANSWER-the height of each line of text,
larger x-heights
make text easier to
read
github: how do you throw away uncommitted changes? -
ANSWER-$ git reset --
hard
,$ git clean --dry-run # list
untracked files
$ git clean --force # remove
untracked files
github: how do you discard a commit? - ANSWER-git reset --
hard HEAD~1
what is a regular expression? - ANSWER-a formal mechanism
for defining a
language
expressions: what does {a,b} mean? - ANSWER-means k times,
for a ≤ k ≤ b
expressions: what does {k} mean? - ANSWER-exactly k times
expressions: write the language defined by Gr[ae]y - ANSWER-
Gray, Grey
expressions: what does [^A-Z] mean? - ANSWER-any
character that is not a
capital
letter
expressions: what does ? mean - ANSWER-0 or 1 time
, expressions: what does * mean - ANSWER-0 or more times
(unbounded)
expressions: what does + mean - ANSWER-1 or more times
(unbounded)
expressions: what are the language options for colou?r -
ANSWER-color, colour
expressions: write an RE that does the
following:
(Language consisting of)
strings that:
Contain only letters,
numbers, and _
Start with a
letter
Do not contain 2
consecutive _'s
Do not end with _ - ANSWER-[a-zA-Z](_[a-zA-Z0-
9]|[a-zA-Z0-9])*
expressions: draw the following FSA
(Language consisting of) strings that:
Contain only letters, numbers, and _
Start with a letter
Do not contain 2 consecutive _'s