Basics of OS UNIX LINUX and Shell Programming 1A

$7.50

SKU: AMSEQ-012 Category:

Assignment – A

Q1: Write a shell program to generate the first “n” terms of the following sequence without using multiplication.
1 2 4 8 16 32………

Q2: What are filters? Give some examples of commands that can be used as filters

Q3: What is shell programming? Write a shell program to print all the contents of an existing text file in upper case

Q4: Write the UNIX commands for the following
i) To display the sizes and names of the six largest files in /bin, listed in descending order of their size.
ii) To display the number of words in the last 250 lines of any file.
iii) To display the name of the oldest file (and only the oldest file) in the current working directory.
iv) To show the number of all files and directories (including hidden ones, but not. or.) in the directory /bin.
v) Use the ps command, and the grep command, in a pipeline to find all the processes owned by you.

Q5: Describe what the grep command does? Illustrate its use with an original

Assignment – B
Q1: What is an i-node and what information is contained in it? Describe how named files are mapped to i-nodes.
Q2: How is the information associating disc blocks with i-nodes represented?
Q3: What restrictions are placed on name to i-node links to simplify file system recovery?

Assignment – C

Q1: A modem that doesn’t need to be connected to a telephone line is the ________ modem
a. external
b. internal
c. wireless
d. fax

Q2: A modem that is contained within the system unit is called a(n) ________ modem
a. external
b. internal
c. wireless
d. fax

Q3: A credit card-sized expansion board that is inserted into portable computers that connects the modem to the telephone wall jack is the ________.
a. Internal modem
b. External modem
c. PC Card modem
d. Wireless modem

Q4: Computers, in contrast, send and receive ________ signals
a. analog
b. digital
c. modulated
d. demodulated

Q5: The telephone is an example of a(n) ________ signal.
a. analog
b. digital
c. modulated
d. demodulated

Q6: Layer one of the OSI model is–
a. Physical layer
b. Link layer
c. Transport layer
d. Network layer

Q7: In which topology, if a computer’s network cable is broken, whole network goes down.
a. Bus
b. Star
c. Tree
d. Mesh

Q8: For large networks, which topology is used?
a. Bus
b. Star
c. Ring
d. Mesh

Q9: In OSI network architecture, the dialogue control and token management are responsibilities of-
a. Session layer
b. Network layer
c. Transport layer
d. Data link layer

Q10: What is max data capacity for optical fiber cable?
a. 10 mbps
b. 100 mbps
c. 1000 mbps
d. 10000 mbps

Q11: If a computer on the network shares resources for others to use, it is called–
a. Server
b. Client
c. Mainframe
d. None of above

Q12: Which of the following is used for modulation and demodulation?
a. Modem
b. Protocol
c. Gateway
d. Multiplexer

Q13: ISO OSI model is used in–
a. Stand alone PC
b. Network environment
c. Sub network access
d. None of above

Q14: Network cable lies on layer–
a. Application
b. Network
c. Physical
d. Data link

Q15: In OSI network architecture, the routing is performed by–
a. Network layer
b. Data link layer
c. Transport layer
d. Session layer

Q16: Which connector is used in STP?
a. BNC
b. RJ-11
c. RJ-45
d. RJ-69

Q17: What is the max data capacity of STP?
a. 10 mbps
b. 100 mbps
c. 1000 mbps
d. 10000 mbps

Q18: What is the max cable length of STP?
a. 100 ft
b. 200 ft
c. 100 m
d. 200 m

Q19: Which buffer holds the data before it is sent to the printer through print server?
a. Queue
b. Spool
c. Node
d. None of above

Q20: Which server allows LAN users to share computer programs and data?
a. Communication server
b. Print server
c. File server
d. Mail Server

Q21: What is the central device in star topology?
a. STP server
b. Hub/switch
c. PDC
d. Router

Q22: The process of converting analog signals into digital signals so they can be processed by a receiving computer is referred to as–
a. Modulation
b. Demodulation
c. Synchronizing
d. Digitising

Q23: A standalone program that has been modified to work on a LAN by including concurrency controls such as file and record locking is an example of–
a. LAN intrinsic software
b. LAN aware software
c. Groupware
d. LAN ignorant software

Q24: In which portion of LAN management software restricts access, records user activities and audit data etc?
a. Configuration management
b. Security management
c. Performance management
d. Switch Management

Q25: ISDN is an example of which network?
a. Circuit switched
b. Packet switched
c. Both of above
d. None of above

Q26: Which of the following architecture uses CSMA/CD access method?
a. ARC net
b. Ethernet
c. Both of above
d. None of above

Q27: X.25 is an example of which network?
a. Circuit switched
b. Packet switched
c. Both of above
d. None of above

Q28: Which layer decides which physical pathway the data should take?
a. Application
b. Network
c. Physical
d. Data

Q29: Which of the following performs modulation and demodulation?
a. Fibre optics
b. Satellite
c. Coaxial cable
d. Modem

Q30: One of the most dramatic changes in connectivity and communications in the past five years has been ________.
a. mobile or wireless telephones
b. public and private discussion
c. satellite uplinks
d. running programs on remote computers

Q31: How many OSI layers are covered in the X.25 standard?
a. Two
b. Three
c. seven
d. six

Q32: Communication circuits that transmit data in both directions but not at the same time are operating in
a. A simplex mode
b. A half duplex mode
c. A full duplex mode
d. An asynchronous mode

Q33: The interactive transmission of data within a time sharing system may be best suited to–
a. Simplex lines
b. Half-duplex lines
c. Full duplex lines
d. Biflex-lines

Q34: Which of the following is not a transmission medium?
a. Telephone lines
b. Coaxial cables
c. Modem
d. Microwave systems

Q35: Which of the following is required to communicate between two computers?
a. Communications software
b. Protocol
c. Communication hardware
d. All of above including access to transmission medium

Q36: A band is always equivalent to
a. A Byte
b. A Bit
c. 100 bits
d. None of the Above

Q37: Connectivity is a concept related to ________.
a. transmitting information, either by computer or by phone
b. the interconnections within a computer
c. using computer networks to link people and resources
d. being in an active session with your computer

Q38: Electronic systems that transmit data over communications lines from one location to another are called ________.
a. transmission systems
b. communications systems
c. microcomputer systems
d. LAN transmission systems

Q39: What is the number of separate protocol layers at the serial interface gateway specified by the X.25 standard?
a. 4
b. 2
c. 6
d. 3

Q40: Which of the following signal is not standard RS-232-C signal?
a. VDR
b. RTS
c. CTS
d. DSR

Reviews

There are no reviews yet.

Be the first to review “Basics of OS UNIX LINUX and Shell Programming 1A”

Your email address will not be published. Required fields are marked *

PlaceholderBasics of OS UNIX LINUX and Shell Programming 1A
$7.50