Circle the word TRUE or the word FALSE. If neither is circled, both are circled, or it impossible to tell which is circled, your answer is considered wrong.
copy
. cp
. ls
.lst
.mk
.mkdir
.del
.rmdir
.cat
.ls
.Circle the letter of the best choice.
[a.] it may change at any time without warning.
[b.] the contents of memory are lost when the computer is turned off.
[c.] the contents of memory are the same each time the computer is turned
on.
[d.] the memory may be easily removed from the computer.
[a.] part of the computer that decides if a value should be stored as an
integer or floating point.
[b.] a group of parallel wires that carry control signals and data between
the computer's components.
[c.] a logical operation that can be performed by a computer.
[d.] a series of tests that is performed on all of the computer's
components during machine startup.
[a.] it may change at any time without warning.
[b.] the contents of memory are lost when the computer is turned off.
[c.] unless problems occur, the information isn't corrupted when the
computer is turned off.
[d.] the memory may be easily removed from the computer.
[a.] the operating system.
[b.] peripheral devices.
[c.] the computer operator.
[d.] the keyboard.
[a.] pico
[b.] xemacs
[c.] UNIX
[d.] pine
[a.] is English phrases or formulas used to express each step of a problem.
[b.] could include code structures such as If/Else or While.
[c.] is a notation used to express an algorithm.
[d.] is all of the above.
[e.] is none of the above.
[a.] a step by step solution to a problem.
[b.] a finite set of unambiguous executable instructions that directs a
terminating activity.
[c.] a general solution to a problem.
[d.] a finite set of steps that solve a problem.
[a.] block.
[b.] identity.
[c.] address.
[d.] size.
[a.] 2 bits.
[b.] 4 bits.
[c.] 8 bits.
[d.] 16 bits.
[a.] it is volatile, like a ram's temper.
[b.] the computer starts at address 0 and reads every byte until it reaches
the correct address.
[c.] it can Read All Memory.
[d.] the memory is accessible randomly.
[a.] swap or virtual memory, which creates the illusion of more RAM on the
system.
[b.] RAM.
[c.] ROM.
[d.] devices such as hard disks, tapes, or floppy disks.
[a.] mv
[b.] rn
[c.] ls
[d.] pwd
[e.] none of the above.
pine
is an example of a(n)
[a.] text editor.
[b.] operating system.
[c.] e-mail utility.
[d.] word processor.
[a.] text editor.
[b.] operating system.
[c.] e-mail utility.
[d.] word processor.
xemacs
in an example of a(n)
[a.] text editor.
[b.] operating system.
[c.] e-mail utility.
[d.] word processor.
[a.] mv
[b.] del
[c.] rm
[d.] pwd
[a.] when the first computer was invented.
[b.] as a subject in mathematics.
[c.] in the 1800's.
[d.] in the 1940's.
[a.] control structure.
[b.] sequence.
[c.] semantics.
[d.] syntax.
[a.] repetition control structure.
[b.] looping control structure.
[c.] sequential control structure.
[d.] selection control structure.
[a.] parent directory.
[b.] current directory.
[c.] child directory.
[d.] home directory.
[a.] parent directory.
[b.] current directory.
[c.] child directory.
[d.] home directory.
[a.] ..
[b.] pwd
[c.] cd .
[d.] cd ..
a. ______________________
b. ______________________
c._______________________
The dog drove the car home from the football game.
_________________________________________________
ls ___________________________________________________
cat sample.txt _______________________________________
cd ___________________________________________________
cp mybio.txt hw1.txt _________________________________
rm example.txt _______________________________________
man passwd ___________________________________________
_________________________________________.
First solve the following specific problems, then write an algorithm in pseudocode for general problems of the same type. Be sure your pseudocode is clear, consistent, and properly indented.
The algorithm should allow for changes in the $10 price and for purchases under 20 units. The algorithm should allow for changes in the 50 cents reduced rate.
The algorithm should allow for changes in the height of the cylindrical tank and the diameter of the bottom.
If the initial odometer reading was 40,550 and the second reading was 40,800, how many miles did you travel between fills ? If it took 10 gallons of gas to fill the tank, what was your mileage in miles per gallon ?
The algorithm should allow for changes in the first and second odometer readings and the number of gallons needed to fill the tank.
The algorithm should allow for changes in the length, width, and height of the box.
The Eureka Water Company charges the homeowner one of the following fees:
Cubic Feet of Water Used | Fee |
---|---|
usage < 1000 | $15 Flat rate |
1000 <= usage < 2000 | $.0175 per cubic foot |
2000 <= usage < 3000 | $.02 per cubic foot |
usage >= 3000 | $70 Flat rate |
Your Algorithm should allow the customer to purchase any amount of water.
Your Algorithm should allow the user to input different rates for the:
- lower than 1000 cubic feet purchase
- 1000 to 2000 cubic feet purchase
- 2000 to 3000 cubic feet purchase
- over 3000 cubic feet purchase
Your Algorithm should allow Mr. Rodin to keep any number of firecrackers for himself. The user should be allowed to specify any number of children. The user should be allowed to specify any number of firecrackers per child.
Sample input/output for your program is listed below. Your program's output is in bold. Sample numbers entered by the user are given. There is no specific solution for this problem.
Please input an integer, 0 to end: 6
Please input an integer, 0 to end: 19
Please input an integer, 0 to end: -4
Please input an integer, 0 to end: 0
The largest integer entered was 19.
Answer to Problem: ____________ gallons.
The algorithm should obtain the length, height, and width of the room from the user. Note that your answer should be in whole gallons of paint.
The algorithm should allow for changes in the number of hours worked and the hourly rate.