Professional Documents
Culture Documents
BACHELOR OF TECHNOLOGY
in
EXPERIMENT REPORTS
By
SCHOOL OF COMPUTING
HIMACHAL PRADESH
1|Page
COMPUTER WORKSHOP
TABLE OF CONTENT
4. Latex 31-36
2|Page
COMPUTER WORKSHOP
Experiment-1
Experiment Name: Installation of Linux And Windows
Operating System.
Requirements:
PC, Internet, Virtual Machine, Ubuntu ISO Image
3|Page
COMPUTER WORKSHOP
4|Page
COMPUTER WORKSHOP
4. Click on Storage.
5|Page
COMPUTER WORKSHOP
6|Page
COMPUTER WORKSHOP
7|Page
COMPUTER WORKSHOP
8|Page
COMPUTER WORKSHOP
20. Wait for some time and a screen will appear. Click on Restart Now.
21. Enter your password and press Enter and Your Ubuntu OS is ready to use.
9|Page
COMPUTER WORKSHOP
10 | P a g e
COMPUTER WORKSHOP
11 | P a g e
COMPUTER WORKSHOP
16. Enter the product key if you have otherwise click, I don’t have a product key.
12 | P a g e
COMPUTER WORKSHOP
17. Tick the terms and conditions box and click Next.
13 | P a g e
COMPUTER WORKSHOP
19. Divide the disk partition if you want and then click Next.
14 | P a g e
COMPUTER WORKSHOP
15 | P a g e
COMPUTER WORKSHOP
3. Right click on the main disk partition and select Shrink Volume… option.
4. Enter amount of space to shrink (Here 51 GB) and click OK.
5. Now right click on the allocated space and click New Simple Volume… option.
6. Click Next, Next and Finish option. Your disk partition is ready.
16 | P a g e
COMPUTER WORKSHOP
7. Power off the windows and click on SATA Port 1 option in virtual machine.
8. Browse for Ubuntu ISO Image and Select it.
9. Start the Virtual Machine.
10. Select Try or Install Ubuntu.
11. Now, install Ubuntu OS as usual but in between you have to click on Install Ubuntu
Alongside Windows 10 option.
17 | P a g e
COMPUTER WORKSHOP
12. Then other steps are as usual and just wait for some time and then your OS will be ready
with dual boot.
Experiment-2
MS Excel
Introduction to MS Excel
Microsoft Excel is a spreadsheet software developed by Microsoft. It allows users to organize,
calculate, and analyse data in a grid format. With Excel, you can create and edit spreadsheets,
create charts and graphs, perform calculations with formulas and functions, and much more. It is
widely used for tasks such as budgeting, record keeping, and data analysis in both personal and
professional settings.
Functions
18 | P a g e
COMPUTER WORKSHOP
Excel is a spreadsheet software that provides a wide range of functions for data management,
analysis, and visualization. Some common functions in Excel include.
• Mathematical and statistical functions: SUM, AVERAGE, COUNT, MIN, MAX, etc.
• Date and time functions: NOW, TODAY, DATE, YEAR, MONTH, DAY, etc.
SUM Function
The SUM function adds values. You can add individual values, cell references or ranges or a mix
of all three.
19 | P a g e
COMPUTER WORKSHOP
AVERAGE Function
The AVERAGE function returns the average (arithmetic mean) of the arguments.
MAX Function
The MAX function returns the maximum value from the selected cells.
20 | P a g e
COMPUTER WORKSHOP
MIN Function
The MIN function returns the minimum value from the selected cells.
SUMIF Function
The SUMIF function is a premade function in Excel, which calculates the sum of values in a
range based on a true or false condition.
SUBSTITUTE Function
The Excel SUBSTITUTE function replaces text in a given string by matching
21 | P a g e
COMPUTER WORKSHOP
LEN FUNCTION
The LEN function returns the number of characters in a text string.
ROUND Function
The round () function returns a floating point number that is a rounded version of the specified
number, with the specified number of decimals.
22 | P a g e
COMPUTER WORKSHOP
FLOOR Function
The FLOOR function in Excel is a Math/ Trig function that rounds a number (towards zero) to
the nearest specified multiple of significance.
CEILING Function
The CEILING function returns number rounded up, away from zero, to the nearest multiple of
significance.
23 | P a g e
COMPUTER WORKSHOP
24 | P a g e
COMPUTER WORKSHOP
Experiment-3
MS WORD
25 | P a g e
COMPUTER WORKSHOP
26 | P a g e
COMPUTER WORKSHOP
27 | P a g e
COMPUTER WORKSHOP
28 | P a g e
COMPUTER WORKSHOP
29 | P a g e
COMPUTER WORKSHOP
30 | P a g e
COMPUTER WORKSHOP
Experiment-4
Latex
Introduction to latex
LaTeX is a typesetting system that is widely used in the scientific community for the preparation of
documents and reports. It is a high-quality typesetting system that allows users to create professional-
looking documents with mathematical equations, references, and other special symbols.
The name "LaTeX" is a play on words, as it is an abbreviation for "Lamport TeX," named after
its creator, Leslie Lamport. LaTeX uses a markup language to format documents, rather than the
WYSIWYG (What You See Is What You Get) approach used by other word processing software.
LaTeX is a powerful tool that provides great control over the appearance of a document. It
is particularly useful for typesetting mathematical equations, but it can be used for any type
of document, including reports, articles, and even books.
To use LaTeX, you will need to install a LaTeX distribution, such as TeX Live or MikTeX, and an
editor, such as TeXworks or Overleaf, to write and edit your document. The process of typesetting
a LaTeX document involves writing the text in the editor and then compiling it into a PDF or other
format.
Report on my city
Requirements:
PC, Internet, TeX Live software, MiKteK software.
Procedure:
7. Install TeX Live and MiKteK software.
9. Save the file with the extension “. TeX” to convert the file into a latex file.
10. Start the making process of Report on your city using chapter and document
class report.
11. Search the new commands on the Search engine to make your article more attractive
12. Use different packages such as ragged2e for adjustment of alignment, geometry for
31 | P a g e
COMPUTER WORKSHOP
margins adjustment, Graphix for including graphics such as images, beamer class for
Results:
32 | P a g e
COMPUTER WORKSHOP
33 | P a g e
COMPUTER WORKSHOP
Requirements:
PC, Internet, TeX Live software, MiKteK software.
Procedure:
7. Install TeX Live and MiKteK software.
9. Save the file with the extension “. TeX” to convert the file into a latex file.
10. Start the making process of Report on your city using chapter and document
class report.
11. Search the new commands on the Search engine to make your article more attractive
12. Use different packages such as ragged2e for adjustment of alignment, geometry
for margins adjustment, Graphix for including graphics such as images, beamer class
Results:
34 | P a g e
COMPUTER WORKSHOP
35 | P a g e
COMPUTER WORKSHOP
36 | P a g e
COMPUTER WORKSHOP
Experiment-5
Linux commands are a specific set of instructions used to perform some specific tasks in
Linux operating systems. These commands are written in terminal.
2. Mkdir -
Used to create a directory inside the current working directory.
3. rmdir
This command is used to remove a directory.
37 | P a g e
COMPUTER WORKSHOP
4. cd
Used to open a directory.
5. cd ..
Used to exit the current directory.
Syntax - cd ..
6. ls
Used to list all the file/directories present in the current working directory
7. touch
Used to create a text file.
8. cp
Used to copy a file from one directory to another.
9. mv
This command is used to cut a file from a directory and paste it to another directory.
38 | P a g e
COMPUTER WORKSHOP
10. cat
This command is used to perform multiple tasks at a time.
This will create a text file and simultaneously you can edit it.
This will show all the contents of a file with line numbers, in addition it will also add line numbers to
empty lines.
39 | P a g e
COMPUTER WORKSHOP
This will overwrite the content of our file to our destination file
This will append the contents of our destination file with contents of our actual file.
11. grep
12.a grep <word> <file_name>
It will show all the line containing our particular word with the word being
It will show
40 | P a g e
COMPUTER WORKSHOP
It will show all the lines having our particular word with the word being
It will return all the file names containing our particular word.
It will return the lines having our particular word with line numbers.
12. head
13.a head <file_name>
41 | P a g e
COMPUTER WORKSHOP
don't separate the content of multiple files with a file name tag
13. tail
13.a tail <file_name>
42 | P a g e
COMPUTER WORKSHOP
don't separate the content of multiple files with a file name tag
43 | P a g e
COMPUTER WORKSHOP
14. sort
Syntax - sort <file_name>
Sort command will print the content of the file except the consecutive duplicate lines.
15. wc
Syntax - wc <file_name>
16. nl
Syntax - nl <file_name>
This will show the content of the file with line number, line number will be given to only those
lines having some data.
44 | P a g e
COMPUTER WORKSHOP
17. uniq
It will delete the same consecutive lines and show the output.
18. piping
We can execute multiple commands at some time using piping, the result of command1 will
be argument for command2
45 | P a g e
COMPUTER WORKSHOP
19. Permissions
18.a ls -l
drwxrwx—
First bite shows weather the file is directory or text file. Next three bites shows the
permissions for owner, next three bites show permissions for group, last three bites shows
permissions for others.
r - read permission
w - write permission
x - execute permission
46 | P a g e
COMPUTER WORKSHOP
20. Chmod
a. Absolute mod
b. Symbolic mod
b. Symbolic
+ Add a permission to file or directory
- Remove a permission from a file or directory
= it overwrite the permissions.
u user/owner
g group
a all
o others
a. Absolute mod
Syntax- chmod n1,n2,n3 <file_name>
n3 - permissions of others
47 | P a g e
COMPUTER WORKSHOP
n1 , n2, n3 are hexadecimal numbers. To decode the permissions we have to convent this to
binary.
Eg - hex(4) = binary(100)
1 = permission given
0 = permission denied
20. Owner
Syntax - su <user_name>
21. Group
48 | P a g e
COMPUTER WORKSHOP
Experiment-6
Processors
Introduction
A processor is an integrated electronic circuit that performs the calculations
that run a computer. A processor performs arithmetical, logical, input/output
(I/O) and other basic instructions that are passed from an operating system
(OS). Most other processes are dependent on the operations of a processor.
2.Intel core i5
49 | P a g e
COMPUTER WORKSHOP
The Intel Core i5 processor is a mid-range option that is suitable for more
demanding tasks such as photo and video editing, programming, and gaming.
It typically has four or six cores and a clock speed of around 3.5 GH.
3.Intel core i7
Intel Core i7 is a line of Intel CPUs which span eight generations of Intel
chipsets. They feature either four or six cores, with stock frequencies between
2.6 and 3.7 GHz. The first i7 processors were released in November 2008
and new generations of the i7 continue to be released (2020).
4.Intel core i9
the Core i9 became the top model in the Core "i" series. Also part of the Intel
Core X-series brand, the first i9 CPU (7900x) is based on 14 nm process
technology and the Skylake-X microarchitecture. It features four channels of
DDR4 RAM and 44 lanes of PCI Express (compared with 28 in the i7).
5.AMD Ryzen3
6.AMD Ryzen5
Ryzen 5 (pronounced Rye-Zen Five) is a family of mid-range performance 64-
bit quad and hexa-cores x86 microprocessors introduced by AMD in March
of 2017. Ryzen 5 is based on the Zen microarchitecture and is manufactured
on GF's 14 nm process
7.AMD Ryzen7
The AMD Ryzen7 processor is a high-end option that is suitable for intensive
tasks such as 3 3D modelling, video rendering, and gaming at high resolutions. It
typically has eight or twelve cores and a clock speed of around 4.5 GH.
8.AMD Ryzen9
The AMD Ryzen9 processor is a top-of-the-line option that is suitable for
extremely intensive tasks such as scientific computing, machine learning, and
50 | P a g e
COMPUTER WORKSHOP
Experiment-7
Memory Hierarchy
Introduction
The computer memory hierarchy looks like a pyramid structure which is used
to describe the differences among memory types. It separates the computer
storage based on hierarchy.
Level 0: CPU registers
Level 1: Cache memory
Level 2: Main memory or primary memory
Level 3: Magnetic disks or secondary memory
Level 4: Optical disks or magnetic types or tertiary Memory
51 | P a g e
COMPUTER WORKSHOP
52 | P a g e
COMPUTER WORKSHOP
Experiment-8
Network components
Introduction to Network
A computer network, also referred to as a data network, is a series of
interconnected node that can transmit, receive and exchange data, voice and
video traffic. Examples of nodes in a network include servers or modems.
Computer networks commonly help endpoint users share resources and
communicate. They commonly appear all over the place, such as homes, offices
and government administrations. The use of computer networks can overcome
geographic barriers and enable the sharing of information. Computer networks
enable the usage and sharing of any number of applications and services,
including emails, video, audio and plenty of other types of data, over the
internet.
1. Hubs
Hubs connect multiple computer networking devices together. A hub also
acts as a repeater in that it amplifies signals that deteriorate after traveling
long distances over connecting cables. A hub is the simplest in the family
53 | P a g e
COMPUTER WORKSHOP
2. Switch
Switch mainly resembles a Hub. It is a layer-2 device, and it is used for
the intelligent forwarding of messages. By intelligent we mean the
decision-making ability of the switch. As hub works in the way by
sending data to all ports on the device, whereas the switch sends the data
to only that port that is connected with the destination device.
3. Repeaters
The repeater is a Physical layer device. As the name suggests, the repeater is
mainly used to regenerate the signal over the same network, and it mainly
regenerates before the signal gets corrupted or weak.
4. Router
54 | P a g e
COMPUTER WORKSHOP
5. Server
A Server is basically a computer that serves the data to other devices. The
server may serve data to other devices or computers over a local area
network or on a Wide area network with the help of the Internet. There
can be virtual servers, proxy servers, application servers, web servers,
database servers, file servers, and many more.
55 | P a g e
COMPUTER WORKSHOP
COMPONENTS OF CPU
Components of CPU
1. Motherboard
The motherboard serves as a single platform to connect all of the parts of
a computer together. It connects the CPU, memory, hard drives, optical
drives, video card, sound card, and other ports and expansion cards
directly or via cables. It can be considered as the backbone of a computer.
Features of motherboard
• Motherboard varies greatly in supporting various types of
components.
• Motherboard supports a single type of CPU and few types of
memories.
• Video cards, hard disks, sound cards have to be compatible with the
motherboard to function properly.
56 | P a g e
COMPUTER WORKSHOP
57 | P a g e
COMPUTER WORKSHOP
4. Hard disk
A computer hard drive (or a hard disk or HDD) is one kind of technology
that stores the operating system, applications, and data files such a
documents, pictures, and music that your computer uses. The rest of the
components in your computer work together to show you the applications
and files stored on your hard drive.
58 | P a g e
COMPUTER WORKSHOP
5.Processor
The processor also known as CPU is a piece of hardware. It is often
referred to as the “Brain of a PC” because all the computations and
processing are carried out directly or indirectly by the processor
containing millions of transistors. It is a single chip that is capable of
processing data. In fact, the performance, capability, and pricing of a
computer system are largely determined by the processor to present in it.
It controls all the components in a PC.
59 | P a g e
COMPUTER WORKSHOP
60 | P a g e