Questions from students, looking for advice for their homework.

learn more… | top users | synonyms

2
votes
3answers
75 views

Calculate hard drive track count

Suppose I have these information of a hard drive : Capacity : x Gbytes Number of cylinder : y Number of platters : z (z * 2 surfaces) Number of heads : w per platter How can I calculate the ...
0
votes
2answers
28 views

How does MAC Source Address Learning work with regards to hubs?

On my previous assignment for a networking class, I compared answers with a classmate regarding Source Address Table for a problem that had 3 devices connected to a switch. Device A + B were ...
0
votes
1answer
26 views

Minimal Network latency

Ok guys, I got this on a test about networking in the university. So lets assume ideal conditions for this one: In Which communication schema the network is expected to have minimal latency in ...
1
vote
2answers
25 views

Single formula to search column and return corresponding fields

Am having issues creating a single formula to search the billionaires list by name and autofill the rank, age, net worth, and citizenship field in the search spreadsheet. This is the formula I have ...
1
vote
2answers
98 views

Monitoring Excessive User Home Directory Growth

I am trying to write a script for a school assignment that will check and see if any of the non-administrative user home directories have increased in size by more than 100 MB in a single 20 minute ...
1
vote
0answers
172 views

How to determine control/data/address bus width

I am hoping you guys can help. I need to know how to calculate the control bus, address bus, and data bus width of a hypothetical CPU. A computer is word addressable with a 64 bit word size and ...
0
votes
1answer
55 views

If you have a T3 dedicated line do you need a VPN?

Is this redundant or can you run VPN on a T3 dedicated line? Do you still need security protection on the T3 line? I was going to put VPN on my T3 line in my project, but after reading it through it ...
2
votes
3answers
502 views

Which memory is accessed by the initialization code on a PC?

CMOS, DRAM, ROM and EPROM are all types of memory found in PC systems. Explain which of these is used to contain the initialisation code and which are accessed by this code. The first answer ...
0
votes
1answer
30 views

byte addressing and cache

http://6004.mit.edu/currentsemester/tutprobs/caches_answers.html Given DM: a direct-mapped cache. S2: a 2-way set-associative cache with a least-recently-used replacement policy. FA: a ...
2
votes
1answer
827 views

How many subnets are needed?

I'm just starting out with networks. I'm trying to determine how many subnets are needed for this network: BRANCH1, BRANCH2 and HQ are routers. The Boxes between routers and PCs are switches. The ...
0
votes
1answer
569 views

How to calculate the size of the page table from this data?

A computer uses 46–bit virtual address, 32–bit physical address, and a three–level page table organization. The page table base register stores the base address of the first–level table, which ...
0
votes
1answer
385 views

What PowerShell command would you use to create a Hyper-V virtual machine?

‍23. What PowerShell command would you use to create a Hyper-V virtual machine? New-VM -Name "VM Name" -MemoryStartupBytes <memory> -NewVHDSizeBytes <disk size> New-VM -Name "VM Name" ...
0
votes
2answers
715 views

What is the difference between link speed and propagation speed of a network link?

In one assignment, the direct link transmission rate is given as 20 Mbps and the propagation speed over the link is 25x 10^7 meter/sec. This link connects host A to B. How is there a difference ...
0
votes
1answer
383 views

openSSL tutorial not fully working - Can sign but cannot restore original file

I'm writing, and testing, a little tutorial for my groupmates involved in an openSSL homework. We have a bunch of PDF files, I'm the CA and each one should send me a signed PDF for me to be verified. ...
1
vote
3answers
534 views

Batch file - How to update folder search path for batch script file execution?

