Baker Nicholas Assignment 4 Theory Spring 2022
docx
keyboard_arrow_up
School
RMU *
*We aren’t endorsed by this school
Course
3212
Subject
Computer Science
Date
Dec 6, 2023
Type
docx
Pages
47
Uploaded by SuperHumanRookPerson1476
ASSIGNMENT 4 THEORY
SPRING 2022
J. Packy J. Packy Laverty, PH.D. Professor of Computer Information Systems, System z
Enterprise Coordinator Robert Morris University, Pittsburgh, PA
laverty@rmu.edu
Enter your Name Here
è
Nicholas Baker
To better Access and Search the content of this assignment, turn on the Word
Navigation Pane (Windows - Click on View and Check Navigation; MAC – Click on View
and Select Document Map). Students will find that using the document FIND tool or
searching GOOGLE may also be valuable for researching the review question answer.
P a g e
2 | 47
ASSIGNMENT 4 THEORY SPRING 2022
1.0 Introduction to Application Program Development
This assignment contains many videos and text links.
You are not required to view all
of the videos or visit all of the text links. Most questions can be answered by reviewing
the course documents provided with the assignment.
However, a few questions may
require you to view a video or visit a link which is most cases will be obvious by the
video or text link title. Remember you can search text links using CTRL-F for question
keywords.
The extra video links may add extra pages to this assignment. It is common that
students will complain that an assignment is 40, 50 or more pages long, when the
video and text link catalogs us up more than 60% or the pages.
However, since you will keep an electronic copy of this document the video and text
links may be useful to you in your future career or other courses
.
Text Link - What Does A Programming Language Do?
http://cplus.about.com/od/introductiontoprogramming/p/programming.htm
Text Link - Computer Program
http://en.wikipedia.org/wiki/Computer_program
Text Link - What is a computer algorithm?
http://computer.howstuffworks.com
Text link – Algorithm
http://en.wikipedia.org/wiki/Algorithm#Formalization
1.1 Questions - Computer Program Language and Computer Algorithms
1. What is a computer program?
Enter your Answer
è
A computer program is a sequence of instructions in a
programming
language
that a
computer
can execute or interpret.
2. What is a computer algorithm?
Enter your Answer
è
A computer algorithm is a sequence of
well-defined
instructions, typically
used to solve a class of specific
problems
or to perform a
computation
.
3. What are the differences between a computer program and a computer algorithm?
Enter your Answer
è
A program is a set of instructions while an algorithm is a sequence of
programs/instructions.
P a g e
3 | 47
ASSIGNMENT 4 THEORY SPRING 2022
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
1.2 Questions – Introduction to Programming
Watch Introduction to Programming (Eli the Computer Guy)
(Programming Language, Compilers/Interpreters, SDK and APIs, Prototyping) -
https://www.youtube.com/watch?v=lJnvq0A_7WQ
4. What programming language can be directly understood by the computer without translation in
binary code and computer instruction format?
Enter your Answer
è
High level language/ c, c++, BASIC
5. Which programming language executes very efficiently, easier to program than machine language,
and is more power and flexible than higher-level languages like C, C++, COBOL, Java, VB.NET, etc.?
Enter your Answer
è
python
6. What popular programming languages would one use to create a Windows device driver?
Enter your Answer
è
C+
7. What popular open-source scripting programming languages would one use to create web-based
server applications?
Enter your Answer
è
PHP
8. What popular open-source scripting programming languages is embedded in an HTML document
and executes code on of within a browser client?
Enter your Answer
è
JavaScript
9. What popular programming languages would one use to create animated graphics, audio, video
and special effects on a web page?
Enter your Answer
è
flash
10. What poplar programming language would one use to create applications that run on multiple
platforms and operating systems?
Enter your Answer
è
java
11. What object-oriented programming languages are designed to create GUI-based applications for
Microsoft operating systems?
Enter your Answer
è
visual Basic
12. What programming languages are designed to create dynamic web-based applications for
Microsoft servers, which may interact with VB.NET or C#.NET applications? (The answer is NOT
VB.NET or C#.Net)
Enter your Answer
è
python, C, C++, C#
13. What is a Software Development Kit (SDK)?
Enter your Answer
è
A software development kit is a collection of software development tools
in one installable package. They allow you to program the device you are planning to program.
14. What is an Application Development Interface (API)?
P a g e
4 | 47
ASSIGNMENT 4 THEORY SPRING 2022
Enter your Answer
è
An API is a connection between computers or between computer
programs that is a type of software interface, offering a service to other pieces of software.
15. If you want to write an application that access and interacts with Twitter, Facebook, or Google
Apps, one would need to use the appropriate
__________ (SDK or API)?
Enter your Answer
è
API
16. If you want to write an application that wants to use the hardware of a smart phone, mobile device,
or simplifies the coding of web applications one would need to use the appropriate
__________
(SDK or API)?
Enter your Answer
è
SDK
P a g e
5 | 47
ASSIGNMENT 4 THEORY SPRING 2022
17. What is prototyping?
Enter your Answer
è
It is where you plan out what you want the program to do.
18. What is the biggest problem with application programming?
Enter your Answer
è
Most people do not understand what they want to do.
19. What is Pseudocode?
Enter your Answer
è
When you write out how you want the program to function.
1.3 Program Translators - Compilers versus Interpreters
Introduction to Procedural Application Development
Text Link - Compiler vs Interpreter – Advantages and disadvantages
https://pandabunnytech.com/compiler-vs-interpreter/
Text Link - Source Code
http://en.wikipedia.org/wiki/Source_code
Text Link - Object Code
http://en.wikipedia.org/wiki/Object_code
Text Link - Translator (computing)
https://en.wikipedia.org/wiki/Translator_(computing)
Text Link - Types of program translator
https://en.wikibooks.org/wiki/A-
level_Computing/AQA/Computer_Components,_The_Stored_Program_Concept_and_the_Internet/Fundamental
s_of_Computer_Systems/Types_of_program_translator
Text Link - What is a computer language translator?
https://www.reference.com/technology/computer-language-translator-1c3fb8a9ee90cfde
Text Link - Compiler
http://en.wikipedia.org/wiki/Compiler
Text Link - Interpreter
http://en.wikipedia.org/wiki/Interpreter_(computing)
Text Link - Advantages and Disadvantages of an Interpreter
http://wiki.answers.com/Q/What_are_the_advantages_and_disadvantages_of_becoming_a_interpreter
Video - What is Assembler, Interpreter & Compiler?
https://www.youtube.com/watch?v=bQjW9OAhEco
Video - Compilers and interpreters (Daniel Livingstone)
https://www.youtube.com/watch?v=kH0i775H4Iw
Video - Interpreters and Compilers - Animation (Bits and Bytes, Episode 6)
https://www.youtube.com/watch?v=ViNnfoE56V8
P a g e
6 | 47
ASSIGNMENT 4 THEORY SPRING 2022
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
There are three primary types of program translator that are used to translate source program code
into object program code: Interpreters, Compilers, and Just-in Time Compliers.
1.3 1 Questions Program Translators - Compilers versus Interpreters
17. What is the function of a Program Language Translator?
Enter your Answer
è
They are used to translate source program code into object program
code.
18. What is Program Source Code?
Enter your Answer
è
Source code is the list of human-readable instructions that a
programmer writes that meets defined program specifications once the program is
executed.
P a g e
7 | 47
ASSIGNMENT 4 THEORY SPRING 2022
19. What is Object Code?
Enter your Answer
è
The object code is the translated code that is the output of a
compiler.
20. Summarize the process that a Program Compiler will use to translate Source Program Code into
Object Code.
Enter your Answer
è
It translates the source code into a file to which the file is then run by the
operating system.
21. Summarize the process that a Program Interpreter will use to translate Source Program Code into
Object Code.
Enter your Answer
è
An interpreter does not produce object code.
22. Using the following table list the advantages and disadvantages of using Compilers as a
translator.
Advantages
Disadvantages
fast
Hard to find errors
efficient
Continues even if there is an error
Reliable translation
Requires effort to be reliable
23. List the advantages and disadvantages of using Interpreters as a translator using the following
table.
Advantages
Disadvantages
Help test code quicker
slow
Debugging is easier
Translates multiple times
Stops when there is an error
Translates line by line
Many IDEs like Microsoft Visual Studio, Eclipse, Net Beans, XCode, or IBM's iDz will provide
both Interpreter and Compiler translators.
Interpreters are very useful during the initial coding
and testing phases.
Some IDEs will highlight syntax or typing errors as they type the source
code. But, almost all IDEs will use an Interpreter to execute code (RUN) one line at a time
until they encounter an error. At least the developer gets some type of execution. Many IDEs
will use the interpreter to "step through" the execution of the program one-line-at-a-time a
program to help the programmer debug the error.
However, the limitations of a program interpreter to execute the program are too many, that
the program source code will be compiled into a, executable file or load module. When the
programmer is finished with application development and testing, the BUILD tool will use the
compiler to translate source code into object code and will combine all object code into a,
assembly, package or load module to be deployed and executed.
1.4 Integrated Development Environment (IDEs)
P a g e
8 | 47
ASSIGNMENT 4 THEORY SPRING 2022
Video - What are IDE's (Integrated Development Environment)?
https://www.youtube.com/watch?v=y-JMWznav7M
Video - Integrated Development Environment - Quick Tutorial
https://www.youtube.com/watch?v=S7JlgN0yYPo
Students or new developers may be more familiar with graphical user interfaces than text-based CLI
or menu interfaces, such as Visual Studio and Eclipse-based plugin IDEs
Integrated Development
Environment (IDE) clients and software for building applications that combines common
developer tools into a single graphical user interface (GUI).
IDEs are often called thick clients.
IDE Source Code editors
assist in writing software code faster and with less experience.
Highlights syntax with visual cues, e.g., highlights program structure and distinguishes
statements and clauses from data.
Provides language specific auto-completion, e.g., predicts program syntax or data names after
a few keystrokes.
Checks for bugs and syntax errors or autocorrects program code is being written.
IDE Local or Server Build and Testing Automation tools
will simplify the process or compiling
source code into executable code, package binary executable code, and runs automated tests.
Testing focuses on finding bugs and errors and are used to ensure that the program is correct and
meets specification standards.
IDE Debugger Tools
are designed to assist programmers to troubleshoot the cause of run-time,
logic, or program specification errors after program bug has been found.
There are hundreds of IDE Clients and Tools available to support a variety of server and mobile
operating systems, program languages, web page (HTML) design, middleware integration and data
storage, and application security testing.
Text Link - Integrated development environment
https://en.wikipedia.org/wiki/Integrated_development_environment
Text Link - Source code editor
https://en.wikipedia.org/wiki/Source_code_editor
Text Link - Cloud IDEs for Web Developers
http://www.hongkiat.com/blog/cloud-ide-developers/
24. List several functions Integrated Development Environment (IDE).
Enter your Answer
è
They provide compilers and interpreters as well as many other program
development tools to aid in the building, testing, debugging, and running of program code.
P a g e
9 | 47
ASSIGNMENT 4 THEORY SPRING 2022
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Text Link - Source code editor
https://en.wikipedia.org/wiki/Source_code_editor
Video - Notepad Plus Plus - Free Source Code Editor
https://www.youtube.com/watch?v=Pa6H4elNGog
Video - How to use NotePad++
https://www.youtube.com/watch?v=vl82JFZvrX8
25. Many IDEs provide a Source Code Editor. List and explain some features of a source code editor.
Enter your Answer
è
It has features to help simplify and speed up typing of source code such
as syntax highlighting, indentation, autocomplete and brace matching functionality. These
editors also provide a convenient way to run a compiler, interpreter, debugger, or other
program relevant for the software-development process.
Text Link - Intelligent code completion
https://en.wikipedia.org/wiki/Intelligent_code_completion
26. Describe the concept and advantages of IDE Code Completion.
Enter your Answer
è
IDE’s allow programs that are bug free and run fast to be produced faster
than programs not completed in an IDE.
Text Link - What is a Debugger?
https://en.wikipedia.org/wiki/Debugger
Text Link – What is a Breakpoint?
https://www.webopedia.com/TERM/B/breakpoint.html
Video - Debugging with Breakpoints in Visual Studio
https://www.youtube.com/watch?v=7ab4z9u7Q_I
Text Link - Intelligent code completion
https://en.wikipedia.org/wiki/Intelligent_code_completion
27. List and explain some features of a Source Code debugger.
Enter your Answer
è
It runs the code and monitors the computers resources as well as
performance to look for malfunctioning code.
28. What is the debugging Break point?
Enter your Answer
è
The location in programming code that, when reached, triggers a
temporary halt in the program.
P a g e
10 | 47
ASSIGNMENT 4 THEORY SPRING 2022
2.0. Program Development Errors and Testing
2.1 Types of Program Errors
Video - Syntax, Runtime & Logic Errors
https://www.youtube.com/watch?v=pUDCPSZhAeM
Video - Programming Errors & Types, (Syntax Error, Runtime Error, Logical Error)
https://www.youtube.com/watch?v=SJqtSTSD9dE
Video - Logic Errors Meaning, Definition and Explanation
https://www.youtube.com/watch?v=GvNXxg6F20s
Text link - Three Kinds of Programming Errors
http://msdn.microsoft.com/en-us/library/s9ek7a19.aspx
Text Link- Syntax Errors
http://www.ehow.com/facts_5192875_syntax-error-computer-program_.html
Text Link- Syntax Errors
http://www.thefreedictionary.com/syntax+error
2.1.1 Questions -Types of Program Errors
1 What is program syntax?
Enter your Answer
è
Syntax is the specific coding rules of a specific programming language.
2 What is a program syntax or compilation error?
Enter your Answer
è
It is an error that prevents code from being compiled and executed.
3 Provide an example of a program syntax or compilation error.
Enter your Answer
è
Typing a keyword incorrectly.
4 How are program syntax or compilation errors found?
Enter your Answer
è
Commonly the code will not run and if an IDE is being used the error
would be highlighted or else the programmer would have to look at where the program failed
compiling and find the problem manually.
Text Link - Logic Error
http://wiki.answers.com/Q/What_is_a_logic_error_in_programming
Text Link - Logic Error
http://en.wikipedia.org/wiki/Logic_error
P a g e
11 | 47
ASSIGNMENT 4 THEORY SPRING 2022
5 What is a program logic or semantic error?
Enter your Answer
è
It is an error that makes the code not run or give output like it is
supposed to.
6 Provide an example of a program logic or semantic error.
Enter your Answer
è
Combining operators into a calculation in an order that they do not
produce the required result.
7 How are program logic errors found?
Enter your Answer
è
They can be found where the calculation or user of operators/keywords
are used, and are most likely going to be in an incorrect sequence.
Text Link- Run Time Errors
http://en.wikipedia.org/wiki/Run_time_(computing)
Text Link- Run-time Errors
http://www.webopedia.com/TERM/R/runtime_error.html
8 What is a program run-time error?
Enter your Answer
è
A runtime error is detected after or during the execution of a program.
9. Provide an example of a program run-time error.
Enter your Answer
è
Running out of memory during execution.
10 How are program run-time errors found?
Enter your Answer
è
Runtime errors are not always in the code but can be found and fixed by
looking at the error code and information it gives you.
P a g e
12 | 47
ASSIGNMENT 4 THEORY SPRING 2022
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
2.2 Software Testing
Video - Types of Software Testing
https://www.youtube.com/watch?v=mD-fGb_7yp4
Video - Software Testing Life Cycle (STLC) In Software Testing
https://www.youtube.com/watch?v=HylDB3bN6hQ
Video - What is Manual Testing?
https://www.youtube.com/watch?v=xCwkjZcEK6w
Video - How to Write TEST CASES in Manual Testing
https://www.youtube.com/watch?v=g0PrXoWKM2Y
Video - How to write Test Cases || Manual Testing for Beginners
https://www.youtube.com/watch?v=5HqN2Zk9hUc
Video - Software Testing as a Career
http://www.youtube.com/watch?v=GlLBXGeEcPo
Video - Managers overview of Unit Testing and Mocking
http://www.youtube.com/watch?v=aNhxVFck32A
Video - Software Testing Fundamentals Tutorial for beginners Day 01
http://www.youtube.com/watch?v=uYa5IhdacjE
Video - Mark Story - Win at life with Unit testing
http://www.youtube.com/watch?v=n-C3fPRnAs4
Video - Integration Testing
http://www.youtube.com/watch?v=yFaKUyTj1vo&list=TLOCUalHy1JOJ3S4VW3TMAqyNQTOiAgkWB
Video - Integration Testing in Software Testing Projects
www.youtube.com/watch?v=yFaKUyTj1vo&list=TLOCUalHy1JOJ3S4VW3TMAqyNQTOiAgkWB
Video - Unit Integration Testing
www.youtube.com/watch?v=yFaKUyTj1vo&list=TLOCUalHy1JOJ3S4VW3TMAqyNQTOiAgkWB
Video - An Introduction to User Acceptance Testing
http://www.youtube.com/watch?v=T6UQrl_HMwY
Video - User Acceptance Testing in Software Testing Projects
http://www.youtube.com/watch?v=aFf2tLzLrDU
Video - System Testing & Acceptance Testing
http://www.youtube.com/watch?v=N8-qNMHOVyw
Text Link - Software testing
http://en.wikipedia.org/wiki/Software_testing
Text Link - Unit testing
http://en.wikipedia.org/wiki/Unit_testing
Text Link - Integration testing
http://en.wikipedia.org/wiki/Integration_testing
Text Link - System testing
http://en.wikipedia.org/wiki/System_testing
Text Link - Acceptance (user) testing
http://en.wikipedia.org/wiki/Acceptance_testing
P a g e
13 | 47
ASSIGNMENT 4 THEORY SPRING 2022
2.2.1 Questions - Software Testing
11. Describe each category of application testing using the following table.
Levels of Application
Software Testing
Description of Testing Activities
Unit Testing
Where one or more computer program modules are set
together with associated control data, usage procedures, and
operating procedures which are tested to determine whether
they are fit for use.
Integration Testing
Individual software modules are combined and tested as a
group
System Testing
Tests not only the design, but also the behavior and even the
believed expectations of the customer by testing the
integrated system as a whole
Acceptance Testing
Testing with respect to user needs, requirements, and
business processes conducted to determine whether a system
satisfies the acceptance criteria and to enable the user,
customers or other authorized entity to determine whether to
accept the system
P a g e
14 | 47
ASSIGNMENT 4 THEORY SPRING 2022
2.3 Test cases, manual versus automated testing
Text Link - What is a Test case?
http://softwaretestingfundamentals.com/test-case/
10 What is a Test case?
Enter your Answer
è
A test case is a documented set of preconditions (prerequisites),
procedures (inputs / actions) and postconditions (expected results) which a tester uses to
determine whether a system under test satisfies requirements or works correctly.
Video - What is Manual Testing? Its Advantages and Disadvantages?
https://www.youtube.com/watch?v=QnTSwUGQsso
Video - Automation Testing Tutorial for Beginners
https://www.youtube.com/watch?v=RbSlW8jZFe8
Video - What is Automation Testing? (Advantages and Disadvantages)
https://www.youtube.com/watch?v=ltF9Y8Qgnxk
Text Link - Automated Testing vs Manual Testing: Which Should You Use, and When?
https://www.apicasystems.com/blog/automated-testing-vs-manual-testing/
Text Link - Automated vs. Manual Testing: The Pros and Cons of Each
http://www.base36.com/2013/03/automated-vs-manual-testing-the-pros-and-cons-of-each/
List three advantages of manual testing.
Enter your Answer
è
Short term cost is lower
More likely to find real user issues
Manual testing is flexible
List three advantages of automated testing.
Enter your Answer
è
Runs tests quickly and effectively
Can be cost effective
Everyone can see the results
P a g e
15 | 47
ASSIGNMENT 4 THEORY SPRING 2022
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
3.0 Overview of Programming Languages
3.1 Questions -
Program Generations and Assembly Language
Video - Generations of Programming Languages (Steve Ingrassia)
https://www.youtube.com/watch?v=OgqsCNE5VmM
Video - Differences between Programming Languages (Mike Levin)
https://www.youtube.com/watch?v=qmksVfulV0o
Video - Classification of Computer Languages
https://www.youtube.com/watch?v=qmksVfulV0o
Video - Programming Language: Basics Definitions & Terms
https://www.youtube.com/watch?v=qmksVfulV0o
Video - High-level Languages - Animation (Bits and Bytes, Episode 6)
https://www.youtube.com/watch?v=kil2Z3ij-JA
Video - Programmed Instruction - Animation (Bits and Bytes, Episode 7)
https://www.youtube.com/watch?v=XxA6EP1fp2Y
Video - A computer never grows up - Animation (Bits and Bytes, Episode 7)
https://www.youtube.com/watch?v=XxA6EP1fp2Y
Read Introduction to Application Programming Document
Video - What is ASSEMBLY LANGUAGE? Meaning, Definition, and Explanation
https://www.youtube.com/watch?v=es4DYTFdqlg
Video - What is ASSEMBLY LANGUAGE? (javidx9)
https://www.youtube.com/watch?v=1FXhjErUz58
Video - Assembly language and machine code - Gary explains!
https://www.youtube.com/watch?v=wA2oMRmbrfo
1. What is the native language and only language that a computer can execute?
Enter your Answer
è
binary
2. What is assembly language?
Enter your Answer
è
Assembly language is any low-level programming language in which
there is a very strong correspondence between the instructions in the language and the
architecture's machine code instructions.
3. What are the advantages of assembly language?
Enter your Answer
è
You can access machine dependent registers, you can control the exact
code behavior in critical sections, you can build interfaces between code fragments, and you
can get access to unusual programming modes of your processor.
4. What are the disadvantages of assembly language?
Enter your Answer
è
It is long and tedious to write initially, it is quite bug-prone, bugs can be
very difficult to chase, your code can be fairly difficult to understand and modify, and the
result is non-portable to other architectures, existing or upcoming.
5. What is meant by one-to-one instruction mapping?
Enter your Answer
è
It means that an assembler scans instructions one by one .
P a g e
16 | 47
ASSIGNMENT 4 THEORY SPRING 2022
6. What is the future of assembly programming language?
Enter your Answer
è
Companies are trying to make assembly easier by adapting already
existing languages such as C to be used as the assembly language.
P a g e
17 | 47
ASSIGNMENT 4 THEORY SPRING 2022
7. What is are the security risks associated to disassembly or reverse engineering?
Enter your Answer
è
Possible inability to put it back together and new problems can be
created that are worse than before.
8. What are the advantages and disadvantage of Abstraction?
Enter your Answer
è
Advantages: the application becomes more flexible, you can easily replace the love part.
Disadvantages: code becomes harder to understand
9. List several examples of third generation programming languages?
Enter your Answer
è
ALGOL, BASIC, C, COBOL, Fortran, Java, and Pascal.
3.2 Questions - Procedural, Object-oriented, markup and scripting languages
Video - Procedural Programming Vs Object Oriented Programming
https://www.youtube.com/watch?v=70sld4fYcqU
Text Link -- Difference Between Object-oriented Programming and Procedural Programming Languages
https://neonbrand.com/website-design/procedural-programming-vs-object-oriented-programming-a-review/2/
Video - What are the advantages of procedural programming languages over OOP ones?
https://www.quora.com/What-are-the-advantages-of-procedural-programming-languages-over-OOP-ones
Video - The differences between procedural and object-oriented programming
https://www.youtube.com/watch?v=OEfSFrk_KEI
Video - Procedural Languages (Andy Wicks)
https://www.youtube.com/watch?v=-Ghtij4KegI
Video - Procedural Programming
https://www.youtube.com/watch?v=L_heKLtCe9A
Video - Event Driven Languages (Andy Wicks)
https://www.youtube.com/watch?v=tI8ijLpZaHk
Video - Object Oriented Programming Languages (Andy Wicks)
https://www.youtube.com/watch?v=6LnvgyuTrBo
Video - Mark-up and scripting languages (Andy Wicks)
https://www.youtube.com/watch?v=1mDG7i_NDt8
Video - Functional vs Imperative Programming
https://www.youtube.com/watch?v=VfgUpGeVSTs
P a g e
18 | 47
ASSIGNMENT 4 THEORY SPRING 2022
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Introduction to Application Programming Document
Video - The difference between procedural and object-oriented programming
https://www.youtube.com/watch?v=OEfSFrk_KEI
10. What is a Procedural Programming Language?
Enter your Answer
è
Procedural programming languages use a list of instructions to tell the
computer what to do step-by-step.
11. What is an Object-oriented Programming Language?
Enter your Answer
è
Object oriented programming languages are an approach to problem
solving where all computations are carried out using objects.
12. What is the primary advantages of an Object-oriented Programming Language?
Enter your Answer
è
Easy to reuse code and uses methods and classes.
12a. As compared to object-oriented programming languages, what are the advantages of a
procedural programming language like COBOL?
Enter your Answer
è
Simple to understand because it is how humans expect a program to
work, and each procedure is considered to be independent which makes fixing code easier.
12b. As compared to object-oriented programming languages, what are the disadvantages of a
procedural programming language like COBOL?
Enter your Answer
è
Takes more time and may be more difficult to write code and does not
allow the programmer to easily reuse code that has already been written.
12c.Provide an example of a markup language.
Enter your Answer
è
ASP.NET Razor server-side markup language
12c Provide an example of a scripting program language.
Enter your Answer
è
PHP
P a g e
19 | 47
ASSIGNMENT 4 THEORY SPRING 2022
3.3 Questions - C, C++, and C#
Text Link - Advantages and Disadvantages of C Language
http://www.thecrazyprogrammer.com/2013/07/what-are-advantages-and-disadvantages.html
Text Link - Uses of C
https://www.le.ac.uk/users/rjm1/cotter/page_05.htm
Text Link - What is C++ used for?
https://www.quora.com/What-is-C++-used-for
Text Link - Why Code in C Anymore?
http://www.drdobbs.com/cpp/why-code-in-c-anymore/240149452
Video - Why Use C Programming & Uses of C Language
https://www.youtube.com/watch?v=_nIeO1ZBSA8
Video - Why Learn C++ Programming?
https://www.youtube.com/watch?v=4Y732_hTU2A
Video - Advantages of the C Program Language
https://www.youtube.com/watch?v=UPfn3Dm6qu0
Video - C++ Programming Pros and Cons
https://www.youtube.com/watch?v=UoZXA2a3yB8
Video - Why C# is better than C++ (Techy Help)
https://www.youtube.com/watch?v=BbtjHH0z5i8
Videos - Why C# is better than C++
https://www.youtube.com/watch?v=sRn9lhkVaxw
13. List four uses of the C Programming language?
Enter your Answer
è
Database systems, Graphics processors, word processors, and network
drivers.
14. List four uses of the C ++ Programming language?
Enter your Answer
è
Operating systems, game development, IoT devices, and databases.
15. Compare the performance of C with C ++ programs.
Enter your Answer
è
They perform very similar with C++ being able to the same programs
written in C just as fast if not faster.
16. The most powerful and fastest programming language is assembly language. Why would one use
C or C++ programs instead of assembly programs?
Enter your Answer
è
It is much easier to learn C and C++ as well as program in C or C++
compared to assembly languages. Using C or C++ to program the computer would have great
benefits.
P a g e
20 | 47
ASSIGNMENT 4 THEORY SPRING 2022
Text Link - When to use C#/C++
http://stackoverflow.com/questions/1251710/when-to-use-c-c
Text Link - What are the advantages of learning C# over C++?
https://www.quora.com/What-are-the-advantages-of-learning-C-over-C
++
Text Link - For what reasons should I choose C# over Java and C++?
http://softwareengineering.stackexchange.com/questions/125712/for-what-reasons-should-i-choose-
c-over-java-and-c
17. List four or more reasons why a programmer should use C# as compared to C/C++?
Enter your Answer
è
Garbage collection is the most important
C# has anonymous functions such as closures
C# has an actual module system.
C# has generics which are more powerful in some ways than C++'s compile-time template
system
3.4 Questions - FORTRAN and COBOL
"Fortran (previously FORTRAN) is a general-purpose, procedural, imperative programming language that is
especially suited to numeric computation and scientific computing. Originally developed by IBM at their campus
in south San Jose, California in the 1950s for scientific and engineering applications, Fortran came to dominate
this area of programming early on and has been in continual use for over half a century in computationally
intensive areas such as numerical weather prediction, finite element analysis, computational fluid dynamics,
computational physics and computational chemistry. It is one of the most popular languages in the area of high-
performance computing and is the language used for programs that benchmark and rank the world's fastest
supercomputers."
http://en.wikipedia.org/wiki/Fortran
Video - Should I Learn Fortran or C++?
https://www.youtube.com/watch?v=J-IC3M6bc6o
18. What type of application programs are written in FORTRAN?
Enter your Answer
è
FORTRAN is used in numeric computation and scientific computing
types of application programs.
19. What type of application programs are written in COBOL?
Enter your Answer
è
Applications using large input and output data using tape and disk files
which is common in business applications.
P a g e
21 | 47
ASSIGNMENT 4 THEORY SPRING 2022
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
3.5 Questions - Objective-C and Swift
20a. Which popular technology uses applications coded in the Objective-C program language?
YOUR ANSWER IS
è
Apples IOS and MacOS
20b. Why has Swift replaced Objective-C applications in many technologies?
YOUR ANSWER IS
è
It is more resilient to erroneous code and safer than Objective C, and was also more concise.
P a g e
22 | 47
ASSIGNMENT 4 THEORY SPRING 2022
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
3.6 Questions - PHP, WAMP, LAMP and MAMP
Text Link - Why use PHP to build your Website?
http://www.wolf21.com/blog/why-use-php-to-build-website/
Text Link - The Top Three Reasons to use PHP
http://php.about.com/od/phpbasics/p/php_reasons.htm
Video - What is PHP?
https://www.youtube.com/watch?v=fT7rCWZvsD8
Video - Introduction to PHP - A Complete PHP Tutorial for Absolute Beginners
https://www.youtube.com/watch?v=7UMNz5T-0VQ
Video - PHP Programming Part 1: Introduction to PHP Programming
https://www.youtube.com/watch?v=27dR_sLaM74&list=PL6C3CB409A8577C2F
Video - PHP Programming Part 2: PHP Syntax and Errors
https://www.youtube.com/watch?v=L0pgyxOAdlg&list=PL6C3CB409A8577C2F
Video - PHP Programming Part 3: Comments and INCLUDE in PHP Programming
https://www.youtube.com/watch?v=LLSKQbKbaVg&list=PL6C3CB409A8577C2F
Video - LAMP and WAMP
https://www.youtube.com/watch?v=tJoVPDLSIR8
Video - What is the LAMP Stack? -
https://www.youtube.com/watch?v=WY8jwTNYTfg
Video - How to install WAMP server on windows
https://www.youtube.com/watch?v=kVc_9vAO7oI
Video - Introduction to PHP - Day 1 - Server setup and Hello World
https://www.youtube.com/watch?v=QU5kUrt2lN0
Video -Static and Dynamic Web Pages
https://www.youtube.com/watch?v=_Sf1FQh-8-I
Video - Difference between a Static & a Dynamic Website
https://www.youtube.com/watch?v=hlg6q6OFoxQ
Video - What Is PHP? (The John Morris Show)
https://www.youtube.com/watch?v=BAI1w9WOstA
Video - The PHP Process Explained (Leigh Cotnoir)
https://www.youtube.com/watch?v=6QGskEOIS9E
Video - PHP, HTML, and CSS: What's the difference?
https://www.youtube.com/watch?v=tQvsNEZ0s6o
Video - Basic Difference between HTML, CSS, PHP
https://www.youtube.com/watch?v=W-69lcNvKn0
Video - JavaScript Vs PHP
https://www.youtube.com/watch?v=o7m6zmxdw00
P a g e
23 | 47
ASSIGNMENT 4 THEORY SPRING 2022
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
21. What is a static web site?
YOUR ANSWER IS
è
A static web page is a web page that is delivered to the user's web browser exactly as stored,
in contrast to dynamic web pages which are generated by a web application.
What is a dynamic c web site?
YOUR ANSWER IS
è
Dynamic websites are generated on the fly and use server-side technology to generate
webpages.
21. What is PHP the programming language used for, e.g., system programming, application
development, dynamic web page applications, etc.?
YOUR ANSWER IS
è
Web development
22. The PHP programming language is often bundled with other products, e.g., LAMP?
What does
the acronym LAMP mean?
YOUR ANSWER IS
è
The MySQL database bundled for Linux (LAMP)
23. What are the differences and roles of HTML and PHP?
YOUR ANSWER IS
è
PHP starts and ends instructions while HTML can be instructions that does something.
24. What are the differences and roles of CSS and PHP?
YOUR ANSWER IS
è
CSS is a style sheet language used to shape the HTML elements that will be displayed in the
browsers as a web-page while PHP is a server-side scripting language and is used to develop
Web applications. CSS cam be used in a PHP file but PHP cannot be used in a CSS file.
25.
What are the differences and roles of MYSQL and PHP?
YOUR ANSWER IS
è
PHP is a programming language while MySQL is a database engine/server. The vast majority of
the web runs on code written in PHP which then interacts with data stored in MySQL
databases
.
26.
What are the differences and roles of Java Script and PHP?
YOUR ANSWER IS
è
PHP is a server-side scripting language while JavaScript is a client-side scripting language.
.
P a g e
24 | 47
ASSIGNMENT 4 THEORY SPRING 2022
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
3.7 Question -Ruby on Rails
Text Link - Five Reasons Why We Use Ruby on Rails
http://www.infront.com/blogs/the-infront-blog/2013/1/4/five-reasons-why-we-use-ruby-on-rails
Text Link - When to use Ruby on Rails?
http://www.slideshare.net/dosire/when-to-use-ruby-on-rails-1308900
Text Link - 20 Reasons Why Every Web Designer Needs to Learn Rails
http://blog.teamtreehouse.com/reasons-why-every-web-designer-needs-to-learn-rails
Video - Ruby Programming Pros and Cons (Techy Help)
https://www.youtube.com/watch?v=QM5iaT6Oas4
Video - Why Learn Ruby in 2019
https://www.youtube.com/watch?v=gpA2i1tDKJQ
Video - Intro to Rails: Getting Started (1) (Mackenzie Child)
https://www.youtube.com/watch?v=2gUbteh54RM&list=PL23ZvcdS3XPKnwg3lMv-
JGNCn08kB0wsA&index=1
Video - Intro to Rails: What is Ruby on Rails? (2) (Mackenzie Child)
https://www.youtube.com/watch?v=zppMfm4fuxM
26. What are the primary uses for Ruby on Rails?
YOUR ANSWER IS
è
providing default structures for a database, developing a web service, and creating web pages
27. List several pros for using Ruby on Rails?
YOUR ANSWER IS
è
Reuse of code
Agile practices
Security
Model view controller
28. List several cons for using Ruby on Rails?
YOUR ANSWER IS
è
Ruby is slow
Ruby is new
29. Is Ruby on Rails more similar to the C programing language or PHP programming language?
YOUR ANSWER IS
è
PHP
P a g e
25 | 47
ASSIGNMENT 4 THEORY SPRING 2022
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
3.8 Questions
Python
Text Link - Why We Choose Python?
http://www.sixfeetup.com/blog/why-we-choose-python
Text Link - Why use Python as compared to other programming languages?
http://www.reddit.com/r/Python/comments/1bqv85/why_do_you_choose_python_over_other_language/
Text Link - Why do you use python?
https://groups.google.com/forum/#!topic/comp.lang.python/ZsyxDS2lt0A
Video - Why you should learn Python Programming? (Chris Hawkes)
https://www.youtube.com/watch?v=qfYilSuIPVg
Video - What is Python Used For?
https://www.youtube.com/watch?v=J9BTrvosOOM
Video - Top 5 Reasons to Learn Python (Joe James
)
https://www.youtube.com/watch?
v=5CZvkggt7C4&t=6s
Video - Should I Learn Scala or Python? (Techy Help)
https://www.youtube.com/watch?v=d86sg2aYoSU
Video - Should I Learn Java or Python? (Question Everything)
https://www.youtube.com/watch?v=epXQMbnmlcY
Video - How Python is Different from Java? (Techy Help)
https://www.youtube.com/watch?v=iEXr2EhJUTw
Video - Python Programming Pros and Cons
https://www.youtube.com/watch?v=qfYilSuIPVg
Video - Is Python Beginner Friendly?
https://www.youtube.com/watch?v=ryU5SVXO4Q0
Video - Python Programming in 15 Minutes
https://www.youtube.com/watch?v=yk022Kz8zqg
Video Cartoon - Should I Learn Java or Python?
https://www.youtube.com/watch?v=epXQMbnmlcY
Video - Python Programming
Introduction
https://www.youtube.com/watch?v=72RKMMyLxS8
Video - You Used Python for What?!
https://www.youtube.com/watch?v=NLRWUQDaApw
P a g e
26 | 47
ASSIGNMENT 4 THEORY SPRING 2022
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
30. List several popular uses of Python.
YOUR ANSWER IS
è
AI
Machine learning
Data analytics
Data visualization
Programming applications
Web development
Game development
31. List several advantages of using Python?
YOUR ANSWER IS
è
Easy to learn, read, and write
Dynamically typed
Free and open source
Vast libraries
portability
32. List several disadvantages of using Python?
YOUR ANSWER IS
è
Slow speed
Not memory efficient
Weak in mobile computing
Runtime errors
33. Compare the use of Python to Java.
YOUR ANSWER IS
è
Java and python can be used for many things but the main difference in use is that java was
meant for the web while python was more for general purpose.
3.9 Questions - Scala and R
Video - What is Scala and Why to Learn Scala? (Telusko Learnings)
https://www.youtube.com/watch?v=yVzRdr5AB34
Video - Why Scala is the Future? (Techy Help)
https://www.youtube.com/watch?v=6JN8YJbrcIY
Video - Should I Learn Scala or Python? (Techy Help)
https://www.youtube.com/watch?v=d86sg2aYoSU
Video - How Scala Conquered the Big Data World (Techy Help)
https://www.youtube.com/watch?v=AHB6aJyhDSQ
Video - Why is Scala Faster than Java? (Techy Help)
https://www.youtube.com/watch?v=PgTBrzR8TJg
Video - Should I Learn Scala or Java? (Techy Help)
https://www.youtube.com/watch?v=9_tboZK-508
Video - R Programming Worth Learning? (Techy Help
https://www.youtube.com/watch?v=4Iws2pv4kd8
Video - Reasons to learn the R Programming Language
https://www.youtube.com/watch?v=W2GZFeYGU3s
P a g e
27 | 47
ASSIGNMENT 4 THEORY SPRING 2022
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Video - Ending the R vs Python war
https://www.youtube.com/watch?v=JkgsqIw8gPs
Video - Why Learn R and Career Benefits?
https://www.youtube.com/watch?v=gKmjJzZIbDk
Video - R Programming Tutorial
https://www.youtube.com/watch?v=s3FozVfd7q4
P a g e
28 | 47
ASSIGNMENT 4 THEORY SPRING 2022
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
34. What are the advantages of using the Scala program language to develop Data Analytic
applications?
YOUR ANSWER IS
è
The syntax is easier to learn because it is similar to other languages such as java
Good IDE support
Highly functional
Scalable
Great for data analytics due to support from Apache spark
35. What is a Functional Programming Language?
YOUR ANSWER IS
è
A functional programming language uses function definitions as trees of expressions that map
values to other values, rather than a sequence of imperative statements which update the
running state of the program.
36 Compare the use of Scala to Java in data analytics workloads.
YOUR ANSWER IS
è
Scala was designed to address javas criticisms and is better than java at data analytics
because it has access to libraries that java does not have access to with better support.
37. Compare the use of Scala to Python in data analytics workloads.
YOUR ANSWER IS
è
Scala has the advantage in data analytics workloads compared to python because Scala is
faster and much safer to use in that situation.
38. What are uses of the R Programming language?
YOUR ANSWER IS
è
The R programming language is used for statistical computing and graphics.
.
39. List several reasons why someone should learn the R programming language?
YOUR ANSWER IS
è
R is very good at doing statistical computations.
R is a reasonable choice for creating plots of mathematical functions.
R has lots of available libraries and good online support.
R is good at working with large data sets.
40. Compare the use of R to Python in data analytics workloads.
YOUR ANSWER IS
è
R has the advantage against python because unlike python, R has its origins in
statistical/analytical computations and is good with large sets of data.
P a g e
29 | 47
ASSIGNMENT 4 THEORY SPRING 2022
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
3.10 Questions - Data Science, Data Analytics, Hadoop and Spark
Video - Data Scientist Vs Data Analyst
https://www.youtube.com/watch?v=_Vi9W_2cxYA
Video - Data Science for Beginners - 5 Questions Data Science Answers (Microsoft Azure
Series)
https://www.youtube.com/watch?v=0XyV91VYrDs
Video - Data science for beginners: Is your data ready for data science? (Microsoft Azure
Series)
https://www.youtube.com/watch?
v=FVgJe4iDZ3Y&index=2&list=PLLasX02E8BPB997krgQN3V9UmUBRVKpmD
Video - Data science for beginners: Ask a question you can answer with data (Microsoft Azure
Series)
https://www.youtube.com/watch?
v=nBoybSf7jwo&index=3&list=PLLasX02E8BPB997krgQN3V9UmUBRVKpmD
Video - Data science for beginners: Predict an answer with a simple model (Microsoft Azure
Series)
https://www.youtube.com/watch?v=91myVwC3Wwk
Video - Data science for beginners: Copy other people’s work to do data science (Microsoft
Azure Series)
Video - Hadoop Tutorial 1 - What is Hadoop? (HandsonERP)
https://www.youtube.com/watch?v=xWgdny19yQ4
Video - Hadoop Tutorial 2 - Challenges Created by Big Data (HandsonERP)
https://www.youtube.com/watch?v=cA2btTHKPMY
Video - Hadoop Tutorial 3 - History behind the creation of Hadoop (Google, Yahoo, and
Apache)
https://www.youtube.com/watch?v=jA7kYyHKeX8
Video - What is Hadoop? SQL Comparison
https://www.youtube.com/watch?v=MfF750YVDxM
Video - What is NoSQL?
https://www.youtube.com/watch?v=BgQFJ_UNIgw
Video - What is Apache Spark? (HandsonERP)
https://www.youtube.com/watch?v=cs3_3LdCny8
Video - Five Things you need to know about Hadoop vs Apache spark
https://www.youtube.com/watch?v=amjHXG3pldk
P a g e
30 | 47
ASSIGNMENT 4 THEORY SPRING 2022
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
41 What are the differences between a Data Scientist and a Data Analyst?
YOUR ANSWER IS
è
Data analysts deal with data that deals with real world things while data scientists deal with
data to make predictions about the future.
42 The Microsoft Azure asks the question, "Is your data ready for data science?" Provide an example
of data being ready for data science.
YOUR ANSWER IS
è
Having your data organized and easy to navigate.
43. The Microsoft Azure asks the question, "Ask a question that you answer with data." Provide an
example of question that can be answered with data.
YOUR ANSWER IS
è
How many times did a user interact with a certain feature?
44. What are the functions of Apache Hadoop in Data analytics?
YOUR ANSWER IS
è
Provides tools that supports running applications on big data.
45. What are the functions of Apache Spark in Data analytics?
YOUR ANSWER IS
è
Apache spark was developed to build on top of HDFS and provides performance up to 100
times faster than Hadoop MapReduce.
46. List several differences between Apache Hadoop and Apache Spark in Data analytics?
YOUR ANSWER IS
è
Spark is faster than Hadoop for certain applications, and spark is not tied to two stage
MapReduce paradigm.
P a g e
31 | 47
ASSIGNMENT 4 THEORY SPRING 2022
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
4.0 Introduction to COBOL Application Development
4.1 Overview of COBOL
Using Programming Languages on z/OS - Chapter 9.
Introduction to the New Mainframe: Z/OS Basics
Compiling and Link-editing a Program on z/OS - Chapter 10.
Introduction to the New Mainframe: Z/OS
Basics
COBOL History
http://www.mainframegurukul.com/tutorials/programming/cobol/cobol-history.html
COBOL Program Structure
http://www.mainframegurukul.com/tutorials/programming/cobol/cobol-program-
structure.html
COBOL – Overview - http://www.tutorialspoint.com/cobol/cobol_overview.htm
The COBOL (Common Business Oriented Language) was introduced by IBM in 1959 as third
generation programming language.
COBOL has changed and improved several times. While some
will state that ANSI COBOL-85 is the current version of COBOL this is not exactly accurate. COBOL-
85 is the minimum requirements for COBOL and the actual syntax and rules vary by the company who
made the COBOL compiler.
For example, the current COBOL compiler being used on IBM mainframes is called Enterprise
COBOL for z/OS version 5, which replaced VS COBOL II. However, the actual version of IBM COBOL
will depend on the actual operating system, e.g., MVS, AIX, etc. as well as COBOL versions on Linux
and Windows Platforms. Unlike Java and .NET, COBOL is NOT platform independent.
The latest
IBM COBOL compiler will also help integrate business logic written in COBOL with web and mobile
user interfaces by providing interoperability with XML and Java.
COBOL was designed to support business applications that need to 1) efficiently interface with data
files, data sets, and databases, 2) minimize memory usage (small foot print), and 3) efficiently use
processor resources. On average, a compiled COBOL application uses, on the average, 15% less
memory and 40% less processing time compared to a Java module with the same business
requirements. However, COBOL is not platform independent, is not designed to support all modern
user interfaces, has very limited advanced mathematics functions and ability to communicate outside
its address space.
When COBOL cannot perform an application requirement on the mainframe, this limitation may be
overcome by simply writing an Assembly Language program. IBM COBOL and IBM Assembler were
made to work together, taking into consideration the advantages of each language.
Java was designed to be a platform independent, object-oriented programming language, designed to
promote re-usability of source or byte-code, to easily add new features to the program language.
Those advantages come with a substantial processing overhead.
C was designed as a high-level
programming language to be as powerful and flexible as the assembler programming language. But
unlike COBOL, a powerful and flexible programming language creates security concerns.
P a g e
32 | 47
ASSIGNMENT 4 THEORY SPRING 2022
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
4.2 Compile, Link and Execute
The traditional steps for developing a computer program after determining the program requirements
(what do you want the program to do?) are: 1 Write the computer source code using some type of
editor, 2) Translating the code into object code using either Interpreters, Compilers, and Just-in Time
Compliers, 3) Linking the object
to a load library which contains pre-written routines applicable to
your operating system, 4) store an executable program file, and then load and
execute the
executable file by either entering the file name, clicking on an icon or short-cut, etc. The following
diagram provides and overall view of the process.
P a g e
33 | 47
ASSIGNMENT 4 THEORY SPRING 2022
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
P a g e
34 | 47
ASSIGNMENT 4 THEORY SPRING 2022
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
4.3 Questions – Procedural Application Development
Text Link- Load Modules
https://chortle.ccsu.edu/AssemblyTutorial/Chapter-01/ass01_14.html
1. What are the differences between an object module and a load module?
Enter your Answer
è
Object modules are small pieces of a big application while a load module
is what the object modules are combined to create.
2. What is the name of the program or utility that converts source code into object code?
Enter your Answer
è
compiler
3. Lists the steps of the COBOL Application Development Process (which is similar to all procedural
programming languages)?
Enter your Answer
è
1: Write the computer source code using some type of editor, 2:
Translating the code into object code using either Interpreters, Compilers, and Just-in Time
Compliers, 3: Linking the object
to a load library which contains pre-written routines
applicable to your operating system, 4: store an executable program file, and then load and
execute the executable file by either entering the file name, clicking on an icon or short-cut.
4. What are the functions of a Linkage editor or Linker in the application development process?
Enter your Answer
è
A linkage editor processes either the result of a compilation or a module
already pre-linked in a linkage run.
4.4 Questions – Copy Books, Include Files and Subprograms
5. What are the functions of a COBOL Copy Book?
P a g e
35 | 47
ASSIGNMENT 4 THEORY SPRING 2022
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Enter your Answer
è
The function of a copybook is to contain COBOL source code and to
synchronize that code among various COBOL programs.
6. What is a COBOL Subprogram (which is similar to a C Language include file and a Java External
Class)?
Enter your Answer
è
COBOL subprograms are parameter-less routines that have access to the
same data as all the data items declared in the data division of that subprogram.
7. Why should a COBOL programmer use COBOL copy books and subprograms?
Enter your Answer
è
It is much easier, faster, and more reliable than having to copy and paste
or insert a COBOL statement many times.
8. Which step of the application development process is a subprogram merged with the main
program?
Enter your Answer
è
Step 3
9. Which step of the application development process is a copy book merged with the main program?
Enter your Answer
è
Step 3
10. Which step of the application development process that a program interacts with files, users, client
internet browsers and databases?
Enter your Answer
è
Step 4
P a g e
36 | 47
ASSIGNMENT 4 THEORY SPRING 2022
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
4.5 Questions – Static versus Dynamic Linkage
11. What are the differences between Static Linkage and Dynamic Linkage?
Enter your Answer
è
Static linkage is done by linkers while dynamic linking is done by the
operating system. Static linking requires recompiling if the externals programs change while
dynamic linking does not. Static linked libraries are faster than dynamically linked ones.
12. What is the function of a Windows DLL file?
Enter your Answer
è
A windows DDL file is used to contain functions, classes, variables, UIs
and resources that an EXE, or other DLL uses.
13. Which legacy programming language processes the most business transactions and interactions
with database management systems?
Enter your Answer
è
COBOL
P a g e
37 | 47
ASSIGNMENT 4 THEORY SPRING 2022
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
5.0 Introduction to Android Mobile Application Development
Comparative Analysis of Application Development and Security Models - Read this assignment
attached paper.
Vulnerabilities and Threats to Mobile Application Security from a Practitioner Approach - Read
this assignment attached paper.
5.1 Introduction to Android
P a g e
38 | 47
ASSIGNMENT 4 THEORY SPRING 2022
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
5.2 Android Components, Messaging and Filters
P a g e
39 | 47
ASSIGNMENT 4 THEORY SPRING 2022
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
5.3 Questions - Comparison of Java and Android API
Text Link - The Pros and Cons of Android
https://www.makeuseof.com/android-pros-and-cons/
Text Link - Difference between iOS and Android
https://www.geeksforgeeks.org/difference-between-ios-and-android/
Text Links - 10 Major Differences Between Android and iOS App Development
https://ddi-dev.com/blog/programming/10-differences-between-android-and-ios-app-development/
1. List and describe five or more major differences between Android and Swift (IoS).
Major differences between Android and Swift (IoS).
1.development language
2. Integrated development environment availability (IDE)
3. Design philosophy
4. Development complexity
5. Cost of development
5.4 Questions - Security Risks of Native Code
1. Which programming languages are specified as "native code" programming languages? Answer =>
Binary, C, C++
2. List several security risks associated with "native code" programming languages using the following
table.
Security Risks Associated with Native Code Programming Languages
1.code is not managed
2.code may compromise the security policy
3.code may be the target of malicious attackers
4.
5.
P a g e
40 | 47
ASSIGNMENT 4 THEORY SPRING 2022
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
3. What is managed code?
Answer =>
Managed code is computer program code that requires and will execute only under the management
of a Common Language Infrastructure (CLI); Virtual Execution System (VES); virtual machine,,
CoreFX, or .NET Framework; Common Language Runtime (CLR); or Mono.
4. Despite the security risks of native code programming languages, why does the Android Platform
support these languages?
Answer =>
They have rigorous certification processes to sign applications to prevent malicious behavior from
applications.
5. Describe how the Android Platform supports native code programming languages.
Answer =>
They use a platform called react native that allows the use of native code with other platform abilities.
Text Link - Android Application Fundamentals
https://developer.android.com/guide/components/fundamentals
Assume that you are coding an Android App your first app, that will permit students rate RMU courses,
e.g., the amount of work required, the difficulty of tests, amount of reading, and availability of previous
assignments and tests to copy.
This app, called the RMU COURSE APP. will store the course
information and ratings in a database to be used for later analysis. Answer the following questions.
6. Provide a SPECIFIC descriptive example of when you would want to code an Android Activity.
Answer =>
When the user opens the app and wants to see their most used functions.
7. Provide a SPECIFIC descriptive example of when you would want to code an Android Service.
Answer =>
When you want to have an image displayed the entire time the user is in the app so there is a service
to show and maintain the image as a background of the app.
P a g e
41 | 47
ASSIGNMENT 4 THEORY SPRING 2022
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
6.0 Important Technology Trends
There are several technology trends that are dominating the focus of new projects in Business and
Government. These new technology trends will affect the role and skills required for system analysts,
project managers, and software engineers. Several of these new technology trends are discussed in
the following section. You will be required to demonstrate your basic knowledge and apply these
technologies to project example using your personal examples with your organization or to some
organization that you have researched.
6.1 Questions - BYOD
Mobile interface in diverse contexts and environments as opposed to focusing on devices alone or
consumer roles. For example, the trend to introduce BYOB/ BYOT in the workplace or public space
will continue to raise significant management challenges for IT organizations as they lose control of
user endpoint devices. It will also require increased attention to user experience design.
Text Link- What is bring your own device?
http://www.ibm.com/mobilefirst/us/en/bring-your-own-device/byod.html
Text Link - Bring your own device
https://en.wikipedia.org/wiki/Bring_your_own_device
Text Link- Pros and Cons of Bringing Your Own Device to Work
http://www.pcworld.com/article/246760/pros_and_cons_of_byod_bring_your_own_device_.html
Video - BYOD advantages & disadvantages
https://www.youtube.com/watch?v=s3Ab7ZX2UsA
Video - Bring Your Own Device (BYOD) and Cyber Security Management
https://www.youtube.com/watch?v=q77w_VeYzU0
Video - Bring Your Own Device (BYOD) Webinar
https://www.youtube.com/watch?v=JMFPhNj_oYA
1. What is BYOD or BYOT?
Answer =>
BYOD is bring your own device and BYOT is bring your own technology. They both mean that
individuals bring technology or devices that they own to these places or workplaces.
2. List the advantages and disadvantages of BYOD/BYOT using the following table.
Advantages and Disadvantages of BYOD/BYOT Projects In Business and Government
Advantages
Disadvantages
Already familiar with their own
device/technology
Multiple devices can back up the network
An individual's device or technology can be
more expensive and cutting edge
Can be used as a distraction
People remember to bring them if the device is
theirs.
People may not want to use their own money to pay
for the devices just so they can use them at work.
P a g e
42 | 47
ASSIGNMENT 4 THEORY SPRING 2022
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
3. Using your personal example or an example from your current or previous employer, specifically
describe a project's requirements, potential benefits (pros) and costs (cons) for
a BYOD project.
Answer =>
The project required me to use my own phone to document current inventory and the pros were that I
know where and how to document the data but the cons were that I got distracted with other apps on
my phone.
6.2 Web Services, Service Oriented Architectures (SOA), and Restful
Batch Processing has no user interface. OLTP system interface with a commercial, consumer or other
user. Web services was constructed to have one computer program or electronic device to use the
services of another computer program or electronic device, no matter what the programming
language, operating system, or physical location of the computer program. The flexibility to design
programs to communicate with each other is call interoperability.
Many web services are often started by a user request. For example, the travel site named Kayak,
permits a user to input flight information which queries the databases of various airline reservations
using web services. This is only one example, called a metasearch engine, of the many which use
web service applications. This process can also query hotel reservation systems or car rental
systems.
Web services can be implemented by two different programming approaches: traditional SOAP-based
web services and Restful-based web services. While both technologies have valued those systems
that rely on web-based user transaction are be transitioned to the easier-to-use and more powerful
Restful-based technologies.
It is important to notice that 70% of new application programming hires require knowledge or SOAP.
6.3 Questions - The Internet of Things (IoT)
Text Link - Internet of Things devices, applications & examples
http://www.businessinsider.com/internet-of-things-devices-applications-examples-2016-8
Text Link - 5 Easy to Understand Examples of The Internet of Things
https://www.forbes.com/sites/blakemorgan/2016/01/27/5-easy-to-understand-examples-of-iot-and-
customer-experience/#4a6624eb366c
Text Link - Rise of the machines: who is the ‘internet of things’ good for?
https://www.theguardian.com/technology/2019 /jun/06/internet-of-things-smart-home-smart-city
Text Link - The advantages and disadvantages of Internet of Things
https://e27.co/advantages-disadvantages-internet-things-20160615/
Text Link - Pros and Cons of Internet of Things (IoT) - What You Need to Know
https://www.buzzle.com/articles/pros-and-cons-of-internet-of-things-iot.html
Video - What is the Internet of Things?
https://www.youtube.com/watch?v=EKRVILAohck
Video - What is the Internet of Things? And why should you care?
https://www.youtube.com/watch?v=_AlcRoqS65E
Video - What is IoT? Understanding IoT Protocols, Clients and Management
https://www.youtube.com/watch?v=WtRpFLx34BY
Video - The 7 Principles of the Industrial IoT
https://www.youtube.com/watch?v=u3IaXvjDiOE
P a g e
43 | 47
ASSIGNMENT 4 THEORY SPRING 2022
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
The Internet is expanding beyond PCs and mobile devices into enterprise assets such as field
equipment, and consumer items such as cars and televisions. The problem is that most enterprises
and technology vendors have yet to explore the possibilities of an expanded Internet and are not
operationally or organizationally ready.
Imagine digitizing the most important products, services and assets. The combination of data streams
and services created by digitizing everything creates four basic usage models – manage; monetize;
operate; extend. These four basic models can be applied to any of the four "Internets” (people, things,
information and places).
Enterprises should not limit themselves to thinking that only the Internet of
Things (i.e., assets and machines) has the potential to leverage these four models. Enterprises from
all industries (heavy, mixed, and weightless) can leverage these four models
A sensor is not a machine. It doesn’t do anything in the same sense that a machine does. It
measures, it evaluates; in short, it gathers data. The Internet of Things really comes together with the
connection of sensors and machines. That is to say, the real value that the Internet of Things creates
is at the intersection of gathering data and leveraging it. All the information gathered by all the sensors
in the world isn’t worth very much if there isn’t an infrastructure in place to analyze it in real time.
1. Provide a detailed definition of the Internet of Things (IoT).
Answer =>
The Internet of things (IoT) describes physical objects (or groups of such objects) with sensors,
processing ability, software, and other technologies that connect and exchange data with other
devices and systems over the Internet or other communications networks.
2. Provide a detailed example of Internet of Things (IoT) that will affect your home.
Answer =>
It will allow home appliances to connect to and use the internet to perform tasks that they are usually
not able to do such as a fridge being used to order stuff off of amazon (Samsung smart fridge).
3. Provide a detailed example of Internet of Things (IoT) that will affect your workplace.
Answer =>
Devices would be able to track and document a worker's tasks and effort which can be seen in
inactivity sensors that log the employee out of their system or send status reports to supervisors.
4. Provide a detailed example of Internet of Things (IoT) that will affect public utilities, e.g., the elective
grid, your cable T.V., etc.
Answer =>
Public utilities will be able to cater towards you based on your internet activity such as targeted
advertisements.
5. List three or more advantages of IoT technologies.
Answer =>
Makes difficult tasks easier
Makes tasks more convenient
Can cater towards you
P a g e
44 | 47
ASSIGNMENT 4 THEORY SPRING 2022
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
6. List three or more disadvantages of IoT technologies.
Answer =>
Can be an invasion of privacy
Can be annoying for some
Can be complicated for some
6.4 Questions -Software-Defined Applications and Infrastructure
Text Link - Software-defined networking (SDN)
http://searchsdn.techtarget.com/definition/software-defined-networking-SDN
Text Link - 7 Advantages of Software Defined Networking
http://www.ingrammicroadvisor.com/data-center/7-advantages-of-software-defined-networking
Text Link - What SDN is and where it’s going?
https://www.networkworld.com/article/3209131/lan-wan/what-sdn-is-and-where-its-going.html
Text Link - Eight Big Benefits of Software-Defined Networking
https://www.serverwatch.com/server-tutorials/eight-big-benefits-of-software-defined-networking.html
Text Link- What are the disadvantages of software-defined networking?
https://www.quora.com/What-are-the-disadvantages-of-software-defined-networking
Video - What is a Software Defined Network
https://www.youtube.com/watch?v=lPL_oQT9tmc
Software-defined anything (SDx) is a collective term that encapsulates the growing market momentum
for improved standards for infrastructure programmability and data center interoperability driven by
automation inherent to cloud computing, DevOps and fast infrastructure provisioning. As a collective,
SDx also incorporates various initiatives like OpenStack, OpenFlow, the Open Compute Project and
Open Rack, which share similar visions. As individual SDx technology silos evolve and consortiums
arise, look for emerging standards and bridging capabilities to benefit portfolios, but challenge
individual technology suppliers to demonstrate their commitment to true interoperability standards
within their specific domains.
While openness will always be a claimed vendor objective, different interpretations of SDx definitions
may be anything but open. Vendors of SDN (network), SDDC (data center), SDS (storage), and SDI
(infrastructure) technologies are all trying to maintain leadership in their respective domains, while
deploying SDx initiatives to aid market adjacency plays. So, vendors who dominate a sector of the
infrastructure may only reluctantly want to abide by standards that have the potential to lower margins
and open broader competitive opportunities, even when the consumer will benefit by simplicity, cost
reduction and consolidation efficiency.
P a g e
45 | 47
ASSIGNMENT 4 THEORY SPRING 2022
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
1. Explain the function or purpose of Software Defined Networking Technologies.
Answer =>
Software-defined networking technologies are designed to make the network more flexible and agile.
2. List two or examples of computer technologies which the trend of SDN would improve network
services.
Answer =>
The current system/network services are too expensive
The current system/network services are not reliable
The current system/network has large overhead
3. List two or examples of computer technologies which the trend of SDN would NOT improve network
services.
Answer =>
The current system/network services are simple, reliable, and not complex
The current system/network services are secure
The current system/network services are efficient
4. List three or more benefits of SDN technologies.
Answer =>
Cost reduction
Overhead reduction
Reduced downtime
5. List three or more dis advantages of SDN technologies.
Answer =>
Virtualization latency
A lot of effort without results
Decreased security
6. List three or more disadvantages of IoT technologies.
Answer =>
Can be an invasion of privacy
Can be annoying for some
Can be complicated for some
P a g e
46 | 47
ASSIGNMENT 4 THEORY SPRING 2022
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
6.5 Risk-Based Security, Self-Protection and Context Rich Systems
Organizations will increasingly recognize that it is not possible to provide a 100 percent secured
environment. Once organizations acknowledge that, they can begin to apply more-sophisticated risk
assessment and mitigation tools. On the technical side, recognition that perimeter defense, e.g.,
firewalls, IDSs, etc., is inadequate and applications need to take a more active role in security gives
rise to a new multifaceted approach. Security-aware application design, dynamic and static
application security testing, and runtime application self-protection combined with active context-
aware and adaptive access controls are all needed in today's dangerous digital world. This will lead to
new models of building security directly into applications. Perimeters and firewalls are no longer
enough; every app needs to be self-aware and self-protecting.
Security-aware application design, dynamic and static application security testing, and runtime
application self-protection combined with active context-aware and adaptive access controls are all
needed in today’s dangerous digital world. This will lead to new models of building security directly
into applications. Perimeters and firewalls are no longer enough; every app needs to be self-aware
and self-protecting.
Context-Rich Systems
Ubiquitous embedded intelligence combined with pervasive analytics will drive the development of
systems that are alert to their surroundings and able to respond appropriately. Context-aware security
is an early application of this new capability, but others will emerge. By understanding the context of a
user request, applications can not only adjust their security response but also adjust how information
is delivered to the user, greatly simplifying an increasingly complex computing world.
In today’s hacker filled world, context aware security solutions are extremely important as
organizations seek to encourage collaboration with employees and non-employees alike, across
disparate networks, systems and devices. Solutions that provide sophisticated identity and access
management capabilities by looking at users and their context, to dynamically provide secure access
to systems, applications and content are necessary to protect your business and most important
asset- it’s data.
This approach combines both classification and document level encryption to effectively secure and
control content. Using this unique combination of content, context and identify aware security allows
you to monitor for all types of content uses across your organization. It offers the most comprehensive
approach for secure collaboration.
P a g e
47 | 47
ASSIGNMENT 4 THEORY SPRING 2022
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Related Documents
Recommended textbooks for you
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:9781337508841
Author:Carey
Publisher:Cengage

New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:9781305503922
Author:Patrick M. Carey
Publisher:Cengage Learning

Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:9781337102124
Author:Diane Zak
Publisher:Cengage Learning
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:9780357392676
Author:FREUND, Steven
Publisher:CENGAGE L
Recommended textbooks for you
- Np Ms Office 365/Excel 2016 I NtermedComputer ScienceISBN:9781337508841Author:CareyPublisher:CengageNew Perspectives on HTML5, CSS3, and JavaScriptComputer ScienceISBN:9781305503922Author:Patrick M. CareyPublisher:Cengage LearningProgramming with Microsoft Visual Basic 2017Computer ScienceISBN:9781337102124Author:Diane ZakPublisher:Cengage Learning
- COMPREHENSIVE MICROSOFT OFFICE 365 EXCEComputer ScienceISBN:9780357392676Author:FREUND, StevenPublisher:CENGAGE L
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:9781337508841
Author:Carey
Publisher:Cengage

New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:9781305503922
Author:Patrick M. Carey
Publisher:Cengage Learning

Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:9781337102124
Author:Diane Zak
Publisher:Cengage Learning
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:9780357392676
Author:FREUND, Steven
Publisher:CENGAGE L