Software development v.2 unit 3

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

a function within the code needs to be invoked

( ) (parentheses)

the class, object, and method all need to be separated from one another

(dot)

Which of these conclusions supports the fact that Eclipse is categorized as an IDE? 1. The user must have a high level of expertise before quality results can be obtained. 2. The user must specify the programming language he or she wants to use. 3. The user cannot use cheat sheets because it is frowned upon. 4. The user must get used to a proprietary and unique menu system.

2. The user must specify the programming language he or she wants to use.

What is the relationship, if any, between a try block and a catch block? 1. Catch blocks test for exceptions, which are then handled by try blocks. 2. Try blocks test for exceptions, which are then handled by catch blocks. 3. If there is no catch block for an exception, the try block must process the code. 4. If there is no try block for an exception, the catch block must process the code

2. Try blocks test for exceptions, which are then handled by catch blocks.

Which convention do character streams use? 1. IEEE 2. Unicode 3. ASCII 4. Java

2. Unicode

What are like arms surrounding all the other code blocks? 1. chevrons 2. curly braces 3. square braces 4. parentheses

2. curly braces

Which of these titles will work in Java syntax? 1. Helloworld 2. hello world 3. HelloWorld 4. helloworld

3. HelloWorld

How does Ant Build serve as standardization for other IDEs? 1. It allows IDEs to translate code into other languages. 2. It makes the code able to be imported into other IDEs. 3. It makes the Run option available in other IDEs. 4. It allows other programming languages to be used in IDEs.

4. It allows other programming languages to be used in IDEs.

Which application helps strip away excess characters? 1. Java Kit 2. Apache Maven 3. NetBeans 4. Spring Bean

4. Spring Bean

a development environment for building applications using the Java programming language

JDK

the sub-domain/domain name and the top-level domain name (.com, .edu, .gov, .net) that we use to locate Web sites

Uniform Resource Locator

name of the text editor option within Eclipse

Work Bench option

rambling program code that performs the required action but in an unorganized and inefficient manner

spaghetti code

rambling program code that performs the required action but in an unorganized and inefficient manner that is not readily supportable by other than the creator

spaghetti code

The application of commonly used or agreed upon methods of presentation or use to permit efficiency is part of __________.

standardization

application of commonly used or agreed upon methods of presentation or use to permit efficiency

standardization

Using the finally clause sometimes executes and overrides transfer of control in the try or in the catch clause. 1. True 2. False

2. False

Which portion of programs require input and/or output? 1. I/O is required by zero programs. 2. I/O is required by most programs. 3. I/O is required by half of all programs. 4. I/O is required by a few programs.

2. I/O is required by most programs.

What does a dot operator use to separate the three areas of a statement direction? 1. semicolon 2. comma 3. colon 4. period

4. period

a compilation of important commands, used for reference

cheat sheet

the period (.) that is placed before each of the hierarchy of elements in programming. the dot operator methodology is Class.object.method()

dot operator

The menu option in a software application that requests information to perform the function you chose is signaled by _______ .

ellipses

an occurrence of an undesirable situation that can be detected during program execution

exception

If the tools you need are not available in the interface you are using for coding, you can _________ your program to another interface.

export

the beginning and ending for the data of some code need to be defined

{ } (curvy braces)

Where might someone find cheat sheets for quick reference on NetBeans' website? 1. Docs & Support tab 2. Partners tab 3. Plugins tab 4. NetBeans Platform tab

1. Docs & Support tab

What allows a programmer to monitor versions of a code to ensure that the most recent version of a program is being worked on? 1. Git 2. XML 3. Eclipse IDE 4. Ant Build

1. Git

Which of the following statements best describes the proper use of a finally clause? 1. It is optional but recommended in good programming practice. 2. It is optional and unnecessary in most situations. 3. It must be used in order to properly handle exceptions. 4. It must be used even though it does not always catch exceptions

1. It is optional but recommended in good programming practice.

How does NetBeans 10.0 IDE's error-watching methodology differ from IntelliJ IDEA IDE's error-watching methodology? 1. NetBeans uses a red circle with an exclamation point to display errors. 2. NetBeans uses a yellow circle with an exclamation point to display errors. 3. NetBeans uses only a red and bold exclamation point to display errors. 4. NetBeans uses only a yellow and bold exclamation point to display errors.

