Computer Science Homework Solutions

Understanding how to create a secure network.

How do I transform a network to a secure network? What tools should I have and what kind of hardware do I need to have a basic secure network?

Perform addition and subtaction on binary numbers

9. Convert the following decimal numbers into 8?bit binary numbers as required for 2's complement math, and perform the indicated operations. Note: Remember that positive numbers are represented in signed-magnitude format in 2's complement math a) +39 +19 = b) +39 -19 = c) -39 +19 ...continues

Multiplication and division of binary numbers.

8. The answer for the following two problems must be in binary. a) Multiply binary 1 0 0 0 1 1 1 1 1 0 . 1 0 1 0 1 1 1 1 0 1 by decimal 16. b) Divide binary 1 0 0 0 1 1 1 1 0 1 0 1 0 . 0 1 1 1 1 0 1 by decimal 32

Converting decimal to ieee 754 Floating point representation

Convert decimal 39.125 into: The IEEE 754 Floating Point representation

soft-real time

A soft real-time system has four periodic events with periods of 50, 100, 200 and 250 msec each. Suppose four events require 35, 20, 10 and X msec of CPU time, respectively. What is the largest value of X for which the system is schedulable?

BSS (Block Started by Symbol) - An editor has 100 KB of program text, 30 KB of initialized data, and 50 KB of BSS (Block started by symbol). The initial stack is 10 KB. Suppose that three copies of this editor are started simultaneously. How much physical memory is needed (a) is shared text is used, and (b) if it is not?

An editor has 100 KB of program text, 30 KB of initialized data, and 50 KB of BSS (Block started by symbol). The initial stack is 10 KB. Suppose that three copies of this editor are started simultaneously. How much physical memory is needed (a) is shared text is used, and (b) if it is not?

Two real-time processes

Two real-time processes are running on a computer. The first one runs every 25 msec for 10 msec. The second one runs every 40 msec for 15 msec. What is the utilization of the CPU for the given two processes?

Baud Rate

Some computers need to have large numbers of RS-232 lines (e.g. servers or Internet providers). For this reason, plug-in cards with multiple RS-232 lines exist. Suppose that such a card contains a processor that must sample each incoming line at 8 times the baud rate to see if the incoming bit is a 0 or a 1. Also suppose that su ...continues

How long does it take to load

How long does it take to load a 64-KB program from a disk whose average seek time is 10 msec, whose rotation time is 10 msec and whose tracks hold 32 KB: A) For a 2-KB page size? B) For a 4-KB page size?

Baud Rate

Some computers need to have large numbers of RS-232 lines (e.g. servers or Internet providers). For this reason, plug-in cards with multiple RS-232 lines exist. Suppose that such a card contains a processor that must sample each incoming line at 8 times the baud rate to see if the incoming bit is a 0 or a 1. Also suppose that su ...continues

Browse