Update ) Scripting and
Programming - Foundations |
Questions and Verified Answers |
100% Correct | Grade A
Question:
A programming library is used to: (choose two)
Answer:
improve productivity
add functionality related to a single purpose
Question:
Which language type executes faster?
Answer:
A *compiled* language.
,Question:
Which language type is NOT written for a specific type of machine?
Answer:
interpreted language
Question:
Which languages are compiled?
Answer:
C, C++, Java, C#
Question:
Which languages support object-orientated principles?
Answer:
Python
JavaScript
C#
MATLAB
C++
Java
,Question:
Which type of language cannot change a variables type while running the
program?
Answer:
statically typed
Question:
Which type of language is considered easier to use?
Answer:
dynamically typed
Question:
You create an integer variable and assign it a string value. When you run the
program you do not receive an error. What type of language are you using?
Answer:
dynamically typed
Question:
Which type of language leads to more understandable, manageable, and
properly-executing programs?
Answer:
object-oriented
, Question:
A mark-up language is:
Answer:
used to describe content
Question:
function myNewFunction(integer x) z = x - 3returns integer yWhat is the
parameter?
Answer:
integer x
Question:
What happens if you define a function but do not call it?
Answer:
Nothing. The code will simply remain in memory but will not execute.
Question:
A function, anyKey, has an input x and an output z. What does anyKey return?
Answer:
z