Computer Science 330 Solved Assignment 2021-22 | NIOS Senior Secondary Solved Assignment 2021 - 22

 NIOS Senior Secondary Solved Assignment 2021 - 22
Computer Science 330 Solved Assignment 2021-22
Tutor Marked Assignment
Max Marks: 20


(i) All questions are compulsory. The Marks allotted for each question are given beside the questions.

(ii) Write your name, enrollment numbers, AI name and subject on the first page of the answer sheet.

1. Answer any one of the following questions. 2

(a) Explain the concept of Primary Memory? Also explain RAM and ROM.(See Lesson 1)

Ans: Primary memory is a term used in computer system design to describe the area of memory that holds the most recently accessed data. Primary Memory is typically volatile storage, which means that its contents are lost when power is removed. The performance of the system relies on the speed with which data can be read from or written into Primary Memory. The primary memory is of two types:

a) Random Access Memory: The memory system constructed with metal oxide semi conductor storage elements that can be changed is called Random Access Memory. It is used to hold intermediary data in the computer.

b) Read only memory: Another type of computer memory is Read-Only-Memory (ROM). It is used for storing micro programs, not available to normal programmers. The information is permanently stored during manufacturing.

(b) Write the 4 points of difference between 3 GL’s and 4 GL’s languages. (See Lesson 3)

Ans: Difference between 3 GL’s and 4 GL’s languages

  1. 3rd generation language is composed of 1s and 0s. 4th generation languages are more complicated because they use symbols, letters, and punctuation marks in addition to letters in order to form words.

  2. The 3rd generation computer language is the one that is based on the machine code. The 4th generation language uses high-level programming languages.

  3. 3g is used for computing, while 4th generation focuses on personalization.

  4. 3rd generation computer language is a new category of programming languages that are created by the machine. 4th generation computer language is a category of programming languages that are created by humans.

2. Answer any one of the following questions. 2

कंप्यूटर विज्ञान (330) | Computer Science 330 NIOS Free Solved Assignment 2021 – 22 (Hindi Medium)

(a) What is a selection statement? Explain with help of complete C++ program. (See Lesson 14)

Ans: A selection statement is a part of a program that specifies how many and which values to choose from the input. A C++ program uses a selection statement to choose one value among the values it has processed. It can be done by using if-else statements or switch statements.

A selection statement has four parts: the condition, the expression, the statements, and the goto statement. The condition is used to check whether some value is true or false. The expression evaluates whether the condition is true or false, and then it executes one or more commands depending on what it evaluates as true or false. If the condition is not met, then this part of a selection statement does not execute anything else in this block of code.

Example of Selection statement using C++:

/* C++ Selection Statements - C++ if Statement */



void main()



int x, y, z, max;

cout<<"Enter any three numbers: ";


max = x;



max = y;




max = z;


cout<<"\n"<<"The largest of "<<x<<", "<<y<<" and "<<z<<" is "<<max;



When the above C++ program is compile and executed, it will produce the following output. This is the output, if 3rd number is biggest.

C:\Users\KUMAR NIRMAL PRASAD\Desktop\if-statement-cpp.jpg

(b) What are the different transmission modes? (See Lesson 5)

Ans: The term “transmission mode” is used in the context of the physical medium that carries digital signal. It is more commonly referred to as a “bandwidth”. There are three transmission modes - simplex, half duplex, and full duplex.

1. Simplex Mode: This is essentially 1-way transmission. The sender sends the data only; the receiver receives it only. Simplex is useful when all devices on the network are single devices that do not require bi-directional communication like printers or monitors, because they cannot receive data until they send it first. 

2. Half-Duplex Mode: This mode uses half of the available bandwidth for transmitting messages to other hosts on the network, but it can transmit messages in both directions simultaneously. Half-duplex mode is typically used for short range transactions where large messages are sent to one device and small messages are sent to another device that resides on the same segment as the sending device. 

3. Full Duplex Mode: Full Duplex Mode is a mode that allows for two-way communication. This mode allows both devices to talk and listen at the same time while utilizing network resources efficiently.

3. Answer any one of the following questions. 2

(a) Write the steps to send an E-mail. (See Lesson 7)

Ans: Steps to send E-mail: First of all, you must have an email account to send an email. Then

1. Sign in into your email.

2. At left side, there is a compose button.

3. Click on the compose button and type the email of whom you want to send mail.

4. Enter the email-id of recipient in the first row of the compose button tab. You can also add CC and BCC if you want to send this email to more than one person.

5. Select files by clicking on the attach files button if you want to send any attachment.

6. Now click on send button.

7. At the top, you will receive a message i.e (message is sent).

8. Finally, Your email is sent

(b) Draw the logic circuit diagram for the following:

(i) (A+B’) (B+A’C)

(ii) X’Y + Y’Z + XYZ (See Lesson 2)

Ans: Answer any one of the given question

4. Answer any one of the following questions in about 100-150 words. 4

(a) Explain the different types of Operating System. (See Lesson 4)

Ans: Operating system and its types 

An operating system (OS) is software, consisting of programs and data that runs on computers and manages computer hardware resources and provides common services for efficient execution of various application software. 