1. NetBeans uses a red circle with an exclamation point to display errors.

Which of these does NOT differentiate STDOUT, STDIN, and STDERR? 1. They are pre-connected, pre-connected, and not pre-connected, respectively. 2. They are a write operation, read operation, and a write operation, respectively. 3. They are supported by System.out, System.in, and System.err, respectively. 4. They are a buffered PrintStream object, InputStream object, and unbuffered PrintStream object, respectively.

1. They are pre-connected, pre-connected, and not pre-connected, respectively.

If you do not have the latest Java SDK in place when you download the Eclipse IDE, you will have to download the program again. 1. True 2. False

1. True

In programming, code is reused or can be recycled and tweaked if prior code is successful. 1. True 2. False

1. True

It is important to extract the Eclipse executable file from the .zip file in the Programs folder of your C:\ drive. 1. True 2. False

1. True

Which of the following would NOT help a person differentiate a binary file and a text file? 1. Unlike for text files, a bit is one binary digit. 2. Unlike for text files, binary files consist of zeros and ones. 3. Unlike for binary files, text files are readable by humans. 4. Unlike for binary files, text files are not encoded.

1. Unlike for text files, a bit is one binary digit.

What is the difference between XML and HTML? 1. XML tags can be named in order to better identify them. 2. XML can only be used for the display of program code. 3. HTML tags can be named in order to better identify them. 4. HTML can only be used for the display of Web pages.

1. XML tags can be named in order to better identify them.

What type of error occurs when there is a problem with the programming syntax? 1. compilation error 2. mathematical error 3. logic error 4. runtime error

1. compilation error

It is always a good idea to set a restore point before you do which of the following? 1. download a program 2. create spaghetti code 3. using a text editor 4. create an IPO chart

1. download a program

What needs to be installed before NetBeans may be installed? 1. the latest version of Java Development Kit 2. the latest version of Apache Maven 3. the latest version of Spring Bean 4. the latest version of the Git

1. the latest version of Java Development Kit

What is a URL? 1. the sub-domain/domain name and the top level domain name that is used to locate Web sites 2. what a programmer can access to ensure that they are referencing the latest version of programming code 3. the application of commonly used or agreed upon methods of presentation or use to permit efficiency 4. what a programmer can choose to use to monitor and access various versions of programming code

1. the sub-domain/domain name and the top level domain name that is used to locate Web sites

What is the similarity between IntelliJ IDEA and Netbeans? 1. Both programs are developed by JetBrains. 2. Both programs use the Build Project options. 3. Both programs are Basic programmed IDEs. 4. Both programs use the Run and Build options.

2. Both programs use the Build Project options.

What is the difference between byte streams and character streams? 1. Byte streams carry objects while character streams carry text. 2. Byte streams carry raw binary data while character streams carry text. 3. Byte streams carry text while character streams carry objects. 4. Byte streams carry objects while character streams carry primitive datatypes.

2. Byte streams carry raw binary data while character streams carry text.

What is the essential difference between checked and unchecked exceptions in Java? 1. Checked exceptions are easily fixed, while unchecked exceptions can be difficult to fix. 2. Checked exceptions are recognized by the compiler, while unchecked exceptions are not. 3. Checked exceptions are not recognized by the compiler, while unchecked exceptions are. 4. Checked exceptions can be difficult to fix, while unchecked exceptions are easily fixed.

2. Checked exceptions are recognized by the compiler, while unchecked exceptions are not.

What is used for referencing or including the latest programming code? 1. Input Processing Output 2. Concurrent Versions System 3. Uniform Resource Locator 4. Universal Modeling Language

2. Concurrent Versions System

Hadley made a plan that after downloading the Eclipse IDE, she would disable her security program, extract and install Eclipse, and then update her Java SDK. Which steps will ensure that she will correctly install the new program? 1. Update her Java SDK, then extract the Eclipse IDE. 2. Disable her security program and update her Java SDK before downloading Eclipse. 3. Re-enable her security program before updating the Java SDK. 4. Extract and install Eclipse before disabling her security program.

