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
.
[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.] emacs
[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.
emacs
and pico
are examples of
[a.] text editors.
[b.] operating systems.
[c.] e-mail utilities.
[d.] word processors.
[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. ______________________
c._______________________
_________________________________________________
ls _____________________________________________
cat sample.c ____________________________________
cd ____________________________________________
cp example.c proj2.c _____________________________
rm example.c ___________________________________
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.
The algorithm should allow for changes in the FICA rate and the gross income per month. The employer will always be responsible for half of the payment and the employee for the other half.
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:
- A flat Rate of $15.00 for usage up to an including, 1000 cubic feet.
- $.0175 per cubic foot for usage over 1000 cubic feet and up to and including 2000 cubic feet.
- $.02 per cubic foot for usage over 2000 cubic feet and up to and including 3000 cubic feet.
- a flat rate of $70 for usage over 3000 cubic feet.
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.
- Managers (receive a fixed weekly salary)
- Hourly Workers (receive a fixed hourly wage for up to the first 40 hours they work, and time-and-a-half ie 1.5 times their hourly wage, for overtime worked)
Your Algorithm should prompt the user (ie payroll clerk) to enter the appropriate facts to calculate the weekly payroll for the company.
For example: 3 Managers at $X per week, 6 hourly workers at $Y per week. Create various pay scales based on realistic pay values (X & Y) you feel the guitar producers are worth.
Sample input/output for your program is listed below. Your program's output is in bold.
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.