Docsity

Open Source Development Assignment for BCS(HONS) CSC 2640 Students, Assignments of Software Development

Partial preview of the text

Download Open Source Development Assignment for BCS(HONS) CSC 2640 Students and more Assignments Software Development in PDF only on Docsity!

Program Name: BCS(HONS) Course Code: CSC 2640 Course Name: Open Source Development Assignment / Lab Sheet / Project / Case Study No. 1 Date of Submission: 11/30/ Submitted By: Submitted To: Student Name: Samir Shrestha Faculty Name: Som Pd. Shrestha IUKL ID: 04180290034 Department: Computer Science Semester: V Intake: September 2018

  1. Explain the following term briefly. a. Copyleft: Copyleft is feature of open source licensing where the distributed software is available free to use, modify and redistribute to other only if the redistributed software is bound under same previous license. There are two type of copyleft. Strong copyleft requires all derived works to strictly follow previous license whereas Weak copyleft has liberation regarding following previous license. b. GNU GPL License: GNU General Public License is one of the widely used free copyleft license which leverages the users to use, study, modify and share the software mentioned that derived works need to be distributed under same license terms. GNU GPL is written by Richard Stallman, launched in 1984. c. GNU LGPL License: GNU Lesser General Public License is a free weak copyleft license which allows users, developers and companies to use and modify components of LGPL licensed software and redistributed it under same license terms mentioned that distinct separation between proprietary and LGPL components if present.
  1. With suitable block diagram, Explain four main components of Apache Core. a. HTTP_Main: http_main is the primary component of the server that is designated with the responsibility of starting up the server and managing timeouts. It also contains the main loop within the server that is responsible for waiting and accepting the connection. b. HTTP_Request: http_request is responsible for the handling of the flow of request, error handling and handing over the control to different modules as per the request. c. HTTP_Core: This component of the server is responsible for implementing only the most primary functionality of the server. d. Alloc: Alloc is the resource pool that is designated with the responsibility to handle the resource request, allocate the resources and keep track of the resources.
  1. Write down the output of following perl scripts: a. print(222,a,“\t”,“Le ”,777); Output: $perl main.pl 222a Le b. my $test=33; print "Output containing string, (this one) ", "numbers (",4.3, ") and variables: ", $test, "\n End of Output"; Output: $perl main.pl Output containing string, (this one) numbers (4.3) and variables: 33 End of Output