2. Disable her security program and update her Java SDK before downloading Eclipse.

What function does IntelliJ IDEA provide to help improve coding? 1. It provides a simple plain text editor for use in programming. 2. It saves time by not requiring a class be manually tracked down. 3. It is programmed entirely and based completely in Basic language. 4. It provides much easier access to uniform resource locators.

2. It saves time by not requiring a class be manually tracked down.

What command displays the results in the output window? 1. New Project 2. Run Project 3. Ant Build 4. Create Build

2. Run Project

What is the sub-domain/domain name used to locate Web sites? 1. Input Processing Output 2. Uniform Resource Locator 3. Universal Modeling Language 4. Concurrent Versions System

2. Uniform Resource Locator

What is important for a programmer to have when making modifications to code? 1. access to free and simple programming IDEs 2. documentation of all changes that are made 3. plain text editors for entering in new code 4. permission from an IDE to change the code

2. documentation of all changes that are made

What kind of code performs the required action but in an unorganized and inefficient manner? 1. lasagna code 2. spaghetti code 3. ravioli code 4. pasta code

2. spaghetti code

What was created to allow a developer to comprehend the completed state of a development effort in the shortest amount of time? 1. Java Kit 2. NetBeans 3. Apache Maven 4. Spring Bean

3. Apache Maven

What prevents an automatic checker from being an easy improvement feature in coding? 1. It requires an inordinate long amount of time in order to perform a check. 2. It requires a professional programmer in order to properly translate it. 3. It requires the end user to be sure that all of the code is entered correctly. 4. It requires a secondary IDE in order to cross-reference the code for accuracy.

3. It requires the end user to be sure that all of the code is entered correctly.

How should the success of any IDE or program be measured? 1. Success should be measured by the amount of developers who worked on it. 2. Success should be measured by how well the code that forms it was made. 3. Success should be measured by the ease in which end users can navigate it. 4. Success should be measured by how often the program is updated and maintained.

3. Success should be measured by the ease in which end users can navigate it.

Which of the following is a key difference between a Windows 7 restore point and one you set yourself? 1. Windows 7 restore points are set automatically. 2. Windows 7 restore points take far longer to initiate a restore point, while it's faster when you do it yourself. 3. Windows 7 restore points are not all-inclusive, while those you set manually are. 4. Windows 7 restore points are reliable so you won't have to deal with a corrupted system configuration.

3. Windows 7 restore points are not all-inclusive, while those you set manually are.

Which of the following is described as "a text editor on steroids"? 1. a concurrent versions system 2. an input processing output 3. an integrated development environment 4. a universal modeling language

3. an integrated development environment

What is a UML? 1. the sub-domain/domain name and the top level domain name for Web sites 2. a functional model and conceptual schema of a general software system 3. an object modeling and specification language used in software engineering 4. a centralized system for referencing the latest version of programming code

3. an object modeling and specification language used in software engineering

What is placed before each of the hierarchy of elements in programming? 1. spaghetti code 2. system class 3. dot operator 4. class statement

3. dot operator

Which of the following is a common cause of unchecked exceptions? 1. missing files 2. errors in a network 3. mathematical errors 4. incorrect user input

3. mathematical errors

What does Git do? 1. perform translations of various versions of programming code 2. generate security for various versions of programming code 3. monitor and access various versions of programming code 4. provide online support for various versions of programming code

3. monitor and access various versions of programming code

What is Sarbanes-Oxley? 1. the federal law that requires the use of proprietary software 2. the federal law that requires ISPs divulge Web information 3. the federal law that requires accounting security features be applied 4. the federal law that requires the enforcement of anti-trust measures

3. the federal law that requires accounting security features be applied

Which of the following is a version control system that a programmer can choose to use to monitor and access various versions of programming code? 1. Concurrent Versions System 2. Ant Build 3. Universal Modeling Language 4. Git

4. Git

Which of the following statements best describes exceptions in Java? 1. In Java, all exceptions are unchecked exceptions regardless of how they are classified. 2. In Java, all exceptions are unchecked exceptions unless classified in the Error and RuntimeException classes. 3. In Java, all exceptions are checked exceptions regardless of how they are classified. 4. In Java, all exceptions are checked exceptions unless classified in the Error and RuntimeException classes.

