Module 2 / Unit 3 / Programming and App Development
6) You want to check whether a condition has been met, and if it has, perform one action. Otherwise, you want your program to perform a second action. What sort of programming operation would help achieve this?
a) A conditional branch, such as an If...Then statement.
7) In a program, what does a loop do?
a) A loop performs one or more instructions until (or while) a condition is met.
8) What is the difference between a procedure and a function?
a) A procedure does something while a function does something and then returns a value to the main program.
5) What type of programming concept allows for a variable size container?
a) A vector is a variable size container while an array is a fixed size one.
10) What three scripting options are commonly used in Windows 10 to perform administrative tasks?
a) Batch files, Windows PowerShell scripts, and VBScripts.
12) What is the advantage of a local network hosted application, in terms of data storage?
a) If data is stored on the server not on the local workstation, it is easier to apply access controls and to back it up.
2) What is an interpreted language?
a) Interpreted languages do not need to be compiled. They run within the context of an interpreter which converts the code to machine code during runtime.
3) How is a markup language differ from a compiled language?
a) Markup doesn't provide instructions for the CPU to run as such. Markup is a way of using nested tags within a document to describe its structure and contents.
4) What are constants and variables examples of?
a) Programming identifiers.
9) What three things define an object?
a) Properties, attributes, and methods.
1) What shows the structure of code without using the specific syntax of any one language?
a) Pseudocode.
11) True or false? You do not need to install a web application to your computer; it would be accessed via a browser.
a) True.