Types of operating systems: 

  1. Real-time Operating System: It is a multitasking operating system that aims at executing real-time applications. The main object of real-time operating systems is their quick and predictable response to events. 

  2. Multi-user and Single-user Operating Systems: The operating systems of this type allow a multiple users to access a computer system concurrently. Time-sharing system can be classified as multi-user systems as they enable a multiple user access to a computer through the sharing of time. Single-user operating systems, as opposed to a multi-user operating system, are usable by a single user at a time. 

  3. Multi-tasking and Single-tasking Operating Systems: When a single program is allowed to run at a time, the system is grouped under a single-tasking system, while in case the operating system allows the execution of multiple tasks at one time, it is classified as a multi-tasking operating system. 

  4. Distributed Operating System: An operating system that manages a group of independent computers and makes them appear to be a single computer is known as a distributed operating system. The development of networked computers that could be linked and communicate with each other, gave rise to distributed computing. 

  5. Embedded System: The operating systems designed for being used in embedded computer systems are known as embedded operating systems. They are designed to operate on small machines like PDAs with less autonomy.

(b) Explain the concept of Constructor and Destructor with the help of an example. (See Lesson 18)

Ans: A constructor is a function that creates new objects; it will create data that is passed to it as input and return new objects. 

An example of constructor would be a function called "square" that takes x as an input and returns another function that calls the square function on its argument. The square function would then return a value.

A destructor is a function that destroys the object created by the constructor, making sure they are destroyed.

An example of destructor is an object called "mySquaredFunction" that calls itself recursively on its argument until it reaches one. Once it reaches one, it will set the value to 0 and end the recursive call.

5. Answer any one of the following questions in about 100 – 150 words. 4

(a) Differentiate between

(i) LAN and WAN

(ii) Star Network and Bus Network (See Lesson 5)

Ans: (i) Difference between LAN and WAN




Geographical Area

It covers small geographical distances. 

It covers very large geographical distances. 


Coverage up to few kilometers. 

Global coverage. 

Medium of Transmission

Guided medium of transmission is used. For example: Coaxial cables, twisted pair cables etc. 

Unguided medium of transmission is used. It uses wave transmission. For example, Radio waves, microwaves, satellite communication etc.


Setup cost is less.

Very costly. Huge infrastructure is required. 

(ii) Difference between Star Network and Bus Network

Ans: Star Network: In this network the communication channel emanates from a central computer system. It means that the processing nodes are directly connected with a central system. To transmit information from one node to another, it should be necessarily routed through the central computer.

Bus Network: In this structure a single cable runs in the building or campus and all nodes are linked along with this communication line with two end points called the bus. 

Difference between Star Network and Bus Network:

  1. A star network consists of a small number of core nodes with many short-distance connections, whereas a bus network is composed of many long-distance routes that radiate outwards from the center.

  2. Star networks have a greater ability to communicate and share information while bus networks are more vulnerable in terms of sharing information within the network.

  3. In a star network, if an individual node connection fails, all other connections are still available. On the other hand, in a bus network every service is only available on one route so if one route fails, another one must be used to reach the destination.

(b) WAP to read the 10 numbers in an array from the user and sort the array using bubble sort technique. (See Lesson 16)

Ans: WAP, which stands for Web Application Programming Interface, is a software programming interface originally introduced by Microsoft in 1996. It provides an application programming interface (API) to facilitate the access of data and program code on the World Wide Web.

Using WAP, we can build a bubble sort algorithm to order all the numbers in an array from 0-9 starting at the left side and going right. First we need to create a function that would return "wap" for each number in an array and then iterate through that array and call this function with each number until we reach 9.

WAP to read the 10 numbers in an array from the user and sort the array

import java.util.Scanner;

public class KboatBubbleSortDsc


    public static void main(String args[]) {

        Scanner in = new Scanner(;

        int n = 10;

        int arr[] = new int[n];


        System.out.println("Enter the elements of the array:");

        for (int i = 0; i < n; i++) {

            arr[i] = in.nextInt();



        //Bubble Sort

        for (int i = 0; i < n - 1; i++) {

            for (int j = 0; j < n - i - 1; j++) {

                if (arr[j] < arr[j + 1]) {

                    int t = arr[j];

                    arr[j] = arr[j+1];

                    arr[j+1] = t;





        System.out.println("Sorted Array:");

        for (int i = 0; i < n; i++) {

            System.out.print(arr[i] + " ");




C:\Users\KUMAR NIRMAL PRASAD\Pictures\Screenshots\Screenshot (39).png

6. Prepare any one project out of the given below: 6

(a) You are working as a manager in a IT Company. You required to create the project for the school website. Write few pointers of the project management cycle. (See Lesson 27)

Ans: The project management cycle is a process that consists of four phases: initiation, planning, execution, and control. Some of the pointers of the project management are as follows:

1. Project initiation: It is the beginning of a new project. The first step that needs to be taken is creating a plan for the new project. This involves identifying stakeholders involved in the project, assessing risk related to it, creating requirements for it, and defining scope.

2. Planning phase: The main objective of this phase is to create a detailed plan for the new project. This includes preparing documents like scope document and task list which helps in understanding what should be done next. It also involves identifying risks related to the project and estimating time required for completion as well as cost associated with it

3. Execution phase: Project management is the systematic planning, organizing, leading, and controlling of a project. It is an activity that includes identifying priorities, which are divided into three key elements: scope, time and cost. The execution phase aims to bring the project objectives to life by carrying out activities such as planning team members and resources, creating a schedule for the work and overseeing progress.

4. Control phase: Project managers use controls so they can effectively control the project's progress. These controls help them be on top of things and ensure that the job is implemented smoothly.

(b) Mr. Krrishnav is a schoolteacher, and he is organising IT-Fest, an Inter school computer competition. You are required to create a 5 pages website using HTML. (See Lesson 24, 25)

Ans: Answer anyone project


0/Post a Comment/Comments

Kindly give your valuable feedback to improve this website.