4. In Java, all exceptions are checked exceptions unless classified in the Error and RuntimeException classes.

Which of the following characterizes how an enabled security program might react to a new program installation on a computer system? 1. It might alert you to space requirement excesses. 2. It might automatically set a restore point for the computer system. 3. It might protect the new installation from getting viruses. 4. It might report an error or tell you that the file is corrupted.

4. It might report an error or tell you that the file is corrupted.

What must be present for any program to succeed or improve? 1. an adherence to keeping scheduled program updates 2. an adherence to everyone using the same programs 3. an adherence to spreading the work out for diversity 4. an adherence to basic structures and standardization

4. an adherence to basic structures and standardization

Rupesh wants to try programming with Eclipse. What is the first step he should take to make that happen? 1. download the current Java Development Kit 2. download the Eclipse IDE 3. disable his security program 4. create a restore point

4. create a restore point

I/O of Boolean, char, byte, short, int, long, float, and double data types are processed by which of the following? 1. character streams 2. object streams 3. byte streams 4. data streams

4. data streams

What is a CVS? 1. the sub-domain/domain name and the top level domain name that is used to locate Web sites 2. what a programmer can choose to use to monitor and access various versions of programming code 3. the application of commonly used or agreed upon methods of presentation or use to permit efficiency 4. what a programmer can access to ensure that they are referencing the latest version of programming code

4. what a programmer can access to ensure that they are referencing the latest version of programming code

the entity that processes the machine code derived from high-level programming languages, such as Java

CPU

A centralized version control system that a programmer or teams of programmers can access to ensure that they are referencing or including the latest version of programming code is a ___________ Versions System.

Concurrent

a centralized version control system that a programmer or team of programmers can access to ensure that they are referencing or including the latest version of programming code

Concurrent Versions System

an IDE useful for programming Java

Eclipse

a version control system that a programmer can choose to use to monitor and access various versions of programming code

Git

the head developer of a project needs to keep other programmers on the same recent build

Git

a program used to test a new programming language

HelloWorld

an application in which to develop code

IDE

a developer needs the build to be uniform and conform to a standardization

Maven

Explain why is it important to strip off proprietary coding.

Proprietary code is code that is not your own so you may have to pay a fee to use it but if you take out the proprietary code then you don't have to pay a fee, this is very helpful for small businesses.

the federal law that requires accounting security features be applied

Sarbanes-Oxley

Explain the advantages and disadvantages of IntelliJ IDEA.

Some advantages of using IntelliJ IDEA are that it monitors your code as you type, and it provides solutions to your code if there is an error. Another thing is that it does not require that you know the name of every class file in order to use it in your code. Some disadvantages of Intelli IDEA are that it's slower to run and build code compared to other IDEs, such as Eclipse, and does not hold many plugins. Another problem's not as easy to make a location for your program files as Eclipse.

all of the XML tags in a messy code need to be identified

Spring Bean

any exception that can be analyzed by the compiler

checked exception

a version-control system that a programmer can choose to use to monitor and access various versions of programming code

git

File, Edit, View, Run, Tools, Windows, and Help are all examples of ______ items found in every IDE text editor.

menu

Your Java class should be given the same name as your Java________.

program

A user interface is the creation of a ________ for the convenience of a user.

programmer

a snapshot of the state of a computer operating system and applications which can be reinstated in case corruption occurs

restore point

Checked exceptions are generally uncovered during compilation, while unchecked exceptions are generated at _______ .

runtime

The red warning icon will change to a line number when the statement's _______ is typed at the end.

semicolon

an interface used for coding with standardized menus

text editor

A submenu in a text editor is indicated by a ______________.

triangle

Loops that can always be _______ are infinite.

true

any exception not checked by the compiler

unchecked exception


Kaugnay na mga set ng pag-aaral

AICE English Language - Linguistic Devices

View Set

EMT Chapter 37 Transport Operations

View Set

chapter 15: mendelian inheritance

View Set

H356 Biophysical Processes: Final Exam

View Set

Chapter 7- Love and Romantic Relationships

View Set