Professional Documents
Culture Documents
Unit 2 (Foit)
Unit 2 (Foit)
Computer Languages
Over the years, computer languages have been evolved from Low-Level to High-Level Languages.
In the earliest days of computers, only Binary Language was used to write programs. The
computer languages are classified as follows:
Machine Language (low level language)
•Low-Level language is the only language which can be understood by the computer. Low-level
language is also known as Machine Language.
•The machine language contains only two symbols 1 & 0. All the instructions of machine
language are written in the form of binary numbers 1's & 0's. A computer can directly
understand the machine language.
Assembly Language (middle level language)
Middle-level language is a computer language in which the instructions are created using
symbols such as letters, digits and special characters.
Binary code instructions in low-level language are replaced with mnemonics and
operands in middle-level language. But the computer cannot understand mnemonics, so we
use a translator called Assembler to translate mnemonics into machine language.
Assembler is a translator which takes assembly code as input and produces machine code
as output. That means, the computer cannot understand middle-level language, so it needs
to be translated into a low-level language to make it understandable by the computer.
High-level language is a computer language which can be understood by the users. The high-level
language is very similar to human languages and has a set of grammar rules that are used to make
instructions more easily.
Every high-level language has a set of predefined words known as Keywords and a set of rules known
as Syntax to create instructions. The high-level language is easier to understand for the users but the
computer can not understand it.
High-level language needs to be converted into the low-level language to make it understandable by
the computer. We use Compiler or interpreter to convert high-level language to low-level language.
Languages like FORTRAN,C, C++, JAVA, Python, etc., are examples of high-level languages. All these
programming languages use human-understandable language like English to write program
instructions. These instructions are converted to low-level language by the compiler or interperter so
that it can be understood by the computer.
g++ main.cpp
operating system as a user interface
There are different kinds of operating systems: such as Windows, Linux and Mac OS
There are also different versions of these operating systems, e.g. Windows 10 and 11
Operating systems can be used with different user interfaces (UI): text user interfaces (TUI) and
graphical user interfaces (GUI) as examples
Graphical user interfaces have many similarities in different operating systems: such as the
start menu, desktop etc.
When you can recognize the typical parts of each operating system’s user interface, you will
mostly be able to use both Windows and Linux as well as e.g. Mac OS.
Windows
The name of the Windows OS comes from the fact that programs are run in “windows”: each
program has its own window, and you can have several programs open at the same time.
Windows is the most popular OS for home computers, and there are several versions of it. The
newest version is Windows 11.
Linux and Unix
Linux is an open-source OS, which means that its program code is freely available to software
developers. This is why thousands of programmers around the world have developed Linux, and
it is considered the most tested OS in the world. Linux has been very much influenced by the
commercial Unix OS.
In addition to servers, Linux is widely used in home computers, since there are a great number
of free programs for it (for text and image processing, spreadsheets, publishing, etc.). Over the
years, many different versions of Linux have become available for distribution, most of which are
free for the user (such as Ubuntu, Fedora and Mint, to name a few).
Linux can be installed on a PC as the only operating system or alongside Windows, so that each
time the machine is started, the user selects either one. Linux may also be used on a virtual
computer from the Windows environment, or vice versa, Windows from Linux.
Mac OS X
Apple’s Mac computers have their own operating system, OS X. Most of the programs that are
available for PCs are also available for Macs running under OS X, but these two types of computers
cannot use the exact same programs: for example, you cannot install the Mac version of the Microsoft
Office suite on a Windows computer. You can install other operating systems on Mac computers, but the
OS X is only available for computers made by Apple. Apple’s lighter portable devices (iPads, iPhones)
use a light version of the same operating system, called iOS.
Mac computers are popular because OS X is considered fast, easy to learn and very stable and
Apple’s devices are considered well-designed—though rather expensive.
Android
Android is an operating system designed for phones and other mobile devices. Android is not available
for desktop computers, but in mobile devices it is extremely popular: more than a half of all mobile
devices in the world run on Android.
User interfaces
A user interface (UI) refers to the part of an operating system, program, or device that allows a user to
enter and receive information. A text-based user interface (see the image to the left) displays text, and
its commands are usually typed on a command line using a keyboard. With a graphical user interface
(see the right-hand image), the functions are carried out by clicking or moving buttons, icons and
menus by means of a pointing device.
Modern graphical user interfaces have evolved from text-based UIs. Some operating systems, such as
Linux, can still be used with a text-based user interface. In this case, the commands are entered as text
(e.g., “cat story.txt”).
In most operating systems, the primary user interface is graphical, i.e. instead of typing the commands
you manipulate various graphical objects (such as icons) with a pointing device.
The underlying principle of different graphical user interfaces (GUIs) is largely the same, so by
knowing how to use a Windows UI, you will most likely know how to use Linux or some other GUI.
Most GUIs have the following basic components:
Utility programs is a system application that executes a specific task, generally pertaining to optimal
maintenance or operation of the system resources.
Operating systems such as Windows, macOS and Linux come with their own set of utility programs to
maintain and execute different utility functions such as formatting, compressing, scanning, exploring
and much more.
In other words Utility-program definition means, Utility programs also assists with the management of
computer functions, resources and files. You can ensure complete password protection and keep your
systems virus free using different utility programs.
4. Miscellaneous Utilities
Apart from these three utility program categories, there are various other programs that help in
managing business operations. Some of these programs include data generators, HTML checkers
and hex editors, to name a few.
Advantages of Utility Software
Let’s check out the different advantages of utility software that can be beneficial for its users.
1. Efficiently manage your data and files with proper storage
2. Remove unnecessary files to ensure that you always have storage space for new applications and
programs
3. Enhance your system’s security by protecting it from malicious virus threats and attacks
4. Easily and quickly locate and access your files and folders in the system with the interface
customization feature of utility software
5. Find your lost files and folders with file recovery software and recover any data loss
6. Enhance your system’s performance by creating space and efficiently managing system storage
Word Processing
Word Processing refers to the act of using a computer to create, edit, save and print documents.
In order to perform word processing, specialized software (known as a Word Processor) is needed.
One example of a Word Processor is Microsoft Word, but other word processing applications are also
widely used.
A word processor is a device or software program capable of creating, storing, and printing text
documents. It allows users to write and modify text, display it on a screen, save it electronically, and
print it out.
Word processing software is one of the most common technology tools in the world, allowing users to
create resumes and cover letters, business correspondence, blog posts, novels, and more.
More advanced capabilities may include word wrapping, where the program automatically moves to
the next line once you’ve filled the current one with text.
The ability to quickly type, edit, and move text is what makes word processing programs such
valuable tools for any computer user.
2. Font specifications
Another standard feature of word processors is the ability to change the look of fonts within a
document.
Most programs give users the ability to bold, italicize, and underline text, as well as change the font size.
Different typefaces are usually available, helping users create a document that is more uniform and
easier to read than something handwritten.
3. Page layout
Most word processing software allows users to change the layout of the document they’re creating.
This could include changing the page size, margins, and indentations, and adding columns. It could
also include the option to create headers and footers, and page numbers.
4. Graphics
Basic word processors may give users the ability to add simple tables, graphs, or numbered lists, but those
with more advanced capabilities offer greater options when it comes to adding visual elements.
Some allow users to embed illustrations, more complex graphs, and even videos. These graphics can either
be created within the word processing software itself or produced in a different program and then copied
over.
5. Collaboration tools
Browser-based word processors make it easy for multiple people to collaborate on the same
document.
For example, Word on Office.com lets users track their changes, leave comments, tag and assign tasks
to others, and review previous versions of the document.
In a world where people need to collaborate across continents, these collaboration tools are
invaluable.
6. Spelling and grammar assistance
Most word processing programs feature built-in spell checking as well as basic grammar checking.
They may also have a searchable thesaurus and be able to provide suggestions for word choice. Some
processors, however, have a more robust editing capability.
For example, Microsoft Editor not only checks for spelling and grammar mistakes, but it also suggests
areas that could use more clarity, checks online sources for similarities, and rates document readability.
There are several sentence cases that you can apply to your text. These include Sentence case,
lowercase, UPPERCASE, Title Case and tOGGLE cASE.
The Change case feature can be very useful. Say you have a whole paragraph where you want to
capitalize each of the first characters of every word.
It would be an arduous task to do this manually. But you can do this quickly and easily with the Title
Case option
To do this, highlight the text you want to change. Go to Format, and then Change case. Then
select the sentence case you want.
Some errors will be automatically corrected as you type. For instance, if you type the word
'exampel', Word will correct it for you automatically.
Thanks to the auto-correct feature in the program, you might not even realize that you had
made an error.
After you have finished typing a document, it is recommended that you use the spelling and
grammar check features. There are two ways you can do this.
You can right-click on the underlined word or phrase and, check on the given suggestions, then
select the correct one.
You can use the spelling and grammar tool. Click on Tools and then select Spelling and Grammar.
This tool comes in handy when you need to spell-check a lot of text. You can look through the
list of suggested words for the appropriate corrections.
You can ignore words that are not in the dictionary. You also have the option of adding words to
the dictionary.
How do you create a table in Microsoft Word?
Answer
The basic steps for creating a standard table in Microsoft Word (2013) are:
1. Open a blank Word document
2. In the top ribbon, press Insert
4. Either use the diagram to select the number of columns and rows you need, or click Insert
Table and a dialog box will appear where you can specify the number of columns and rows.
5. The blank table will now appear on the page. Alter it as necessary. Standard features like bold,
italics, and underline are still available! These items may be helpful for creating headings or
calling out certain items in the table.
6. Follow these instructions for ensuring your table meets APA formatting guidelines.
printing in word processing
You can also access the Print pane by pressing Ctrl+P on your keyboard.
To print a document:
Navigate to the Print pane, then select the desired printer.
2. Enter the number of copies you want to print.
Custom printing
Sometimes you may find it unnecessary to print your entire document, in which case custom
printing may be more suited for your needs. Whether you're printing several individual pages or
a range of pages, Word allows you to specify exactly which pages you'd like to print.
3. Click Print.
How to Create a Macro in Word
A macro is a series of commands that are recorded and saved, so that they can be easily run
again on demand. If you have a series of repetitive tasks, recording a macro can save you a lot of
time.
Show the Developer Tab
Before you can create or use macros, you’ll need to turn on the Developer tab.
2. Select Options.
•The Word Options window opens.
3. Click the Customize Ribbon tab on the left.
The column on the right controls which ribbon tabs are enabled.
4Check the Developer check box.
5. Click OK.
The Developer tab now appears at the end of the ribbon.
Enable Macros
Once you've enabled the Developer tab, you can change a document's security settings to allow macros
to be used.
1. Enable the Developer tab in Word Options.
2. Click the Developer tab.
3. Click the Macro Security button.
Before you use macros, it's important to know that macros can be a security risk. Since they run
outside code, running one from an untrustworthy source can infect your computer, or others on
your network, with a virus.
4. Choose the proper security level.
The first level disables macros entirely, blocking them without a notification. This option is the safest
but doesn’t allow you to run macros at all—even macros you record yourself.
The default setting blocks macros but displays a notification. This notification allows you to enable
macros on a case-by-case basis. This option is safe, as long as you know that you can trust the macros
you allow.
You can automatically enable digitally signed macros. You'll still be prompted for most macros, but
trusted macros will be allowed without a prompt.
Finally, you can enable all macros without a prompt. This can be dangerous, so use this command with
caution.
5. Click OK.
The selected macro security setting is enabled.
Record a Macro
1. When you have a repetitive series of tasks to perform, you can record those tasks as a
macro.
2. Place the cursor where you want to start recording the macro.
3. Click the Record Macro button. The Record Macro window opens, where you can set up
the macro’s name, description, and triggering mechanism before you record it.
Give the macro a name. Notice that the macro will be saved to the Normal template,
meaning that it will be available in other documents created using that template. If you need
it saved to another template or document, make sure to specify that here.
Next, you can choose whether the macro gets triggered to run by a button that can be added to the
Quick Access Toolbar, or a keyboard shortcut key combination. This lesson will cover adding a macro
that uses a keyboard shortcut.
4. Click the Keyboard button.
5. Press the keyboard shortcut keys that you want to use.
Make sure to use a keyboard shortcut combination that won’t interfere with any other
Word or system commands.
6. Click Assign.
7. Click Close.
The macro immediately begins recording.
8. Record the macro.
While recording, the macro captures keystrokes and buttons clicked, but text selection made with the
mouse will not be recorded. Use the keyboard to select text and move the cursor, if you want those
actions recorded.
A Stop button will also appear on the status bar while a macro is recording.
9. Click the Stop button when you’re finished recording.
Mail Merge is most often used to print or email form letters to multiple recipients. Using Mail Merge,
you can easily customize form letters for individual recipients. Mail merge is also used to create
envelopes or labels in bulk.
This feature works the same in all modern versions of Microsoft Word: 2010, 2013, and 2016.
1.In a blank Microsoft Word document, click on the Mailings tab, and in the Start Mail Merge group, click
Start Mail Merge.
4. Select the starting document. In this demo we will use the current (blank) document. Select
Use the current document and then click Next: Select recipients.
•Note that selecting Start from existing document (which we are not doing in this demo) changes the
view and gives you the option to choose your document. After you choose it, the Mail Merge Wizard
reverts to Use the current document.
5. Select recipients. In this demo we will create a new list, so select Type a new list and then click
Create.
Create a list by adding data in the New Address List dialog box and clicking OK.
Save the list.
•Note that now that a list has been created, the Mail Merge Wizard reverts to Use an
existing list and you have the option to edit the recipient list.
Selecting Edit recipient list opens up the Mail Merge Recipients dialog box, where you can
edit the list and select or unselect records. Click OK to accept the list as is.
Click Next:write your Letter
Note that you can use Match Fields to correct any problems. Clicking Match Fields opens up the Match
Fields dialog box, in which you can associate the fields from your list with the fields required by the
wizard.
7. Press Enter on your keyboard and click Greeting line... to enter a greeting.
8. In the Insert Greeting Line dialog box, choose the greeting line format by clicking the drop-down
arrows and selecting the options of your choice, and then click OK.
9. Note that the address block and greeting line are surrounded by chevrons (« »). Write a short letter
and click Next: Preview your letters.