Software Development v.2 Unit 5
Explain the distinctions between modal and modeless dialog boxes.
A model dialog box is a secondary box that needs the user to interact with the application before it can return to the primary box. For example, if you input an invalid answer in the primary box then a secondary box, aka the model dialog box, will pop up and say "The answer is invalid!" with a button that says "Ok!" when the button is hit the secondary box closes and lets you back into the primary box, but when the second box is open the user can interact with the primary box until the second box is closed. A modeless dialog box allows the user to interact with multiple windows or boxes without needing the action of the modeless dialog first. For example, if you input an invalid answer a modeless dialog window will pop up saying "That is an invalid input!" you can leave that window open and still use the primary window.
Which selection describes the relationship between a window and a frame? Frames and windows are different classes. A top-level window with a border and a title is called a frame. Frames are higher in the hierarchical order than windows. A top-level frame with a border and a title is called a window.
A top-level window with a border and a title is called a frame.
Swing is a set of GUI components that builds on the technology whose name is abbreviated _________.
AWT
How are the automatic GUI component disposal capabilities of AWT, JavaFX, and SWT different from each other? AWT can automatically dispose of all objects; JavaFX can automatically dispose of low- but not high-level GUI components; and SWT has no automatic disposal, respectively. AWT can automatically dispose of low- but not high-level GUI components; JavaFX can automatically dispose of all objects; and SWT has no automatic disposal, respectively. AWT has no automatic disposal; JavaFX can automatically dispose of low- but not high-level GUI components; and SWT can automatically dispose of all objects, respectively. AWT can automatically dispose of all objects; JavaFX has no automatic disposal; and SWT can automatically dispose of low- but not high-level GUI components, respectively.
AWT can automatically dispose of low- but not high-level GUI components; JavaFX can automatically dispose of all objects; and SWT has no automatic disposal, respectively.
Why are there limited AWT components for games? AWT does not have many third-party component developers. AWT does not provide an environment for graphics. AWT does not support drawing. AWT does not contain charts.
AWT does not have many third-party component developers.
Why is AWT rarely used in modern Java programming? AWT has fewer components available. AWT has no dependency in the programming direction (top down or bottom up). AWT has applications that are not accessible. AWT has too many threads that can slow it down.
AWT has applications that are not accessible.
Which selection is NOT a drawback of AWT? AWT has too many threads that can slow down the program. AWT has apps built with it that are not accessible. AWT is inconsistent across platforms. AWT must be built top-down.
AWT must be built top-down.
How can the code in AWT and Swing be distinguished? AWT relies on native code counterparts, while Swing is purely Java code. AWT and Swing both rely on Java code. Swing relies on native code counterparts, while AWT is purely Java code. AWT and Swing both rely on native code.
AWT relies on native code counterparts, while Swing is purely Java code.
Which selection correctly compares the behavior of AWT and Swing applications on different platforms? AWT and Swing are both unstable from platform to platform. AWT's behavior is unpredictable in different environments, while Swing has reliable behavior. AWT and Swing are both stable in a variety of environments Swing's behavior is unpredictable in different environments, while AWT has reliable behavior.
AWT's behavior is unpredictable in different environments, while Swing has reliable behavior.
Which of the following describes the relationship between dialog boxes and frames? All frames are dependent on a dialog box. Dialog boxes and frames are distinct entities with no necessary relationship. Dialog boxes automatically generate a frame. All dialog boxes are dependent on a frame.
All dialog boxes are dependent on a frame.
Which option explains the increased awareness in this scenario? Scientists noticed an unexpected outcome after the last presidential election. Predictions were not as they were in the past, and more individuals were informed about each of the candidates. The cloud allows information to be shared across the Web. Social views are limited by social media. As communication systems grow, social and political beliefs are shared over the Internet. The Internet is not replacing newspapers as citizens' primary source of information.
As communication systems grow, social and political beliefs are shared over the Internet.
Which statement correctly differentiates B2B and B2C? B2B stands for a business's relations to other businesses while B2C refers to a business's relations to its consumers. B2B stands for a business's relations to other businesses while B2C refers to a business's relations to the community in which it is located. B2B stands for a business's relations to other businesses while B2C refers to a business's relations to its CEO. B2B stands for a business's relations to other businesses while B2C refers to a business's relations to colleges from which it draws its workforce.
B2B stands for a business's relations to other businesses while B2C refers to a business's relations to its consumers.
online project collaboration system
Basecamp
Which option explains how the employees can work from home with full access to the information they need in this scenario? Over the past few years, Xantac, a global company, has saved almost $1 million in costs on real estate. Because of advanced technology, most of their employees are able to do their jobs from their homes. Cloud services enable global support of organizations, allowing for seamless worldwide access to data. Technology is forcing new procedures and processes, so employees will fall behind if they work from the office. Companies have installed JavaServer Pages to work with HTML. Servlets are now available to extend the capabilities of a server.
Cloud services enable global support of organizations, allowing for seamless worldwide access to data.
Which closing event is the default for JInternalFrame? HIDE_ON_CLOSE DO_NOTHING_ON_CLOSE EXIT_ON_CLOSE DISPOSE_ON_CLOSE
DISPOSE_ON_CLOSE
Applications that use a GUI for user input are called applets. True False
False
With the ability to set up automatic updating and no paper being used, it is NOT cost effective for businesses to advertise on the Internet. True False
False
Which closing event is the default for JDialog and JFrame? DO_NOTHING_ON_CLOSE DISPOSE_ON_CLOSE EXIT_ON_CLOSE HIDE_ON_CLOSE
HIDE_ON_CLOSE
In order to correct and modify Web pages, which program or language do you need to have a basic understanding of? HTML JavaScript Adobe Dreamweaver Google Web Designer
HTML
Which option identifies the code Jonathan is familiar with in the following scenario? Jonathan is able to correct and modify pages on the web. He can also insert codes in various languages. He is currently working on a project to design a website for a new retail business. HTML NotePad B2C B2B
HTML
has tags to tell a browser what to do
HTML files
Assuming the hand-coded web page sample below includes proper coding practices, which of the following can you NOT safely conclude from a close analysis? < html > < head > < title > David's Web Page < /title > < /head > < body >Welcome to Web Portfolio Class!< /body > < /html > HTML tags can be nested. HTML open tags must also be closed. HTML closing tags are indicated by a slash mark. HTML has no easy way to include graphics.
HTML has no easy way to include graphics.
includes network analysis and system administration
Information Technology
deciphers and explains information to the masses
Internet
Which is NOT a characteristic of a dialog box? It is alternatively referred to as a dialog window. It is dependent on the main Swing window. It can display text but not images. It functions within the main Swing window.
It can display text but not images.
Which option describes the website in the scenario? Courtney has designed a website for a sporting goods company. It only uses two colors, and there are no graphics or animation. It is not a well-designed website. It is a website with great ambiance. It is a website with no tags. It is a website with errors.
It is not a well-designed website.
What is the function of the root pane in a top-level container? It manages customization of a content pane. It manages the BorderLayout. It manages the top-level container. It manages the content pane and the menu bar.
It manages the content pane and the menu bar.
Which of these is NOT a drawback of JavaFX? JavaFX is buggy. JavaFX is unreliable. JavaFX applets use a lot of memory. JavaFX is slow.
JavaFX is unreliable.
Susan writes a code that is located in the head section of the web page code. It is not running properly. She has forgotten to place tags at the end of the script.
JavaScript
Which selection is NOT one of the primary tools for GUI development? Abstract Windows Toolkit Java Swing Standard Widget Toolkit JavaScript
JavaScript
dying out due to online accessibility
Newspapers
Which of the following indicates a web creation tool? HTML Javascript Portfolio Notepad or WordPad
Notepad or WordPad
Which selection does NOT differentiate SWT from Swing? SWT is maintained by the Eclipse Foundation. SWT has GUI applications taking on the native platform's appearance. SWT is operated by a lower level language of code. SWT acts as a wrapper around native code objects.
SWT has GUI applications taking on the native platform's appearance.
Which of the following is a true assessment that would allow you to evaluate SWT as superior to Swing? SWT provides greater functionality. SWT is a higher-level language. SWT is faster and more reliable. SWT provides greater customization capability.
SWT is faster and more reliable.
Which of these is NOT an accurate appraisal of SWT? SWT is somewhat redundant because its goals are so close to those of Swing. SWT is not part of Java and must be imported into every new GUI code library, making more work for programmers than AWT or Swing. SWT registers as faster and more reliable than Swing in performance tests in part because it is less complex. SWT is easier to learn than Swing, partially because it provides less functionality and customization.
SWT is somewhat redundant because its goals are so close to those of Swing.
allows users to share whatever is on their screen
Screen Sharing
allows face to face conference calls
Skype
Explain the customizations possible in Swing.
Some possibilities of the Swing customization is adding API of software, buttons, and the ability to change the color of the GUI.
a set of GUI components that builds on AWT technology
Swing
Which selection distinguishes AWT and Swing based on their disposal of GUI components? AWT supports automatic disposal of GUI objects, while Swing does not automatically dispose of low-level components. AWT supports automatic disposal of GUI objects, while Swing does not automatically dispose of high-level components. Swing supports automatic disposal of GUI objects, while AWT does not automatically dispose of low-level components. Swing supports automatic disposal of GUI objects, while AWT does not automatically dispose of high-level components.
Swing supports automatic disposal of GUI objects, while AWT does not automatically dispose of high-level components.
Which option explains why the company failed in this scenario? A company that formed thirty-five years ago is now going out of business. Although it was successful the first few years, the business in the past decade has dropped substantially. The manager of the business felt that technology was a fad and did not use any modern e-commerce marketing or infrastructural organization. The company was too fast, innovative, and smart for its time, and technology was not ready for it. The company did not invest in having a servlet within the Java programming language. The company did not train employees to develop technology skills, rendering the business obsolete. The company was based too globally and was not concentrated on a localized area.
The company did not train employees to develop technology skills, rendering the business obsolete.
Which option supports online information development in the following scenario? Paul is an online professor at the University of Newark. He is currently formatting the content of his next online class. Costs will increase with the development of online classes. Websites are not able to deliver effective online classes because of the lack of dynamic content. There is no automatic updating available for online classes. The delivery and management of dynamic content is essential for online classes.
The delivery and management of dynamic content is essential for online classes.
Which selection describes the public cloud, the community cloud, and the private cloud? They all contain at least two internal servlets to extend their language. They are all written in JavaServer Pages. They are all cloud services that enable organizations or people to share information remotely. They all are virtual organizations run by governmental agencies.
They are all cloud services that enable organizations or people to share information remotely.
Which selection is NOT true of AWT and Swing? They share many of the same components. They should not be combined in a program. They were both made for Java. They were developed by IBM.
They were developed by IBM.
Which of these statements does NOT accurately differentiate between SWT and Swing? Unlike Swing, SWT provides extensive functionality. Unlike Swing, SWT was developed for accessing widgets across platforms. Unlike Swing, SWT is simple to learn. Unlike Swing, SWT was developed by IBM.
Unlike Swing, SWT provides extensive functionality.
What is the name of an independent window that functions within and is dependent on the main Swing window? a component a frame a container a dialog box
a dialog box
strategies of brand
a new plan, rapid execution of business plan, visibility, differentiation from the competition
__________ saves time and energy when it comes to purchasing items and paying bills.
a0 - E-Commerce
___________ are used to gather client data and create shopping carts and checkout pages.
a0 - Forms
__________ is not case sensitive and is a bit more forgiving; however, it is important to maintain proper coding practices and not get sloppy.
a0 - HTML
_________ allows the use of applications and software to accomplish business objectives.
a0 - Information technology
____________ is a scripting language that was originally created by Netscape to create functionality for Web sites.
a0 - JavaScript
To add components to a GUI application, a programmer must use a(n) ___________ .
a0 - container
Raul has been working with ___________ to create rollover buttons and animations on a new cartoon website. This choice will allow him to change the appearance of any object across a series of frames.
a0 - layers
HTML or hypertext requires a use of ________ to create a web page.
a0 - tags
A well-designed ________ has a tasteful color scheme and makes use of graphics and animation.
a0 - website
While working at Disney, Carol has created over nineteen cartoons that use a sequence of images of frames.
animation
What was the original purpose of Quickbooks? as a tool for those who aren't accountants to increase efficiency of businesses to assist shipping departments to create patents for products
as a tool for those who aren't accountants
advertising on the Internet
banner ads, pop-ups, click-through, search engine results, link exchanges
A photographer is editing digital images. He is concentrating on the pixels to change the color values.
bitmaps
How can you differentiate a standalone application and an applet created in JavaFX? by the standalone application's use of layout managers for customization by whether the standalone application uses containers to add components by whether the standalone application has at least one top container by the standalone application's contents of the containment hierarchy
by the standalone application's contents of the containment hierarchy
Which selection is a major draw of eCommerce clients? convenience speed cost selection
convenience
Which selection is a concern that accompanies Instructional Technology? too convenient speed of communications vast variety of choices cyber security
cyber security
Sneaker City took orders for five hundred thousand running shoes online and only has 280,000 in stock. There will be a two-month wait for order fulfillment. The company's infrastructure was not able to keep up with the demand for the product. Customers are livid!
eBusiness
A new start-up retail company has decided to sell most of its goods on a website in lieu of opening up a retail site.
eCommerce
gathers client data, creates shopping carts, checkout pages, order pages, etc.
forms
a website that makes use of color, graphics, and animation in an attractive manner
good form design
Which is NOT a type of e-Commerce? business-to-business government-to-consumer consumer business-to-government
government-to-consumer
If a set of components provides a high level of abstraction, this means that the basic functionality of objects in the GUI is __________.
hidden
A solid reason to use a database might include which of the following? increase accounting efficiency offer the most up to date software increase employee communication take advantage of realistic graphics
increase accounting efficiency
where what is visible on the browser is coded
indicated by < /HEAD > < BODY >
a forced line break in HTML
indicated by < BR >
leaves extra blank lines between paragraphs
indicated by < p >
Greg is creating graphics by placing each graphic separately. This way the graphics can have their positions changed. The client is happy because it will make it easy to go back later and make changes.
layers
marketing mix
product, place, price, and promotion
Which commonly used features are NOT supported in AWT? scrollbars buttons progress bars labels
progress bars
Nancy has been creating images that appear when a mouse is moved over them. It is going to be added to a website for a new elementary school.
rollover
Holly is working on a website that will include embedded clocks, text effects, and mouse trailers. The client is going to be thrilled with all the effects added.
scripts
Which option describes the effects Julia added in the scenario? Julia is tasked to redesign a website so that it is more engaging and interactive. She has added a clock, animation, and mouse trailers. layer scripts bitmap vector
scripts
the goal for a company is to be one of the top results displayed
search engine optimization
What was the motivation for creating JavaFX? to build a toolkit that would be easier to learn to build a low-level GUI toolkit to build on and solve problems of AWT to build on and solve problems of SWT
to build on and solve problems of AWT
Using Instructional Technology does NOT include which of the following? monitoring inventory utilizing software using a copy machine using a cell phone
using a copy machine
Janet is applying for a job with a web design firm that creates logos for local business. She does not have the proper web image experience, so she does not get the job.
vector graphics
Which web image would best support the project in the scenario? As a graphic designer, Tim is working on a new logo for a local food chain. The logo needs to be crisp and bold. layers rollovers vector graphics bitmap
vector graphics
Which selection differentiates AWT and Swing? inclusion of scrollbars membership in JFC "weight" of components ability to program GUI
"weight" of components
Abstract Window Toolkit
AWT
allows users to access the same document or file
Drop Box
graphical user interface
GUI
Applications that require user input frequently are programmed using a GUI. True False
True
efficiently connects users from all over the globe
Web Collaboration Tool
advertising done through e-mail, social media, and pop-ups
online marketing
Which selection can be omitted in setting up a frame? sizing the frame closing frame instructions specifying a title setting the visibility
specifying a title
formats text and images in a web page
tables
Which of the following is a purpose for using containers in a GUI application? to create an internal frame to add components to customize visual representations to create a dialog box
to add components