Answer:
The solution code is written in R script.
- #string variable
- character_str<- "Hello World"
- #logical variable
- logic <- a > b
- #Missing value
- myVec <-c(1, 2, 3, NA)
- #Use class to check data type
- class(character_str)
- class(logic)
- class(myVec)
Explanation:
A string variable is a variable that hold a string (the letters enclosed within quotation marks) (Line 2)
A logical variable is a variable that hold a logical value (either True or False). The logical value is created by comparing two variables (Line 5).
In R, missing value is an unknown value which is represented by NA symbol (Line 8).
We can use in-built method <em>class </em> to check for the variable type in R (Line 11-13). For example, the output of <em>class(character_str)</em> is "<em>character</em>"
Answer:
Input, output, storage.
Explanation:
Input is used to interact with, or send data to the computer (mouse, keyboards, etc.). Output provides output to the user from the computer (monitors, printers, etc.). And storage which stores data processed by the computer (hard drives, flash drives, etc.).
Dropbox
Mozilla Firefox, Google Chrome
Gmail, Mozilla Thunderbird
CDburnerXP
Putty, Netflix,
Paint.net, Filezilla