The question on the homework sheet is: Update the folder search path for batch script file execution to include the "Processing" subfolder, and then display the folder search path. (Make sure you ...
1
vote
2answers
2k views

How do I specify a line of text in a text file for a batch file

I am wondering if I can tell the computer to do a command on a text file with a batch file, however i would like to specify whitch line to modify. I do not have any code for this yet and I would be ...
0
votes
1answer
252 views

per-host-pair cryptographic keys on a network

Got a homework question here that I have been staring at for a while. I am being asked how many keys will exist in a network of 'n' number of nodes with keys being distributed on a per-host-pair ...
2
votes
2answers
2k views

Difference between the Windows and Linux thread scheduler

As far as I can tell, both use: Multilevel feedback queue Priority levels (different range) Both manage threads and not the process But what are the big differences? Thanks
1
vote
1answer
1k views

virtualbox virtual machine on usb flash drive

In my Linux class, we created virtual machines on flash drives, and installed Lubuntu on them. We are supposed to be able to now run our virtual machines on any computer with oracle vm installed, at ...
0
votes
1answer
76 views

How to Make Linux Partition Boootable?

I need a help, Ive ended up on my Linux machine without a bootable drive, I need to make one of my Drives bootable? Any Ideas
1
vote
1answer
123 views

Delete newlines using Stream editor (sed)

I need to write a sed script that places the actual text of the subtitles in a srt file on a single line. If this text originally was split over multiple lines, the line break and possible ...
0
votes
2answers
6k views

How to change the text color by a function in Excel 2010

How does one achieve the following: If (the value of cell A1) < (than the value 0) then (all the text representing the number in cell A1) should be the color (RED)?
1
vote
1answer
139 views

Token Ring - is a MAU required?

I'm writing a paper for school on Token Ring, but I'm having trouble discerning something. From what I understand, there are two types of Token Ring networks: wired, and star-wired. I understand ...
1
vote
1answer
143 views

Subnetting - how to?

I can't cope with this MS 70-291 Training Kit Task: What is the configuration error in the diagram below and WHY? (btw: I have removed original, wrong mask which was editors error and placed big red ...
0
votes
1answer
180 views

How to write a script that does what less does?

Question: Create a script such that it is a command that has the same effect as the "less" command (implement the script by calling "less"). What I wrote: #! /bin/bash for index in "$@" do less ...
1
vote
2answers
586 views

working with graphic interface on ssh linux

We have a project involving linux programming. Unfortunalty, we have only an ssh interface, and not a convinient graphic one. What can we do? We heard that xterm can solve our problems, but we ...
3
votes
1answer
146 views

Configuring subnets quandry

I am learning the basics of subnetting however am faced with a dilemma on approaching the issue. For example I have been tasked to set up a network with 20 hosts using a Class C network addressing ...
0
votes
1answer
540 views

Adding percent value in cell to a dollar amount in Excel

I have a column of currency formatted cells (C8:C15) and a markup rate of 15% which is entered into B19. I want to have the markup rate applied to C8:C15. Starting with C8 I entered the formula =B8 + ...
1
vote
1answer
1k views

Can I temporarily affect ARP table without using `arp` command directly?

I have some knowledge about arp command under linux which can help modify the ARP table. Now I want to temporarily affect ARP table(add, delete and change) entries without the help of arp. For ...
0
votes
1answer
455 views

Find duplicate file use cmp command

I would to write a bash script to find duplicate files but I don't want just use md5sum. It means, in addition to use md5sum I want to check my files with cmp command. I use the command below for ...
0
votes
3answers
1k views

Can't seem to change directory - “No such file or directory” error using PuTTY

I am required to use PuTTY to submit a program but I have never used it before and am having a hard time changing my directory. I am successfully connected to a Linux computer from my own but can't ...
2
votes
1answer
234 views

What privilege is required to preserve ownership of a file on copy, and how do you get it?

I have a homework question about kernel programming in Linux. The question is: What Linux-specific privilege is required to preserve ownership of a file when it's copied, and how do you get it? ...
0
votes
2answers
806 views

subnet mask creater

Create a sub net mask for 512 subnets using 172.31.0.0 The default sub net mask for a class b network is 255.255.0.0, working through the borrowing off bits using the formula 2^n, n being the bits ...
0
votes
1answer
392 views

Mask a class D IP address

Last time I asked about masking class D ip addresses. I found that we cannot mask class D IP addresses. But, now I have another question about masking D class IP addresses: If I want to recieve a ...
2
votes
3answers
4k views

Class D ip address

Is there mask for class D ip address? As it is for multicast, I am not sure about it. I read somewhere that D ip addressas are 32-bit network addresses and they dont have hostID, but in the following ...
1
vote
1answer
2k views

How do I calculate how long a packet will reach its destination?

I am stuck with this homework question. I honestly have no clue what it is talking about. The question asked: You are transmitting 100 bit packets over a long distance link of 40 km. I assume ...
1
vote
2answers
165 views

Is it possible to execute a new application if the CPU Utilization of a computer is 100%?

The CPU Utilization of a computer is 100%. Is it possible to execute a new application under the above condition?
0
votes
1answer
237 views

MS Excel pivot table

I have an Excel file: payroll.xlsx I need to do the following, but I'm not sure how: Create a pivot table that computes per employee how many times s/he checked in and her/his average amount ...
4
votes
4answers
620 views

how to create a file and delete a file using “-” symbol

How would you create and then delete a file that begins with the symbol "-"? Try it. I can't write the command for this question and I don't why. Can anyone help me?
5
votes
2answers
986 views

How to create a file with a “#” character in the name in Unix?

I've tried many commands already for creating a file and deleting a file with a # character, but it does not work. Can anyone tell me the command to create and then delete a file that begins with #?
1
vote
3answers
3k views

Using egrep to find lines that have 5-6 Upper Case letters. (but not more than 6)

First off, this is homework and unfortunately I have to use egrep (and not with -w or anything of the like). I need my grep to return lines that have exactly 5 or 6 upper case letters. Doing ...
2
votes
4answers
1k views

(bash) Grep question - how to grep for a line that has the same number you both need and don't need

This isn't at all easy to explain but easy to just show. I have lines in a file such as: 100Dollars 3 IP 200Dollars 3 IP 300Dollars ...
1
vote
3answers
829 views

what is HTML payload?

I have to do an assignment and the following is specified: Extract these items: <content type="HTML"> quoted HTML payload </content> the extraction refers to an XML feed. What exactly ...
1
vote
3answers
3k views

What file systems does Windows 2008 support?

I'm doing a schoolwork assignment and I'm currently on the question: "What file systems does Windows 2008 support?" Sounds easy but I dunno if it's a trap. It would be easy to say FAT32, NTFS etc. ...
0
votes
3answers
2k views

Prompting for and accepting input in Windows PowerShell

In a trivia script, how would you enter a fill in the blank question and an answer like the Seinfeld trivia game in Programming for Beginners? Please help - it is homework.
0
votes
4answers
781 views

Show the matching count of all files that contain a word

What is the single command used to identify only the matching count of all lines within files under the /etc directory that contain the word "HOST"? I should list only the files with matches and ...
0
votes
1answer
971 views

Why is byte stuffing preferred to use with PPP?

I read that PPP can use both bit and byte stuffing, but I can't think of any reason why byte stuffing is preffered. Can you?
2
votes
1answer
740 views

What is the purpose of the network id?

I know that for addresses like e.g. 192.168.17.5 with 255.255.255.0 subnet mask, address 192.168.17.0 is the network id and 192.168.17.255 is the broadcast address and that valid hosts are from ...
2
votes
5answers
8k views

Can you have a class C IP address with a subnet mask of 255.255.0.0?

Can you have a class C IP address with a subnet mask of 255.255.0.0? What happens when you have a setting like this?
3
votes
3answers
4k views

Finding multiple file extensions in command prompt window

I am trying to use multiple parameters to find 3 different extensions in my windows/system32 in one command: .exe, .dll and .sys This is giving me what I want, but I can't figure out how to get all 3 ...