CSC 360 Oral Exam Flashcards

1
Q

T/F When a media player initially loads a video file, the player shows the last video frame as a preview of the video’s content.

A

False, It loads the first video frame of the file. poster=”url” can also set the thumbnail of a video when it is loaded.

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

T/F A transition must start immediately after an event that triggers it.

A

True

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

T/F Header cells and data cells are types of table cells supported by web tables.

A

True.

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

T/F The post method is the default method that tells the browser to append the form data to the end of the URL specified in the action attribute.

A

False, the get method appends form data to a URL whereas the post method appends to a data server

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

T/F When using Bootstrap’s grid system, you can mix and match classes for each tier. For example, you can use the following:
< section class=”container” >
< div class=”row” >
< div class=”col-md-4 col-sm-6” >< /div >
< div class=”col-md-8 col-sm-6” >< /div >
< /div >
< /section >

A

True

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

T/F Preload and defer attributes can be added to the < script > element to modify its sequence of processing.

A

True

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

Which of the following is true of animating objects in CSS?
1. Animations can only be run when a CSS property is being changed.
2. Animation creates an illusion of movement by displaying key frames in rapid succession.
3. Animations can be run only once as multiple images in rapid motion to a page object.
4. Animation is limited to two style rules defined at the initial and end states.

A
  1. Animation creates an illusion of movement by displaying key frames in rapid succession.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Which of the following browsers doesn’t support all audio formats such as MP3, Advanced Audio Coding (AAC), Ogg, and WebM?
1. Google Chrome
2. Microsoft Edge
3. Opera
4. Safari

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

Every fieldset must contain the _____ element, which should have only text and no nested elements for describing its content.
1. Legend
2. Enctype
3. Script
4. form

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

In Bootstrap 5.3, if you want to hide an element from all devices except assistive technologies (such as screen readers), you would use the class __________.
1. D-none
2. Visually-hidden
3. clearfix
4. text-hide

A
  1. Visually-hidden
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

The _____ attribute tells a browser to parse the HTML and JavaScript code together, only pausing to process the script before returning to the HTML file.
1. Async
2. Defer
3. Src
4. type

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

Identify the three table row groups supported by HTML.
1. thead, tfoot, and tborder
2. thead, tbody, and tfoot
3. thead, tborder, and tbody
4. thead, tfoot, and tcell

A
  1. thead, tbody, and tfoot
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

To compress and de-compress video frames, you would use a _________. This can help reduce the size of your video substantially.

A

codec

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

The advantage of the ___________ approach is that a wide variety of timings can be defined, including timings in which a transition can stop, reverse itself, and then go forward again to its end state.

A

Cubic Bezier Curves

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

A(n) ________ tag is displayed as a separate box or window within a Web page. These are used often when embedding code from websites such as YouTube.

A

iframe

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

A(n) ________ field is an input box in which the characters typed by the user are displayed as bullets or asterisks.

A

password

17
Q

A(n) _________ is a named item in a JavaScript program that stores a data value, such as a number or text string, or an object, such as a part of the web browser or browser window.

A

variable

18
Q

JavaScript code is attached to an HTML file using the ________ element.

A

< script >

19
Q

Define at least 5 Bootstrap 5.3 components that use JavaScript and briefly describe each. (Make sure you know the difference between components that are just CSS and those that use JavaScript.)

A
  • Accordion - by using a data-bs-toggle=”collapse” within a button to function with JavaScript inside of a div with the class accordion
  • Carousel - by using classes such as carousel inner, carousel control prev, and carousel control next divs to create the carousel, and they contain divs with the class carousel-item and they house the images in the actual carousels
  • Collapse - by using the class “collapse”, similar to the accordion, the div will appear when triggered by a button
  • Dropdown - by using the class dropdown and dropdown-item, you can create a link dropdown within a nav bar
  • Modal - by using the class modal in a div, you can create a pop-up notification that requires being dismissed
20
Q

List and describe at least five ways that you can achieve client-side form validation.

A
  • Input Type within a form - like date, email, range, tel, password
  • Required within a form - makes a form input required
  • :invalid pseudo-class - can help css identify when a field type is not inputted correctly
  • Maxlength within a form - makes a length maximum on a form input field
  • Pattern within a form - helps to ensure that the information entered into form is in the correct format that it should be in, ex. Email, phone #, etc.
20
Q

Describe the difference between a table summary and caption and describe how they might be important for accessibility. Also note the HTML used to define them.

A

Table summary gives information about the table and the organization of it to help people navigate through a table. For accessibility, the table summary can help a sighted person navigate and understand the layout of the table.
Table captions work as additional information from the table and can help give context to the actual information within the table, and acts as a table header. For accessibility, a screen reader will read the caption of the table and help a reader know whether they want to hear the information within the table.
< caption > and < table summary=”” >

21
Q

Podcast feeds and RSS feeds are files written in ________.

A

XML file

21
Q

An executable Java applet will have the file extension __________.

A

JAR

21
Q

The ________ was an early adopter of the Adobe Acrobat standard – which helped make the Acrobat Reader application free. At least we can thank them for that.

A

PDF