Connecting Things Chap. 3 Quiz
A system administrator issues the command ps on a server that is running the Linux operating system. What is the purpose of this command?
to list the processes currently running in the system
Why is it common to connect an Arduino board with a single board computer like the Raspberry Pi?
The Arduino has analog pins.
What are two features related to Linux? (Choose two.)
-open source -support by a community of programmers
What is the benefit of deploying a group of headless Pi IoT devices?
Each Pi IoT device is managed remotely on a network.
What is a Raspberry Pi?
a small, low cost, single-board computer
What is needed for a computer program to communicate with another computer program made from a different vendor?
API
Which language is an example of a compiled programming language?
C
Which Linux distribution is used to develop the Raspbian operating system for the Raspberry Pi?
Debian
A user is using Blockly to program a process to find the next 100 prime numbers after 2. Which block is best used for the task?
FOR block
Which statement describes Blockly?
It is a JavaScript based library for implementing visual programming.
What is an advantage of an executable program coded with an interpreted language compared with a compiled language?
It is easier to maintain and troubleshoot.
What elements are used to represent different programming structures in Blockly?
colored blocks
What is a method to secure the control plane of an IoT device?
enforcement of authorized access to code
True or False? Programmers only work on desktop applications.
false
Which Linux shell command can be used to search a specific string of characters within a file?
grep
Which Python command is an example of conditional logic?
if and else
What tool can be used on a Linux device to compare all installed software against a repository index, to download updates, and to install them automatically?
package manager system
Which Python function is used for console output?
A computer ______ is a set of ordered instructions created to accomplish a task.
program