Practice Midterm Flashcards

1
Q

When using the command line on a computer, what does PWD mean in UNIX and PowerShell?

A

Print Working Directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

When using the command line on a computer, what command will tell me my computer’s network name ?

A

hostname

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

When using the command line on a computer, what command do you use to make a directory in UNIX and PowerShell?

A

mkdir

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

When using the command line on a computer, what command is used to changed directory in UNIX and PowerShell?

A

cd

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

When using the command line on a computer, what command is used to list a directory in UNIX and PowerShell?

A

ls

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

When using the command line on a computer, what command is used to make a directory in UNIX and PowerShell?

A

mkdir

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

When using the command line on a computer, what does the command RMDIR used for in UNIX and PowerShell?

A

Remove directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

When using the command line on a computer, what command is used to become super user root in UNIX and PowerShell?

A

runas (Windows) or sudo (UNIX)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

When using the command line on a computer, what command is used to read a manual page in UNIX and PowerShell?

A

help (Windows) man (UNIX)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

When using the command line on a computer, what command is used to print some arguments in UNIX and PowerShell?

A

echo

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

When done with the SHELL, what command do you use to exit the program?

A

exit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

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?

A

New-Item Test_Doc.txt (Windows) OR touch Test_Doc.txt (UNIX)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

In python, how you code a Hello, World program?

A

print “Hello World!”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

In python, can we write x=100 instead of x = 100?

A

yes, but it is bad form

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

In computer programming, what is the # symbol called

A

Octothorpe

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

In python, comments are proceeded with;

A

#

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

In python, the comma ( , ) is used to break lines of code that are longer than 80 characters. Do you have to use the comma?

A

You do not have to use a comma, but it is considered bad form

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

When coding in python %r is for what?

A

debugging

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

When coding in python the “”” is what kind of command

A

Multi-line string

20
Q

In python, there are a number of built in math functions. What does the % symbol represent

A

modulo

21
Q

true or false: Python is a scripting language and therefore uses an interpreter and not a compiler

A

true

22
Q

True or false: The main advantages of primary batteries are their high energy density, long storage life, and ease of disposal

A

True

23
Q

True or False: One convenient alternative from to the lead-acid battery is the gel cell, which contains a semisolid electrolyte that prevents spillage.

A

True

24
Q

What does this circuit represent?

looks like H

A

H-Bridge

25
Q

What does this circuit represent?

Looks like a triangle person.

A

Operational Amplifier

26
Q

What does MTTF stand for?

A

Mean Time to Failure

27
Q

What is the advantage of using Lead Acid batteries in robotics applications?

A

Cheap
Easily rechargeable
High power output capability

28
Q

What is the advantage of Alkaline batteries?

A

Popular and well-known
Relatively safe
Long shelf-life

29
Q

What is the advantage of NiCad batteries?

A

Inexpensive
Rugged
Come in “standard” sizes and are easy to recharge

30
Q

What is the advantage of NiMH batteries?

A

Good alternative to Alkalines in most situations
High power density, “standard” size, not as rugged
Better capability than alkalines and pretty easy to recharge

31
Q

What is the advantage of Lithium Ion and Lithium Polymer Batteries?

A

Ultra-light weight
High power and high capability
High cell voltage

32
Q

What is the advantage of Lithium Coin Cell batteries?

A

Light, high-density, small, and inexpensive
High cell voltage
Easy to stack for higher voltages

33
Q

Which Battery has the highest power density? 2

A

Lithium Coin Cell

34
Q

The human brain has what advantage over the modern computer?

A

Humans make faster descisions when the brain stores more information

35
Q

Microprocessors/Microcontrollers typically operate at what voltage?

A

5 volts

36
Q

What would be the challenge of using an AI to control an UE prosthesis?

A

The AI would need in excess of a billion memories to learn a small environment

37
Q

Proprio, C-leg, and Rheo use what type of battery?

A

Lithium-Ion

38
Q

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?

A

Restriction of Hazardous Substances Directive (RoHS)

39
Q

Which battery has the disadvantage of being very heavy, and tend to be very large bricks because power density is very low?

A

Lead Acid

40
Q

Which battery is known for being Non-rechargeable, low-capability costs about $1 and has up to 3000 mAh of charge capacity

A

Alkaline

41
Q

Which statement is true regarding NiMH batteries?

A

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.

42
Q

Which of the following are characteristics of the C-Leg?

A

Initial Stance Phase Flexion, Stumble Recovery, Swing Resistance
Self Adjusts to Incline Change, Stairs and Ramp Safety, Programmable
On-board microprocessor (PIC16C74B)

43
Q

Which statement is true regarding the Rheo Knee?

A

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)

44
Q

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?

A

Ni-Cad

45
Q

What type of architecture has physically separate storage and signal pathways for instructions and data?

A

Harvard architecture

46
Q

What computer architecture is faster for a given circuit complexity because instruction fetches and data access do not contend for a single memory pathway?

A

Harvard architecture