Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Please answer the quetions and some answers maybe have more than one answer : Qu

ID: 656179 • Letter: P

Question

Please answer the quetions and some answers maybe have more than one answer :

Question 38 : Which of the following is not an example of file system metadata? You may select more than one.

Question 38 options:

File size in bytes

Non-volatile memory containing the bytes in the file

File creation time

File modification time

Question 39

Which of the following types of memory can be accessed by a Central Processing Unit in the least amount of time? Select one.

Question 39 options:

Cache RAM

Boot ROM

The first 1 Megabyte of system RAM

Non-volatile RAM

Question 40 : Select each of the output samples that the following script could produce:

#!/bin/bash
if [ $# -eq 7 ]
then
for i in ${BASH_ARGV[*]} ;
do
echo $i
done
else
echo $0 too few arguments
fi

Question 40 options:

test.bash too few arguments

g

f

e

d

c

b

a

arg1

arg7

arg6

arg5

arg4

arg1

arg2

arg3

Question 41 : Which of the following statements is true?

Question 41 options:

All multitasking operating systems implement virtual memory.

Multitasking time sharing operating systems can not perform batch processing.

A multitasking time sharing operating system contains a component called a scheduler which determines which of the processes or threads that are ready to run will actually run.

All multitasking operating systems are multi-user operating systems.

Question 42 : Which of the following statements is true?

Question 42 options:

All internet routers support both IPv4 and IPv6.

IPv4 defines more than 4 billion internet routable addresses.

Each IPv4 address identifies exactly one computer.

IPv4 uses 32 bits for each address, and IPv6 uses 128 bits for each address.

Question 43

Which of the following regular expressions only matches variable names with all of the following rules?

1) Variable names must start with an alphabetic character or an underscore.

2) If a variable name starts with an underscore, the variable name must include at least one alphabetic character.

3) Variable names my include numbers at any position after the start.

Why is this? If the answer isn't obvious to you just by looking at the options, why don't you create some test cases and actually test each of the candidate regular expressions?

Question 43 options:

(^[a-zA-Z][a-zA-Z0-9_]*)|(^[_]+[a-zA-Z0-9_]*)

(.[a-zA-Z][a-zA-Z0-9_]*)|(^[_]*[a-zA-Z0-9_]$)

(^[a-zA-Z][a-zA-Z0-9_]*)|(^[_]+[0-9]*[a-zA-Z]+[a-zA-Z0-9_]*)

(.[a-zA-Z][a-zA-Z0-9_]*)|(^[_]+[a-zA-Z0-9_]*)

Question 44 : Which of the following statements is true? You may select more than one.

Question 44 options:

The Windows FAT32 file system forbids the backward-slash, '', and plus, '+', characters in file names.

In the Linux ext3 file system, each file has exactly one corresponding file name.

The Linux ext3 file system forbids the presence of more than one dot, '.', character in a single filename.

The Linux ext3 file system forbids the forward-slash, '/', character in filenames.

Question 45 : Which of the following statements is true? You may select more than one.

Question 45 options:

In Linux, file extensions are not significant, and often files are named without extensions.

Many Windows and Linux applications depend on recognizing the type of a file based on the extension it has.

Windows Access Control Lists are incapable of encoding file access permissions that are consistent with LINUX read ("r"), write ("w"), and execute ("x") permissions.

A text file is usually a sequence of lines. A line is a sequence of ordinary characters ending with an "end-of-line" indicator. Linux uses the ' ' (ASCII Line Feed), and Windows uses ' '(ASCII Carriage Return) followed by ' ' as the end-of-line indicators.

A)

File size in bytes

B)

Non-volatile memory containing the bytes in the file

C)

File creation time

D)

File modification time

Explanation / Answer

38) B) Non-volatile memory containing the bytes in the file

39) C) The first 1 Megabyte of system RAM

40) test.bash too few arguments

41) All multitasking operating systems implement virtual memory.  

Multitasking time sharing operating systems can not perform batch processing.
  
A multitasking time sharing operating system contains a component called a scheduler which determines which of the processes or threads that are ready to run will actually run.

42) IPv4 defines more than 4 billion internet routable addresses.  

Each IPv4 address identifies exactly one computer.
  
IPv4 uses 32 bits for each address, and IPv6 uses 128 bits for each address

43) (^[a-zA-Z][a-zA-Z0-9_]*)|(^[_]+[a-zA-Z0-9_]*)

      (^[a-zA-Z][a-zA-Z0-9_]*)|(^[_]+[0-9]*[a-zA-Z]+[a-zA-Z0-9_]*)

44) A)The Windows FAT32 file system forbids the backward-slash, '', and plus, '+', characters in file names

     D) The Linux ext3 file system forbids the forward-slash, '/', character in filenames.

45) A) In Linux, file extensions are not significant, and often files are named without extensions.

      D) A text file is usually a sequence of lines. A line is a sequence of ordinary characters ending with an "end-of-line" indicator. Linux uses the ' ' (ASCII Line Feed), and Windows uses ' '(ASCII Carriage Return) followed by ' ' as the end-of-line indicators.