stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Comprehensive Final (Study Guide 2) Flashcards | StudBud
Explore
/
Comprehensive Final (Study Guide 2)
Comprehensive Final (Study Guide 2)
100 terms
·
StudBud Administration
·
25 plays
Imported from external platform
Flashcards
100 cards
F
Practice quiz
P
Host live
L
Questions
100
Answers
1
The REV Color Sensor is an I2C Sensor
True
False
2
What range is the color sensor the most accurate?
Greater than 10cm
10cm - 2m
Within 2cm
2cm-10cm
3
Which two sensors would be useful for determining robot position?
IMU
Color Sensor
Encoders
2m Distance Sensor
4
There is no single correct way to format code.
False
True
5
Relative encoders are larger and more expensive than absolute encoders
False
True
6
To determine Regression on a scatter plot, you must use a Trendline
False
True
7
Java control structures are programming blocks that can change the path that a program follows instructions
False
True
8
Which of the following is not an I2C Sensor
Color Sensor
Potentiometer
IMU
2m Distance Sensor
9
What do we call a notation representing a fixed value in a code?
Code Blocks
Variables
Keyword
Literals
10
A thermometer is an example of a Digital Sensor
True
False
11
This language was developed to make it easy to develop GUI for Windows applications
Python
Java
HTML
Visual Basic
12
The first step in troubleshooting is to ask somebody for help
True
False
13
Select all of the programming best practices
Proper code formatting
Frequently test your code
Create as much white space in your code as possible
Write as many comments as possible
14
What does IMU stand for?
Initial Media Usable
Industrial Measurement Unit
Inertia Mass Unit
Inertial Measurement Unit
15
Select all the following Conditional Statements
or
if
else if
else
16
What do we call a word that has a predefined meaning in the Java language?
Literals
Keyword
Variables
Identifier
17
Which of the following industries involve autonomous equipment?
Legal
Transportation
Agriculture
Education
18
Which of the following isn’t associated with a declarative programming language?
Logic
Database
Object Oriented
Functional
19
Which is not an example of a type of limit switch?
Windmill Switch
Rotary Gear Switch
Binary Switch
Magnetic Limit Switch
20
What factors should be considered for iteration and optimization? (select all that apply)
Targeted Outcome
Cost/Benefit Analysis
Schedule
Budget
21
What is not an element of proper code formatting?
Line Length
Wraps and Breaks
Syntax Errors
White Space
22
Code Scalability involves writing code that can be easily adapted to changing requirements
True
False
23
Spelling errors are among the most common type of syntax errors
True
False
24
The touch sensor changes the state of the Hub channel when the button is pressed
False
True
25
What are the two main categories that programming languages fall into?
Declarative
Imperative
Deformative
Iterative
26
What REV robot application wouldn’t be suitable for a limit switch?
Drivetrain
Hoods
Pinchers
Arms
27
You should frequently test your code
False
True
28
Digital Sensors can only report one of two states
True
False
29
Ohm’s Law states: The amount of current through a conductor is proportional to the voltage across the two points
False
True
30
This language is commonly used for creating web pages on the internet
C++
Visual Basic
HTML
Java
31
This language was designed to help prevent syntax errors
Blocks
Java
Python
C++
32
Which elements of a code should have a descriptive name?
None of the above
Functions
Variables
Classes
33
The IMU can function regardless of which direction the Control Hub is facing
True
False
34
A relative encoder knows its position on startup of the robot
True
False
35
Which of the following are benefits of autonomous machines?
Lower operating costs for companies
Automates tasks humans don’t want to do
Increased production
Higher risk to human life
36
Standard deviation measures the spread of data around the mean
True
False
37
What is the unit for Current?
Volts
Ohms
Amperes
Watts
38
AWG 14 Wire has a larger diameter than AWG 22
True
False
39
What type of encoder do Core Hex and HD Hex motors have?
Optical
Mechanical
Absolute
Magnetic Quadrature
40
Digital Sensors continuously report a range of values proportional to what’s measured
True
False
41
Which type of graph can you use to easily determine Regression?
Bar graph
Line Graph
Pie Chart
Scatter Plot
42
Select all the following Looping Statements
While
During
For
do While
43
Select the two main types of encoders
Relative
Absolute
Magnetic
Optical
44
Which direction is the Heading if a Control Hub is sitting on a flat table?
Straight Down
Straight forward
Depends on the direction the hub is facing
Straight up
45
Which of the following is not a Java control structure?
Branching Statements
Performative Statements
Conditional Statements
Looping Statements
46
This language is used to design cross-platform programs and has similar syntax as C++
Visual Basic
Java
Blocks
HTML
47
Limit switch are used to detect the presence or absence of an object
False
True
48
Nested Classes are just Classes inside of other Classes
False
True
49
Why is it important to write concise code? (select all that apply)
Fewer lines of code for the same task is more efficient
It takes too much practice to write concise code
Having fewer lines of code runs simpler programs
Concise code is easier to troubleshoot
50
Ohm’s Law is which of the following:
V = I * R
R = V * I
I = R / V
V = I / R
51
Programming Syntax is a set of guiding rules that allow statements to be understood
True
False
52
Stranded wire is stiffer and heavier than solid wire
True
False
53
Which of the following sensors in the REV Build System are Digital?
Magnetic Limit Switch
Potentiometer
Touch Sensor
Color Sensor
54
Which of the following isn’t a method for statistical analysis?
Mean
Regression
Mode
Sample Size Determination
55
The color sensor and the 2m Distance Sensor should be configured on the same I2C Bus
True
False
56
Select all the following Branching Statements
break
continue
if
else
57
Which of the following is the best description for Voltage?
Rate of charge flowing past a given point
Measure of resistance of current flow
Electrical Potential Energy
Positively charged particles
58
What can optimizing a program involve?
Executing a command more rapidly
Minimizing memory use
Performing more input and output functions
Maximizing a program’s bandwidth
59
Which of the following can make data more useful?
Collecting only Quantitative data
Collecting only Qualitative data
Limiting your data sources
Increasing your number of data samples
60
Which of the following are downsides to autonomous equipment?
Failures are costly
They take too long to develop to be useful
They frequently fail
They displace workers
61
How many programming languages are there?
Thousands
2
6
Hundreds
62
The syntax of Java is largely derived from which language?
C++
Blocks
Visual Basic
HTML
63
Which of the following isn’t associated with an imperative programming language?
Database
Parallel Processing
Object Oriented
Procedural
64
When programming the IMU, you don’t care about the orientation of the Control Hub
False
True
65
Which of the following Engineering Design Process steps are repeated during iteration?
3
5
4
2
66
What does autonomous mean?
Operating under driver control
Having the ability to act independently
Automated
Automatic
67
We use solid wire on our robots
True
False
68
The IMU will always exist on I2C Bus 1
False
True
69
Proper naming conventions are more relevant for text languages than block languages
False
True
70
What is code Portability?
Writing code to take up minimal memory
Writing code with clear and concise comments
Writing code that is grouped to be easily copied and pasted
Writing code so it will work in different environments
71
Comments are never needed for obvious assumptions that you’ll remember later
False
True
72
What is the unit for resistance?
Ohms
Volts
Amperes
Watts
73
You should write as many comments as possible in your code
False
True
74
Troubleshooting is easier when programmers keep their code organized
False
True
75
This language uses English keywords in places where other languages use punctuation
Java
C++
Python
Visual Basic
76
Declarative programming expresses the logic of a computation without describing its control flow
False
True
77
What is the unit for Voltage?
Amps
Ohms
Volts
Watts
78
What happens when a digital sensor is triggered?
The state of the sensor changes from active-low to active-high
The state of the sensor changes from active-high to active-low
The sensor changes from off to on
The sensor changes from on to off
79
Analog sensors consider all numbers within a specific, known range
True
False
80
What isn’t directly measured by the IMU?
Force of acceleration
Magnetic field of the earth
Rotational Location along the Axes
Velocity of the robot
81
What does GUI stand for?
Graphic User Input
Graphic Unified Interface
Graphical User Interface
Graphical Unified Information
82
Imperative programming uses statements to change a program’s state
True
False
83
You must use a specialized program when analyzing data
True
False
84
The color sensor shines what color light?
White
Red
Blue
Green
85
How long do default autonomous modes run in the REV Build System?
30 seconds
15 seconds
60 seconds
20 seconds
86
Absolute encoders return the actual angle of rotation of a shaft
False
True
87
What type of sensor is a color sensor?
Photographic
Photoelectric
Photovoltaic
Photosynthesis
88
Independent Variables are the variable we’re using to predict
False
True
89
What do essentially all autonomous applications have in common?
They make things more complex
The depend on humans to function
They make things cheaper
They depend on sensors and programming
90
What symbols are used to signify a Java code block?
< >
{ }
( )
[ ]
91
Comments are vital for programmers who work in a team
False
True
92
Code reusability means writing code from scratch so it doesn’t have errors
False
True
93
Quantitative Data is always more useful than Qualitative Data
False
True
94
What is not true about Identifiers?
They must contain both numbers and letters
They can’t start with a number
They can contain connecting punctuation like _ or -
They can’t be the same as existing keywords
95
What is soldering?
Disconnecting two or more electrical components by melting them
Welding wires together by melting them
The process of trimming the ends of a wire
Joining two or more electrical components by melting filler material
96
This program provides programmers with a high level of control over system resources and memory
C++
Python
Java
HTML
97
Dependent Variables are the variable we’re trying to measure
True
False
98
There are two types of data, Quantitative and Qualitative
False
True
99
Quantitative data is derived from observations that aren’t measured with numbers
True
False
100
Programming a robot to drive in a straight line is a good application for:
Color Sensor
Touch Sensor
Gyroscope
2m Distance Sensor