IT 222
dithering
An image produced with a limited number of colors (palette of colors) can fake colors it doesn't have by combining side-by-side pixels of different colors. When viewed from a distance it looks like a new color which would be a combination of the color of the pixels combined. What is the term for this process
c) File 2 is returned
Assume the contents of a UMKC web site are as follows: abc123/ test.html index.html File 1 asn2/ index.html File 2 asn2.html File 3 What happens when someone on the Internet enters the following URL into a browser and presses "enter": http://a.web.umkc.edu/abc123/asn2/ a) Error b) File 1 is returned c) File 2 is returned d) File 3 is returned
false
Block elements are normally displayed without starting a new line
<body style="background-color:yellow;"> <p style="font-family:courier; text-align:center;" >This is a paragraph.</p>
Change the font of the paragraph to "courier", (2) center align the paragraph, and (3) Change the background color of the page below to yellow. <html> <body> <h1>This is a heading</h1> <p>This is a paragraph.</p> </body> </html>
b) Higher frequencies d) Dynamic range
Choose the right answer for the following statement: "When you reduce the sampling rate you loose the ability to represent ( B ). When you decrease the sampling size you loose ( D ). Your ear is more sensitive to changes in dynamic range than it is in the reduction in frequency response." a) Meta data b) Higher frequencies c) Lower frequencies d) Dynamic range e) Louder sounds f) Software sounds g) Decibels
<iframe src="demo_iframe.htm" height="200" width="500"></iframe>
Create an iframe with a URL address that goes to https://www.umkc.edu and Set the width of the iframe to 500 pixels. <html> <body> ....... answer here </body> </html>
44,000 * 16 * 2 * 60 = 84 Mb or 10 MB
For CD-quality audio, the sampling rate and sampling size are 44.1 kHz sampling rate, 16-bit samples in stereo. How many bytes does it take to represent 1 minutes of uncompressed audio at CD-quality?
f) None of them
For the following paragraph, which chracter will be printed in red (select all)? <html> <body> <p style="color:red"> <h1>Heading</h1> <span>My </span> Important <p>paragraph </p> </p> </body> </html> a) Heading b) My c) Important d) Paragraph e) All of them f) None of them
c) All of them
For the following paragraph, which chracter will be printed in red (select all)? <html> <body> <p style="color:red"> <span>My </span> Important <a>image</a> </p> </body> </html> a) My b) Important c) All of them d) None of them
c) limited exposure range
High dynamic range photography is used to compensate for what limitation of cameras? a) fixed lens focal length b) low light performance c) limited exposure range d) autofocus not knowing which object to focus on
b) alert("Hello World");
How do you write "Hello World" in an alert box? a) alertBox("Hello World"); b) alert("Hello World"); c) msg("Hello World"); d) msgBox("Hello World");
8 bits
How many bytes are needed to represent an ASCII character?
true
If the document is saved as ASCII, The ASCII standard doesn't have any support for specifying font or typeface
b) analog, digital
If you drew a circle on a piece of paper with a pencil, is the result analog or digital? If you scanned the image and imported it into a computer, is the result analog or digital? a) analog, analog b) analog, digital c) digital, analog d) digital, digital
b) 11kHz
If you sample at 22,000 samples per second what is the highest frequency you can theoretically capture? a) 22kHz b) 11kHz c) 5.5kHz d) It depends on the bit rate of capture algorithm
<Script> </Script>
Inside which HTML element do we put the JavaScript?
Yes
Is the following XML fragments is well-formed? <customer id="3456"><address/><zip code="3456"/> </customer>
Anti-aliasing
It smooths jagged lines between solid colors making them look smoother on low resolution display devices. What is the term for this process?
false
Lossless compression algorithms provide a greater compression ratio than lossy compression algorithms.
false
MP3 is a lossless codec.
true
Sound in nature is analog. It doesn't matter from what type of instrument it originates.
c) frequency, amplitude, and harmonic overtones.
Sound is characterized by three perceptual characteristics: pitch, loudness and quality (or timbre). These three perceptual characteristics correspond to which physical characteristics (in order). a) harmonic overtones, frequency, and amplitude b) amplitude, frequency, and harmonic overtones. c) frequency, amplitude, and harmonic overtones.
No root element; XML documents must have a root tag Attribute values must always be quoted. age="29"
The following is not a "well formed" XML document.Identify a couple of errors and fix them to make a "well formed" XML document. <?xml version="1.0"?> <from>Jani</from> <to age=29>Tove</to> <heading>Reminder</heading> <body>Don't forget me this weekend!</body> <?xml version="1.0"?> <Note> <from>Jani</from> <to age="29">Tove</to> <heading>Reminder</heading> <body>Don't forget me this weekend!</body> </Note>
Id="message"
The paragraph tag <p ___ > below is missing an attribute. Add the attribute needed for the JavaScript statement to change the contents of the tag. Make reasonable assumptions about the code not shown. onMouseover="document.getElementById('message').innerHTML='New Message'" . . . <p _____________ > Mouse over image for new message here.</p>
<a href="https://www.umkc.edu" target="_blank" >This is a link</a>
Transform the text below into a link that goes to https://www.umkc.edu and (2) Change the link to open in a new window. <html> <body> This is a link </body> </html>
1. false 2. true 3. true 4. false
True or False? 1. (True / False) All XML elements must be lower case 2. (True / False) XML documents must have a root tag 3. (True / False) XML preserves white spaces 4. (True / False) Attributes must always be present
a) Entities define shortcuts to standard text or special characters
What are XML entities used for? a) Entities define shortcuts to standard text or special characters b) Entities define shortcuts to standard attributes Entities define shortcuts to standard elements
d) 16 Million (also called true color
What is the color depth of a pixel in a JPEG image? a) 2 b) 8 c) 1K d) 16 Million (also called true color
a) <script src="xxx.js">
What is the correct syntax for referring to an external script called "xxx.js"? a) <script src="xxx.js"> b) <script name="xxx.js"> c) <script href="xxx.js">
b) A vector image is represented by a set of primitive drawing instructions, a bitmap image is represented by an array of pixels
What is the difference between a vector image and a bitmap image? a) A bitmap image can be resized without a loss of quality but a vector image can't be resized without a loss of quality b) A vector image is represented by a set of primitive drawing instructions, a bitmap image is represented by an array of pixels c) A bitmap image is usually smaller than a vector image d) A bitmap image can have more colors
b) Both the <head> section and the <body> section are correct
Where is the correct place to insert a JavaScript? a) The <head> section b) Both the <head> section and the <body> section are correct c) The <body> section
b) <phone number> d) <xmldocument> g) <7eleven>
Which is not a correct name for an XML element (select all)? a) <Note> b) <phone number> c) <h1> d) <xmldocument> e) <NAME> f) <age> g) <7eleven>
a) bmp
Which of the following file formats doesn't offer compression? a) bmp b) gif c) jpg d) png
b) Subtractive
Which type of color model is most appropriate for print devices? a) Additive b) Subtractive c) RGB d) Complementary
b) White, Black
With an additive color system, if you add the full range of base colors (e.g. red, green and blue for RGB) the resulting color will be ___________. With a subtractive color system, if you add the full range of base colors the resulting color will be ___________. a) Black, White b) White, Black c) White, White d) Black, Black