Question: How many errors are in the following program? # /usr/bin/perl print Enter the block size of your file system: bs = ; chop ($bs);

How many errors are in the following program?

# /usr/bin/perl

print "Enter the block size of your file system: "

bs = ;

chop ($bs);

if ($bs > 8192)

print "Lot of wasted space ";

} else {

print "Reasonable size";

}

a.

4

b.

5

c.

6

d.

7

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!