Experiment No.: 03: Title: Aim: Objectives
Experiment No.: 03: Title: Aim: Objectives
: 03
TITLE: Install a C compiler in the virtual machine created using virtual box and execute simple
program.
AIM: To install C compiler in virtual machine using virtual box and execute simple program
OBJECTIVES:
1. To learn and understand about virtual machine.
2. To learn and understand about creating services in virtual machine.
3. To learn and understand about 3 services :
Infrastructure –as –a –service(IaaS)(hardware,memory,storage,CPU)
Platform operating system
Installing applications and programming languages.
4. To install C/GCC compiler in linux virtual machine.
5. Generate simple arithmetic calculator using virtual c program.
3.services:
Platform as a Service[PaaS]:
PaaS is a category of cloud computing that provides a platform and environment to allow
developers to build applications and services over the internet. PaaS services are hosted in the
cloud and accessed by users simply via their web browser.
Application as a Service[AaaS]:
"Application as a Service" (AaaS) refers to a cloud-based model where users access and utilize
applications hosted on a remote server, without needing to install, manage, or maintain the
software on their own devices.
Additional learning
Basic commands in linux:
1. sudo apt install
2. ls
3. man
Operations of file:
1. Creation
2. Editing
3. append
4. delete
Directory operations:
1. create
2. add subfolders on file
3. changing privilges
4. delete
OUTCOMES:
I learned how to set up and manage a virtual machine.
I came to know how to create and configure various services within a virtual machine.
I understood the concepts of Infrastructure-as-a-Service (IaaS), Platform as a Service
(PaaS), and how to install and manage operating systems and applications within a virtual
machine.
I learned how to install a C compiler on a Linux virtual machine and create a simple
arithmetic calculator using a C program.
OUTPUT:
RESULT: Thus the simple hello world! c program and calculator c program is executed
successfully.
5. How did you develop the arithmetic calculator using C in a virtual Linux
environment?
I wrote the C program in a text editor, compiled it using GCC, and ran it to perform basic
arithmetic operations based on user input.