Practice Midterm Flashcards
When using the command line on a computer, what does PWD mean in UNIX and PowerShell?
Print Working Directory
When using the command line on a computer, what command will tell me my computer’s network name ?
hostname
When using the command line on a computer, what command do you use to make a directory in UNIX and PowerShell?
mkdir
When using the command line on a computer, what command is used to changed directory in UNIX and PowerShell?
cd
When using the command line on a computer, what command is used to list a directory in UNIX and PowerShell?
ls
When using the command line on a computer, what command is used to make a directory in UNIX and PowerShell?
mkdir
When using the command line on a computer, what does the command RMDIR used for in UNIX and PowerShell?
Remove directory
When using the command line on a computer, what command is used to become super user root in UNIX and PowerShell?
runas (Windows) or sudo (UNIX)
When using the command line on a computer, what command is used to read a manual page in UNIX and PowerShell?
help (Windows) man (UNIX)
When using the command line on a computer, what command is used to print some arguments in UNIX and PowerShell?
echo
When done with the SHELL, what command do you use to exit the program?
exit
When using the command line on a computer, what command is used to make an empty text file called Test Doc in UNIX and PowerShell?
New-Item Test_Doc.txt (Windows) OR touch Test_Doc.txt (UNIX)
In python, how you code a Hello, World program?
print “Hello World!”
In python, can we write x=100 instead of x = 100?
yes, but it is bad form
In computer programming, what is the # symbol called
Octothorpe
In python, comments are proceeded with;
#
In python, the comma ( , ) is used to break lines of code that are longer than 80 characters. Do you have to use the comma?
You do not have to use a comma, but it is considered bad form
When coding in python %r is for what?
debugging
When coding in python the “”” is what kind of command
Multi-line string
In python, there are a number of built in math functions. What does the % symbol represent
modulo
true or false: Python is a scripting language and therefore uses an interpreter and not a compiler
true
True or false: The main advantages of primary batteries are their high energy density, long storage life, and ease of disposal
True
True or False: One convenient alternative from to the lead-acid battery is the gel cell, which contains a semisolid electrolyte that prevents spillage.
True
What does this circuit represent?
looks like H
H-Bridge
What does this circuit represent?
Looks like a triangle person.
Operational Amplifier
What does MTTF stand for?
Mean Time to Failure
What is the advantage of using Lead Acid batteries in robotics applications?
Cheap
Easily rechargeable
High power output capability
What is the advantage of Alkaline batteries?
Popular and well-known
Relatively safe
Long shelf-life
What is the advantage of NiCad batteries?
Inexpensive
Rugged
Come in “standard” sizes and are easy to recharge
What is the advantage of NiMH batteries?
Good alternative to Alkalines in most situations
High power density, “standard” size, not as rugged
Better capability than alkalines and pretty easy to recharge
What is the advantage of Lithium Ion and Lithium Polymer Batteries?
Ultra-light weight
High power and high capability
High cell voltage
What is the advantage of Lithium Coin Cell batteries?
Light, high-density, small, and inexpensive
High cell voltage
Easy to stack for higher voltages
Which Battery has the highest power density? 2
Lithium Coin Cell
The human brain has what advantage over the modern computer?
Humans make faster descisions when the brain stores more information
Microprocessors/Microcontrollers typically operate at what voltage?
5 volts
What would be the challenge of using an AI to control an UE prosthesis?
The AI would need in excess of a billion memories to learn a small environment
Proprio, C-leg, and Rheo use what type of battery?
Lithium-Ion
In February 2003 by the European Union adopted what directive that restricts the use of six hazardous materials in the manufacture of various types of electronic and electrical equipment?
Restriction of Hazardous Substances Directive (RoHS)
Which battery has the disadvantage of being very heavy, and tend to be very large bricks because power density is very low?
Lead Acid
Which battery is known for being Non-rechargeable, low-capability costs about $1 and has up to 3000 mAh of charge capacity
Alkaline
Which statement is true regarding NiMH batteries?
More expensive than Ni-Cads, service life isnt as long, don’t like to be used in a high-drain system, self-discharges quickly.
Good alternative to Alkalines in most situations, high power density, “standard” size, better capability than alkalines, pretty easy to recharge but not as rugged.
Which of the following are characteristics of the C-Leg?
Initial Stance Phase Flexion, Stumble Recovery, Swing Resistance
Self Adjusts to Incline Change, Stairs and Ramp Safety, Programmable
On-board microprocessor (PIC16C74B)
Which statement is true regarding the Rheo Knee?
Provides the user with Initial Stance Phase Flexion, Stumble Recovery, and Resistance
Self Adjusts to Incline Change, Stairs and Ramp Safety, Programmable, and Artificial Intelligence (AI)
Embedded microprocessor (Motorola 68HC11)
Which battery is known to be Lower power density, requires “full discharge/recharge” cycles every once in a while to reduce memory effect’ (the growth of crystals on the battery plates), contains toxic metal?
Ni-Cad
What type of architecture has physically separate storage and signal pathways for instructions and data?
Harvard architecture
What computer architecture is faster for a given circuit complexity because instruction fetches and data access do not contend for a single memory pathway?
Harvard architecture