A compiler transforms human-readable code into an executable that can be run on any
computer architecture. true or false? - Answers false
A compiler translates _______ commands into _____ commands.
-computer:readable
-hardware:readable
-software:readable - Answers computer:readable
Running R code usually involves compiling the code into an executable file, from which the
program can be run. true or false? - Answers false
computer programming commonly involves input and manipulation of binary data (0's and 1's)
by the programmer. true or false? - Answers false
Match the IDE (left) with its programming language (right)
studio:
spyder:
clion: - Answers studio:r
spyder:phython
clion:c/c++
which of the following are advantages of using an IDE for computer programming? (select all
that apply)?
-they highlight commands/function(syntax highlighting)
-the provide graphical elements such as buttons and plots
-the facilitate debugging at the same time code is being written
-it gives the clearest view of what is happening "behind the scenes" during code build and
development - Answers -they highlight commands/function(syntax highlighting)
-the provide graphical elements such as buttons and plots
-the facilitate debugging at the same time code is being written
What are two operations a computer can perform directly on binary data?
, -Arithmetic, logical, transcendental, discrimination, or sequential? - Answers Arithmetic, Logical
A ____ is a common term for a coding error that causes a program to fail or produce an
incorrect result
-cause, blunder, bug, ditto, or root - Answers bug
Humans most commonly represent number data in base 2 format. true or false? - Answers false
Which of the following are common elements of a computer program (select all that apply)?
-R
-function
-ide
-logical test
-loop - Answers function, logical test, and loop
a programming language defines a set of rules you have to adhere to (i.e., syntax). true or false?
- Answers true
a recipe is an example of an algorithm. true or false? - Answers true
a function...
-provide an undefined output given a set of inputs
-provides an unstructured output given a set of inputs
-provides a defined output given a set of inputs
-provides an structured output given a set of inputs - Answers -provides a defined output given a
set of inputs
in the R language, "mean" is an example of a
-assignment
-definition
-function
-loop - Answers function
what type of data structure can hold many values?
-float