top of page
CITL-001: Laboratory Course

CITL-001: Laboratory Course

IGNOU Solved Assignment Solution for 2021-22

If you are looking for CITL-001 IGNOU Solved Assignment solution for the subject Laboratory Course, you have come to the right place. CITL-001 solution on this page applies to 2021-22 session students studying in CIT courses of IGNOU.

Looking to download all solved assignment PDFs for your course together?

CITL-001 Solved Assignment Solution by Gyaniversity

Assignment Solution

Assignment Code: CITL-001/ASSIGN/2021-22

Course Code: CITL-001

Assignment Name: Laboratory Course

Year: 2021-2022

Verification Status: Verified by Professor

Marks: 25

Q1) Write a C program which prompts the user with the following options at the command prompt:

1) Compare two numbers for the larger

2) Test a number for prime or not.

After choosing the option program will ask user to enter any two integers and perform the operation as given in the options.



int main(){   

int n,i,m=0,flag=0;   

printf("Enter the number to check prime:");   







printf("Number is not prime");   






printf("Number is prime");    

return 0; 


Q2) Write a Java applet which accepts centimeters as input and displays its meters, millimeters equivalent, as per the choice of user.



* Java program to convert centimeter to inch, meter, and kilometer.


import java.util.Scanner;

public class MeasurementConversion {

   public static void main(String[] args) {


        * Constants for inch, meter, and kilometer in 1 centimeter.


       final double INCH       = 0.394;

       final double METER      = 0.01;

       final double KILOMETER  = 0.00001;

       Scanner in = new Scanner(;

       /* Read centimeter input from user */

       System.out.print("Enter length in centimeters : ");

       double cm = in.nextDouble();


       /* Convert cm into inch, m, and km */

       double inch = cm * INCH;

       double m    = cm * METER;

       double km   = cm * KILOMETER;


       /* Print result on console */

       System.out.println(cm + " cm is equal to " + inch + " inches.");

       System.out.println(cm + " cm is equal to " + m    + " meters.");

       System.out.println(cm + " cm is equal to " + km + " kilometers.");




Enter length in centimeters : 12.5

12.5 cm is equal to 4.925 inches.

12.5 cm is equal to 0.125 meters.

12.5 cm is equal to 4.925 kilometers.

Q3) Create “Hospital Database” using MS-Access. Make relevant assumptions for designing the database.

Ans) When you open Access, Backstage view displays the New tab. The New tab provides several ways that you can create a new database:

  1. A Blank Database - You can start from scratch if you want. This is a good option if you have very specific design requirements or have existing data that you need to accommodate or incorporate.

  2. A Template that is Installed with Access - Consider using a template if you are starting a new project and would like a head start. Access comes with several templates installed by default.

  3. A Template from - In addition to the templates that come with Access, you can find many more templates on You don't even have to open a browser, the templates are available from the New tab.

  4. Adding to a Database - Once you are working in a database, you can add fields, tables, or application parts.

  5. Application parts are a feature that let you use several related database objects together as if they were one. For example, an application part might consist of a table and a form that is based on the table. You can add the table and the form at the same time by using the application part.

You can also create queries, forms, reports, macros - all the database objects that you are used to working with.

  1. Create a blank database

  2. On the File tab, click New, and then click Blank Database.

  3. Type a file name in the File Name box. To change the location of the file from the default, click Browse for a location to put your database (next to the File Name box), browse to the new location, and then click OK.

  4. Click Create.

  5. Access creates the database with an empty table named Table1, and then opens Table1 in Datasheet view. The cursor is placed in the first empty cell in the Click to Add column.

  6. vi)    Begin typing to add data, or you can paste data from another source, as described in the section Copy data from another source into an Access table.

  7. Entering data in Datasheet view is designed to be very similar to working in an Excel worksheet. The table structure is created while you enter data. When you add a new column to the datasheet, a new field is defined in the table. Access automatically sets each field's data type, based on the data that you enter.

If you do not want to enter data in Table1 at this time, click Close Button image. If you made any changes to the table, Access prompts you to save the changes. Click Yes to save your changes, click No to discard them, or click Cancel to leave the table open.

Q4) Exhibit the use of mail-merge in MS-Word, with the suitable example of your choice.

Ans) Mail merge is a useful feature supported by Microsoft Word and Microsoft Excel to create multiple copies of a letter at a time without having to type out the same letter over and over again.

The steps involved in Mail merge in MS Word are:

  1. Open a blank Microsoft Word document.

  2. Click the Mailings tab.

  3. In the Start Mail Merge Group, click on the Start Mail Merge drop-down list.

  4. In the list, click on Step-by-Step Mail Merge Wizard followed by the document type. Let us choose the Letters option.

  5. Select the document in which you want to apply the merge functionality. Let us select the current document for now.

  6. Click on Next: Select recipients to select the list of people to whom the letter must be sent.

  7. Click on Address Block to put in addresses at the beginning of the letter.

  8. In the Insert Address Block window, select the details that must be mentioned in the address and click OK.

  9. Click on Greeting line to include the greeting at the beginning of the letter.

  10. In the Insert Greeting Line window, select the greeting line format of your choice and click OK.

  11. Write down the letter you want to make multiple copies of and click Next: Preview your letters.

  12. Once the preview is complete and you are satisfied with the letter format, click Next: Complete the merge.

  13. Click Print to print the copies of the letter.

An example where Mail merge can be used is when you want to print many appointment letters for new joiners of the same designation in an organization.

100% Verified solved assignments from ₹ 40  written in our own words so that you get the best marks!
Learn More

Don't have time to write your assignment neatly? Get it written by experts and get free home delivery

Learn More

Get Guidebooks and Help books to pass your exams easily. Get home delivery or download instantly!

Learn More

Download IGNOU's official study material combined into a single PDF file absolutely free!

Learn More

Download latest Assignment Question Papers for free in PDF format at the click of a button!

Learn More

Download Previous year Question Papers for reference and Exam Preparation for free!

Learn More

Download Premium PDF

Assignment Question Papers

Which Year / Session to Write?

Get Handwritten Assignments

bottom of page